[revelation] dep cleanups for the new release
Jef Spaleta
jspaleta at fedoraproject.org
Fri Jun 15 20:21:02 UTC 2012
commit 08b5e2ddfc2537c8c718521ce010f0f4c7258e34
Author: Jef Spaleta <jspaleta at fedoraproject.org>
Date: Fri Jun 15 12:20:50 2012 -0800
dep cleanups for the new release
revelation.spec | 27 ++++++++++++++++++---------
1 files changed, 18 insertions(+), 9 deletions(-)
---
diff --git a/revelation.spec b/revelation.spec
index 9ae79fd..567e78f 100644
--- a/revelation.spec
+++ b/revelation.spec
@@ -1,10 +1,13 @@
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+%if 0%{?rhel} && 0%{?rhel} <= 5
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
+%endif
+
Summary: Password manager for GNOME 2
Name: revelation
Version: 0.4.13
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2+
Group: Applications/Productivity
Source0: https://bitbucket.org/erikg/revelation/downloads/revelation-0.4.13.tar.bz2
@@ -12,28 +15,31 @@ Source0: https://bitbucket.org/erikg/revelation/downloads/revelation-0.4.13.tar
#Patch1: revelation-0.4.11-no_applet.patch
#Patch2: revelation-0.4.11-gcc.patch
URL: http://revelation.olasagasti.info/index.php
+
Requires: python-crypto >= 2.0
Requires: pygtk2 >= 2.4
+Requires: dbus-python
Requires: gnome-python2-gconf >= 2.0
Requires: gnome-python2-gnomevfs >= 2.6
Requires: gnome-python2-bonobo
Requires: gnome-python2-gnome
-Requires: cracklib-dicts
+Requires: cracklib-dicts cracklib-python
BuildRequires: python >= 2.2
BuildRequires: python-devel >= 2.3
BuildRequires: pygtk2-devel >= 2.4
BuildRequires: gnome-python2-devel >= 2.5
BuildRequires: gnome-python2-gconf >= 2.0
-BuildRequires: libgnomeui-devel >= 2.8
-BuildRequires: gnome-keyring-devel >= 0.4.0
+#BuildRequires: libgnomeui-devel >= 2.8
+#BuildRequires: gnome-keyring-devel >= 0.4.0
+#BuildRequires: gnome-panel-devel
BuildRequires: desktop-file-utils
BuildRequires: python-crypto >= 2.0
-BuildRequires: cracklib-devel
-BuildRequires: cracklib-dicts
+BuildRequires: dbus-python
+BuildRequires: cracklib-python
BuildRequires: gettext
BuildRequires: perl(XML::Parser)
BuildRequires: gnome-python2-gnome
-BuildRequires: gnome-panel-devel gnome-python2-extras gnome-python2-desktop
+BuildRequires: gnome-python2-extras gnome-python2-desktop
BuildRequires: intltool
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot-%(%{__id_u} -n)
Requires(post): GConf2 shared-mime-info desktop-file-utils
@@ -110,6 +116,9 @@ gtk-update-icon-cache -qf %{_datadir}/icons/hicolor &> /dev/null || :
%{_datadir}/mime/packages/*
%changelog
+* Fri Jun 15 2012 Jef Spaleta <jspaleta at fedoraproject.org> - 0.4.13-2
+- dep fix up for rawhide building
+
* Fri Jun 15 2012 Jef Spaleta <jspaleta at fedoraproject.org> - 0.4.13-1
- New upstream development location and new release
More information about the scm-commits
mailing list