- Simpler PDF install
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=34
This commit is contained in:
parent
28bec3bf63
commit
509c19ed0f
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 2 12:08:59 UTC 2011 - saschpe@suse.de
|
||||||
|
|
||||||
|
- Simpler PDF install
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 2 11:06:52 UTC 2011 - saschpe@suse.de
|
Fri Sep 2 11:06:52 UTC 2011 - saschpe@suse.de
|
||||||
|
|
||||||
|
@ -53,18 +53,17 @@ This package contains documentation for lxml (HTML and PDF).
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n lxml-%{version}
|
%setup -q -n lxml-%{version}
|
||||||
|
cp %{SOURCE1} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" python setup.py build
|
CFLAGS="%{optflags}" python setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
install -Dm0644 %{SOURCE1} %{buildroot}%{_docdir}/%{name}-doc/lxml-%{version}.pdf # Install PDF into docdir
|
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc doc/html
|
%doc doc/html lxmldoc-%{version}.pdf
|
||||||
%{_docdir}/%{name}-doc/lxml-%{version}.pdf
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user