From 2ae702e4755e057f77b6ba792e50a308ced67b8d Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Wed, 13 Nov 2024 16:14:52 +0300 Subject: [PATCH] import openjade-1.3.2-72.el9 --- SPECS/openjade.spec | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/SPECS/openjade.spec b/SPECS/openjade.spec index 8ac77c7..3818d28 100644 --- a/SPECS/openjade.spec +++ b/SPECS/openjade.spec @@ -1,7 +1,7 @@ Summary: A DSSSL implementation Name: openjade Version: 1.3.2 -Release: 68%{?dist} +Release: 72%{?dist} Requires: sgml-common URL: http://openjade.sourceforge.net/ Source: http://download.sourceforge.net/openjade/openjade-%{version}.tar.gz @@ -86,6 +86,9 @@ cd - rm -f $RPM_BUILD_ROOT%{_libdir}/*.so $RPM_BUILD_ROOT%{_libdir}/*.la +# Stop check-rpaths from complaining about standard runpaths. +export QA_RPATHS=0x0001 + %post %{?ldconfig} /usr/bin/install-catalog --add /etc/sgml/%{name}-%{version}-%{release}.soc \ @@ -97,10 +100,16 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.so $RPM_BUILD_ROOT%{_libdir}/*.la %ldconfig_postun +# The install-catalog removes the file making uninstallation throw a warning about removing a non-existent file +# This file creation suppresses the warning (rhbz#2193429) +touch %{_sysconfdir}/sgml/%{name}-%{version}-%{release}.soc + %files %doc jadedoc/* dsssl/README.jadetex %doc README COPYING VERSION -%ghost /etc/sgml/%{name}-%{version}-%{release}.soc + +# Removed %%ghost for succesful instalation on OSTree (rhbz#2193429) +%verify(not size filedigest mtime) %{_sysconfdir}/sgml/%{name}-%{version}-%{release}.soc /etc/sgml/%{name}.soc %{_bindir}/* %{_libdir}/*.so.* @@ -108,6 +117,23 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.so $RPM_BUILD_ROOT%{_libdir}/*.la %{_datadir}/sgml/%{name}-%{version} %changelog +* Sun Oct 15 2023 Ondrej Sloup - 1.3.2-72 +- Add an environment variable to prevent gating from complaining about rpaths (rhbz#2193429) + Related: RHEL-11772 + +* Mon Sep 18 2023 Ondřej Sloup - 1.3.2-71 +- Add %verify to ignore modified socket file after install +- Remove unused OpenSP-1.5 from sources + Related: rhbz#2193429 + +* Thu Sep 14 2023 Ondřej Sloup - 1.3.2-70 +- Rebuild with gating.yaml to allow automatic tests + Related: rhbz#2193429 + +* Tue Aug 22 2023 Ondrej Sloup - 1.3.2-69 +- Fix installation on OSTree by removing %%ghost + Resolves: rhbz#2193429 + * Wed Mar 15 2023 MSVSphere Packaging Team - 1.3.2-68 - Rebuilt for MSVSphere 9.1.