Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghostscript for openSUSE:Factory 
checked in at 2024-03-06 23:03:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghostscript (Old)
 and      /work/SRC/openSUSE:Factory/.ghostscript.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghostscript"

Wed Mar  6 23:03:18 2024 rev:65 rq:1155021 version:10.02.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghostscript/ghostscript.changes  2024-01-29 
22:26:41.344384646 +0100
+++ /work/SRC/openSUSE:Factory/.ghostscript.new.1770/ghostscript.changes        
2024-03-06 23:03:31.251114414 +0100
@@ -1,0 +2,10 @@
+Tue Feb 27 10:59:43 UTC 2024 - Dominique Leuenberger <dims...@opensuse.org>
+
+- Use %patch -P N instead of deprecated %patchN.
+
+-------------------------------------------------------------------
+Thu Feb 22 09:07:33 UTC 2024 - Thorsten Kukuk <ku...@suse.com>
+
+- Allow to disable apparmor support (ALP supports only SELinux)
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghostscript.spec ++++++
--- /var/tmp/diff_new_pack.PdudSK/_old  2024-03-06 23:03:33.323189536 +0100
+++ /var/tmp/diff_new_pack.PdudSK/_new  2024-03-06 23:03:33.323189536 +0100
@@ -21,6 +21,7 @@
 %global psuffix -mini
 %else
 %global psuffix %{nil}
+%bcond_without  apparmor
 %endif
 Name:           ghostscript%{psuffix}
 Version:        10.02.1
@@ -78,11 +79,13 @@
 %else
 BuildRequires:  cups-devel
 %endif
+%if %{with apparmor}
 %if 0%{?suse_version} >= 1500
 BuildRequires:  apparmor-abstractions
 BuildRequires:  apparmor-rpm-macros
 %endif
 %endif
+%endif
 # Always check if latest version of openjpeg becomes compatible with 
ghostscript
 %if 0%{?suse_version} >= 1550
 BuildRequires:  pkgconfig(libopenjp2) >= 2.3.1
@@ -159,7 +162,7 @@
 
 # Patch101 ijs_exec_server_dont_use_sh.patch fixes IJS printing problem
 # additionally allow exec'ing hpijs in apparmor profile was needed 
(bsc#1128467):
-%patch101 -p1
+%patch -P 101 -p1
 # Remove patch backup files to avoid packaging
 # cf. https://build.opensuse.org/request/show/581052
 rm -f Resource/Init/*.ps.orig
@@ -305,9 +308,11 @@
 # Switch back to the usual build log messages:
 set -x
 install -m 644 catalog.devices $DOCDIR
+%if %{with apparmor}
 %if "%{flavor}" != "mini"
 install -D -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/apparmor.d/ghostscript
 %endif
+%endif
 
 # Move /usr/bin/gs to /usr/bin/gs.bin to be able to use update-alternatives
 install -d %{buildroot}%{_sysconfdir}/alternatives
@@ -317,11 +322,13 @@
 
 %post
 /sbin/ldconfig
+%if %{with apparmor}
 %if "%{flavor}" != "mini"
 %if 0%{?suse_version} >= 1500
 %apparmor_reload %{_sysconfdir}/apparmor.d/ghostscript
 %endif
 %endif
+%endif
 %{_sbindir}/update-alternatives \
   --install %{_bindir}/gs gs %{_bindir}/gs.bin 15
 
@@ -399,10 +406,12 @@
 %{_libdir}/libijs-0.35.so
 %if "%{flavor}" != "mini"
 %exclude %{_libdir}/ghostscript/%{version}/X11.so
+%if %{with apparmor}
 %if 0%{?suse_version} < 1500
 %dir %{_sysconfdir}/apparmor.d
 %endif
 %{_sysconfdir}/apparmor.d/ghostscript
+%endif
 
 %files x11
 %{_libdir}/ghostscript/%{version}/X11.so

Reply via email to