Author: walluck
Date: Sat Dec 9 02:18:42 2006
New Revision: 93951
Added:
packages/cooker/python-fpconst/current/SOURCES/fpconst-0.7.2.tar.bz2
(contents, props changed)
Removed:
packages/cooker/python-fpconst/current/SOURCES/fpconst-0.6.0.tar.bz2
Modified:
packages/cooker/python-fpconst/current/SPECS/python-fpconst.spec
Log:
0.7.2
Added: packages/cooker/python-fpconst/current/SOURCES/fpconst-0.7.2.tar.bz2
==============================================================================
Binary file. No diff available.
Modified: packages/cooker/python-fpconst/current/SPECS/python-fpconst.spec
==============================================================================
--- packages/cooker/python-fpconst/current/SPECS/python-fpconst.spec
(original)
+++ packages/cooker/python-fpconst/current/SPECS/python-fpconst.spec Sat Dec
9 02:18:42 2006
@@ -1,21 +1,20 @@
%define oname fpconst
%define name python-%{oname}
-%define version 0.6.0
-%define release 6mdk
%define dname %{oname}-%{version}
Summary: IEEE754 float infinity and NaN for python
Name: python-%{oname}
-Version: %{version}
-Release: %{release}
-Source: %{dname}.tar.bz2
+Version: 0.7.2
+Release: %mkrel 1
+Epoch: 0
+URL: http://cheeseshop.python.org/packages/source/f/fpconst/0.7.2
+Source0:
http://cheeseshop.python.org/packages/source/f/fpconst/fpconst-0.7.2.tar.bz2
License: BSD-like
Group: Development/Python
-BuildRoot: %{_tmppath}/%{name}-buildroot
-Url: http://software.biostat.washington.edu/statsoft/snake/fpconst
BuildRequires: python-devel
BuildArch: noarch
+BuildRoot: %{_tmppath}/%{name}-buildroot
%description
This module provides constants and functions for handling IEEE754
@@ -31,16 +30,17 @@
%setup -q -n %{dname}
%build
-python setup.py build
+%{__python} setup.py build
%install
-rm -rf $RPM_BUILD_ROOT
-python setup.py install --root $RPM_BUILD_ROOT
+%{__rm} -rf %{buildroot}
+%{__python} setup.py install --root %{buildroot}
%clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
%files
+%defattr(0644,root,root,0755)
+%doc README PKG-INFO
%defattr(-,root,root)
-%doc README pep-0754.txt PKG-INFO
-%{_libdir}/python%{pyver}/site-packages/%{oname}.*
+%{python_sitelib}/*