Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mksh for openSUSE:Factory checked in 
at 2021-02-15 23:20:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mksh (Old)
 and      /work/SRC/openSUSE:Factory/.mksh.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mksh"

Mon Feb 15 23:20:05 2021 rev:24 rq:872321 version:59c

Changes:
--------
--- /work/SRC/openSUSE:Factory/mksh/mksh.changes        2021-02-07 
15:24:12.202211806 +0100
+++ /work/SRC/openSUSE:Factory/.mksh.new.28504/mksh.changes     2021-02-15 
23:21:51.875894448 +0100
@@ -1,0 +2,7 @@
+Tue Feb  9 11:20:47 UTC 2021 - Jan Engelhardt <[email protected]>
+
+- Modernize/remove old RPM constructs.
+- Replace wrong `uname -m` (source arch); CFLAGS are a matter
+  dependent on the target arch.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ mksh.spec ++++++
--- /var/tmp/diff_new_pack.YmX3vT/_old  2021-02-15 23:21:52.539895440 +0100
+++ /var/tmp/diff_new_pack.YmX3vT/_new  2021-02-15 23:21:52.539895440 +0100
@@ -52,8 +52,7 @@
 (pdksh).
 
 %prep
-%setup -q -n %{name}
-%patch0 -p1 -b .p0
+%autosetup -p1 -n %{name}
 
 ed -s mksh.1 <<-'EOF'
        /insert-your-name-here/s/^\.\\" //
@@ -89,7 +88,7 @@
 else
     export CFLAGS='%{optflags} -Wuninitialized -Wall -Wextra -pipe'
 fi
-case "$(uname -m)" in
+case "%{_target_arch}" in
 ppc64)   CFLAGS="$CFLAGS -mbig-endian -mcpu=power4"  ;;
 ppc64le) CFLAGS="$CFLAGS -mtune=power8 -mcpu=power8" ;;
 esac
@@ -188,9 +187,6 @@
     exit 1
 fi
 
-%clean
-rm -Rf %{buildroot}
-
 %post
 %{_sbindir}/update-alternatives \
 %if 0%{?usrmerged}
@@ -213,7 +209,6 @@
 %endif
 
 %files
-%defattr(-,root,root)
 %doc examples/dot.mkshrc
 %{_sysconfdir}/mkshrc
 %{_bindir}/mksh

Reply via email to