This commit is contained in:
Ralph Bean 2015-03-22 23:22:59 -04:00
parent 6f28ad6460
commit 3295ffeafd

View File

@ -5,8 +5,8 @@
%endif
Name: python-decorator
Version: 3.4.0
Release: 5%{?dist}
Version: 3.4.2
Release: 1%{?dist}
Summary: Module to simplify usage of decorators
Group: Development/Languages
@ -46,8 +46,8 @@ etc. The core of this module is a decorator factory called decorator.
%prep
%setup -q -n decorator-%{version}
chmod a-x *.txt *.py
%{__sed} -i 's/\r//' README.txt
chmod a-x *.py
%{__sed} -i 's/\r//' README.rst
%if 0%{?with_python3}
rm -rf %{py3dir}
@ -94,18 +94,21 @@ popd
%files
%defattr(-,root,root,-)
%doc *.txt documentation.py
%doc *.rst
%{python_sitelib}/*
%if 0%{?with_python3}
%files -n python3-decorator
%defattr(-,root,root,-)
%doc *.txt documentation3.py
%doc *.rst
%{python3_sitelib}/*
%endif # with_python3
%changelog
* Mon Mar 23 2015 Ralph Bean <rbean@redhat.com> - 3.4.2-1
- new version
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild