devel/python-amara python-amara.spec,1.7,1.8

Ignacio Vazquez-Abrams (ivazquez) fedora-extras-commits at redhat.com
Tue Apr 5 11:23:50 UTC 2005


Author: ivazquez

Update of /cvs/extras/devel/python-amara
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22411/python-amara

Modified Files:
	python-amara.spec 
Log Message:
- Added python to BuildRequires
- Removed versioning code for now



Index: python-amara.spec
===================================================================
RCS file: /cvs/extras/devel/python-amara/python-amara.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- python-amara.spec	30 Mar 2005 20:18:26 -0000	1.7
+++ python-amara.spec	5 Apr 2005 11:23:48 -0000	1.8
@@ -1,16 +1,9 @@
 %{!?pyver: %define pyver %(%{__python} -c 'import sys;print(sys.version[0:3])')}
-%define mainpyver %(%{__python} -c 'import sys;print(sys.version[0:3])')
 %{!?python_sitelib: %define python_sitelib %(%{__python}%{pyver} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
-%if "%{pyver}" == "%{mainpyver}"
-%define name python-amara
-%else
-%define name python%{pyver}-amara
-%endif
-
-Name:           %name
+Name:           python-amara
 Version:        0.9.4
-Release:        6.fc4
+Release:        7.fc4
 Summary:        A collection of Pythonic tools for XML data binding
 
 Group:          Development/Libraries
@@ -19,9 +12,8 @@
 Source0:        http://uche.ogbuji.net/uche.ogbuji.net/tech/4Suite/amara/Amara-0.9.4.tar.bz2
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:  python-abi = %{pyver}
+BuildRequires:  python
 Requires:       python-abi = %{pyver} 4Suite >= 1.0
-Provides:       python%{pyver}-amara = %{version}
 BuildArch:      noarch
 
 %description
@@ -38,12 +30,11 @@
 %setup -q -n Amara-0.9.4
 
 %build
-%{__python}%{pyver} setup.py build
+%{__python} setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python}%{pyver} setup.py install --prefix=$RPM_BUILD_ROOT%{_prefix}
-[ "%{pyver}" == "%{mainpyver}" ] || rename .py %{pyver}.py $RPM_BUILD_ROOT%{_bindir}/*.py
+%{__python} setup.py install --prefix=$RPM_BUILD_ROOT%{_prefix}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -55,6 +46,10 @@
 %doc CHANGES COPYING demo manual.html README TODO
 
 %changelog
+* Tue Apr  5 2005 Ignacio Vazquez-Abrams <ivazquez at ivazquez.net> 0.9.4-7.fc4
+- Added python to BuildRequires
+- Removed versioning code for now
+
 * Wed Mar 30 2005 Ignacio Vazquez-Abrams <ivazquez at ivazquez.net> 0.9.4-6.fc4
 - Added disttag
 




More information about the scm-commits mailing list