[python-Traits] Update to 4.4.0

Orion Poplawski orion at fedoraproject.org
Thu Jan 30 17:10:59 UTC 2014


commit b850fd8d69a4de051a69d57255ca6e5962e6a284
Author: Orion Poplawski <orion at nwra.com>
Date:   Thu Jan 30 10:11:23 2014 -0700

    Update to 4.4.0

 .gitignore         |    1 +
 python-Traits.spec |   32 +++++++++++---------------------
 sources            |    2 +-
 3 files changed, 13 insertions(+), 22 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 195ce17..dd81a32 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ Traits-3.4.0.tar.gz
 /Traits-3.5.0.tar.gz
 /traits-4.2.0.tar.gz
 /traits-4.3.0.tar.gz
+/traits-4.4.0.tar.gz
diff --git a/python-Traits.spec b/python-Traits.spec
index 964620d..66177ba 100644
--- a/python-Traits.spec
+++ b/python-Traits.spec
@@ -1,13 +1,9 @@
 Name:           python-Traits
-Version:        4.3.0
-Release:        3%{?dist}
+Version:        4.4.0
+Release:        1%{?dist}
 Summary:        Explicitly typed attributes for Python
 Group:          Development/Libraries
-# Images have different licenses. For image license breakdown check
-# image_LICENSE.txt file. Except enthought/traits/ui/editors_gen.py
-# which is GPLv2+ all remaining source or image files are in BSD
-# 3-clause license. Confirmed from upstream.
-License:        BSD and EPL and LGPLv2 and GPLv2+
+License:        BSD
 URL:            http://code.enthought.com/projects/traits/
 Source0:        http://www.enthought.com/repo/ets/traits-%{version}.tar.gz
 BuildRequires:  python2-devel
@@ -16,7 +12,8 @@ Requires:       numpy
 Provides:       python-traits = %{version}-%{release}
 
 # we don't want to provide private python extension libs in either the python2 or python3 dirs
-%global __provides_exclude_from ^(%{python_sitearch}|%{python3_sitearch})/.*\\.so$
+#global __provides_exclude_from ^(%{python_sitearch}|%{python3_sitearch})/.*\\.so$
+%global __provides_exclude_from ^%{python_sitearch}/.*\\.so$
 
 %description
 The traits package developed by Enthought provides a special type
@@ -35,34 +32,27 @@ attributes, traits also have several additional characteristics:
 
 %prep
 %setup -q -n traits-%{version}
-
-rm -rf *.egg-info
-
-# file not utf-8
-for f in image_LICENSE_Eclipse.txt docs/Pydoh_T3UMdoc_HOWTO.txt
-do
-  iconv -f iso8859-1 -t utf-8 ${f} > ${f}.conv && mv -f ${f}.conv ${f}
-done
+rm -r *.egg-info
 
 %build
 CFLAGS="$RPM_OPT_FLAGS" python setup.py build
 
 %install
-python setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
-
-rm $RPM_BUILD_ROOT%{python_sitearch}/traits/protocols/_speedups.c
+python setup.py install --skip-build --root $RPM_BUILD_ROOT
 rm $RPM_BUILD_ROOT%{python_sitearch}/traits/ctraits.c
 
 %check
 python setup.py test
 
 %files
-%doc *.txt docs/*.pdf examples
-%doc docs/traitsdocreadme.txt docs/CHANGES.txt
+%doc README.rst
 %{python_sitearch}/*.egg-info
 %{python_sitearch}/traits
 
 %changelog
+* Thu Jan 30 2014 Orion Poplawski <orion at cora.nwra.com> - 4.4.0-1
+- Update to 4.4.0
+
 * Tue Aug 06 2013 Orion Poplawski <orion at cora.nwra.com> - 4.3.0-3
 - Drop BR on python-setupdocs, no longer used
 
diff --git a/sources b/sources
index eea5ed1..904387a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f78c15c44e0f965cc2ab799806a80388  traits-4.3.0.tar.gz
+ced61ab7dac2ca41420fbd20edd7e502  traits-4.4.0.tar.gz


More information about the scm-commits mailing list