Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
c0c5e9ed4b
commit
61d01ac272
14
flex.spec
14
flex.spec
@ -17,8 +17,6 @@ Patch0: flex-rh1389575.patch
|
||||
|
||||
Requires: m4
|
||||
BuildRequires: gettext gettext-devel bison m4 help2man gcc gcc-c++ automake libtool
|
||||
Requires(post): /sbin/install-info
|
||||
Requires(preun): /sbin/install-info
|
||||
|
||||
%description
|
||||
The flex program generates scanners. Scanners are programs which can
|
||||
@ -91,18 +89,6 @@ find %{buildroot} -name '*.so.2.0.0' -delete
|
||||
|
||||
%find_lang flex
|
||||
|
||||
%post
|
||||
if [ -f %{_infodir}/flex.info.gz ]; then # for --excludedocs
|
||||
/sbin/install-info %{_infodir}/flex.info.gz --dir-file=%{_infodir}/dir ||:
|
||||
fi
|
||||
|
||||
%preun
|
||||
if [ $1 = 0 ]; then
|
||||
if [ -f %{_infodir}/flex.info.gz ]; then # for --excludedocs
|
||||
/sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir ||:
|
||||
fi
|
||||
fi
|
||||
|
||||
%check
|
||||
echo ============TESTING===============
|
||||
make check
|
||||
|
Loading…
Reference in New Issue
Block a user