SPECS (AC-branch): python-Pyrex.spec - Version 0.9.4.1-1. Switched...

matkor matkor at pld-linux.org
Fri Apr 21 10:25:04 CEST 2006


Author: matkor                       Date: Fri Apr 21 08:25:04 2006 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- Version 0.9.4.1-1. Switched to py_sitescriptdir. STBR for Ac.

---- Files affected:
SPECS:
   python-Pyrex.spec (1.10 -> 1.10.2.1) 

---- Diffs:

================================================================
Index: SPECS/python-Pyrex.spec
diff -u SPECS/python-Pyrex.spec:1.10 SPECS/python-Pyrex.spec:1.10.2.1
--- SPECS/python-Pyrex.spec:1.10	Sat Apr 23 22:54:08 2005
+++ SPECS/python-Pyrex.spec	Fri Apr 21 10:24:58 2006
@@ -5,14 +5,12 @@
 Summary:	Language for writing Python Extension Modules
 Summary(pl):	Język służący do pisania modułów rozszerzających Pythona
 Name:		python-%{module}
-Version:	0.9.3
-Release:	5
+Version:	0.9.4.1
+Release:	1
 License:	free
 Group:		Libraries/Python
 Source0:	http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/%{module}-%{version}.tar.gz
-# Source0-md5:	63c4cb884d6b777d3806f9669ba5feba
-Patch0:         %{name}-py24-swig_sources.patch
-
+# Source0-md5:	425f0543c634bc7a86fe4fce02e0e882
 URL:		http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/
 BuildRequires:	python
 %pyrequires_eq	python-libs
@@ -42,19 +40,18 @@
 
 %prep
 %setup -q -n %{module}-%{version}
-%patch0 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT{%{py_sitedir},%{_examplesdir}/%{name}-%{version}}
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %{__python} setup.py install \
 	--root=$RPM_BUILD_ROOT \
-	--install-purelib=%{py_sitedir} \
+	--install-purelib=%{py_sitescriptdir} \
 	-O2
 
-find $RPM_BUILD_ROOT%{py_sitedir} -name "*.py" -a ! -name 'Lexicon.py' -exec rm -f {} \;
+find $RPM_BUILD_ROOT%{py_sitescriptdir} -name "*.py" -a  -exec rm -f {} \;
 
 cp -ar Demos/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
@@ -65,7 +62,7 @@
 %defattr(644,root,root,755)
 %doc CHANGES.txt README.txt ToDo.txt USAGE.txt Doc/*.html Doc/*.c
 %attr(755,root,root) %{_bindir}/*
-%{py_sitedir}/*
+%{py_sitescriptdir}/*
 
 %files examples
 %defattr(644,root,root,755)
@@ -77,6 +74,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10.2.1  2006/04/21 08:24:58  matkor
+- Version 0.9.4.1-1. Switched to py_sitescriptdir. STBR for Ac.
+
 Revision 1.10  2005/04/23 20:54:08  arekm
 - rel 5
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-Pyrex.spec?r1=1.10&r2=1.10.2.1&f=u



More information about the pld-cvs-commit mailing list