delete -Sgit from %autosetup, and delete BuildRequires git
This commit is contained in:
parent
367208d07b
commit
487298ef50
@ -1,14 +1,14 @@
|
|||||||
Name: pyparted
|
Name: pyparted
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 3.11.7
|
Version: 3.11.7
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Python bindings for libparted
|
Summary: Python bindings for libparted
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: https://github.com/dcantrell/pyparted
|
URL: https://github.com/dcantrell/pyparted
|
||||||
Source0: https://github.com/dcantrell/pyparted/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/dcantrell/pyparted/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: gcc git pkgconfig e2fsprogs parted-devel >= 3.2-18
|
BuildRequires: gcc pkgconfig e2fsprogs parted-devel >= 3.2-18
|
||||||
BuildRequires: python3-devel python3-six
|
BuildRequires: python3-devel python3-six
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -23,7 +23,7 @@ Summary: Python3 bindings for libparted
|
|||||||
Python3 module for libparted.
|
Python3 module for libparted.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version} -p1 -Sgit
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
PYTHON=python3 %make_build CFLAGS="$RPM_OPT_FLAGS"
|
PYTHON=python3 %make_build CFLAGS="$RPM_OPT_FLAGS"
|
||||||
@ -42,6 +42,9 @@ PYTHON=python3 %make_install
|
|||||||
%{python3_sitearch}/%{name}-%{version}-*.egg-info
|
%{python3_sitearch}/%{name}-%{version}-*.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 3.11.7-3
|
||||||
|
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
|
||||||
|
|
||||||
* Wed Mar 03 2021 shixuantong <shixuantong@huawei.com> - 3.11.7-2
|
* Wed Mar 03 2021 shixuantong <shixuantong@huawei.com> - 3.11.7-2
|
||||||
- add debuginfo and debugsource
|
- add debuginfo and debugsource
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user