delete -S git from %autosetup, and delete BuildRequires git-core

This commit is contained in:
chenyanpanHW 2021-07-30 22:48:30 +08:00
parent 824b5f4cb7
commit 2792101e39
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -2,7 +2,7 @@
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: gnome-abrt
Version: 1.3.5
Release: 3
Release: 4
Summary: A utility for viewing problems that have occurred with the system
License: GPLv2+
URL: https://github.com/abrt/gnome-abrt
@ -12,7 +12,7 @@ Source0: %{url}/archive/%{commit}.tar.gz#/gnome-abrt-%{commit}.tar.g
Source0: %{url}/archive/%{version}/gnome-abrt-%{version}.tar.gz
%endif
Patch0001: Fix-Python-module-installation.patch
BuildRequires: git-core meson gettext libtool python3-devel desktop-file-utils asciidoc xmlto
BuildRequires: meson gettext libtool python3-devel desktop-file-utils asciidoc xmlto
BuildRequires: pygobject3-devel libreport-gtk-devel > 2.4.0 python3-libreport
BuildRequires: abrt-gui-devel > 2.4.0 gtk3-devel
BuildRequires: python3-pylint python3-six python3-inotify python3-gobject python3-dbus
@ -24,7 +24,7 @@ A GNOME application allows users to browse through detected problems and
provides them with convenient way for managing these problems.
%prep
%autosetup -S git %{?snapshot:-n gnome-abrt%-%{commit}}
%autosetup %{?snapshot:-n gnome-abrt%-%{commit}} -p1
%build
%meson \
@ -50,6 +50,9 @@ provides them with convenient way for managing these problems.
%{_datadir}/icons/hicolor/*/apps/*
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.3.5-4
- DESC: delete -S git from %autosetup, and delete BuildRequires git-core
* Thu Jul 1 2021 lingsheng <lingsheng@huawei.com> - 1.3.5-3
- Fix Python module installation