--- /dev/null
+diff -urN letsencrypt.sh-0.2.0.org/letsencrypt.sh letsencrypt.sh-0.2.0/letsencrypt.sh
+--- letsencrypt.sh-0.2.0.org/letsencrypt.sh 2016-05-22 16:10:12.000000000 +0200
++++ letsencrypt.sh-0.2.0/letsencrypt.sh 2016-08-14 12:58:37.860936998 +0200
+@@ -61,7 +61,7 @@
+
+ # Default values
+ CA="https://acme-v01.api.letsencrypt.org/directory"
+- LICENSE="https://letsencrypt.org/documents/LE-SA-v1.0.1-July-27-2015.pdf"
++ LICENSE="https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf"
+ CHALLENGETYPE="http-01"
+ CONFIG_D=
+ HOOK=
Summary: letsencrypt/acme client implemented as a shell-script
Name: letsencrypt.sh
Version: 0.2.0
-Release: 3
+Release: 4
License: MIT
Group: Applications/Networking
Source0: https://github.com/lukas2511/letsencrypt.sh/archive/v%{version}/%{name}-%{version}.tar.gz
Source5: hook.sh
Source6: crontab
Patch0: pld.patch
+Patch1: letsencrypt.sh-agrurl.patch
URL: https://github.com/lukas2511/letsencrypt.sh
BuildRequires: rpmbuild(macros) >= 1.713
Requires: crondaemon
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%install
rm -rf $RPM_BUILD_ROOT