add postplug updates.d file to remove broken scripts old release package [release 0.25-3mamba;Sat Mar 21 2015]

This commit is contained in:
Silvan Calarco 2024-01-05 18:03:42 +01:00
parent 6101770b35
commit b9c7ade2cb

View File

@ -1,6 +1,6 @@
Name: spice-gtk Name: spice-gtk
Version: 0.25 Version: 0.25
Release: 2mamba Release: 3mamba
Summary: A Gtk client and libraries for SPICE remote desktop servers Summary: A Gtk client and libraries for SPICE remote desktop servers
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -134,6 +134,12 @@ This package contains the Python bindings.
%find_lang %{name} %find_lang %{name}
install -d -m0755 %{buildroot}%{_sysconfdir}/postplug/updates.d
cat > %{buildroot}%{_sysconfdir}/postplug/updates.d/spice-gtk-remove-broken-001.upd << _EOF
rpm -e spice-gtk-0.25-1mamba --noscripts
exit 0
_EOF
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -142,6 +148,7 @@ This package contains the Python bindings.
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_sysconfdir}/postplug/updates.d/spice-gtk-remove-broken-001.upd
%{_bindir}/spice-client-glib-usb-acl-helper %{_bindir}/spice-client-glib-usb-acl-helper
%{_bindir}/spicy %{_bindir}/spicy
%{_bindir}/spicy-screenshot %{_bindir}/spicy-screenshot
@ -188,6 +195,9 @@ This package contains the Python bindings.
%{_datadir}/gtk-doc/html/spice-gtk/* %{_datadir}/gtk-doc/html/spice-gtk/*
%changelog %changelog
* Sat Mar 21 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.25-3mamba
- add postplug updates.d file to remove broken scripts old release package
* Sun Mar 15 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.25-2mamba * Sun Mar 15 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.25-2mamba
- rebuilt by autoport with build requirements: libpulseaudio-devel>=6.0-1mamba - rebuilt by autoport with build requirements: libpulseaudio-devel>=6.0-1mamba