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: systemd-devel
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
|
BuildRequires: web-assets-devel
|
||||||
|
Requires: js-jquery
|
||||||
|
|
||||||
Provides: systemd-python = %{version}-%{release}
|
Provides: systemd-python = %{version}-%{release}
|
||||||
Provides: systemd-python%{?_isa} = %{version}-%{release}
|
Provides: systemd-python%{?_isa} = %{version}-%{release}
|
||||||
@ -57,10 +59,14 @@ rm -r build/html/.buildinfo build/html/.doctrees
|
|||||||
%install
|
%install
|
||||||
%make_install PYTHON=%{__python2}
|
%make_install PYTHON=%{__python2}
|
||||||
%make_install PYTHON=%{__python3}
|
%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
|
%files
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%doc README.md build/html
|
%doc %{_pkgdocdir}
|
||||||
%{python2_sitearch}/*
|
%{python2_sitearch}/*
|
||||||
|
|
||||||
%files -n python3-systemd
|
%files -n python3-systemd
|
||||||
|
Loading…
Reference in New Issue
Block a user