From cb503048b573cf605224df9224db548f5496e182 Mon Sep 17 00:00:00 2001 From: Petr Písař Date: Apr 24 2019 12:07:03 +0000 Subject: Modernize spec file RPM does not verify %ghost files anymore, %noverify() becomes redundand and this patch removes it. Do not hard-code compression of manual pages. Though we need to keep it for files that are subject of alternatives. --- diff --git a/whois.spec b/whois.spec index 8ebe7c1..704ba32 100644 --- a/whois.spec +++ b/whois.spec @@ -7,7 +7,7 @@ Name: whois Version: 5.4.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Improved WHOIS client License: GPLv2+ URL: http://www.linux.it/~md/software/ @@ -119,10 +119,10 @@ fi %doc README debian/changelog %config(noreplace) %{_sysconfdir}/%{cfgfile} %{_bindir}/%{name}.%{alternative} -%ghost %verify(not md5 size mtime) %{_bindir}/%{name} +%ghost %{_bindir}/%{name} %{_mandir}/man1/%{name}.%{alternative}.* -%ghost %verify(not md5 size mtime) %{_mandir}/man1/%{name}.1.gz -%{_mandir}/man5/%{cfgfile}.5.gz +%ghost %{_mandir}/man1/%{name}.1.gz +%{_mandir}/man5/%{cfgfile}.5.* %files nls -f %{name}.lang @@ -135,6 +135,9 @@ fi %endif %changelog +* Wed Apr 24 2019 Petr Pisar - 5.4.2-2 +- Modernize spec file + * Thu Mar 28 2019 Petr Pisar - 5.4.2-1 - 5.4.2 bump