mirror of https://github.com/containers/podman.git
Merge pull request #20672 from lsm5/packit-pre-release
[CI:BUILD] packit: handle builds for RC releases
This commit is contained in:
commit
c838a69c27
|
@ -75,7 +75,7 @@ ExclusiveArch: aarch64 ppc64le s390x x86_64
|
||||||
Summary: Manage Pods, Containers and Container Images
|
Summary: Manage Pods, Containers and Container Images
|
||||||
URL: https://%{name}.io/
|
URL: https://%{name}.io/
|
||||||
# All SourceN files fetched from upstream
|
# All SourceN files fetched from upstream
|
||||||
Source0: %{git0}/archive/v%{version}.tar.gz
|
Source0: %{git0}/archive/v%{version_no_tilde}.tar.gz
|
||||||
Source1: %{git_plugins}/archive/%{commit_plugins}/%{repo_plugins}-%{commit_plugins}.tar.gz
|
Source1: %{git_plugins}/archive/%{commit_plugins}/%{repo_plugins}-%{commit_plugins}.tar.gz
|
||||||
Provides: %{name}-manpages = %{epoch}:%{version}-%{release}
|
Provides: %{name}-manpages = %{epoch}:%{version}-%{release}
|
||||||
BuildRequires: %{_bindir}/envsubst
|
BuildRequires: %{_bindir}/envsubst
|
||||||
|
@ -208,7 +208,7 @@ 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
|
%prep
|
||||||
%autosetup -Sgit -n %{name}-%{version}
|
%autosetup -Sgit -n %{name}-%{version_no_tilde}
|
||||||
sed -i 's;@@PODMAN@@\;$(BINDIR);@@PODMAN@@\;%{_bindir};' Makefile
|
sed -i 's;@@PODMAN@@\;$(BINDIR);@@PODMAN@@\;%{_bindir};' Makefile
|
||||||
|
|
||||||
# These changes are only meant for copr builds
|
# These changes are only meant for copr builds
|
||||||
|
|
Loading…
Reference in New Issue