Remove install-info from scriptlets
This commit is contained in:
parent
0446bff57a
commit
b9d68d6daf
@ -1,7 +1,7 @@
|
||||
Summary: The GNU shar utilities for packaging and unpackaging shell archives
|
||||
Name: sharutils
|
||||
Version: 4.15.2
|
||||
Release: 10%{?dist}
|
||||
Release: 11%{?dist}
|
||||
# The main code: GPLv3+
|
||||
# lib (gnulib): GPLv3+
|
||||
# lib/md5.c: Public Domain
|
||||
@ -30,8 +30,6 @@ BuildRequires: make
|
||||
BuildRequires: sed
|
||||
# Tests:
|
||||
BuildRequires: diffutils
|
||||
Requires(post): info
|
||||
Requires(preun): info
|
||||
Provides: bundled(gnulib)
|
||||
# See libopts/autoopts/options.h for OPTIONS_DOTTED_VERSION
|
||||
Provides: bundled(libopts) = 41.1
|
||||
@ -73,14 +71,6 @@ chmod 644 AUTHORS ChangeLog COPYING NEWS README THANKS TODO
|
||||
%check
|
||||
make check
|
||||
|
||||
%post
|
||||
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir ||:
|
||||
|
||||
%preun
|
||||
if [ $1 = 0 ]; then
|
||||
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir ||:
|
||||
fi
|
||||
|
||||
%files -f %{name}.lang
|
||||
%license COPYING
|
||||
%doc AUTHORS ChangeLog NEWS README THANKS TODO
|
||||
@ -90,6 +80,9 @@ fi
|
||||
%{_mandir}/man5/*
|
||||
|
||||
%changelog
|
||||
* Mon Jun 18 2018 Petr Pisar <ppisar@redhat.com> - 4.15.2-11
|
||||
- Remove install-info from scriptlets
|
||||
|
||||
* Tue Apr 10 2018 Petr Pisar <ppisar@redhat.com> - 4.15.2-10
|
||||
- Adapt bundled gnulib to glibc-2.28
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user