Remove dirty flag from podman version

This commit is contained in:
Daniel J Walsh 2018-11-10 10:30:54 -05:00
parent caeae3a986
commit 9503b9d9a7
No known key found for this signature in database
GPG Key ID: A2DF901DABE2C028

View File

@ -43,7 +43,7 @@ Epoch: 1
Epoch: 0 Epoch: 0
%endif %endif
Version: 0.11.20.11.2 Version: 0.11.20.11.2
Release: 1.dev.git%{shortcommit0}%{?dist}1%{?dist} Release: 2.dev.git%{shortcommit0}%{?dist}1%{?dist}
Summary: Manage Pods, Containers and Container Images Summary: Manage Pods, Containers and Container Images
License: ASL 2.0 License: ASL 2.0
URL: https://podman.io/ URL: https://podman.io/
@ -396,10 +396,6 @@ providing packages with %{import_path} prefix.
%prep %prep
%autosetup -Sgit -n %{repo}-%{commit0} %autosetup -Sgit -n %{repo}-%{commit0}
sed -i '/\/bin\/env/d' completions/bash/%{name}
sed -i 's/0.0.0/%{version}/' contrib/python/%{name}/setup.py
sed -i 's/0.0.0/%{version}/' contrib/python/py%{name}/setup.py
mv pkg/hooks/README.md pkg/hooks/README-hooks.md
# untar cri-o # untar cri-o
tar zxf %{SOURCE1} tar zxf %{SOURCE1}
@ -443,7 +439,7 @@ popd
%endif # varlink %endif # varlink
%install %install
install -dp %{buildroot}%{_unitdir} install -dp %{buildroot}%{_unitdir}
%{__make} PREFIX=%{buildroot}%{_prefix} ETCDIR=%{buildroot}%{_sysconfdir} \ PODMAN_VERSION=%{version} %{__make} PREFIX=%{buildroot}%{_prefix} ETCDIR=%{buildroot}%{_sysconfdir} \
install.bin \ install.bin \
install.man \ install.man \
install.cni \ install.cni \
@ -451,8 +447,10 @@ install -dp %{buildroot}%{_unitdir}
install.completions \ install.completions \
install.docker install.docker
mv pkg/hooks/README.md pkg/hooks/README-hooks.md
%if %{with varlink} %if %{with varlink}
%{__make} DESTDIR=%{buildroot} install.python PODMAN_VERSION=%{version} %{__make} DESTDIR=%{buildroot} install.python
%endif # varlink %endif # varlink
# install libpod.conf # install libpod.conf
@ -579,6 +577,10 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
%endif %endif
%changelog %changelog
* Sat Nov 10 2018 Dan Walsh <dwalsh@redhat.com> - 1:0.11.20.11.2-2.dev.git78e6d8e1
- Remove dirty flag from podman version
* Sat Nov 10 2018 Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org> - 1:0.11.20.11.2-1.dev.git78e6d8e1 * Sat Nov 10 2018 Lokesh Mandvekar (Bot) <lsm5+bot@fedoraproject.org> - 1:0.11.20.11.2-1.dev.git78e6d8e1
- bump to 0.11.2 - bump to 0.11.2
- autobuilt 78e6d8e - autobuilt 78e6d8e