]> git.pld-linux.org Git - SPECS.git/blob - python-ConcurrentLogHandler.spec
SPECS updated Sun 1 Aug 11:02:02 CEST 2021
[SPECS.git] / python-ConcurrentLogHandler.spec
1 %define         module  ConcurrentLogHandler
2 Summary:        Concurrent logging handler (drop-in replacement for RotatingFileHandler)
3 Name:           python-%{module}
4 Version:        0.8.4
5 Release:        2
6 License:        Apache 2.0
7 Group:          Development/Languages/Python
8 Source0:        http://pypi.python.org/packages/source/C/%{module}/%{module}-%{version}.tar.gz
9 # Source0-md5:  6d1665c645711380d29c06a7017eed49
10 URL:            http://pypi.python.org/pypi/ConcurrentLogHandler/
11 #BuildRequires: python-distribute
12 BuildRequires:  rpm-pythonprov
13 BuildRequires:  rpmbuild(macros) >= 1.710
14 Requires(post,preun):   /sbin/chkconfig
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Concurrent logging handler (drop-in replacement for
20 RotatingFileHandler).
21
22 %prep
23 %setup -q -n %{module}-%{version}
24
25 %build
26 %py_build
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30 %py_install
31
32 %py_postclean
33
34 %clean
35 rm -rf $RPM_BUILD_ROOT
36
37 %files
38 %defattr(644,root,root,755)
39 %doc README PKG-INFO LICENSE
40
41 %{py_sitescriptdir}/cloghandler.*
42 %{py_sitescriptdir}/portalocker.*
43 %if "%{py_ver}" > "2.4"
44 %{py_sitescriptdir}/%{module}-*.egg-info
45 %endif
This page took 0.094939 seconds and 3 git commands to generate.