Remove obsolete scriptlets

References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2019-01-27 19:39:04 +01:00
parent 930215f823
commit 43c596d11f
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -26,8 +26,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %name = %version-%release Requires: %name = %version-%release
Requires: %{name}-tools = %{version}-%{release} Requires: %{name}-tools = %{version}-%{release}
Requires: pkgconfig Requires: pkgconfig
Requires(post): /sbin/install-info
Requires(postun): /sbin/install-info
%package tools %package tools
@ -75,15 +73,6 @@ rm -f $RPM_BUILD_ROOT{%_libdir/*.la,%_infodir/dir}
%check %check
make check make check
%post devel
test -f %_infodir/%name.info.gz && \
/sbin/install-info --info-dir=%_infodir %_infodir/%name.info || :
%preun devel
test "$1" = 0 -a -f %_infodir/%name.info.gz && \
/sbin/install-info --info-dir=%_infodir --delete %_infodir/%name.info || :
%files %files
%license COPYING* %license COPYING*
%doc AUTHORS NEWS README THANKS %doc AUTHORS NEWS README THANKS