Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
b0e03c0381
commit
f16701ebbd
15
gsl.spec
15
gsl.spec
@ -26,8 +26,6 @@ numerical analysis, written in C.
|
||||
Summary: Libraries and the header files for GSL development
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires(post): /sbin/install-info
|
||||
Requires(preun): /sbin/install-info
|
||||
Requires: pkgconfig, automake
|
||||
|
||||
%description devel
|
||||
@ -63,21 +61,8 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
# remove static libraries
|
||||
rm -r $RPM_BUILD_ROOT%{_libdir}/*.a
|
||||
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%post devel
|
||||
if [ -f %{_infodir}/gsl-ref.info.gz ]; then
|
||||
/sbin/install-info %{_infodir}/gsl-ref.info %{_infodir}/dir || :
|
||||
fi
|
||||
|
||||
%preun devel
|
||||
if [ "$1" = 0 ]; then
|
||||
if [ -f %{_infodir}/gsl-ref.info.gz ]; then
|
||||
/sbin/install-info --delete %{_infodir}/gsl-ref.info %{_infodir}/dir || :
|
||||
fi
|
||||
fi
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc AUTHORS ChangeLog NEWS README THANKS TODO
|
||||
|
Loading…
Reference in New Issue
Block a user