rpms/lpf-spotify-client/devel lpf-spotify-client.spec,1.8,1.9

Alec Leamas leamas at rpmfusion.org
Tue Feb 18 14:35:51 CET 2014


Author: leamas

Update of /cvs/nonfree/rpms/lpf-spotify-client/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv8359

Modified Files:
	lpf-spotify-client.spec 
Log Message:
* Tue Feb 18 2014 Alec Leamas <leamas at nowhere.net> - 0.9.4.183.g644e24e.428-8
- Updating spec scriptlets, use new macros.
- Adding missing R: ffmpeg-compat and R:python2 to target package.



Index: lpf-spotify-client.spec
===================================================================
RCS file: /cvs/nonfree/rpms/lpf-spotify-client/devel/lpf-spotify-client.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- lpf-spotify-client.spec	18 Feb 2014 12:46:42 -0000	1.8
+++ lpf-spotify-client.spec	18 Feb 2014 13:35:50 -0000	1.9
@@ -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
@@ -65,11 +64,12 @@
 %{_datadir}/applications/%{name}.desktop
 %{_datadir}/lpf/packages/%{target_pkg}
 %attr(775,pkg-build,pkg-build) /var/lib/lpf/packages/%{target_pkg}
-%attr(664,pkg-build,pkg-build) /var/lib/lpf/packages/%{target_pkg}/state
+#%attr(664,pkg-build,pkg-build) /var/lib/lpf/packages/%{target_pkg}/state
 
 
 %changelog
 * Tue Feb 18 2014 Alec Leamas <leamas at nowhere.net> - 0.9.4.183.g644e24e.428-8
+- Updating spec scriptlets, use new macros.
 - Adding missing R: ffmpeg-compat and R:python2 to target package.
 
 * Sun Jan 12 2014 Alec Leamas <leamas at nowhere.net> - 0.9.4.183.g644e24e.428-7


More information about the rpmfusion-commits mailing list