Unbundle jquery

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2015-07-08 20:27:45 -04:00
parent ce361e1cc5
commit 855cc9f15e
2 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -1 +1 @@
9ead70ab71bf42fb99e94e8af1ed78a5 python-systemd-230.tar.gz
8efd94e04e035d4f41c7dd54e69e9b0b python-systemd-230.tar.gz