rpms/lpf-spotify-client/F-20 lpf-spotify-client.spec, 1.7, 1.8 spotify-client.spec.in, 1.2, 1.3

Alec Leamas leamas at rpmfusion.org
Thu Jan 30 12:38:56 CET 2014


Author: leamas

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

Modified Files:
	lpf-spotify-client.spec spotify-client.spec.in 
Log Message:
* Thu Jan 30 2014 leamas.alec at gmail.com - 0.9.4.183.g644e24e.428-8
- Using new scriptlet macros, add %check.



Index: lpf-spotify-client.spec
===================================================================
RCS file: /cvs/nonfree/rpms/lpf-spotify-client/F-20/lpf-spotify-client.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- lpf-spotify-client.spec	12 Jan 2014 16:49:16 -0000	1.7
+++ lpf-spotify-client.spec	30 Jan 2014 11:38:56 -0000	1.8
@@ -4,7 +4,7 @@
 Name:           lpf-spotify-client
                 # Upstream spotify version, verbatim.
 Version:        0.9.4.183.g644e24e.428
-Release:        7%{?dist}
+Release:        8%{?dist}
 Summary:        Spotify music player native client package bootstrap
 
 License:        MIT
@@ -19,8 +19,8 @@
 Source3:        README
 
 BuildRequires:  desktop-file-utils
-BuildRequires:  lpf
-Requires:       lpf
+BuildRequires:  lpf >= 0.1
+Requires:       lpf >= 0.1
 
 %description
 Bootstrap package allowing the lpf system to build the non-redistributable
@@ -46,18 +46,17 @@
 desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
 
 
+%check
+%lpf_check spotify-client.spec.in
+
+
 %post
-lpf scan 2>/dev/null || :
+%lpf_post
 
 %postun
-if [ "$1" = '0' ]; then
-    /usr/share/lpf/scripts/lpf-pkg-postun %{target_pkg} &>/dev/null || :
-fi
-
-%triggerpostun -- %{target_pkg}
-if [ "$2" = '0' ]; then
-    lpf scan-removal %{target_pkg} &>/dev/null || :
-fi
+%lpf_postun
+
+%lpf_triggerpostun
 
 
 %files
@@ -69,6 +68,9 @@
 
 
 %changelog
+* Thu Jan 30 2014 leamas.alec at gmail.com - 0.9.4.183.g644e24e.428-8
+- Using new scriptlet macros, add %%check.
+
 * Sun Jan 12 2014 leamas.alec at gmail.com - 0.9.4.183.g644e24e.428-7
 - Adding missing Requires: dbus-x11 to target package.
 


Index: spotify-client.spec.in
===================================================================
RCS file: /cvs/nonfree/rpms/lpf-spotify-client/F-20/spotify-client.spec.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- spotify-client.spec.in	12 Jan 2014 16:49:17 -0000	1.2
+++ spotify-client.spec.in	30 Jan 2014 11:38:56 -0000	1.3
@@ -13,7 +13,7 @@
 
 Name:           spotify-client
 Version:        0.9.4.183.g644e24e.428
-Release:        7%{?dist}
+Release:        8%{?dist}
 Summary:        Spotify music player native client
 
 # board=http://community.spotify.com/t5/Desktop-Linux


More information about the rpmfusion-commits mailing list