Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package xorg-x11-fonts for openSUSE:Factory 
checked in at 2022-12-10 21:17:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xorg-x11-fonts (Old)
 and      /work/SRC/openSUSE:Factory/.xorg-x11-fonts.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xorg-x11-fonts"

Sat Dec 10 21:17:30 2022 rev:57 rq:1041804 version:7.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/xorg-x11-fonts/xorg-x11-fonts.changes    
2022-07-14 16:33:13.844569287 +0200
+++ /work/SRC/openSUSE:Factory/.xorg-x11-fonts.new.1835/xorg-x11-fonts.changes  
2022-12-10 21:17:37.937487710 +0100
@@ -1,0 +2,8 @@
+Wed Dec  7 09:20:52 UTC 2022 - Dominique Leuenberger <dims...@opensuse.org>
+
+- Do not ever use "%setup -n .": rpm 4.18 tries to be cleaner and
+  remove stuff it extraced, which would lead to 'rm -rf .', which
+  rm does not like. Use "%setup -c" instead, which creates the
+  appropriate %{name}-%{version} directory expected.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ xorg-x11-fonts.spec ++++++
--- /var/tmp/diff_new_pack.zd7Wsz/_old  2022-12-10 21:17:38.721492294 +0100
+++ /var/tmp/diff_new_pack.zd7Wsz/_new  2022-12-10 21:17:38.725492317 +0100
@@ -138,9 +138,8 @@
 to truetype format in the xorg-x11-fonts-converted package
 
 %prep
-%setup -n . -T -D
+%setup -T -D -c
 %if "%{flavor}" != "converted"
-rm -rf $RPM_BUILD_DIR/*
 for i in $RPM_SOURCE_DIR/*.tar.{bz2,xz}; do tar xf $i; done
 %else
 cp %{SOURCE100} .
@@ -254,10 +253,8 @@
     make -C $dir install DESTDIR=$RPM_BUILD_ROOT "${option}"
 done
 rm -f $RPM_BUILD_ROOT/usr/share/fonts/*/fonts.cache*
-pushd $RPM_BUILD_ROOT
-find usr/share/fonts/75dpi -type f -iname \*.pcf.gz | sed 's+^usr+/usr+g' | \
-  grep -v -e ISO8859 >> $RPM_BUILD_DIR/files.%{name}-core
-popd
+find $RPM_BUILD_ROOT/usr/share/fonts/75dpi -type f -iname \*.pcf.gz | sed -e 
"s+$RPM_BUILD_ROOT++g" -e 's+^usr+/usr+g' | \
+  grep -v -e ISO8859 >> files.%{name}-core
 rm -rf $RPM_BUILD_ROOT/usr/etc
 rm -f $RPM_BUILD_ROOT/fonts.{dir,scale}
 rm -f $RPM_BUILD_ROOT/usr/share/fonts/encodings/{,large}/encodings.dir

Reply via email to