Hello community,
here is the log from the commit of package update-test-trivial for openSUSE:Leap:15.2 checked in at 2020-04-30 18:53:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/update-test-trivial (Old)
and /work/SRC/openSUSE:Leap:15.2/.update-test-trivial.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "update-test-trivial"
Thu Apr 30 18:53:00 2020 rev:15 rq:799245 version:5.1
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/update-test-trivial/update-test-trivial.changes 2020-01-15 16:27:03.608707370 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.update-test-trivial.new.2738/update-test-trivial.changes 2020-04-30 18:53:55.652913681 +0200
@@ -1,0 +2,10 @@
+Thu Apr 16 21:16:46 UTC 2020 - Gustavo Pichorim Boiko
+
+- Add a retracted update test case
+
+-------------------------------------------------------------------
+Tue Mar 19 10:04:28 UTC 2019 - Martin Kravec
+
+- Break broken package for all platforms
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ update-test-trivial.spec ++++++
--- /var/tmp/diff_new_pack.Ek1eJn/_old 2020-04-30 18:53:56.016914450 +0200
+++ /var/tmp/diff_new_pack.Ek1eJn/_new 2020-04-30 18:53:56.016914450 +0200
@@ -53,6 +53,16 @@
restart (re-login) is necessary. This is used, for example, in
window manager updates.
+%package -n update-test-retracted
+Summary: Test update that should be marked as retracted
+Group: System/YaST
+
+%description -n update-test-retracted
+Package for testing the update stack during product development.
+
+An update for this package should mark the update as retracted
+in zypper.
+
%package -n update-test-interactive
Summary: Test update that requires confirmation
Group: System/YaST
@@ -134,7 +144,7 @@
%pre -n update-test-broken
if [ $1 -ne 1 ]; then
- if [[ "$(cat /etc/YaST2/build)" == *"SUSE-CaaS-Platform-"* ]]; then
+ if [ ! -f /.buildenv ]; then
sed -i -e 's,foo\t,bar\t,g' /some/none/existing/file
fi
fi
@@ -187,6 +197,10 @@
%defattr(-,root,root)
%doc README.update-test-relogin-suggested
+%files -n update-test-retracted
+%defattr(-,root,root)
+%doc README.update-test-retracted
+
%files -n update-test-32bit-pkg
%defattr(-,root,root)
%doc README.update-test-32bit-pkg
++++++ update-test-trivial.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/update-test-trivial/README.update-test-retracted new/update-test-trivial/README.update-test-retracted
--- old/update-test-trivial/README.update-test-retracted 1970-01-01 01:00:00.000000000 +0100
+++ new/update-test-trivial/README.update-test-retracted 2020-04-17 08:40:08.691878703 +0200
@@ -0,0 +1,4 @@
+Package for testing the update stack during product development.
+
+An update for this package should have a flag set to
+"retracted", indicating that this is a retracted updated.