!13 setroubleshoot delete -S git 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-20 11:06:44 +00:00 committed by Gitee
commit 196e610d27

View File

@ -1,6 +1,6 @@
Name: setroubleshoot
Version: 3.3.24
Release: 2
Release: 3
Summary: SELinux Trouble Shooting Tool
License: GPLv2+
URL: https://pagure.io/setroubleshoot
@ -12,7 +12,7 @@ Patch1: backport-0001-framework-Update-translations.patch
Patch9000: Fix-config-file-to-deny-noraml-user-to-stop-Setroubleshootd.patch
BuildRequires: gcc libcap-ng-devel intltool gettext python3 python3-devel git
BuildRequires: gcc libcap-ng-devel intltool gettext python3 python3-devel
BuildRequires: desktop-file-utils dbus-glib-devel gtk2-devel libnotify-devel audit-libs-devel libselinux-devel polkit-devel
BuildRequires: python3-libselinux python3-pydbus python3-gobject gtk3-devel xdg-utils
@ -63,7 +63,7 @@ SELinux troubleshoot legacy applet
%package_help
%prep
%autosetup -n %{name}-%{version} -S git
%autosetup -n %{name}-%{version} -p1
%build
%global _python_bytecompile_extra 0
@ -159,6 +159,9 @@ chown -R setroubleshoot:setroubleshoot %{_localstatedir}/lib/%{name}
%{_mandir}/man1/seapplet.1.gz
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 3.3.24-3
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Tue Mar 16 2021 yixiangzhike <zhangxingliang3@huawei.com> - 3.3.24-2
- add "Requires: python3-pydbus" for subpackage setroubleshoot-server