From f936e3a9e30fc05cc85a8f288a8ffc8304c88746 Mon Sep 17 00:00:00 2001 From: Ondřej Sloup Date: Aug 28 2023 08:24:10 +0000 Subject: Fix installation on OSTree by removing %%ghost Resolves: rhbz#2193429 --- diff --git a/SPECS/openjade.spec b/SPECS/openjade.spec index 0413d2d..8726cb0 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: 69%{?dist} Requires: sgml-common URL: http://openjade.sourceforge.net/ Source: http://download.sourceforge.net/openjade/openjade-%{version}.tar.gz @@ -97,10 +97,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) +%{_sysconfdir}/sgml/%{name}-%{version}-%{release}.soc /etc/sgml/%{name}.soc %{_bindir}/* %{_libdir}/*.so.* @@ -108,6 +114,10 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.so $RPM_BUILD_ROOT%{_libdir}/*.la %{_datadir}/sgml/%{name}-%{version} %changelog +* Tue Aug 22 2023 Ondrej Sloup - 1.3.2-69 +- Fix installation on OSTree by removing %%ghost + Resolves: rhbz#2193429 + * Mon Aug 09 2021 Mohan Boddu - 1.3.2-68 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688