diff --git a/x509watch.spec b/x509watch.spec index 7f37b63..76b4de4 100644 --- a/x509watch.spec +++ b/x509watch.spec @@ -1,7 +1,7 @@ Summary: Simple tool to list expiring or expired X.509 certificates Name: x509watch Version: 0.6.1 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2+ URL: https://ftp.robert-scheck.de/linux/%{name}/ Source: https://ftp.robert-scheck.de/linux/%{name}/%{name}-%{version}.tar.gz @@ -28,22 +28,20 @@ encoded DER and PEM X.509 certificates are supported. %build %install -rm -rf $RPM_BUILD_ROOT -make DESTDIR=$RPM_BUILD_ROOT install +%make_install %if 0%{?rhel} > 6 || 0%{?fedora} > 17 %post -%systemd_post +%systemd_post %{name}.timer %preun -%systemd_preun +%systemd_preun %{name}.timer %postun -%systemd_postun +%systemd_postun %{name}.timer %endif %files -%{!?_licensedir:%global license %%doc} %license COPYING %doc ChangeLog README %{_bindir}/%{name} @@ -57,6 +55,9 @@ make DESTDIR=$RPM_BUILD_ROOT install %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %changelog +* Mon Jun 03 2019 Robert Scheck 0.6.1-6 +- Corrected systemd scriptlets usage (#1716408) + * Sun Feb 03 2019 Fedora Release Engineering - 0.6.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild