rpms/python-formencode/devel python-formencode.spec,1.4,1.5

Ignacio Vazquez-Abrams (ivazquez) fedora-extras-commits at redhat.com
Sat Feb 4 21:14:26 UTC 2006


Author: ivazquez

Update of /cvs/extras/rpms/python-formencode/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19970

Modified Files:
	python-formencode.spec 
Log Message:
- Fix build on devel
- Switch to unmanaged egg



Index: python-formencode.spec
===================================================================
RCS file: /cvs/extras/rpms/python-formencode/devel/python-formencode.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- python-formencode.spec	29 Dec 2005 07:01:04 -0000	1.4
+++ python-formencode.spec	4 Feb 2006 21:14:25 -0000	1.5
@@ -3,13 +3,14 @@
 
 Name:           python-formencode
 Version:        0.4
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        HTML form validation, generation, and convertion package  
 
 Group:          Development/Libraries
 License:        PSF
 URL:            http://formencode.org/
 Source0:        http://cheeseshop.python.org/packages/source/F/FormEncode/FormEncode-%{version}.tar.gz  
+Patch:          python-formencode-0.4-badurl.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildArch:      noarch
@@ -25,6 +26,7 @@
 
 %prep
 %setup -q -n FormEncode-%{version}
+%patch -p1 -b .badurl
 
 %build
 %{__python} setup.py build
@@ -32,8 +34,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
-echo "FormEncode-%{version}-py%{pyver}.egg" > $RPM_BUILD_ROOT%{python_sitelib}/FormEncode.pth
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT --single-version-externally-managed
 
 
 %clean
@@ -43,10 +44,14 @@
 %files
 %defattr(-,root,root,-)
 %doc PKG-INFO docs
-%{python_sitelib}/FormEncode.pth
-%{python_sitelib}/FormEncode-%{version}-py%{pyver}.egg
+%{python_sitelib}/formencode
+%{python_sitelib}/FormEncode-%{version}-py%{pyver}.egg-info
 
 %changelog
+* Sat Feb  4 2006 Ignacio Vazquez-Abrams <ivazquez at ivazquez.net> 0.4-2
+- Fix build on devel
+- Switch to unmanaged egg
+
 * Thu Dec 29 2005 Ignacio Vazquez-Abrams <ivazquez at ivazquez.net> 0.4-1
 - Upstream update
 




More information about the scm-commits mailing list