]> git.pld-linux.org Git - packages/sound-juicer.git/commitdiff
- new style macros auto/ac/sound-juicer-2_10_1-1
authorpaladine <paladine@pld-linux.org>
Fri, 8 Apr 2005 09:57:48 +0000 (09:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- STBR

Changed files:
    sound-juicer.spec -> 1.36

sound-juicer.spec

index 8ac9f0c482abe6cc8fcd578d42db7f59e9004a0e..9896e284103fca626f80063a4de18adb2140520b 100644 (file)
@@ -23,7 +23,7 @@ BuildRequires:        libgnomeui-devel >= 2.10.0-2
 BuildRequires: libmusicbrainz-devel >= 2.1.0
 BuildRequires: nautilus-cd-burner-devel >= 2.10.0-2
 BuildRequires: pkgconfig
-BuildRequires: rpmbuild(macros) >= 1.196
+BuildRequires: rpmbuild(macros) >= 1.197
 BuildRequires: scrollkeeper >= 0.3.5
 Requires(post,preun):  GConf2
 Requires(post,postun): scrollkeeper
@@ -64,8 +64,8 @@ rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/usr/bin/scrollkeeper-update -q
-%gconf_schema_install /etc/gconf/schemas/sound-juicer.schemas
+%gconf_schema_install sound-juicer.schemas
+%scrollkeeper_update_post
 %banner %{name} -e << EOF
 To be able to rip a CD, You need to install appropriate
 GStreamer plugins:
@@ -75,14 +75,10 @@ GStreamer plugins:
 EOF
 
 %preun
-if [ $1 = 0 ]; then
-       %gconf_schema_uninstall /etc/gconf/schemas/sound-juicer.schemas
-fi
+%gconf_schema_uninstall sound-juicer.schemas
 
 %postun
-if [ $1 = 0 ]; then
-       /usr/bin/scrollkeeper-update -q
-fi
+%scrollkeeper_update_postun
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
This page took 0.041205 seconds and 4 git commands to generate.