Compare commits
No commits in common. "d02574fa3277d3c1e3241ea7b895d07a05ce9893" and "6524f9682e82e3954e3b8cfe04017b8647ba6610" have entirely different histories.
d02574fa32
...
6524f9682e
BIN
pyparted-3.11.6.tar.gz
Normal file
BIN
pyparted-3.11.6.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,14 +1,17 @@
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: pyparted
|
||||
Epoch: 1
|
||||
Version: 3.12.0
|
||||
Version: 3.11.6
|
||||
Release: 1
|
||||
Summary: Python bindings for libparted
|
||||
License: GPLv2
|
||||
Group: System Environment/Libraries
|
||||
URL: https://github.com/dcantrell/pyparted
|
||||
Source0: https://github.com/dcantrell/pyparted/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
||||
URL: https://github.com/rhinstaller/pyparted
|
||||
|
||||
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: python3-devel python3-six
|
||||
|
||||
%description
|
||||
@ -25,14 +28,24 @@ Python3 module for libparted.
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1 -Sgit
|
||||
|
||||
rm -rf %{py3dir}
|
||||
mkdir -p %{py3dir}
|
||||
cp -a . %{py3dir}
|
||||
|
||||
%build
|
||||
PYTHON=python3 %make_build CFLAGS="$RPM_OPT_FLAGS"
|
||||
pushd %{py3dir}
|
||||
PYTHON=python3 %make_build
|
||||
popd
|
||||
|
||||
%check
|
||||
pushd %{py3dir}
|
||||
PYTHON=python3 make test
|
||||
popd
|
||||
|
||||
%install
|
||||
pushd %{py3dir}
|
||||
PYTHON=python3 %make_install
|
||||
popd
|
||||
|
||||
%files -n python3-pyparted
|
||||
%doc AUTHORS NEWS README TODO
|
||||
@ -42,21 +55,6 @@ PYTHON=python3 %make_install
|
||||
%{python3_sitearch}/%{name}-%{version}-*.egg-info
|
||||
|
||||
%changelog
|
||||
* Fri Oct 28 2022 zhuofeng <zhuofeng2@huawei.com> - 3.12.0-1
|
||||
- update to 3.12.0
|
||||
|
||||
* Tue Oct 25 2022 zhangruifang <zhangruifang1@h-partners.com> - 3.11.7-3
|
||||
- Rebuild for next release
|
||||
|
||||
* Wed Mar 03 2021 shixuantong <shixuantong@huawei.com> - 3.11.7-2
|
||||
- add debuginfo and debugsource
|
||||
|
||||
* Tue Feb 02 2021 wuchaochao <wuchaochao4@huawei.com> - 3.11.7-1
|
||||
- Update package version
|
||||
|
||||
* Tue Aug 04 2020 Leo Fang <leofang_94@163.com> - 3.11.6-2
|
||||
- Update URL of pyparted
|
||||
|
||||
* Fri Jul 24 2020 shixuantong <shixuantong@huawei.com> - 3.11.6-1
|
||||
- update to 3.11.6-1
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user