forked from pool/python-setproctitle
Accepting request 133716 from home:poorboywilly:branches:devel:languages:python
Update to 1.1.6, simplify %build section, fix %files section. OBS-URL: https://build.opensuse.org/request/show/133716 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setproctitle?expand=0&rev=17
This commit is contained in:
committed by
Git OBS Bridge
parent
ff4df3922d
commit
8cce1b3b52
@@ -22,7 +22,7 @@
|
||||
%define mod_name setproctitle
|
||||
|
||||
Name: python-setproctitle
|
||||
Version: 1.1.3
|
||||
Version: 1.1.6
|
||||
Release: 0
|
||||
Summary: Python module to allow customization of the process title
|
||||
License: BSD-3-Clause
|
||||
@@ -45,15 +45,14 @@ the OpenSSH Server for example.
|
||||
%setup -q -n %{mod_name}-%{version}
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
python setup.py build
|
||||
CFLAGS="%{optflags}" python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYRIGHT HISTORY README
|
||||
%doc COPYRIGHT HISTORY.rst README.rst
|
||||
%python_sitearch/%{mod_name}*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user