Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
930215f823
commit
43c596d11f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user