Browse Source

cpu-g-vl.spec

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@6390 ec354946-7b23-47d6-9f5a-488ba84defc7
kudoh 11 years ago
parent
commit
cbf32dda1a
1 changed files with 7 additions and 5 deletions
  1. 7 5
      c/cpu-g/cpu-g-vl.spec

+ 7 - 5
c/cpu-g/cpu-g-vl.spec

@@ -1,6 +1,6 @@
 Name:           cpu-g
 Version:        0.9.0
-Release:        1%{?_dist_release}
+Release:        2%{?_dist_release}
 Summary:        shows useful information about your hardware
 Summary(ja):    お使いのハードウェアに関する有用な情報を表示します
 
@@ -15,6 +15,8 @@ Requires:       pygtk2 >= 2.10.0
 Requires:       pygtk2-libglade
 Requires:       gtk2 >= 2.10.0
 
+BuildArch: noarch
+
 %description
 CPU-G is an application that shows useful information
 about your hardware. It collects and displays information
@@ -69,13 +71,9 @@ install -m 644 doc/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1/
 rm -rf $RPM_BUILD_ROOT
 
 %post
-touch --no-create %{_datadir}/icons/hicolor || :
-%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
 update-desktop-database > /dev/null 2>&1 || :
 
 %postun
-touch --no-create %{_datadir}/icons/hicolor || :
-%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
 update-desktop-database > /dev/null 2>&1 || :
 
 %files
@@ -89,5 +87,9 @@ update-desktop-database > /dev/null 2>&1 || :
 %{_mandir}/man1/*
 
 %changelog
+* Wed Jun 20 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.0-2
+- changed BuildArch to noarch
+- deleted gtk-update-icon-cache in %%post, %%postun
+
 * Sat Jan 30 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.0-1
 - initial build for VineLinux