Remove obsolete scriptlets

References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent 5afe6902cf
commit ff1e7a22be
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -34,8 +34,6 @@ This package contains library files for aalib.
Summary: Development files for aalib
Group: Development/Libraries
Requires: %{name}-libs = %{version}-%{release}
Requires(post): /sbin/install-info
Requires(postun): /sbin/install-info
%description devel
This package contains header files and other files needed to develop
@ -68,16 +66,6 @@ touch -r NEWS $RPM_BUILD_ROOT%{_bindir}/aalib-config $RPM_BUILD_ROOT%{_datadir}/
%ldconfig_scriptlets libs
%post devel
/sbin/install-info %{_infodir}/libaa.info %{_infodir}/dir 2>/dev/null || :
%preun devel
if [ $1 -eq 0 ]; then
/sbin/install-info --delete %{_infodir}/libaa.info %{_infodir}/dir \
2>/dev/null || :
fi
%files
%{_bindir}/aafire
%{_bindir}/aainfo

Loading…
Cancel
Save