[python-concurrentloghandler] clean up spec a little more; drop version from setuptools dependency as it is not needed
Dan Callaghan
dcallagh at fedoraproject.org
Thu Oct 13 23:45:32 UTC 2011
commit a8325bd31a2960a0a566211939807ec6e6c77087
Author: Dan Callaghan <dcallagh at redhat.com>
Date: Wed Oct 12 11:14:05 2011 +1000
clean up spec a little more; drop version from setuptools dependency as it is not needed
python-concurrentloghandler.spec | 18 +++++++-----------
1 files changed, 7 insertions(+), 11 deletions(-)
---
diff --git a/python-concurrentloghandler.spec b/python-concurrentloghandler.spec
index 4ffa264..b1e7dea 100644
--- a/python-concurrentloghandler.spec
+++ b/python-concurrentloghandler.spec
@@ -1,10 +1,8 @@
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
-
-%define modname ConcurrentLogHandler
+%global modname ConcurrentLogHandler
Name: python-concurrentloghandler
Version: 0.8.4
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Concurrent logging handler (drop-in replacement for RotatingFileHandler)
Group: Development/Languages
@@ -12,11 +10,10 @@ License: ASL 2.0
URL: http://pypi.python.org/pypi/ConcurrentLogHandler/
Source0: http://pypi.python.org/packages/source/C/%{modname}/%{modname}-%{version}.tar.gz
Patch0: %modname-0.8.4-testpath.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel
-BuildRequires: python-setuptools-devel >= 0.6.11
+BuildRequires: python-setuptools
%description
This module provides an additional log handler for Python's standard logging
@@ -39,17 +36,16 @@ rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root=$RPM_BUILD_ROOT
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
%files
-%defattr(-,root,root,-)
%doc README LICENSE
%{python_sitelib}/*
%changelog
+* Wed Oct 12 2011 Dan Callaghan <dcallagh at redhat.com> - 0.8.4-3
+- clean up spec a little more
+- drop version from setuptools dependency as it is not needed
+
* Tue Oct 04 2011 Dan Callaghan <dcallagh at redhat.com> - 0.8.4-2
- clean up spec a little
More information about the scm-commits
mailing list