From 37f0e96200423bd5ae74a509bf1fd8cb6408d145 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Sat, 22 Jul 2023 21:04:02 +0200 Subject: [PATCH 1/2] Add missing ` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [NO NEW TESTS NEEDED] Signed-off-by: Dan Čermák --- rpm/podman.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpm/podman.spec b/rpm/podman.spec index 19eac19eec..7c3f636ecd 100644 --- a/rpm/podman.spec +++ b/rpm/podman.spec @@ -204,7 +204,7 @@ Provides: %{name}-%{name}sh = %{epoch}:%{version}-%{release} capabilities specified in user quadlets. It is a symlink to %{_bindir}/%{name} and execs into the `%{name}sh` container -when `%{_bindir}/%{name}sh is set as a login shell or set as os.Args[0]. +when `%{_bindir}/%{name}sh` is set as a login shell or set as os.Args[0]. %prep %autosetup -Sgit -n %{name}-%{version} From cbc96a7b48811872ee409ce25bd2d84f7a1ab350 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Sat, 22 Jul 2023 21:05:00 +0200 Subject: [PATCH 2/2] Remove LICENSE and general doc files that are installed by the main package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The tests & podmansh sub-package depend on podman which already pull in the LICENSE & doc files. According to the packaging guidelines, these files need not be added to the subpackages. [NO NEW TESTS NEEDED] Signed-off-by: Dan Čermák --- rpm/podman.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/rpm/podman.spec b/rpm/podman.spec index 7c3f636ecd..a06f6a9046 100644 --- a/rpm/podman.spec +++ b/rpm/podman.spec @@ -355,7 +355,6 @@ cp -pav test/system %{buildroot}/%{_datadir}/%{name}/test/ %{_datadir}/zsh/site-functions/_%{name}-remote %files tests -%license LICENSE %{_datadir}/%{name}/test %files plugins @@ -372,8 +371,6 @@ cp -pav test/system %{buildroot}/%{_datadir}/%{name}/test/ %{_libexecdir}/%{name}/gvforwarder %files -n %{name}sh -%license LICENSE -%doc README.md CONTRIBUTING.md install.md transfer.md %{_bindir}/%{name}sh %changelog