SPECS: python-pyenchant.spec - up to 1.5.1 - patch for ez_setup added - pyt...

duddits duddits at pld-linux.org
Tue Feb 24 10:38:21 CET 2009


Author: duddits                      Date: Tue Feb 24 09:38:21 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 1.5.1
- patch for ez_setup added
- python paths revised: %{py_sitedir} -> %{python_sitelib}

---- Files affected:
SPECS:
   python-pyenchant.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SPECS/python-pyenchant.spec
diff -u SPECS/python-pyenchant.spec:1.10 SPECS/python-pyenchant.spec:1.11
--- SPECS/python-pyenchant.spec:1.10	Mon Nov  5 00:57:27 2007
+++ SPECS/python-pyenchant.spec	Tue Feb 24 10:38:15 2009
@@ -3,12 +3,13 @@
 Summary:	Spellchecking library for Python
 Summary(pl.UTF-8):	Biblioteka Pythona sprawdzająca pisownię
 Name:		python-%{pname}
-Version:	1.3.1
+Version:	1.5.1
 Release:	1
 License:	LGPL v2.1+
 Group:		Libraries
 Source0:	http://dl.sourceforge.net/pyenchant/%{pname}-%{version}.tar.gz
-# Source0-md5:	788302ccab3450097d5f466ff0a5b935
+# Source0-md5:	1195bb1dae4fa0efc76f1668a35fe458
+Patch0:		%{name}-ez_setup.patch
 URL:		http://pyenchant.sourceforge.net/
 BuildRequires:	enchant-devel >= 1.3.0
 BuildRequires:	python-devel
@@ -29,6 +30,7 @@
 
 %prep
 %setup -q -n %{pname}-%{version}
+%patch0 -p1
 
 %build
 python setup.py build
@@ -41,22 +43,21 @@
 	--root $RPM_BUILD_ROOT \
 	--single-version-externally-managed
 
-find $RPM_BUILD_ROOT%{py_sitedir}/enchant -name '*.py' -exec rm -f {} \;
-rm -rf $RPM_BUILD_ROOT%{py_sitedir}/%{pname}-%{version}-*.egg-info
+find $RPM_BUILD_ROOT%{python_sitelib}/enchant -name '*.py' -exec rm -f {} \;
+rm -rf $RPM_BUILD_ROOT%{python_sitelib}/%{pname}-%{version}-*.egg-info
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog README.txt TODO.txt
-%dir %{py_sitedir}/enchant
-%dir %{py_sitedir}/enchant/checker
-%dir %{py_sitedir}/enchant/tokenize
-%attr(755,root,root) %{py_sitedir}/enchant/*.so
-%{py_sitedir}/enchant/*.py[oc]
-%{py_sitedir}/enchant/checker/*.py[oc]
-%{py_sitedir}/enchant/tokenize/*.py[oc]
+%doc README.txt
+%dir %{python_sitelib}/enchant
+%dir %{python_sitelib}/enchant/checker
+%dir %{python_sitelib}/enchant/tokenize
+%{python_sitelib}/enchant/*.py[oc]
+%{python_sitelib}/enchant/checker/*.py[oc]
+%{python_sitelib}/enchant/tokenize/*.py[oc]
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -64,6 +65,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2009/02/24 09:38:15  duddits
+- up to 1.5.1
+- patch for ez_setup added
+- python paths revised: %{py_sitedir} -> %{python_sitelib}
+
 Revision 1.10  2007/11/04 23:57:27  qboosh
 - updated to 1.3.1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python-pyenchant.spec?r1=1.10&r2=1.11&f=u



More information about the pld-cvs-commit mailing list