[python-Traits] Update to 4.2.0
Orion Poplawski
orion at fedoraproject.org
Thu Jun 7 04:12:00 UTC 2012
commit 752bcd6472defc6dc5a658eeac4f3d207740addf
Author: Orion Poplawski <orion at cora.nwra.com>
Date: Wed Jun 6 22:11:57 2012 -0600
Update to 4.2.0
.gitignore | 1 +
python-Traits.spec | 21 +++++++++++----------
sources | 2 +-
3 files changed, 13 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d796b2f..cccafde 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
Traits-3.4.0.tar.gz
/Traits-3.5.0.tar.gz
+/traits-4.2.0.tar.gz
diff --git a/python-Traits.spec b/python-Traits.spec
index ce00600..d0f5516 100644
--- a/python-Traits.spec
+++ b/python-Traits.spec
@@ -1,6 +1,6 @@
Name: python-Traits
-Version: 3.5.0
-Release: 3%{?dist}
+Version: 4.2.0
+Release: 1%{?dist}
Summary: Explicitly typed attributes for Python
Group: Development/Libraries
# Images have different licenses. For image license breakdown check
@@ -9,7 +9,7 @@ Group: Development/Libraries
# 3-clause license. Confirmed from upstream.
License: BSD and EPL and LGPLv2 and GPLv2+
URL: http://code.enthought.com/projects/traits/
-Source0: http://www.enthought.com/repo/ETS/Traits-%{version}.tar.gz
+Source0: http://www.enthought.com/repo/ets/traits-%{version}.tar.gz
BuildRequires: python-setupdocs, python-setuptools, python2-devel
Requires: numpy
@@ -29,7 +29,7 @@ attributes, traits also have several additional characteristics:
using the trait's definition.
%prep
-%setup -q -n Traits-%{version}
+%setup -q -n traits-%{version}
rm -rf *.egg-info
@@ -61,8 +61,8 @@ 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}/enthought/traits/protocols/_speedups.c
-rm $RPM_BUILD_ROOT%{python_sitearch}/enthought/traits/ctraits.c
+rm $RPM_BUILD_ROOT%{python_sitearch}/traits/protocols/_speedups.c
+rm $RPM_BUILD_ROOT%{python_sitearch}/traits/ctraits.c
# fix wrong-file-end-of-line-encoding
for file in `find build/docs -name "*.txt" -o -name "*.css" -o -name \
@@ -75,13 +75,14 @@ done
%files
%defattr(-,root,root,-)
%doc *.txt docs/*.pdf examples
-%doc docs/traitsdocreadme.txt docs/CHANGES.txt build/docs/html
-%dir %{python_sitearch}/enthought
+%doc docs/traitsdocreadme.txt docs/CHANGES.txt
%{python_sitearch}/*.egg-info
-%{python_sitearch}/*.pth
-%{python_sitearch}/enthought/traits
+%{python_sitearch}/traits
%changelog
+* Wed Jun 6 2012 Orion Poplawski <orion at cora.nwra.com> - 4.2.0-1
+- Update to 4.2.0
+
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.5.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
diff --git a/sources b/sources
index 67c8dc3..703a159 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7fda85ccd3383b4d6ed8ef1be7775cb5 Traits-3.5.0.tar.gz
+ae27b323d521af8b15c39a180e28a3f4 traits-4.2.0.tar.gz
More information about the scm-commits
mailing list