Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
c2ab7dd1a1
commit
165ad0ddb2
@ -76,16 +76,6 @@ install -m 644 doc/examples/*.c examples
|
|||||||
|
|
||||||
cp -R doc/doxygen/html html
|
cp -R doc/doxygen/html html
|
||||||
|
|
||||||
%post doc
|
|
||||||
/sbin/install-info %{_infodir}/libmicrohttpd.info.gz %{_infodir}/dir || :
|
|
||||||
/sbin/install-info %{_infodir}/libmicrohttpd-tutorial.info.gz %{_infodir}/dir || :
|
|
||||||
|
|
||||||
%preun doc
|
|
||||||
if [ $1 = 0 ] ; then
|
|
||||||
/sbin/install-info --delete %{_infodir}/libmicrohttpd.info.gz %{_infodir}/dir || :
|
|
||||||
/sbin/install-info --delete %{_infodir}/libmicrohttpd-tutorial.info.gz %{_infodir}/dir || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README
|
%doc README
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
Loading…
Reference in New Issue
Block a user