From 509c19ed0f87273575803055e340172818cfb7065f6d4bf780322b08cf5986c0 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Fri, 2 Sep 2011 12:10:18 +0000 Subject: [PATCH] - Simpler PDF install OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=34 --- python-lxml.changes | 5 +++++ python-lxml.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-lxml.changes b/python-lxml.changes index 405c9fa..2f904a8 100644 --- a/python-lxml.changes +++ b/python-lxml.changes @@ -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 diff --git a/python-lxml.spec b/python-lxml.spec index 061cc1f..b2ef1c2 100644 --- a/python-lxml.spec +++ b/python-lxml.spec @@ -53,18 +53,17 @@ This package contains documentation for lxml (HTML and PDF). %prep %setup -q -n lxml-%{version} +cp %{SOURCE1} . %build CFLAGS="%{optflags}" python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} -install -Dm0644 %{SOURCE1} %{buildroot}%{_docdir}/%{name}-doc/lxml-%{version}.pdf # Install PDF into docdir %files doc %defattr(-,root,root) -%doc doc/html -%{_docdir}/%{name}-doc/lxml-%{version}.pdf +%doc doc/html lxmldoc-%{version}.pdf %files %defattr(-,root,root,-)