specfile: install-info removed from scriptlets
https://fedoraproject.org/wiki/Packaging:Scriptlets#Texinfo
This commit is contained in:
parent
9a979170a7
commit
b81f38439e
16
gmp.spec
16
gmp.spec
@ -48,8 +48,6 @@ Summary: Development tools for the GNU MP arbitrary precision library
|
|||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
||||||
Requires: %{name}-c++%{?_isa} = %{epoch}:%{version}-%{release}
|
Requires: %{name}-c++%{?_isa} = %{epoch}:%{version}-%{release}
|
||||||
Requires(post): /sbin/install-info
|
|
||||||
Requires(preun): /sbin/install-info
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The libraries, header files and documentation for using the GNU MP
|
The libraries, header files and documentation for using the GNU MP
|
||||||
@ -144,20 +142,6 @@ make %{?_smp_mflags} check
|
|||||||
|
|
||||||
%postun c++ -p /sbin/ldconfig
|
%postun c++ -p /sbin/ldconfig
|
||||||
|
|
||||||
%post devel
|
|
||||||
if [ -f %{_infodir}/gmp.info.gz ]; then
|
|
||||||
/sbin/install-info %{_infodir}/gmp.info.gz %{_infodir}/dir || :
|
|
||||||
fi
|
|
||||||
exit 0
|
|
||||||
|
|
||||||
%preun devel
|
|
||||||
if [ $1 = 0 ]; then
|
|
||||||
if [ -f %{_infodir}/gmp.info.gz ]; then
|
|
||||||
/sbin/install-info --delete %{_infodir}/gmp.info.gz %{_infodir}/dir || :
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
exit 0
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{!?_licensedir:%global license %%doc}
|
%{!?_licensedir:%global license %%doc}
|
||||||
|
Loading…
Reference in New Issue
Block a user