diff --git a/gnome-password-generator.spec b/gnome-password-generator.spec index 54d5c4e..75560ac 100644 --- a/gnome-password-generator.spec +++ b/gnome-password-generator.spec @@ -1,7 +1,7 @@ Summary: Graphical secure password generator Name: gnome-password-generator Version: 1.6 -Release: 1%{dist} +Release: 2%{dist} License: GPLv2+ Group: Applications/System URL: http://gnome-password.sourceforge.net/ @@ -9,9 +9,13 @@ Source0: http://downloads.sourceforge.net/gnome-password/%{name}-%{version}.tar. BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) +%if 0%{?fc8}%{?fc9} Requires: gnome-python2 +%else +Requires: gnome-python2-gnome +%endif + Requires: hicolor-icon-theme -Requires: pygtk2 BuildRequires: desktop-file-utils @@ -49,7 +53,7 @@ desktop-file-install --vendor gnome \ rm -rf $RPM_BUILD_ROOT %post -touch --no-create %{_datadir}/icons/hicolor || : +touch --no-create %{_datadir}/icons/hicolor || : if [ -x %{_bindir}/gtk-update-icon-cache ]; then %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : fi @@ -74,6 +78,12 @@ fi %{_datadir}/pixmaps/%{name}.png %changelog +* Fri Nov 07 2008 Debarshi Ray - 1.6-2 +- Replaced 'Requires: gnome-python2' with 'Requires: gnome-python2-gnome' on + all distributions starting from Fedora 10. Closes Red Hat Bugzilla bug + #460023. +- Trimmed the 'Requires' list. + * Sat May 17 2008 Debarshi Ray - 1.6-1 - Version bump to 1.6. Closes Red Hat Bugzilla bug #438016.