Accepting request 162848 from home:namtrac:bugfix
- Add Source URL, see https://en.opensuse.org/SourceUrls - Add Source URL, see https://en.opensuse.org/SourceUrls - Fix installation so we don't create double sub-directories - Add Source URL, see https://en.opensuse.org/SourceUrls OBS-URL: https://build.opensuse.org/request/show/162848 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=136
This commit is contained in:
committed by
Git OBS Bridge
parent
f0434c3a5b
commit
3f16f9c855
@@ -25,9 +25,9 @@ Group: Development/Languages/Python
|
||||
%define pyver 2.7.3
|
||||
%define tarname Python-%{pyver}
|
||||
Source0: %{tarname}.tar.bz2
|
||||
Source1: python-%{version}-docs-html.tar.bz2
|
||||
Source2: python-%{version}-docs-pdf-a4.tar.bz2
|
||||
Source3: python-%{version}-docs-pdf-letter.tar.bz2
|
||||
Source1: http://docs.python.org/%{version}/archives/python-%{pyver}-docs-html.tar.bz2
|
||||
Source2: http://docs.python.org/%{version}/archives/python-%{pyver}-docs-pdf-a4.tar.bz2
|
||||
Source3: http://docs.python.org/%{version}/archives/python-%{pyver}-docs-pdf-letter.tar.bz2
|
||||
# COMMON-PATCH-BEGIN
|
||||
Patch1: python-2.7-dirs.patch
|
||||
Patch2: python-distutils-rpm-8.patch
|
||||
@@ -111,9 +111,8 @@ Python, and Macintosh Module Reference in PDF format.
|
||||
%install
|
||||
export PDOCS=%{buildroot}%{_docdir}/python
|
||||
install -d -m 755 $PDOCS/Misc
|
||||
install -d -m 755 $PDOCS/paper-a4 $PDOCS/paper-letter $PDOCS/html
|
||||
tar xfj %{SOURCE1} -C $PDOCS/
|
||||
mv $PDOCS/python-%{version}-docs-html $PDOCS/html
|
||||
mv $PDOCS/python-%{pyver}-docs-html $PDOCS/html
|
||||
tar xfj %{SOURCE2} -C $PDOCS
|
||||
mv $PDOCS/docs-pdf $PDOCS/paper-a4
|
||||
tar xfj %{SOURCE3} -C $PDOCS
|
||||
|
||||
Reference in New Issue
Block a user