Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
e24a90df1a
commit
2b5439770a
@ -25,9 +25,6 @@ BuildRequires: perl(strict)
|
||||
%{?with_nls:BuildRequires: perl(Encode)}
|
||||
%{?with_nls:BuildRequires: perl(I18N::Langinfo)}
|
||||
|
||||
Requires(post): /sbin/install-info
|
||||
Requires(preun): /sbin/install-info
|
||||
|
||||
%description
|
||||
help2man is a script to create simple man pages from the --help and
|
||||
--version output of programs.
|
||||
@ -48,15 +45,6 @@ make install_l10n DESTDIR=$RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%find_lang %name --with-man
|
||||
|
||||
%post
|
||||
/sbin/install-info %{_infodir}/help2man.info %{_infodir}/dir 2>/dev/null || :
|
||||
|
||||
%preun
|
||||
if [ $1 -eq 0 ]; then
|
||||
/sbin/install-info --delete %{_infodir}/help2man.info \
|
||||
%{_infodir}/dir 2>/dev/null || :
|
||||
fi
|
||||
|
||||
%files -f %name.lang
|
||||
%doc README NEWS THANKS
|
||||
%license COPYING
|
||||
|
Loading…
Reference in New Issue
Block a user