rpms/python-enchant/devel python-enchant.spec,1.1,1.2
Roozbeh Pournader (roozbeh)
fedora-extras-commits at redhat.com
Wed Feb 1 15:20:34 UTC 2006
- Previous message (by thread): rpms/python-enchant/devel python-enchant.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/gazpacho/FC-4 .cvsignore, 1.9, 1.10 gazpacho.spec, 1.15, 1.16 sources, 1.9, 1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: roozbeh
Update of /cvs/extras/rpms/python-enchant/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv679
Modified Files:
python-enchant.spec
Log Message:
* Wed Feb 01 2006 Roozbeh Pournader <roozbeh at farsiweb.info> - 1.1.3-2
- Remove %{enchant_dir} macro
- Add %dir for architecture-specific directory
- Add "Provides:" for PyEnchant
- Remove "Requires:" on enchant (Brian Pepple)
Index: python-enchant.spec
===================================================================
RCS file: /cvs/extras/rpms/python-enchant/devel/python-enchant.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- python-enchant.spec 1 Feb 2006 14:50:42 -0000 1.1
+++ python-enchant.spec 1 Feb 2006 15:20:34 -0000 1.2
@@ -1,8 +1,9 @@
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: python-enchant
Version: 1.1.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Python bindings for Enchant spellchecking library
Group: Development/Languages
@@ -13,7 +14,8 @@
BuildRequires: python-devel enchant-devel
Requires: python-abi = %(%{__python} -c "import sys ; print sys.version[:3]")
-Requires: enchant
+
+Provides: PyEnchant
%description
PyEnchant is a spellchecking library for Python, based on the Enchant
@@ -37,22 +39,30 @@
rm -rf $RPM_BUILD_ROOT
-%define enchant_dir %{python_sitearch}/enchant
-
%files
%defattr(-,root,root,-)
%doc LICENSE.txt README.txt
-%dir %{enchant_dir}
-%dir %{enchant_dir}/checker
-%dir %{enchant_dir}/tokenize
-%{enchant_dir}/*.py
-%{enchant_dir}/*.pyc
-%ghost %{enchant_dir}/*.pyo
-%{enchant_dir}/*/*.py
-%{enchant_dir}/*/*.pyc
-%ghost %{enchant_dir}/*/*.pyo
-%{enchant_dir}/_enchant.so
+# First the architecture-independent files
+%dir %{python_sitelib}/enchant
+%dir %{python_sitelib}/enchant/checker
+%dir %{python_sitelib}/enchant/tokenize
+%{python_sitelib}/enchant/*.py
+%{python_sitelib}/enchant/*.pyc
+%ghost %{python_sitelib}/enchant/*.pyo
+%{python_sitelib}/enchant/*/*.py
+%{python_sitelib}/enchant/*/*.pyc
+%ghost %{python_sitelib}/enchant/*/*.pyo
+# Now the architecture-specific files
+%dir %{python_sitearch}/enchant
+%{python_sitearch}/enchant/_enchant.so
+
%changelog
+* Wed Feb 01 2006 Roozbeh Pournader <roozbeh at farsiweb.info> - 1.1.3-2
+- Remove %%{enchant_dir} macro
+- Add %%dir for architecture-specific directory
+- Add "Provides:" for PyEnchant
+- Remove "Requires:" on enchant (Brian Pepple)
+
* Mon Jan 09 2006 Roozbeh Pournader <roozbeh at farsiweb.info> - 1.1.3-1
- Initial packaging
- Previous message (by thread): rpms/python-enchant/devel python-enchant.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/gazpacho/FC-4 .cvsignore, 1.9, 1.10 gazpacho.spec, 1.15, 1.16 sources, 1.9, 1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list