fedora-cvs-commits@redhat.com
[Top] [All Lists]

rpms/system-config-date/devel system-config-date.spec,1.18,1.19

Subject: rpms/system-config-date/devel system-config-date.spec,1.18,1.19
From:
Date: Fri, 25 Mar 2005 11:23:47 -0500
Update of /cvs/dist/rpms/system-config-date/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv19687

Modified Files:
        system-config-date.spec 
Log Message:
* Fri Mar 25 2005 Christopher Aillon <caillon@xxxxxxxxxx> 1.17.15-2
- Update the GTK+ theme icon cache on (un)install



Index: system-config-date.spec
===================================================================
RCS file: /cvs/dist/rpms/system-config-date/devel/system-config-date.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- system-config-date.spec     13 Dec 2004 16:10:33 -0000      1.18
+++ system-config-date.spec     25 Mar 2005 16:23:45 -0000      1.19
@@ -1,7 +1,7 @@
 Summary: A graphical interface for modifying system date and time
 Name: system-config-date
 Version: 1.7.15
-Release: 1
+Release: 2
 URL: http://fedora.redhat.com/projects/config-tools/
 License: GPL
 ExclusiveOS: Linux
@@ -24,6 +24,7 @@
 Requires: newt
 Requires: htmlview
 Conflicts: firstboot <= 1.3.26
+Prereq: gtk2 >= 2.6
 
 %description
 system-config-date is a graphical interface for changing the system date and
@@ -48,11 +49,23 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+touch --no-create %{_datadir}/icons/hicolor
+if [-x /usr/bin/gtk-update-icon-cache ]; then
+  gtk-update-icon-cache %{_datadir}/icons/hicolor
+fi
+
 %preun
 if [ -d %{_datadir}/system-config-date ] ; then
   rm -rf %{_datadir}/system-config-date/*.pyc
 fi
 
+%postun
+touch --no-create %{_datadir}/icons/hicolor
+if [-x /usr/bin/gtk-update-icon-cache ]; then
+  gtk-update-icon-cache %{_datadir}/icons/hicolor
+fi
+
 %files -f %{name}.lang
 %defattr(-,root,root)
 %doc COPYING
@@ -86,6 +99,9 @@
 %attr(0644,root,root) %config(noreplace) 
/usr/share/system-config-date/ntp.template
 
 %changelog
+* Fri Mar 25 2005 Christopher Aillon <caillon@xxxxxxxxxx> 1.17.15-2
+- Update the GTK+ theme icon cache on (un)install
+
 * Mon Dec 13 2004 Nils Philippsen <nphilipp@xxxxxxxxxx> 1.7.15-1
 - don't lookup names or IP addresses as this may result in hangs (#142583)
 

--
fedora-cvs-commits mailing list
fedora-cvs-commits@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-cvs-commits

<Prev in Thread] Current Thread [Next in Thread>
  • rpms/system-config-date/devel system-config-date.spec,1.18,1.19, fedora-cvs-commits <=