Hello community,

here is the log from the commit of package python-enchant for openSUSE:Factory
checked in at Tue Oct 4 17:01:11 CEST 2011.



--------
--- openSUSE:Factory/python-enchant/python-enchant.changes      2011-09-23 
12:42:42.000000000 +0200
+++ /mounts/work_src_done/STABLE/python-enchant/python-enchant.changes  
2011-10-02 21:38:58.000000000 +0200
@@ -1,0 +2,7 @@
+Sun Oct  2 19:34:00 UTC 2011 - [email protected]
+ 
+- updated to version 1.6.5
+- remove patch (ez_setup.patch) as its corrected upstream (now it uses 
distribute)
+- minor .spec enhancments (fdupes)
+ 
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  ez_setup.patch
  pyenchant-1.5.1.tar.bz2

New:
----
  pyenchant-1.6.5.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-enchant.spec ++++++
--- /var/tmp/diff_new_pack.5XAzA8/_old  2011-10-04 17:01:08.000000000 +0200
+++ /var/tmp/diff_new_pack.5XAzA8/_new  2011-10-04 17:01:08.000000000 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package python-enchant
+# spec file for python-enchant
 #
 # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
@@ -13,38 +13,22 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
-#
-
-
 
 Name:           python-enchant
-Version:        1.5.1
+Version:        1.6.5
 Release:        1
 License:        LGPL2.1
 Summary:        Spell checking library for python
-Url:            http://www.rfk.id.au/software/pyenchant/
+Url:            http://packages.python.org/pyenchant/
 Group:          Productivity/Text/Spell
-Source:         pyenchant-%{version}.tar.bz2
-# PATCH-FIX - disables ez_setup since we have setuptools
-Patch0:         ez_setup.patch
+Source:         pyenchant-%{version}.tar.gz
 BuildRequires:  enchant-devel
 BuildRequires:  fdupes
-%if 0%{?suse_version} >= 1110
-BuildRequires:  python-base
-%else
 BuildRequires:  python-devel
-Requires:       python-devel
-%endif
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%{!?python_sitearch: %global python_sitearch %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-%if %{?suse_version: 0%{?suse_version} > 1110} %{!?suse_version:1}
+BuildRequires:  python-distribute
 BuildArch:      noarch
-%endif
-BuildRequires:  python-setuptools
-Requires:       enchant
-Provides:       PyEnchant
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildArch:      noarch
+
 %py_requires
 
 %description
@@ -53,27 +37,30 @@
 
 %prep
 %setup -q -n pyenchant-%{version}
-%patch0
 
 %build
-export CFLAGS="%{optflags}"
+export CFLAGS="$RPM_OPT_FLAGS" 
 python setup.py build
 
 %install
-python setup.py install -O1 \
-   --skip-build \
-   --prefix=%{_prefix} \
-   --root=%{buildroot} \
-   --single-version-externally-managed \
-   --record-rpm=INSTALLED_FILES
-# Remove unwanted and duplicated files
-%fdupes %{buildroot}
+python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT
+
+# create symlinks for man pages  
+%fdupes -s $RPM_BUILD_ROOT/%_mandir 
+# create hardlinks for the rest  
+%fdupes $RPM_BUILD_ROOT
+
+# remove documentation files from site-packages 
+rm 
$RPM_BUILD_ROOT/%{python_sitelib}/enchant/share/enchant/{ispell,myspell}/README.txt
+rm $RPM_BUILD_ROOT/%{python_sitelib}/enchant/{lib,share}/enchant/README.txt
 
 %clean
-%{?buildroot:rm -rf %{buildroot}}
+rm -rf $RPM_BUILD_ROOT
 
-%files -f INSTALLED_FILES
+%files
 %defattr(-,root,root)
-%doc README.txt
+%doc PKG-INFO README.txt
+%{python_sitelib}/enchant
+%{python_sitelib}/pyenchant-%{version}-py%{py_ver}.egg-info 
 
 %changelog

continue with "q"...



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to