From 1fb4b3d664d46537dfc5268965829813760c3e37 Mon Sep 17 00:00:00 2001 From: Robert Scheck Date: Dec 31 2020 12:49:05 +0000 Subject: Remove support for Red Hat Enterprise Linux 6 --- diff --git a/x509watch.spec b/x509watch.spec index 6009ea0..5c56d80 100644 --- a/x509watch.spec +++ b/x509watch.spec @@ -5,13 +5,13 @@ Release: 9%{?dist} License: GPLv2+ URL: https://ftp.robert-scheck.de/linux/%{name}/ Source: https://ftp.robert-scheck.de/linux/%{name}/%{name}-%{version}.tar.gz -Requires: %{_bindir}/openssl, %{_sbindir}/sendmail -%if 0%{?rhel} > 6 || 0%{?fedora} > 17 +Requires: %{_bindir}/openssl +Requires: %{_sbindir}/sendmail Requires(post): systemd >= 197 Requires(preun): systemd >= 197 Requires(postun): systemd >= 197 BuildRequires: systemd >= 197 -%endif +BuildRequires: make BuildRequires: perl-generators BuildArch: noarch @@ -30,7 +30,6 @@ encoded DER and PEM X.509 certificates are supported. %install %make_install -%if 0%{?rhel} > 6 || 0%{?fedora} > 17 %post %systemd_post %{name}.timer @@ -39,19 +38,14 @@ encoded DER and PEM X.509 certificates are supported. %postun %systemd_postun %{name}.timer -%endif %files %license COPYING %doc ChangeLog 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