delete -Sgit from %autosetup, and delete BuildRequires git
This commit is contained in:
parent
7f3363b41f
commit
90d9a00074
@ -27,13 +27,12 @@
|
|||||||
Name: container-selinux
|
Name: container-selinux
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
Version: 2.138
|
Version: 2.138
|
||||||
Release: 3
|
Release: 4
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: %{git0}
|
URL: %{git0}
|
||||||
Summary: SELinux policies for container runtimes
|
Summary: SELinux policies for container runtimes
|
||||||
Source0: %{git0}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz
|
Source0: %{git0}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: git
|
|
||||||
BuildRequires: pkgconfig(systemd)
|
BuildRequires: pkgconfig(systemd)
|
||||||
BuildRequires: selinux-policy >= %{selinux_policyver}
|
BuildRequires: selinux-policy >= %{selinux_policyver}
|
||||||
BuildRequires: selinux-policy-devel >= %{selinux_policyver}
|
BuildRequires: selinux-policy-devel >= %{selinux_policyver}
|
||||||
@ -52,7 +51,7 @@ Provides: docker-selinux = %{epoch}:%{version}-%{release}
|
|||||||
SELinux policy modules for use with container runtimes.
|
SELinux policy modules for use with container runtimes.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -Sgit -n %{name}-%{commit0}
|
%autosetup -n %{name}-%{commit0} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make
|
make
|
||||||
@ -110,6 +109,9 @@ fi
|
|||||||
%{_datadir}/selinux/*
|
%{_datadir}/selinux/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 11 2021 chenyanpanHW <chenyanpan@huawei.com> - 2.138-4
|
||||||
|
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
|
||||||
|
|
||||||
* Mon Dec 14 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.138-2
|
* Mon Dec 14 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.138-2
|
||||||
- Update container-selinux spec
|
- Update container-selinux spec
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user