15
0
Ciaran Farrell
2009-08-10 14:47:54 +00:00
committed by Git OBS Bridge
parent 0eae4e724d
commit fd2f56ce32
5 changed files with 85 additions and 9 deletions

View File

@@ -6,10 +6,12 @@ Summary: Better Living Through Python With Decorators
URL: http://www.phyast.pitt.edu/~micheles/python/documentation.html
License: BSD
Group: Development/Libraries/Python
Source: %{modname}-%{version}.tar.gz
Source: %{modname}-%{version}.tar.bz2
Patch0: decorator-3.0.1-doctest.patch
BuildRoot: %{_tmppath}/%{name}-buildroot
%{py_requires}
BuildRequires: python-devel
BuildRequires: python-nose
%description
As of now, writing custom decorators correctly requires some experience and it
@@ -29,8 +31,10 @@ Authors:
%prep
%setup -q -n %{modname}-%{version}
%patch0 -p1 -b .doctest
# Remove executable bits from doc files
chmod -x *
chmod a-x *.txt *.py
sed -i 's/\r//' README.txt
%build
export CFLAGS="$RPM_OPT_FLAGS"
@@ -44,7 +48,7 @@ rm -rf %{buildroot}
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc CHANGES.txt README.txt corner-cases.txt documentation.txt other.txt util.py
%doc CHANGES.txt README.txt documentation.html
%changelog
* Mon Aug 10 2009 - Ciaran Farrell <cfarrell1980@gmail.com> - 3.0.1-1