Unbundle jquery
This commit is contained in:
parent
ce361e1cc5
commit
855cc9f15e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user