[x509watch] Upgrade to 0.6.0 (#989128, #1000912, #1035370)
Robert Scheck
robert at fedoraproject.org
Fri Nov 29 07:52:22 UTC 2013
commit f82a4dd97b051c9fbc2dade75f064a773c74000a
Author: Robert Scheck <robert at fedoraproject.org>
Date: Fri Nov 29 08:52:08 2013 +0100
Upgrade to 0.6.0 (#989128, #1000912, #1035370)
.gitignore | 1 +
sources | 2 +-
x509watch.spec | 48 +++++++++++++++++++++++++++++++++++++-----------
3 files changed, 39 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b8aad04..268d49b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
x509watch-0.5.0.tar.gz
+/x509watch-0.6.0.tar.gz
diff --git a/sources b/sources
index db0d7cb..96db5b6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a88c11dd9593ccf672dc29e6fb32dcf0 x509watch-0.5.0.tar.gz
+9f6fd1c55cf8f9cfb914b63114687767 x509watch-0.6.0.tar.gz
diff --git a/x509watch.spec b/x509watch.spec
index 35ba4c2..9e6e742 100644
--- a/x509watch.spec
+++ b/x509watch.spec
@@ -1,14 +1,20 @@
-Summary: Simple tool to list expiring or expired X.509 certificates
-Name: x509watch
-Version: 0.5.0
-Release: 6%{?dist}
-License: GPLv2+
-Group: Applications/System
-URL: http://ftp.robert-scheck.de/linux/%{name}/
-Source: http://ftp.robert-scheck.de/linux/%{name}/%{name}-%{version}.tar.gz
-Requires: %{_bindir}/openssl, %{_sbindir}/sendmail
-BuildArch: noarch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Summary: Simple tool to list expiring or expired X.509 certificates
+Name: x509watch
+Version: 0.6.0
+Release: 1%{?dist}
+License: GPLv2+
+Group: Applications/System
+URL: http://ftp.robert-scheck.de/linux/%{name}/
+Source: http://ftp.robert-scheck.de/linux/%{name}/%{name}-%{version}.tar.gz
+Requires: %{_bindir}/openssl, %{_sbindir}/sendmail
+%if 0%{?rhel} > 6 || 0%{?fedora} > 17
+Requires(post): systemd
+Requires(preun): systemd
+Requires(postun): systemd
+BuildRequires: systemd
+%endif
+BuildArch: noarch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
x509watch is a simple command line application, written in Perl, that can be
@@ -29,14 +35,34 @@ make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
+%if 0%{?rhel} > 6 || 0%{?fedora} > 17
+%post
+%systemd_post
+
+%preun
+%systemd_preun
+
+%postun
+%systemd_postun
+%endif
+
%files
%defattr(-,root,root,-)
%doc ChangeLog COPYING README
%{_bindir}/%{name}
+%if 0%{?rhel} > 6 || 0%{?fedora} > 17
+%{_libexecdir}/%{name}
+%{_unitdir}/%{name}.service
+%{_unitdir}/%{name}.timer
+%else
%{_sysconfdir}/cron.daily/%{name}
+%endif
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
%changelog
+* Fri Nov 29 2013 Robert Scheck <robert at fedoraproject.org> 0.6.0-1
+- Upgrade to 0.6.0 (#989128, #1000912, #1035370)
+
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list