mirror of
https://abf.rosa.ru/djam/php-pear-HTTP_WebDAV_Server.git
synced 2025-02-23 14:22:55 +00:00
Spec cleanup
This commit is contained in:
parent
2236f2462d
commit
1ff40c2eb6
1 changed files with 0 additions and 12 deletions
|
@ -44,19 +44,7 @@ install -m 644 %{upstream_name}.xml %{buildroot}%{_datadir}/pear/packages
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%post
|
|
||||||
%if %mdkversion < 201000
|
|
||||||
pear install --nodeps --soft --force --register-only \
|
|
||||||
%{_datadir}/pear/packages/%{upstream_name}.xml >/dev/null || :
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%preun
|
|
||||||
%if %mdkversion < 201000
|
|
||||||
if [ "$1" -eq "0" ]; then
|
|
||||||
pear uninstall --nodeps --ignore-errors --register-only \
|
|
||||||
%{pear_name} >/dev/null || :
|
|
||||||
fi
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
|
Loading…
Add table
Reference in a new issue