Hello community,
here is the log from the commit of package update-test-trivial for
openSUSE:Factory checked in at 2018-01-10 23:35:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/update-test-trivial (Old)
and /work/SRC/openSUSE:Factory/.update-test-trivial.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "update-test-trivial"
Wed Jan 10 23:35:37 2018 rev:2 rq:562893 version:5
Changes:
--------
--- /work/SRC/openSUSE:Factory/update-test-trivial/update-test-trivial.changes
2017-01-11 11:56:58.371664725 +0100
+++
/work/SRC/openSUSE:Factory/.update-test-trivial.new/update-test-trivial.changes
2018-01-10 23:35:37.846720548 +0100
@@ -1,0 +2,5 @@
+Wed Dec 20 14:45:28 UTC 2017 - [email protected]
+
+- Added subpackage which fails during update
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ update-test-trivial.spec ++++++
--- /var/tmp/diff_new_pack.wfqggS/_old 2018-01-10 23:35:38.366696150 +0100
+++ /var/tmp/diff_new_pack.wfqggS/_new 2018-01-10 23:35:38.366696150 +0100
@@ -120,9 +120,25 @@
An update for this package should contain a 32bit-package.
+%package -n update-test-broken
+Summary: Test update which should not be installable
+Group: System/YaST
+
+%description -n update-test-broken
+Package for testing the update stack during product development.
+
+An update for this package should fail.
+
%prep
%setup -q -n %{name}
+%pre -n update-test-broken
+if [ $1 -ne 1 ]; then
+ if [[ "$(cat /etc/YaST2/build)" == *"SUSE-CaaS-Platform-"* ]]; then
+ sed -i -e 's,foo\t,bar\t,g' /some/none/existing/file
+ fi
+fi
+
%build
echo "Package: %{name}-%{version}-%{release}" > VERSION
echo -n "Build date: " >> VERSION
@@ -175,4 +191,8 @@
%defattr(-,root,root)
%doc README.update-test-32bit-pkg
+%files -n update-test-broken
+%defattr(-,root,root)
+%doc README.update-test-broken
+
%changelog
++++++ update-test-trivial.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/update-test-trivial/README.update-test-broken
new/update-test-trivial/README.update-test-broken
--- old/update-test-trivial/README.update-test-broken 1970-01-01
01:00:00.000000000 +0100
+++ new/update-test-trivial/README.update-test-broken 2017-12-20
15:36:08.976866000 +0100
@@ -0,0 +1,3 @@
+Package for testing the update stack during product development.
+
+An update for this package should fail during installation.