From 855cc9f15e1ba79c639c7dc1e7430ccf3ecb915c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 8 Jul 2015 20:27:45 -0400 Subject: [PATCH] Unbundle jquery --- python-systemd.spec | 8 +++++++- sources | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-systemd.spec b/python-systemd.spec index eb79712..0c6a35d 100644 --- a/python-systemd.spec +++ b/python-systemd.spec @@ -11,6 +11,8 @@ Source0: python-systemd-%{version}.tar.gz BuildRequires: systemd-devel BuildRequires: python2-devel +BuildRequires: web-assets-devel +Requires: js-jquery Provides: systemd-python = %{version}-%{release} Provides: systemd-python%{?_isa} = %{version}-%{release} @@ -57,10 +59,14 @@ rm -r build/html/.buildinfo build/html/.doctrees %install %make_install PYTHON=%{__python2} %make_install PYTHON=%{__python3} +mkdir -p %{buildroot}%{_pkgdocdir} +cp -rv build/html %{buildroot}%{_pkgdocdir}/ +ln -vsf %{_jsdir}/jquery/latest/jquery.min.js %{buildroot}%{_pkgdocdir}/html/_static/jquery.js +cp README.md %{buildroot}%{_pkgdocdir} %files %license LICENSE.txt -%doc README.md build/html +%doc %{_pkgdocdir} %{python2_sitearch}/* %files -n python3-systemd diff --git a/sources b/sources index 13e4dd9..05e834a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9ead70ab71bf42fb99e94e8af1ed78a5 python-systemd-230.tar.gz +8efd94e04e035d4f41c7dd54e69e9b0b python-systemd-230.tar.gz