This commit is contained in:
2021-12-18 00:59:22 +01:00
parent e5ac6a1d47
commit 82913875a8
3 changed files with 15 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
Name: md-renewed
Version: 1.0.0
Version: 1.0.1
Release: 1%{?dist}
Summary: Restart service on Apache module mod_md certificate renewal
License: MIT
@@ -18,6 +18,7 @@ Source7: example.cert
Source8: example.sh
Requires: httpd
Requires: mod_md
%{?systemd_requires}
BuildRequires: systemd-rpm-macros
@@ -28,8 +29,8 @@ Restart service on Apache module mod_md certificate renewal
%{__rm} -rf %{buildroot}
install -d -m 0755 %{buildroot}%{_libexecdir}/md-renewed
install -m 0644 %{SOURCE0} %{buildroot}%{_libexecdir}/md-renewed/
install -m 0644 %{SOURCE1} %{buildroot}%{_libexecdir}/md-renewed/
install -m 0755 %{SOURCE0} %{buildroot}%{_libexecdir}/md-renewed/md-renewed
install -m 0755 %{SOURCE1} %{buildroot}%{_libexecdir}/md-renewed/md-message
install -d -m 0755 %{buildroot}%{_unitdir}
install -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/
@@ -77,5 +78,5 @@ install -m 0755 %{SOURCE8} %{buildroot}%{_sysconfdir}/md-renewed/example.com/
%{_tmpfilesdir}/md-renewed.conf
%changelog
* Thu Nov 30 2021 Zoran Pericic <zpericic@netst.org> - 1.0.0-1
* Tue Nov 30 2021 Zoran Pericic <zpericic@netst.org> - 1.0.0-1
Initial release