rpms/lpf-spotify-client/F-19 lpf-spotify-client.spec,1.3,1.4

Alec Leamas leamas at rpmfusion.org
Tue Nov 26 17:21:30 CET 2013


Author: leamas

Update of /cvs/nonfree/rpms/lpf-spotify-client/F-19
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv5975

Modified Files:
	lpf-spotify-client.spec 
Log Message:
* Tue Nov 26 2013 Alec Leamas <leamas at nowhere.net> - 0.9.4.183.g644e24e.428-4
- Updating %triggerun and %postun.



Index: lpf-spotify-client.spec
===================================================================
RCS file: /cvs/nonfree/rpms/lpf-spotify-client/F-19/lpf-spotify-client.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- lpf-spotify-client.spec	26 Nov 2013 14:47:36 -0000	1.3
+++ lpf-spotify-client.spec	26 Nov 2013 16:21:30 -0000	1.4
@@ -4,7 +4,7 @@
 Name:           lpf-spotify-client
                 # Upstream spotify version, verbatim.
 Version:        0.9.4.183.g644e24e.428
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Spotify music player native client package bootstrap
 
 License:        MIT
@@ -50,10 +50,14 @@
 lpf scan 2>/dev/null || :
 
 %postun
-/usr/share/lpf/scripts/lpf-pkg-postun %{target_pkg} &>/dev/null || :
-
-triggerpostun -- %{target_pkg}
-lpf scan-removal %{target_pkg} &>/dev/null || :
+if [ "$1" = '0' ]; then
+    /usr/share/lpf/scripts/lpf-pkg-postun %{target_pkg} &>/dev/null || :
+fi
+
+%triggerpostun -- %{target_pkg}
+if [ "$1" = '0' ]; then
+    lpf scan-removal %{target_pkg} &>/dev/null || :
+fi
 
 
 %files
@@ -65,7 +69,10 @@
 
 
 %changelog
-* Tue Nov 26 2013 leamas.alec at gmail.com - 0.9.4.183.g644e24e.428-3
+* Tue Nov 26 2013 Alec Leamas <leamas at nowhere.net> - 0.9.4.183.g644e24e.428-4
+- Updating %%triggerun and %%postun.
+
+* Tue Nov 26 2013 Alec Leamas <leamas at nowhere.net> - 0.9.4.183.g644e24e.428-3
 - Updating %%postun
 - Making description to free-format text.
 


More information about the rpmfusion-commits mailing list