packages: python-textile/python-textile.spec - up to 2.1.5; new URL and Sou...

zbyniu zbyniu at pld-linux.org
Sun Jul 10 21:30:03 CEST 2011


Author: zbyniu                       Date: Sun Jul 10 19:30:03 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 2.1.5; new URL and Source; pldized

---- Files affected:
packages/python-textile:
   python-textile.spec (1.18 -> 1.19) 

---- Diffs:

================================================================
Index: packages/python-textile/python-textile.spec
diff -u packages/python-textile/python-textile.spec:1.18 packages/python-textile/python-textile.spec:1.19
--- packages/python-textile/python-textile.spec:1.18	Sun Jan 23 22:10:46 2011
+++ packages/python-textile/python-textile.spec	Sun Jul 10 21:29:57 2011
@@ -5,14 +5,13 @@
 Summary:	Humane Web Text Generator
 Summary(pl.UTF-8):	Konwerter czystego tekstu do HTML
 Name:		python-%{module}
-Version:	2.0.10
-Release:	3
+Version:	2.1.5
+Release:	1
 License:	GNU
 Group:		Development/Languages/Python
-# new: http://cheeseshop.python.org/packages/source/t/textile/
-Source0:	http://dealmeida.net/code/%{module}-%{version}.tar.gz
-# Source0-md5:	19ae07379e5986049b7d9a34ffcbf867
-URL:		http://cheeseshop.python.org/pypi/textile
+Source0:	http://pypi.python.org/packages/source/t/textile/%{module}-%{version}.tar.gz
+# Source0-md5:	6e030e112eca1dafa1be84cf5575560d
+URL:		http://pypi.python.org/pypi/textile
 %pyrequires_eq	python-modules
 BuildRequires:	python-devel >= 1:2.3
 BuildRequires:	python-modules
@@ -36,7 +35,7 @@
 %setup -q -n %{module}-%{version}
 
 %build
-python setup.py build
+%{__python} setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -45,15 +44,17 @@
 python setup.py install \
 	--root=$RPM_BUILD_ROOT \
 	--optimize=2
-
-rm $RPM_BUILD_ROOT%{py_sitescriptdir}/*.py
+%py_postclean
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%{py_sitescriptdir}/*.py[co]
+%{py_sitescriptdir}/%{module}
+%if "%{py_ver}" > "2.4"
+%{py_sitescriptdir}/%{module}-*.egg-info
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -61,6 +62,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.19  2011/07/10 19:29:57  zbyniu
+- up to 2.1.5; new URL and Source; pldized
+
 Revision 1.18  2011/01/23 21:10:46  sparky
 - added BR: python-modules, rpm-pythonprov
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-textile/python-textile.spec?r1=1.18&r2=1.19&f=u



More information about the pld-cvs-commit mailing list