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.
This commit is contained in:
parent
6064e37ba3
commit
cb503048b5
11
whois.spec
11
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 <ppisar@redhat.com> - 5.4.2-2
|
||||
- Modernize spec file
|
||||
|
||||
* Thu Mar 28 2019 Petr Pisar <ppisar@redhat.com> - 5.4.2-1
|
||||
- 5.4.2 bump
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user