forked from pool/python-py2pack
- Update to version 0.3.10
* Removed SUSE-specific %files section * Added README.rst OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=21
This commit is contained in:
committed by
Git OBS Bridge
parent
da4280338c
commit
ed89e56fa9
@@ -22,7 +22,7 @@
|
||||
%define mod_name py2pack
|
||||
|
||||
Name: python-%{mod_name}
|
||||
Version: 0.3.9
|
||||
Version: 0.3.10
|
||||
Release: 0
|
||||
Url: http://github.com/saschpe/py2pack
|
||||
Summary: Generate distribution packages from Python packages on PyPI
|
||||
@@ -56,16 +56,14 @@ export CFLAGS="%{optflags}"
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot} %{?suse_version: --record-rpm=INSTALLED_FILES}
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files %{?suse_version: -f INSTALLED_FILES}
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%if 0%{!?suse_version:1}
|
||||
%{_bindir}/%{mod_name}
|
||||
%python_sitelib/%{mod_name}*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user