From a8325bd31a2960a0a566211939807ec6e6c77087 Mon Sep 17 00:00:00 2001 From: Dan Callaghan Date: Oct 13 2011 23:37:18 +0000 Subject: clean up spec a little more; drop version from setuptools dependency as it is not needed --- 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 - 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 - 0.8.4-2 - clean up spec a little