From 4b523a0481fb6d6c9570c4670d9d39e947471ed5c077e7b8f6cb1fc2a2965c08 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 2 Apr 2024 15:25:33 +0000 Subject: [PATCH] Accepting request 1163815 from home:AndreasStieger:branches:devel:openSUSE:Factory - make build reproducible see https://rb.zq1.de/compare.factory-20240331/diffs/update-test-trivial-compare.out OBS-URL: https://build.opensuse.org/request/show/1163815 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory/update-test-trivial?expand=0&rev=12 --- update-test-trivial-rpmlintrc | 1 + update-test-trivial.changes | 5 +++++ update-test-trivial.spec | 40 +++++++++++++++++++---------------- 3 files changed, 28 insertions(+), 18 deletions(-) create mode 100644 update-test-trivial-rpmlintrc diff --git a/update-test-trivial-rpmlintrc b/update-test-trivial-rpmlintrc new file mode 100644 index 0000000..4317751 --- /dev/null +++ b/update-test-trivial-rpmlintrc @@ -0,0 +1 @@ +addFilter("update-test-.* no-binary") diff --git a/update-test-trivial.changes b/update-test-trivial.changes index 211404e..b39d456 100644 --- a/update-test-trivial.changes +++ b/update-test-trivial.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Mar 31 22:11:58 UTC 2024 - Andreas Stieger + +- make build reproducible + ------------------------------------------------------------------- Wed Jun 24 17:17:56 UTC 2020 - Gustavo Pichorim Boiko diff --git a/update-test-trivial.spec b/update-test-trivial.spec index 07d6c58..146d053 100644 --- a/update-test-trivial.spec +++ b/update-test-trivial.spec @@ -2,6 +2,7 @@ # spec file for package update-test-trivial # # Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2024 Andreas Stieger # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,19 +13,20 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: update-test-trivial -Version: 5.1 +Version: 5.2 Release: 0 Summary: Package for testing the update stack during product development -License: GPL-2.0+ +License: GPL-2.0-or-later Group: System/YaST +URL: https://en.opensuse.org/openSUSE:Maintenance_team Source0: %{name}.tar.bz2 Source1: baselibs.conf -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Source2: update-test-trivial-rpmlintrc %description Package for testing the update stack during product development. @@ -152,61 +154,63 @@ fi %build echo "Package: %{name}-%{version}-%{release}" > VERSION echo -n "Build date: " >> VERSION -LANG=POSIX date -u >> VERSION +LANG=POSIX date -ud @$SOURCE_DATE_EPOCH >> VERSION for readme in README.update-test*; do echo "---" >> $readme echo "Package Version : %{version}" >> $readme echo "Package Release : %{release}" >> $readme echo -n "Generated on : " >> $readme - date >> $readme + date -ud @$SOURCE_DATE_EPOCH >> $readme echo >> $readme echo " Remember to have a lot of fun!" >> $readme done %install +%check + %files -%defattr(-,root,root) -%doc README COPYRIGHT AUTHOR VERSION +%license COPYRIGHT +%doc README AUTHOR VERSION %files -n update-test-reboot-needed -%defattr(-,root,root) +%license COPYRIGHT %doc README.update-test-reboot-needed %files -n update-test-interactive -%defattr(-,root,root) +%license COPYRIGHT %doc README.update-test-interactive %files -n update-test-affects-package-manager -%defattr(-,root,root) +%license COPYRIGHT %doc README.update-test-affects-package-manager %files -n update-test-security -%defattr(-,root,root) +%license COPYRIGHT %doc README.update-test-security %files -n update-test-feature -%defattr(-,root,root) +%license COPYRIGHT %doc README.update-test-feature %files -n update-test-optional -%defattr(-,root,root) +%license COPYRIGHT %doc README.update-test-optional %files -n update-test-relogin-suggested -%defattr(-,root,root) +%license COPYRIGHT %doc README.update-test-relogin-suggested %files -n update-test-retracted -%defattr(-,root,root) +%license COPYRIGHT %doc README.update-test-retracted %files -n update-test-32bit-pkg -%defattr(-,root,root) +%license COPYRIGHT %doc README.update-test-32bit-pkg %files -n update-test-broken -%defattr(-,root,root) +%license COPYRIGHT %doc README.update-test-broken %changelog