!4 checkpolicy delete -Sgit from %autosetup, and delete BuildRequires git

From: @chenyanpanHW
Reviewed-by: @zhujianwei001
Signed-off-by: @zhujianwei001
This commit is contained in:
openeuler-ci-bot 2021-08-13 02:16:52 +00:00 committed by Gitee
commit 259af10f20

View File

@ -1,12 +1,12 @@
Name: checkpolicy Name: checkpolicy
Version: 3.1 Version: 3.1
Release: 1 Release: 2
Summary: SELinux policy compiler Summary: SELinux policy compiler
License: GPLv2 License: GPLv2
URL: https://github.com/SELinuxProject/selinux URL: https://github.com/SELinuxProject/selinux
Source0: https://github.com/SELinuxProject/selinux/releases/download/20200710/checkpolicy-3.1.tar.gz Source0: https://github.com/SELinuxProject/selinux/releases/download/20200710/checkpolicy-3.1.tar.gz
BuildRequires: gcc byacc bison flex flex-static libsepol-static libselinux-devel git BuildRequires: gcc byacc bison flex flex-static libsepol-static libselinux-devel
Conflicts: selinux-policy-base < 3.13.1-138 Conflicts: selinux-policy-base < 3.13.1-138
@ -22,7 +22,7 @@ Security.)
%package_help %package_help
%prep %prep
%autosetup -n %{name}-%{version} -p1 -Sgit %autosetup -n %{name}-%{version} -p1
%build %build
make clean make clean
@ -54,6 +54,9 @@ install test/dispol %{buildroot}%{_bindir}/sedispol
%{_mandir}/*/* %{_mandir}/*/*
%changelog %changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 3.1-2
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Fri Jul 17 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.1-1 * Fri Jul 17 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.1-1
- update to 3.1 - update to 3.1