Notification time stamped 2020-04-30 23:17:44 UTC
From a02de956406198d33feeb5d24182ee2b540dc8bd Mon Sep 17 00:00:00 2001
From: Mark Wielaard <mjw(a)fedoraproject.org>
Date: Apr 30 2020 22:15:04 +0000
Subject: 0.179-2 - Add elfutils-0.179-debug-client-alt-link.patch
---
diff --git a/elfutils-0.179-debug-client-alt-link.patch b/elfutils-0.179-debug-client-alt-link.patch
new file mode 100644
index 0000000..bb84954
--- /dev/null
+++ b/elfutils-0.179-debug-client-alt-link.patch
@@ -0,0 +1,60 @@
+From b1d2404cc6ca0d9ce786e229a87c24db49163cfe Mon Sep 17 00:00:00 2001
+From: Mark Wielaard <mark(a)klomp.org>
+Date: Thu, 30 Apr 2020 23:57:26 +0200
+Subject: [PATCH] libdwfl: Handle debugaltlink in dwfl_standard_find_debuginfo.
+
+When we fall back to the debuginfod client then we need to do the
+same trick we do for local lookups in dwfl_build_id_find_debuginfo.
+If the debug file (dw) is already set, then we must be looking for
+the altfile. But we cannot use the actual file/path name given as
+hint. We'll have to lookup the alt file "build-id". Because the
+debuginfod client only handles build-ids.
+
+Previously we would use the build-id of the main file which meant
+the debuginfod client would give us another copy of the debug file,
+which would then be set as its own altfile. This caused lots of
+confusion...
+
+Signed-off-by: Mark Wielaard <mark(a)klomp.org>
+---
+ libdwfl/ChangeLog | 5 +++++
+ libdwfl/find-debuginfo.c | 23 +++++++++++++++++++++--
+ 2 files changed, 26 insertions(+), 2 deletions(-)
+
+diff --git a/libdwfl/find-debuginfo.c b/libdwfl/find-debuginfo.c
+index 2dd11c48..4cfd0b8b 100644
+--- a/libdwfl/find-debuginfo.c
++++ b/libdwfl/find-debuginfo.c
+@@ -398,8 +398,27 @@ dwfl_standard_find_debuginfo (Dwfl_Module *mod,
+ free (canon);
+ }
+
+- if (fd < 0 && bits_len > 0)
+- fd = __libdwfl_debuginfod_find_debuginfo (mod->dwfl, bits, bits_len);
++ /* Still nothing? Try if we can use the debuginfod client.
++ But note that we might be looking for the alt file.
++ We use the same trick as dwfl_build_id_find_debuginfo.
++ If the debug file (dw) is already set, then we must be
++ looking for the altfile. But we cannot use the actual
++ file/path name given as hint. We'll have to lookup the
++ alt file "build-id". Because the debuginfod client only
++ handles build-ids. */
++ if (fd < 0)
++ {
++ if (mod->dw != NULL)
++ {
++ const char *altname;
++ bits_len = INTUSE(dwelf_dwarf_gnu_debugaltlink) (mod->dw, &altname,
++ (const void **)
++ &bits);
++ }
++
++ if (bits_len > 0)
++ fd = __libdwfl_debuginfod_find_debuginfo (mod->dwfl, bits, bits_len);
++ }
+
+ return fd;
+ }
+--
+2.18.2
+
diff --git a/elfutils.spec b/elfutils.spec
index 7e59ae4..aed7cf2 100644
--- a/elfutils.spec
+++ b/elfutils.spec
@@ -1,6 +1,6 @@
Name: elfutils
Version: 0.179
-%global baserelease 1
+%global baserelease 2
Release: %{baserelease}%{?dist}
URL: http://elfutils.org/
%global source_url ftp://sourceware.org/pub/elfutils/%{version}/
@@ -55,6 +55,7 @@ BuildRequires: curl
%endif
# Patches
+Patch1: elfutils-0.179-debug-client-alt-link.patch
%description
Elfutils is a collection of utilities, including stack (to show
@@ -246,6 +247,7 @@ such servers to download those files on demand.
%setup -q
# Apply patches
+%patch1 -p1 -b .debug-client-alt
# In case the above patches added any new test scripts, make sure they
# are executable.
@@ -423,6 +425,9 @@ exit 0
%systemd_postun_with_restart debuginfod.service
%changelog
+* Thu Apr 30 2020 Mark Wielaard <mjw(a)fedoraproject.org> - 0.179-2
+- Add elfutils-0.179-debug-client-alt-link.patch
+
* Mon Mar 30 2020 Mark Wielaard <mjw(a)fedoraproject.org> - 0.179-1
- New upstream release.
debuginfod-client:
https://src.fedoraproject.org/rpms/elfutils/c/a02de956406198d33feeb5d24182e…
Notification time stamped 2020-04-30 23:05:26 UTC
From a02de956406198d33feeb5d24182ee2b540dc8bd Mon Sep 17 00:00:00 2001
From: Mark Wielaard <mjw(a)fedoraproject.org>
Date: Apr 30 2020 22:15:04 +0000
Subject: 0.179-2 - Add elfutils-0.179-debug-client-alt-link.patch
---
diff --git a/elfutils-0.179-debug-client-alt-link.patch b/elfutils-0.179-debug-client-alt-link.patch
new file mode 100644
index 0000000..bb84954
--- /dev/null
+++ b/elfutils-0.179-debug-client-alt-link.patch
@@ -0,0 +1,60 @@
+From b1d2404cc6ca0d9ce786e229a87c24db49163cfe Mon Sep 17 00:00:00 2001
+From: Mark Wielaard <mark(a)klomp.org>
+Date: Thu, 30 Apr 2020 23:57:26 +0200
+Subject: [PATCH] libdwfl: Handle debugaltlink in dwfl_standard_find_debuginfo.
+
+When we fall back to the debuginfod client then we need to do the
+same trick we do for local lookups in dwfl_build_id_find_debuginfo.
+If the debug file (dw) is already set, then we must be looking for
+the altfile. But we cannot use the actual file/path name given as
+hint. We'll have to lookup the alt file "build-id". Because the
+debuginfod client only handles build-ids.
+
+Previously we would use the build-id of the main file which meant
+the debuginfod client would give us another copy of the debug file,
+which would then be set as its own altfile. This caused lots of
+confusion...
+
+Signed-off-by: Mark Wielaard <mark(a)klomp.org>
+---
+ libdwfl/ChangeLog | 5 +++++
+ libdwfl/find-debuginfo.c | 23 +++++++++++++++++++++--
+ 2 files changed, 26 insertions(+), 2 deletions(-)
+
+diff --git a/libdwfl/find-debuginfo.c b/libdwfl/find-debuginfo.c
+index 2dd11c48..4cfd0b8b 100644
+--- a/libdwfl/find-debuginfo.c
++++ b/libdwfl/find-debuginfo.c
+@@ -398,8 +398,27 @@ dwfl_standard_find_debuginfo (Dwfl_Module *mod,
+ free (canon);
+ }
+
+- if (fd < 0 && bits_len > 0)
+- fd = __libdwfl_debuginfod_find_debuginfo (mod->dwfl, bits, bits_len);
++ /* Still nothing? Try if we can use the debuginfod client.
++ But note that we might be looking for the alt file.
++ We use the same trick as dwfl_build_id_find_debuginfo.
++ If the debug file (dw) is already set, then we must be
++ looking for the altfile. But we cannot use the actual
++ file/path name given as hint. We'll have to lookup the
++ alt file "build-id". Because the debuginfod client only
++ handles build-ids. */
++ if (fd < 0)
++ {
++ if (mod->dw != NULL)
++ {
++ const char *altname;
++ bits_len = INTUSE(dwelf_dwarf_gnu_debugaltlink) (mod->dw, &altname,
++ (const void **)
++ &bits);
++ }
++
++ if (bits_len > 0)
++ fd = __libdwfl_debuginfod_find_debuginfo (mod->dwfl, bits, bits_len);
++ }
+
+ return fd;
+ }
+--
+2.18.2
+
diff --git a/elfutils.spec b/elfutils.spec
index 7e59ae4..aed7cf2 100644
--- a/elfutils.spec
+++ b/elfutils.spec
@@ -1,6 +1,6 @@
Name: elfutils
Version: 0.179
-%global baserelease 1
+%global baserelease 2
Release: %{baserelease}%{?dist}
URL: http://elfutils.org/
%global source_url ftp://sourceware.org/pub/elfutils/%{version}/
@@ -55,6 +55,7 @@ BuildRequires: curl
%endif
# Patches
+Patch1: elfutils-0.179-debug-client-alt-link.patch
%description
Elfutils is a collection of utilities, including stack (to show
@@ -246,6 +247,7 @@ such servers to download those files on demand.
%setup -q
# Apply patches
+%patch1 -p1 -b .debug-client-alt
# In case the above patches added any new test scripts, make sure they
# are executable.
@@ -423,6 +425,9 @@ exit 0
%systemd_postun_with_restart debuginfod.service
%changelog
+* Thu Apr 30 2020 Mark Wielaard <mjw(a)fedoraproject.org> - 0.179-2
+- Add elfutils-0.179-debug-client-alt-link.patch
+
* Mon Mar 30 2020 Mark Wielaard <mjw(a)fedoraproject.org> - 0.179-1
- New upstream release.
debuginfod-client:
https://src.fedoraproject.org/rpms/elfutils/c/a02de956406198d33feeb5d24182e…
Notification time stamped 2020-04-30 23:04:22 UTC
From a8acb78683822dada8a11445decd51d9093a215c Mon Sep 17 00:00:00 2001
From: Adam Williamson <awilliam(a)redhat.com>
Date: Apr 30 2020 23:03:30 +0000
Subject: Bump to latest git, resync spec
---
diff --git a/.gitignore b/.gitignore
index 49b2e14..387d823 100644
--- a/.gitignore
+++ b/.gitignore
@@ -39,3 +39,4 @@
/os-autoinst-d693abe082d6559721e5053d8fd6151753c73020.tar.gz
/os-autoinst-63af2f4f91cfad88712bd0773e0a236d6e3853ea.tar.gz
/os-autoinst-50464d4e81fcac9dd36785ba88f69b489e4e99e7.tar.gz
+/os-autoinst-85fa4f12c1fb5bed7295791801085d32a69d4586.tar.gz
diff --git a/os-autoinst.spec b/os-autoinst.spec
index 788c3a8..849f30a 100644
--- a/os-autoinst.spec
+++ b/os-autoinst.spec
@@ -28,35 +28,52 @@
%global github_owner os-autoinst
%global github_name os-autoinst
%global github_version 4.6
-%global github_commit 50464d4e81fcac9dd36785ba88f69b489e4e99e7
+%global github_commit 85fa4f12c1fb5bed7295791801085d32a69d4586
# if set, will be a post-release snapshot build, otherwise a 'normal' build
-%global github_date 20200414
+%global github_date 20200430
%global shortcommit %(c=%{github_commit}; echo ${c:0:7})
Name: os-autoinst
Version: %{github_version}
-Release: 11%{?github_date:.%{github_date}git%{shortcommit}}%{?dist}
+Release: 12%{?github_date:.%{github_date}git%{shortcommit}}%{?dist}
Summary: OS-level test automation
License: GPLv2+
URL: https://os-autoinst.github.io/openQA/
Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{github_commit}/…
-# diff from SUSE: added perl(ExtUtils::MakeMaker) and perl(ExtUtils::Embed)
-# which I've found necessary before
-%define build_requires autoconf automake gcc-c++ libtool pkgconfig(opencv) pkg-config perl(ExtUtils::MakeMaker) perl(ExtUtils::Embed) perl(Module::CPANfile) pkgconfig(fftw3) pkgconfig(libpng) pkgconfig(sndfile) pkgconfig(theoraenc) make
-# diff from SUSE: dropped perl-base which does not exist in Fedora, we have
-# the perl(:MODULE_COMPAT) require below
-# also a bunch of stuff ppisar added
-%define requires perl(base) perl(B::Deparse) perl(Carp) perl(Cwd) perl(English) perl(Errno) perl(Fcntl) perl(File::Temp) perl(integer) perl(Mojolicious) >= 7.92, perl(Mojo::IOLoop::ReadWriteProcess) >= 0.23, perl(Mojo::JSON) perl(Mojo::Log) perl(Carp::Always) perl(Data::Dump) perl(Data::Dumper) perl(Crypt::DES) perl(JSON) perl(autodie) perl(Class::Accessor::Fast) perl(Exception::Class) perl(File::Touch) perl(File::Which) perl(IPC::Run::Debug) perl(Net::DBus) perl(Net::SNMP) perl(Net::IP) perl(IPC::System::Simple) perl(Net::SSH2) perl(POSIX) perl(strict) perl(Time::HiRes) perl(warnings) perl(XML::LibXML) perl(XML::SemanticDiff) perl(JSON::XS) perl(List::MoreUtils) perl(Mojo::IOLoop::ReadWriteProcess) perl(Scalar::Util) perl(Socket) perl(Socket::MsgHdr) perl(Cpanel::JSON::XS) perl(IO::Scalar) perl(Try::Tiny)
+# on SUSE this is conditional, for us it doesn't have to be but we
+# still use a macro just to keep build_requires similar for ease of
+# cross-comparison
+%define opencv_require pkgconfig(opencv)
+# this is stuff we added to build_requires, we put it in its own macro
+# to make resyncing with upstream spec changes easier. TODO: submit
+# these upstream, at least ones that make sense for SUSE too.
+%define build_requires_additional perl(ExtUtils::MakeMaker) perl(ExtUtils::Embed)
+# diff from SUSE: added build_requires_additional
+%define build_requires %build_requires_additional %opencv_require autoconf automake gcc-c++ libtool make perl(Module::CPANfile) pkg-config pkgconfig(fftw3) pkgconfig(libpng) pkgconfig(sndfile) pkgconfig(theoraenc)
+# this is stuff we added to requires, we put it in its own macro
+# to make resyncing with upstream spec changes easier. These are all
+# things ppisar added in afeb766c. TODO: submit these upstream, at
+# least ones that make sense for SUSE too.
+%define requires_additional perl(base) perl(Carp) perl(Cwd) perl(English) perl(Errno) perl(Fcntl) perl(File::Temp) perl(integer) perl(Mojo::JSON) perl(Mojo::Log) perl(POSIX) perl(Scalar::Util) perl(Socket) perl(strict) perl(Time::HiRes) perl(warnings)
+# diff from SUSE: added requires_additional, dropped perl-base which
+# does not exist in Fedora - we have perl(base) in requires_additional
+# and the perl(:MODULE_COMPAT) require below
+%define requires %requires_additional perl(B::Deparse) perl(Carp::Always) perl(Class::Accessor::Fast) perl(Cpanel::JSON::XS) perl(Crypt::DES) perl(Data::Dumper) perl(Exception::Class) perl(File::Touch) perl(File::Which) perl(IO::Scalar) perl(IO::Socket::INET) perl(IPC::Run::Debug) perl(IPC::System::Simple) perl(List::MoreUtils) perl(Mojolicious) >= 7.92 perl(Mojo::IOLoop::ReadWriteProcess) >= 0.23 perl(Net::DBus) perl(Net::IP) perl(Net::SNMP) perl(Net::SSH2) perl(Socket::MsgHdr) perl(Try::Tiny) perl(XML::LibXML) perl(XML::SemanticDiff) perl(autodie)
%define requires_not_needed_in_tests git-core
+# this is stuff we added to test_requires, we put it in its own macro
+# to make resyncing with upstream spec changes easier. FindBin is one
+# ppisar added in afeb766c, Test::Mojo and Test::More are just things
+# the test suite uses which I added, we add qemu-system-i386 because
+# the fullstack and qemu-options tests use it - we run them in Koji
+# but SUSE disables them as they cannot run in OBS, so they don't have
+# the requirement either. TODO: submit relevant changes upstream
+%define test_requires_additional perl(FindBin) perl(Test::Mojo) perl(Test::More) /usr/bin/qemu-system-i386
# all requirements needed by the tests, do not require on this in the package
# itself or any sub-packages
-# diff from SUSE: added perl(Test::Mojo) and perl(Test::More), replaced
-# qemu-tools with qemu-img, added /usr/bin/qemu-system-i386 which
-# 'fullstack' and 'qemu-options' tests use on all arches (SUSE has
-# these disabled as qemu can't run in OBS apparently), dropped spell
-# check requirement stuff as this isn't needed in package builds IMO
-# perl(Test::Strict) added, upstream should have this too
-%define test_requires %build_requires %requires perl(Perl::Tidy) perl(Test::Compile) >= 1.1.0, perl(Test::Exception) perl(Test::Mojo) perl(Test::More) perl(Test::Output) perl(Test::Fatal) perl(Test::Warnings) perl(Test::Strict) perl(Pod::Coverage) perl(Test::Pod) perl(Test::MockModule) perl(Test::MockObject) perl(Devel::Cover) perl(Test::Mock::Time) perl(FindBin) /usr/bin/qemu-img /usr/bin/qemu-system-i386
+# diff from SUSE: added test_requires_additional, replaced qemu-tools
+# with qemu-img, dropped spell check requirement stuff as this isn't
+# needed in package builds IMO
+%define test_requires %test_requires_additional %build_requires %requires perl(Devel::Cover) perl(Perl::Tidy) perl(Pod::Coverage) perl(Test::Exception) perl(Test::Fatal) perl(Test::MockModule) perl(Test::MockObject) perl(Test::Mock::Time) perl(Test::Output) perl(Test::Pod) perl(Test::Strict) perl(Test::Warnings) /usr/bin/qemu-img
%define devel_requires %test_requires %requires_not_needed_in_tests
BuildRequires: perl-devel
@@ -209,6 +226,10 @@ make check test VERBOSE=1 CHECK_DOC=0
%files devel
%changelog
+* Thu Apr 30 2020 Adam Williamson <awilliam(a)redhat.com> - 4.6-12.20200430git85fa4f12
+- Bump to latest git
+- Resync spec with upstream, tweak dependency macro implementation
+
* Fri Apr 17 2020 Adam Williamson <awilliam(a)redhat.com> - 4.6-11.20200414git50464d4e
- Rearrange the dependencies ppisar added
diff --git a/sources b/sources
index cfafc25..3ad082c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (os-autoinst-50464d4e81fcac9dd36785ba88f69b489e4e99e7.tar.gz) = 05402eaeff36d6a7ffefa306c7f1b9146d0227a87850a56a4c0b9f3e731e34a2222f51e78b6afb00637ab460dd281fba6bcdd3ce7c2625916226d6695569545e
+SHA512 (os-autoinst-85fa4f12c1fb5bed7295791801085d32a69d4586.tar.gz) = d7c6cb7f6f7c3cf923e76a1f9e887abf451a68412bda2dfef05d510cc625ea758669510dd33ab736b30674ca6fb34f9f95be69e0334c3b683627e95ee67d39d9
https://src.fedoraproject.org/rpms/os-autoinst/c/a8acb78683822dada8a11445de…
Notification time stamped 2020-04-30 23:04:06 UTC
From a8acb78683822dada8a11445decd51d9093a215c Mon Sep 17 00:00:00 2001
From: Adam Williamson <awilliam(a)redhat.com>
Date: Apr 30 2020 23:03:30 +0000
Subject: Bump to latest git, resync spec
---
diff --git a/.gitignore b/.gitignore
index 49b2e14..387d823 100644
--- a/.gitignore
+++ b/.gitignore
@@ -39,3 +39,4 @@
/os-autoinst-d693abe082d6559721e5053d8fd6151753c73020.tar.gz
/os-autoinst-63af2f4f91cfad88712bd0773e0a236d6e3853ea.tar.gz
/os-autoinst-50464d4e81fcac9dd36785ba88f69b489e4e99e7.tar.gz
+/os-autoinst-85fa4f12c1fb5bed7295791801085d32a69d4586.tar.gz
diff --git a/os-autoinst.spec b/os-autoinst.spec
index 788c3a8..849f30a 100644
--- a/os-autoinst.spec
+++ b/os-autoinst.spec
@@ -28,35 +28,52 @@
%global github_owner os-autoinst
%global github_name os-autoinst
%global github_version 4.6
-%global github_commit 50464d4e81fcac9dd36785ba88f69b489e4e99e7
+%global github_commit 85fa4f12c1fb5bed7295791801085d32a69d4586
# if set, will be a post-release snapshot build, otherwise a 'normal' build
-%global github_date 20200414
+%global github_date 20200430
%global shortcommit %(c=%{github_commit}; echo ${c:0:7})
Name: os-autoinst
Version: %{github_version}
-Release: 11%{?github_date:.%{github_date}git%{shortcommit}}%{?dist}
+Release: 12%{?github_date:.%{github_date}git%{shortcommit}}%{?dist}
Summary: OS-level test automation
License: GPLv2+
URL: https://os-autoinst.github.io/openQA/
Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{github_commit}/…
-# diff from SUSE: added perl(ExtUtils::MakeMaker) and perl(ExtUtils::Embed)
-# which I've found necessary before
-%define build_requires autoconf automake gcc-c++ libtool pkgconfig(opencv) pkg-config perl(ExtUtils::MakeMaker) perl(ExtUtils::Embed) perl(Module::CPANfile) pkgconfig(fftw3) pkgconfig(libpng) pkgconfig(sndfile) pkgconfig(theoraenc) make
-# diff from SUSE: dropped perl-base which does not exist in Fedora, we have
-# the perl(:MODULE_COMPAT) require below
-# also a bunch of stuff ppisar added
-%define requires perl(base) perl(B::Deparse) perl(Carp) perl(Cwd) perl(English) perl(Errno) perl(Fcntl) perl(File::Temp) perl(integer) perl(Mojolicious) >= 7.92, perl(Mojo::IOLoop::ReadWriteProcess) >= 0.23, perl(Mojo::JSON) perl(Mojo::Log) perl(Carp::Always) perl(Data::Dump) perl(Data::Dumper) perl(Crypt::DES) perl(JSON) perl(autodie) perl(Class::Accessor::Fast) perl(Exception::Class) perl(File::Touch) perl(File::Which) perl(IPC::Run::Debug) perl(Net::DBus) perl(Net::SNMP) perl(Net::IP) perl(IPC::System::Simple) perl(Net::SSH2) perl(POSIX) perl(strict) perl(Time::HiRes) perl(warnings) perl(XML::LibXML) perl(XML::SemanticDiff) perl(JSON::XS) perl(List::MoreUtils) perl(Mojo::IOLoop::ReadWriteProcess) perl(Scalar::Util) perl(Socket) perl(Socket::MsgHdr) perl(Cpanel::JSON::XS) perl(IO::Scalar) perl(Try::Tiny)
+# on SUSE this is conditional, for us it doesn't have to be but we
+# still use a macro just to keep build_requires similar for ease of
+# cross-comparison
+%define opencv_require pkgconfig(opencv)
+# this is stuff we added to build_requires, we put it in its own macro
+# to make resyncing with upstream spec changes easier. TODO: submit
+# these upstream, at least ones that make sense for SUSE too.
+%define build_requires_additional perl(ExtUtils::MakeMaker) perl(ExtUtils::Embed)
+# diff from SUSE: added build_requires_additional
+%define build_requires %build_requires_additional %opencv_require autoconf automake gcc-c++ libtool make perl(Module::CPANfile) pkg-config pkgconfig(fftw3) pkgconfig(libpng) pkgconfig(sndfile) pkgconfig(theoraenc)
+# this is stuff we added to requires, we put it in its own macro
+# to make resyncing with upstream spec changes easier. These are all
+# things ppisar added in afeb766c. TODO: submit these upstream, at
+# least ones that make sense for SUSE too.
+%define requires_additional perl(base) perl(Carp) perl(Cwd) perl(English) perl(Errno) perl(Fcntl) perl(File::Temp) perl(integer) perl(Mojo::JSON) perl(Mojo::Log) perl(POSIX) perl(Scalar::Util) perl(Socket) perl(strict) perl(Time::HiRes) perl(warnings)
+# diff from SUSE: added requires_additional, dropped perl-base which
+# does not exist in Fedora - we have perl(base) in requires_additional
+# and the perl(:MODULE_COMPAT) require below
+%define requires %requires_additional perl(B::Deparse) perl(Carp::Always) perl(Class::Accessor::Fast) perl(Cpanel::JSON::XS) perl(Crypt::DES) perl(Data::Dumper) perl(Exception::Class) perl(File::Touch) perl(File::Which) perl(IO::Scalar) perl(IO::Socket::INET) perl(IPC::Run::Debug) perl(IPC::System::Simple) perl(List::MoreUtils) perl(Mojolicious) >= 7.92 perl(Mojo::IOLoop::ReadWriteProcess) >= 0.23 perl(Net::DBus) perl(Net::IP) perl(Net::SNMP) perl(Net::SSH2) perl(Socket::MsgHdr) perl(Try::Tiny) perl(XML::LibXML) perl(XML::SemanticDiff) perl(autodie)
%define requires_not_needed_in_tests git-core
+# this is stuff we added to test_requires, we put it in its own macro
+# to make resyncing with upstream spec changes easier. FindBin is one
+# ppisar added in afeb766c, Test::Mojo and Test::More are just things
+# the test suite uses which I added, we add qemu-system-i386 because
+# the fullstack and qemu-options tests use it - we run them in Koji
+# but SUSE disables them as they cannot run in OBS, so they don't have
+# the requirement either. TODO: submit relevant changes upstream
+%define test_requires_additional perl(FindBin) perl(Test::Mojo) perl(Test::More) /usr/bin/qemu-system-i386
# all requirements needed by the tests, do not require on this in the package
# itself or any sub-packages
-# diff from SUSE: added perl(Test::Mojo) and perl(Test::More), replaced
-# qemu-tools with qemu-img, added /usr/bin/qemu-system-i386 which
-# 'fullstack' and 'qemu-options' tests use on all arches (SUSE has
-# these disabled as qemu can't run in OBS apparently), dropped spell
-# check requirement stuff as this isn't needed in package builds IMO
-# perl(Test::Strict) added, upstream should have this too
-%define test_requires %build_requires %requires perl(Perl::Tidy) perl(Test::Compile) >= 1.1.0, perl(Test::Exception) perl(Test::Mojo) perl(Test::More) perl(Test::Output) perl(Test::Fatal) perl(Test::Warnings) perl(Test::Strict) perl(Pod::Coverage) perl(Test::Pod) perl(Test::MockModule) perl(Test::MockObject) perl(Devel::Cover) perl(Test::Mock::Time) perl(FindBin) /usr/bin/qemu-img /usr/bin/qemu-system-i386
+# diff from SUSE: added test_requires_additional, replaced qemu-tools
+# with qemu-img, dropped spell check requirement stuff as this isn't
+# needed in package builds IMO
+%define test_requires %test_requires_additional %build_requires %requires perl(Devel::Cover) perl(Perl::Tidy) perl(Pod::Coverage) perl(Test::Exception) perl(Test::Fatal) perl(Test::MockModule) perl(Test::MockObject) perl(Test::Mock::Time) perl(Test::Output) perl(Test::Pod) perl(Test::Strict) perl(Test::Warnings) /usr/bin/qemu-img
%define devel_requires %test_requires %requires_not_needed_in_tests
BuildRequires: perl-devel
@@ -209,6 +226,10 @@ make check test VERBOSE=1 CHECK_DOC=0
%files devel
%changelog
+* Thu Apr 30 2020 Adam Williamson <awilliam(a)redhat.com> - 4.6-12.20200430git85fa4f12
+- Bump to latest git
+- Resync spec with upstream, tweak dependency macro implementation
+
* Fri Apr 17 2020 Adam Williamson <awilliam(a)redhat.com> - 4.6-11.20200414git50464d4e
- Rearrange the dependencies ppisar added
diff --git a/sources b/sources
index cfafc25..3ad082c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (os-autoinst-50464d4e81fcac9dd36785ba88f69b489e4e99e7.tar.gz) = 05402eaeff36d6a7ffefa306c7f1b9146d0227a87850a56a4c0b9f3e731e34a2222f51e78b6afb00637ab460dd281fba6bcdd3ce7c2625916226d6695569545e
+SHA512 (os-autoinst-85fa4f12c1fb5bed7295791801085d32a69d4586.tar.gz) = d7c6cb7f6f7c3cf923e76a1f9e887abf451a68412bda2dfef05d510cc625ea758669510dd33ab736b30674ca6fb34f9f95be69e0334c3b683627e95ee67d39d9
https://src.fedoraproject.org/rpms/os-autoinst/c/a8acb78683822dada8a11445de…
Notification time stamped 2020-04-30 23:03:52 UTC
From a8acb78683822dada8a11445decd51d9093a215c Mon Sep 17 00:00:00 2001
From: Adam Williamson <awilliam(a)redhat.com>
Date: Apr 30 2020 23:03:30 +0000
Subject: Bump to latest git, resync spec
---
diff --git a/.gitignore b/.gitignore
index 49b2e14..387d823 100644
--- a/.gitignore
+++ b/.gitignore
@@ -39,3 +39,4 @@
/os-autoinst-d693abe082d6559721e5053d8fd6151753c73020.tar.gz
/os-autoinst-63af2f4f91cfad88712bd0773e0a236d6e3853ea.tar.gz
/os-autoinst-50464d4e81fcac9dd36785ba88f69b489e4e99e7.tar.gz
+/os-autoinst-85fa4f12c1fb5bed7295791801085d32a69d4586.tar.gz
diff --git a/os-autoinst.spec b/os-autoinst.spec
index 788c3a8..849f30a 100644
--- a/os-autoinst.spec
+++ b/os-autoinst.spec
@@ -28,35 +28,52 @@
%global github_owner os-autoinst
%global github_name os-autoinst
%global github_version 4.6
-%global github_commit 50464d4e81fcac9dd36785ba88f69b489e4e99e7
+%global github_commit 85fa4f12c1fb5bed7295791801085d32a69d4586
# if set, will be a post-release snapshot build, otherwise a 'normal' build
-%global github_date 20200414
+%global github_date 20200430
%global shortcommit %(c=%{github_commit}; echo ${c:0:7})
Name: os-autoinst
Version: %{github_version}
-Release: 11%{?github_date:.%{github_date}git%{shortcommit}}%{?dist}
+Release: 12%{?github_date:.%{github_date}git%{shortcommit}}%{?dist}
Summary: OS-level test automation
License: GPLv2+
URL: https://os-autoinst.github.io/openQA/
Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{github_commit}/…
-# diff from SUSE: added perl(ExtUtils::MakeMaker) and perl(ExtUtils::Embed)
-# which I've found necessary before
-%define build_requires autoconf automake gcc-c++ libtool pkgconfig(opencv) pkg-config perl(ExtUtils::MakeMaker) perl(ExtUtils::Embed) perl(Module::CPANfile) pkgconfig(fftw3) pkgconfig(libpng) pkgconfig(sndfile) pkgconfig(theoraenc) make
-# diff from SUSE: dropped perl-base which does not exist in Fedora, we have
-# the perl(:MODULE_COMPAT) require below
-# also a bunch of stuff ppisar added
-%define requires perl(base) perl(B::Deparse) perl(Carp) perl(Cwd) perl(English) perl(Errno) perl(Fcntl) perl(File::Temp) perl(integer) perl(Mojolicious) >= 7.92, perl(Mojo::IOLoop::ReadWriteProcess) >= 0.23, perl(Mojo::JSON) perl(Mojo::Log) perl(Carp::Always) perl(Data::Dump) perl(Data::Dumper) perl(Crypt::DES) perl(JSON) perl(autodie) perl(Class::Accessor::Fast) perl(Exception::Class) perl(File::Touch) perl(File::Which) perl(IPC::Run::Debug) perl(Net::DBus) perl(Net::SNMP) perl(Net::IP) perl(IPC::System::Simple) perl(Net::SSH2) perl(POSIX) perl(strict) perl(Time::HiRes) perl(warnings) perl(XML::LibXML) perl(XML::SemanticDiff) perl(JSON::XS) perl(List::MoreUtils) perl(Mojo::IOLoop::ReadWriteProcess) perl(Scalar::Util) perl(Socket) perl(Socket::MsgHdr) perl(Cpanel::JSON::XS) perl(IO::Scalar) perl(Try::Tiny)
+# on SUSE this is conditional, for us it doesn't have to be but we
+# still use a macro just to keep build_requires similar for ease of
+# cross-comparison
+%define opencv_require pkgconfig(opencv)
+# this is stuff we added to build_requires, we put it in its own macro
+# to make resyncing with upstream spec changes easier. TODO: submit
+# these upstream, at least ones that make sense for SUSE too.
+%define build_requires_additional perl(ExtUtils::MakeMaker) perl(ExtUtils::Embed)
+# diff from SUSE: added build_requires_additional
+%define build_requires %build_requires_additional %opencv_require autoconf automake gcc-c++ libtool make perl(Module::CPANfile) pkg-config pkgconfig(fftw3) pkgconfig(libpng) pkgconfig(sndfile) pkgconfig(theoraenc)
+# this is stuff we added to requires, we put it in its own macro
+# to make resyncing with upstream spec changes easier. These are all
+# things ppisar added in afeb766c. TODO: submit these upstream, at
+# least ones that make sense for SUSE too.
+%define requires_additional perl(base) perl(Carp) perl(Cwd) perl(English) perl(Errno) perl(Fcntl) perl(File::Temp) perl(integer) perl(Mojo::JSON) perl(Mojo::Log) perl(POSIX) perl(Scalar::Util) perl(Socket) perl(strict) perl(Time::HiRes) perl(warnings)
+# diff from SUSE: added requires_additional, dropped perl-base which
+# does not exist in Fedora - we have perl(base) in requires_additional
+# and the perl(:MODULE_COMPAT) require below
+%define requires %requires_additional perl(B::Deparse) perl(Carp::Always) perl(Class::Accessor::Fast) perl(Cpanel::JSON::XS) perl(Crypt::DES) perl(Data::Dumper) perl(Exception::Class) perl(File::Touch) perl(File::Which) perl(IO::Scalar) perl(IO::Socket::INET) perl(IPC::Run::Debug) perl(IPC::System::Simple) perl(List::MoreUtils) perl(Mojolicious) >= 7.92 perl(Mojo::IOLoop::ReadWriteProcess) >= 0.23 perl(Net::DBus) perl(Net::IP) perl(Net::SNMP) perl(Net::SSH2) perl(Socket::MsgHdr) perl(Try::Tiny) perl(XML::LibXML) perl(XML::SemanticDiff) perl(autodie)
%define requires_not_needed_in_tests git-core
+# this is stuff we added to test_requires, we put it in its own macro
+# to make resyncing with upstream spec changes easier. FindBin is one
+# ppisar added in afeb766c, Test::Mojo and Test::More are just things
+# the test suite uses which I added, we add qemu-system-i386 because
+# the fullstack and qemu-options tests use it - we run them in Koji
+# but SUSE disables them as they cannot run in OBS, so they don't have
+# the requirement either. TODO: submit relevant changes upstream
+%define test_requires_additional perl(FindBin) perl(Test::Mojo) perl(Test::More) /usr/bin/qemu-system-i386
# all requirements needed by the tests, do not require on this in the package
# itself or any sub-packages
-# diff from SUSE: added perl(Test::Mojo) and perl(Test::More), replaced
-# qemu-tools with qemu-img, added /usr/bin/qemu-system-i386 which
-# 'fullstack' and 'qemu-options' tests use on all arches (SUSE has
-# these disabled as qemu can't run in OBS apparently), dropped spell
-# check requirement stuff as this isn't needed in package builds IMO
-# perl(Test::Strict) added, upstream should have this too
-%define test_requires %build_requires %requires perl(Perl::Tidy) perl(Test::Compile) >= 1.1.0, perl(Test::Exception) perl(Test::Mojo) perl(Test::More) perl(Test::Output) perl(Test::Fatal) perl(Test::Warnings) perl(Test::Strict) perl(Pod::Coverage) perl(Test::Pod) perl(Test::MockModule) perl(Test::MockObject) perl(Devel::Cover) perl(Test::Mock::Time) perl(FindBin) /usr/bin/qemu-img /usr/bin/qemu-system-i386
+# diff from SUSE: added test_requires_additional, replaced qemu-tools
+# with qemu-img, dropped spell check requirement stuff as this isn't
+# needed in package builds IMO
+%define test_requires %test_requires_additional %build_requires %requires perl(Devel::Cover) perl(Perl::Tidy) perl(Pod::Coverage) perl(Test::Exception) perl(Test::Fatal) perl(Test::MockModule) perl(Test::MockObject) perl(Test::Mock::Time) perl(Test::Output) perl(Test::Pod) perl(Test::Strict) perl(Test::Warnings) /usr/bin/qemu-img
%define devel_requires %test_requires %requires_not_needed_in_tests
BuildRequires: perl-devel
@@ -209,6 +226,10 @@ make check test VERBOSE=1 CHECK_DOC=0
%files devel
%changelog
+* Thu Apr 30 2020 Adam Williamson <awilliam(a)redhat.com> - 4.6-12.20200430git85fa4f12
+- Bump to latest git
+- Resync spec with upstream, tweak dependency macro implementation
+
* Fri Apr 17 2020 Adam Williamson <awilliam(a)redhat.com> - 4.6-11.20200414git50464d4e
- Rearrange the dependencies ppisar added
diff --git a/sources b/sources
index cfafc25..3ad082c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (os-autoinst-50464d4e81fcac9dd36785ba88f69b489e4e99e7.tar.gz) = 05402eaeff36d6a7ffefa306c7f1b9146d0227a87850a56a4c0b9f3e731e34a2222f51e78b6afb00637ab460dd281fba6bcdd3ce7c2625916226d6695569545e
+SHA512 (os-autoinst-85fa4f12c1fb5bed7295791801085d32a69d4586.tar.gz) = d7c6cb7f6f7c3cf923e76a1f9e887abf451a68412bda2dfef05d510cc625ea758669510dd33ab736b30674ca6fb34f9f95be69e0334c3b683627e95ee67d39d9
https://src.fedoraproject.org/rpms/os-autoinst/c/a8acb78683822dada8a11445de…
Notification time stamped 2020-04-30 23:03:19 UTC
d7c6cb7f6f7c3cf923e76a1f9e887abf451a68412bda2dfef05d510cc625ea758669510dd33ab736b30674ca6fb34f9f95be69e0334c3b683627e95ee67d39d9 os-autoinst-85fa4f12c1fb5bed7295791801085d32a69d4586.tar.gz
https://src.fedoraproject.org/lookaside/pkgs/rpms/os-autoinst/os-autoinst-8…