forked from pool/python-py2pack
Accepting request 63706 from devel:languages:python
Accepted submit request 63706 from user saschpe OBS-URL: https://build.opensuse.org/request/show/63706 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py2pack?expand=0&rev=8
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f85f5e0c50a39e64e4801ba5c50bb83c9a9032639243aa566fb169bb807538c0
|
||||
size 11706
|
3
py2pack-0.3.13.tar.bz2
Normal file
3
py2pack-0.3.13.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1246778425582131b79834d143eec980d11c3d812dead463b537b3889d89176f
|
||||
size 15256
|
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 9 09:18:43 UTC 2011 - saschpe@suse.de
|
||||
|
||||
- Update to version 0.3.13:
|
||||
* Generate manpage and HTML documentation
|
||||
- Added manpage and HTML documentation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 16 08:42:27 UTC 2011 - saschpe@suse.de
|
||||
|
||||
|
@@ -11,20 +11,19 @@
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
|
||||
%define mod_name py2pack
|
||||
|
||||
Name: python-%{mod_name}
|
||||
Version: 0.3.11
|
||||
Release: 1
|
||||
Version: 0.3.13
|
||||
Release: 0
|
||||
Url: http://github.com/saschpe/py2pack
|
||||
Summary: Generate distribution packages from Python packages on PyPI
|
||||
License: GPLv2
|
||||
@@ -58,12 +57,19 @@ python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
# The setup script installs stuff into '/usr/local', move stuff around accordingly
|
||||
install -d %{buildroot}%{_mandir}/man1
|
||||
mv %{buildroot}/usr/man/man1/%{mod_name}.* %{buildroot}%{_mandir}/man1
|
||||
install -d %{buildroot}%{_docdir}/%{name}
|
||||
mv %{buildroot}/usr/share/doc/%{mod_name}/* %{buildroot}%{_docdir}/%{name}
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_docdir}/%{name}
|
||||
%{_mandir}/man?/%{mod_name}.*
|
||||
%{_bindir}/%{mod_name}
|
||||
%python_sitelib/%{mod_name}*
|
||||
|
||||
|
Reference in New Issue
Block a user