Restore removal of pre-built documentation with its minified JS bundle
This commit is contained in:
parent
d5406bbd6e
commit
041b27b60d
18
cairomm.spec
18
cairomm.spec
@ -6,7 +6,7 @@
|
||||
Name: cairomm
|
||||
Summary: C++ API for the cairo graphics library
|
||||
Version: 1.14.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
|
||||
URL: https://www.cairographics.org
|
||||
License: LGPLv2+
|
||||
@ -77,6 +77,15 @@ popd
|
||||
# %%{gpgverify} --keyring='%%{SOURCE3}' --signature='%%{SOURCE2}' \
|
||||
# --data='%%{SOURCE1}'
|
||||
%setup -q
|
||||
# We must remove the jQuery/jQueryUI bundle with precompiled/minified/bundled
|
||||
# JavaScript that is in untracked/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 untracked/docs/reference/html
|
||||
rm untracked/docs/reference/%{name}-%{apiver}.tag \
|
||||
untracked/docs/reference/%{name}-%{apiver}.devhelp2
|
||||
|
||||
|
||||
%build
|
||||
@ -87,7 +96,9 @@ cp -vp %{_datadir}/aclocal/ax_boost_base.m4 \
|
||||
build/
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
%endif
|
||||
%configure --disable-static
|
||||
%configure \
|
||||
--enable-maintainer-mode \
|
||||
--disable-static
|
||||
%make_build
|
||||
|
||||
|
||||
@ -124,6 +135,9 @@ install -t %{buildroot}%{_datadir}/doc/%{name}-%{apiver} -m 0644 -p \
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Feb 11 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 1.14.2-2
|
||||
- Restore removal of pre-built documentation with its minified JS bundle
|
||||
|
||||
* Thu Feb 11 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 1.14.2-1
|
||||
- Update to 1.14.2; this adds new APIs, but is ABI-backwards-compatible
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user