forked from pool/python-py2pack
Accepting request 56191 from home:saschpe:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/56191 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py2pack?expand=0&rev=13
This commit is contained in:
committed by
Git OBS Bridge
parent
31c265394d
commit
442d795406
@@ -22,7 +22,7 @@
|
||||
%define mod_name py2pack
|
||||
|
||||
Name: python-%{mod_name}
|
||||
Version: 0.3.1
|
||||
Version: 0.3.2
|
||||
Release: 0
|
||||
Url: http://github.com/saschpe/py2pack
|
||||
Summary: Generate distribution packages from Python packages on PyPI
|
||||
@@ -58,13 +58,13 @@ export CFLAGS="%{optflags}"
|
||||
%setup -n %{mod_name}-%{version}
|
||||
|
||||
%build
|
||||
%{__python} setup.py build
|
||||
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} %{?suse_version: --record-rpm=INSTALLED_FILES}
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files %{?suse_version: -f INSTALLED_FILES}
|
||||
%defattr(-,root,root,-)
|
||||
|
Reference in New Issue
Block a user