rpms/mousetweaks/F-13 mousetweaks.spec,1.45,1.46 sources,1.37,1.38

Matthias Clasen mclasen at fedoraproject.org
Tue Apr 27 11:09:56 UTC 2010


Author: mclasen

Update of /cvs/pkgs/rpms/mousetweaks/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv31195

Modified Files:
	mousetweaks.spec sources 
Log Message:
2.30.1



Index: mousetweaks.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mousetweaks/F-13/mousetweaks.spec,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -p -r1.45 -r1.46
--- mousetweaks.spec	29 Mar 2010 02:17:46 -0000	1.45
+++ mousetweaks.spec	27 Apr 2010 11:09:56 -0000	1.46
@@ -1,12 +1,12 @@
 Name:           mousetweaks
-Version:        2.30.0
+Version:        2.30.1
 Release:        1%{?dist}
 Summary:        Mouse accessibility support for the GNOME desktop
 Group:          User Interface/Desktops
 License:        GPLv3 and GFDL
 #VCS: git:git://git.gnome.org/mousetweaks
 URL:            http://live.gnome.org/Mousetweaks/Home
-Source0:        http://download.gnome.org/sources/mousetweaks/2.29/%{name}-%{version}.tar.bz2
+Source0:        http://download.gnome.org/sources/mousetweaks/2.30/%{name}-%{version}.tar.bz2
 
 BuildRequires:  gettext
 BuildRequires:  gnome-doc-utils
@@ -67,32 +67,13 @@ done
 rm -rf $RPM_BUILD_ROOT
 
 %pre
-if [ "$1" -gt 1 ]; then
-  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
-  for f in %{_sysconfdir}/gconf/schemas/mouseweaks.schemas \
-           %{_sysconfdir}/gconf/schemas/pointer-capture-applet.schemas ;
-    do
-      if [ -f $f ]; then
-        gconftool-2 --makefile-uninstall-rule $f >/dev/null
-      fi
-    done
-fi
+%gconf_schema_prepare mouseweaks pointer-capture-applet
 
 %post
-export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
-gconftool-2 --makefile-install-rule \
-        %{_sysconfdir}/gconf/schemas/mousetweaks.schemas \
-        %{_sysconfdir}/gconf/schemas/pointer-capture-applet.schemas \
-        >/dev/null
+%gconf_schema_upgrade mousetweaks pointer-capture-applet
 
 %preun
-if [ "$1" -eq 0 ]; then
-  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
-  gconftool-2 --makefile-uninstall-rule \
-        %{_sysconfdir}/gconf/schemas/mousetweaks.schemas \
-        %{_sysconfdir}/gconf/schemas/pointer-capture-applet.schemas \
-        >/dev/null
-fi
+%gconf_schema_remove mousetweaks pointer-capture-applet
 
 %files -f mousetweaks.lang
 %defattr(-,root,root,-)
@@ -108,6 +89,10 @@ fi
 %doc %{_mandir}/man1/*
 
 %changelog
+* Tue Apr 27 2010 Matthias Clasen <mclasen at redhat.com> 2.30.1-1
+- Update to 2.30.1
+- Spec file cleanups
+
 * Sun Mar 28 2010 Matthias Clasen <mclasen at redhat.com> 2.30.0-1
 - Update to 2.30.0
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/mousetweaks/F-13/sources,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -p -r1.37 -r1.38
--- sources	29 Mar 2010 02:17:46 -0000	1.37
+++ sources	27 Apr 2010 11:09:56 -0000	1.38
@@ -1 +1 @@
-9a6eeea6ec0538c4f9a80a8eea4162b4  mousetweaks-2.30.0.tar.bz2
+ba764f315df090bb5c99474b36ae768d  mousetweaks-2.30.1.tar.bz2



More information about the scm-commits mailing list