Make -doc package arched again

This commit is contained in:
Benjamin Beasley 2020-12-05 09:51:44 -05:00
parent 4d44c0c730
commit 006cff5c10

View File

@ -2,7 +2,7 @@
Name: xalan-c
Version: 1.12.0
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Xalan XSLT processor for C/C++
License: ASL 2.0
@ -51,8 +51,6 @@ BuildRequires: doxygen
# Explicit BR required for EPEL8:
BuildRequires: graphviz
BuildArch: noarch
%description doc
Documentation for %{name}.
@ -65,6 +63,10 @@ Documentation for %{name}.
# https://github.com/apache/xalan-c/pull/35
chmod a-x NOTICE
# Remove the Autotools build system cruft from the samples; otherwise, it would
# be installed as documentation. We leave the CmakeLists.txt even though it
# cannot be used standalone; it is used in the build (even though the built
# samples are only tested and not installed), and is annoying to exclude.
rm -vf samples/configure samples/configure.in
@ -128,6 +130,11 @@ rm -rf %{buildroot}%{_prefix}/share/doc/xalan-c/api
%changelog
* Sat Dec 5 2020 Benjamin A. Beasley <code@musicinmybrain.net> - 1.12.0-4
- Make -doc package arch again; there are indeed small differences by
architecture. Note that 1.12.0-3 never made it to any buildroot, as the arch
differences were flagged by koji.
* Fri Dec 4 2020 Benjamin A. Beasley <code@musicinmybrain.net> - 1.12.0-3
- Make -doc package noarch