Author: leamas
Update of /cvs/nonfree/rpms/lpf-spotify-client/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv5817
Modified Files:
lpf-spotify-client.spec
Log Message:
* Tue Nov 26 2013 Alec Leamas <leamas(a)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/devel/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:46:37 -0000 1.3
+++ lpf-spotify-client.spec 26 Nov 2013 16:20:00 -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(a)gmail.com - 0.9.4.183.g644e24e.428-3
+* Tue Nov 26 2013 Alec Leamas <leamas(a)nowhere.net> - 0.9.4.183.g644e24e.428-4
+- Updating %%triggerun and %%postun.
+
+* Tue Nov 26 2013 Alec Leamas <leamas(a)nowhere.net> - 0.9.4.183.g644e24e.428-3
- Updating %%postun
- Making description to free-format text.