From 006cff5c10cfecc991511a12e7561b19876304ed Mon Sep 17 00:00:00 2001 From: Benjamin Beasley Date: Sat, 5 Dec 2020 09:51:44 -0500 Subject: [PATCH] Make -doc package arched again --- xalan-c.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/xalan-c.spec b/xalan-c.spec index 664c82e..fc628a0 100644 --- a/xalan-c.spec +++ b/xalan-c.spec @@ -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 - 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 - 1.12.0-3 - Make -doc package noarch