From 6c8b6ca5c640b7edafce4136df70c4fcc5ab1a67 Mon Sep 17 00:00:00 2001 From: Stefan Berger Date: Thu, 10 Nov 2022 14:28:04 -0500 Subject: [PATCH] Adding patch needed on Rawhide build servers only --- .gitignore | 1 + sources | 2 +- swtpm.spec | 6 ++++++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 83441b3..8efdb91 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,4 @@ /swtpm-21c90c1.tar.gz /swtpm-f2268ee.tar.gz /swtpm-2ae7b01.tar.gz +/0001-swtpm_setup-Initialized-argv-to-NULL-Fedore-Rawhide.patch diff --git a/sources b/sources index 21724dd..a8d325b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (swtpm-2ae7b01.tar.gz) = 3ca7e8af0b100ef66b416d34f5209cb7ac7f27c4805d24ada15aef2aa895bc7240323252e693b4bbcb47fcd19ce6f6b962b762685b49c7bfd8c1afcabe64b639 +SHA512 (0001-swtpm_setup-Initialized-argv-to-NULL-Fedore-Rawhide.patch) = 72d78bafdcdffc6cddefc819492d7ef45c619cb9e86886ce3cbeb6c1d6ab8e8242bd38ac8aa5b2f16a6fc51a4881177ae77b620b3a6f1773dd14deb715ea6e9f diff --git a/swtpm.spec b/swtpm.spec index d0b204a..0aaae8e 100644 --- a/swtpm.spec +++ b/swtpm.spec @@ -17,6 +17,8 @@ License: BSD Url: http://github.com/stefanberger/swtpm Source0: %{url}/archive/%{gitcommit}/%{name}-%{gitshortcommit}.tar.gz +Patch0001: 0001-swtpm_setup-Initialized-argv-to-NULL-Fedore-Rawhide.patch + BuildRequires: make BuildRequires: git-core BuildRequires: automake @@ -89,6 +91,7 @@ Tools for creating a local CA based on a pkcs11 device %prep %autosetup -S git -n %{name}-%{gitcommit} -p1 +%patch0001 -p1 %build @@ -181,6 +184,9 @@ fi %{_datadir}/swtpm/swtpm-create-tpmca %changelog +* Thu Nov 10 2022 Stefan Berger - 0.8.0-1 +- Adding patch needed on Rawhide build servers only + * Thu Nov 10 2022 Stefan Berger - 0.8.0-1 - Update to v0.8.0 release