rpms/certmaster/devel certmaster.spec,1.6,1.7 sources,1.7,1.8

Adrian Likins alikins at fedoraproject.org
Thu Feb 19 16:40:13 UTC 2009


Author: alikins

Update of /cvs/pkgs/rpms/certmaster/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7498/devel

Modified Files:
	certmaster.spec sources 
Log Message:
rev to release 5 for rebuild



Index: certmaster.spec
===================================================================
RCS file: /cvs/pkgs/rpms/certmaster/devel/certmaster.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- certmaster.spec	17 Dec 2008 21:57:15 -0000	1.6
+++ certmaster.spec	19 Feb 2009 16:39:43 -0000	1.7
@@ -1,31 +1,53 @@
 
+
+# We can run on Rhel 3'ish systems, but only if python2.3 is installed 
+%if 0%{?rhel} == 3
+%define __python_ver 2.3
+%endif
+%define python python%{?__python_ver}
+%define __python /usr/bin/%{python}
+
+
+%{!?python_version: %define python_version %(%{__python} -c "from distutils.sysconfig import get_python_version; print get_python_version()")}
 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
 %define is_suse %(test -e /etc/SuSE-release && echo 1 || echo 0)
 
+
 Summary: Remote certificate distribution framework
 Name: certmaster
-Source1: version
-Version: %(echo `awk '{ print $1 }' %{SOURCE1}`)
-Release: %(echo `awk '{ print $2 }' %{SOURCE1}`)%{?dist}
+Version: 0.24 
+Release: 5%{?dist}
 Source0: %{name}-%{version}.tar.gz
 License: GPLv2+
 Group: Applications/System
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
+BuildArch: noarch
+Url: https://fedorahosted.org/certmaster
+
+%if 0%{?rhel} == 3
+Requires: %{python}
+Requires: pyOpenSSL-py23
+%else
 Requires: python >= 2.3
 Requires: pyOpenSSL
-BuildRequires: python-devel
+%endif
+
+# NOTE: if you 
+BuildRequires: %{python}-devel
 %if %is_suse
 BuildRequires: gettext-devel
 %else
 %if 0%{?fedora} >= 8
 BuildRequires: python-setuptools-devel
 %else
+%if 0%{?rhel} >= 5
 BuildRequires: python-setuptools
 %endif
 %endif
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
-BuildArch: noarch
-Url: https://fedorahosted.org/certmaster
+%endif
+
+
 
 %description
 
@@ -46,7 +68,7 @@
 
 %files
 %defattr(-, root, root, -)
-%if 0%{?fedora} > 8
+%if "%{python_version}"  >= "2.5"
 %{python_sitelib}/certmaster*.egg-info
 %endif
 %{_bindir}/certmaster
@@ -108,6 +130,22 @@
 
 
 %changelog
+* Wed Feb 18 2009 Adrian Likins <alikins at redhat.com> - 0.24.5
+- remove version file
+
+* Mon Jan 19 2009 Adrian Likins <alikins at redhat.com> - 0.24.4
+- make inclusion of egginfo dependant on having python >= 2.5
+- remove need for patch on rhel3+python2.4 cases (distutils should
+  do all the /usr/bin/python renaming now)
+- minor reformatting changes
+
+* Tue Jan 06 2009 Greg Swift <gregswift at gmail.com> - 0.24-3x1
+- Fixed spec because it was only building in rhel3
+
+* Wed Dec 31 2008 Greg Swift <gregswift at gmail.com> - 0.24-2
+- Patched SPEC to build on rhel3 with python2.3
+- Added Patch0 to handle python2.3 if on rhel3
+
 * Mon Dec 12 2008 Adrian Likins <alikins at redhat.com> - 0.24-1
 - add missing dirs as per bz#473633
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/certmaster/devel/sources,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- sources	17 Dec 2008 21:58:46 -0000	1.7
+++ sources	19 Feb 2009 16:39:43 -0000	1.8
@@ -2,4 +2,4 @@
 4eaa9876b0c158dcf2f099b330f0eeb6  certmaster-0.19.tar.gz
 470c450b3c5adbbeae3d154cb9de495c  certmaster-0.20.tar.gz
 884faef5a2da2f5b4e8bd6782d28a284  certmaster-0.23.tar.gz
-8a21725c88947133c2cc04b1fd21305e  certmaster-0.24.tar.gz
+7b7e2af1adcd19e29ac36cd373b12c7a  certmaster-0.24.tar.gz




More information about the fedora-extras-commits mailing list