Remove bundled jQuery/jQueryUI from prebuilt documentation, and rebuild the documentation ourselves
This commit is contained in:
parent
0a9774a667
commit
ba7b0d03fb
11
cairomm.spec
11
cairomm.spec
@ -26,6 +26,8 @@ BuildRequires: libsigc++20-devel >= %{libsigc_version}
|
|||||||
BuildRequires: perl-interpreter
|
BuildRequires: perl-interpreter
|
||||||
BuildRequires: perl(Getopt::Long)
|
BuildRequires: perl(Getopt::Long)
|
||||||
|
|
||||||
|
BuildRequires: doxygen
|
||||||
|
|
||||||
Requires: cairo%{?_isa} >= %{cairo_version}
|
Requires: cairo%{?_isa} >= %{cairo_version}
|
||||||
Requires: libsigc++20%{?_isa} >= %{libsigc_version}
|
Requires: libsigc++20%{?_isa} >= %{libsigc_version}
|
||||||
|
|
||||||
@ -55,6 +57,15 @@ documentation browser or through a web browser at
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
# We must remove the jQuery/jQueryUI bundle with precompiled/minified/bundled
|
||||||
|
# JavaScript that is in docs/reference/html/jquery.js, since such sources are
|
||||||
|
# banned in Fedora. (Note also that the bundled JavaScript had a different
|
||||||
|
# license.) We also remove the tag file, which triggers a rebuild of the
|
||||||
|
# documentation. While we are at it, we might as well rebuild the devhelp XML
|
||||||
|
# too.
|
||||||
|
rm -rf docs/reference/html
|
||||||
|
rm docs/reference/%{name}-%{apiver}.tag \
|
||||||
|
docs/reference/%{name}-%{apiver}.devhelp2
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
Loading…
Reference in New Issue
Block a user