Compare commits
10 Commits
6524f9682e
...
d02574fa32
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d02574fa32 | ||
|
|
ef6e9d171c | ||
|
|
1a213adf75 | ||
|
|
bccee89bfa | ||
|
|
367208d07b | ||
|
|
0dab4db6e6 | ||
|
|
56cb113a91 | ||
|
|
e191eff96e | ||
|
|
9eb3cab856 | ||
|
|
ec3c454673 |
Binary file not shown.
BIN
pyparted-3.12.0.tar.gz
Normal file
BIN
pyparted-3.12.0.tar.gz
Normal file
Binary file not shown.
@ -1,17 +1,14 @@
|
|||||||
%global debug_package %{nil}
|
|
||||||
|
|
||||||
Name: pyparted
|
Name: pyparted
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 3.11.6
|
Version: 3.12.0
|
||||||
Release: 1
|
Release: 1
|
||||||
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/rhinstaller/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 git pkgconfig e2fsprogs parted-devel >= 3.2-18
|
||||||
BuildRequires: python3-devel python3-six
|
BuildRequires: python3-devel python3-six
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -28,24 +25,14 @@ Python3 module for libparted.
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version} -p1 -Sgit
|
%autosetup -n %{name}-%{version} -p1 -Sgit
|
||||||
|
|
||||||
rm -rf %{py3dir}
|
|
||||||
mkdir -p %{py3dir}
|
|
||||||
cp -a . %{py3dir}
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
pushd %{py3dir}
|
PYTHON=python3 %make_build CFLAGS="$RPM_OPT_FLAGS"
|
||||||
PYTHON=python3 %make_build
|
|
||||||
popd
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
pushd %{py3dir}
|
|
||||||
PYTHON=python3 make test
|
PYTHON=python3 make test
|
||||||
popd
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
pushd %{py3dir}
|
|
||||||
PYTHON=python3 %make_install
|
PYTHON=python3 %make_install
|
||||||
popd
|
|
||||||
|
|
||||||
%files -n python3-pyparted
|
%files -n python3-pyparted
|
||||||
%doc AUTHORS NEWS README TODO
|
%doc AUTHORS NEWS README TODO
|
||||||
@ -55,6 +42,21 @@ popd
|
|||||||
%{python3_sitearch}/%{name}-%{version}-*.egg-info
|
%{python3_sitearch}/%{name}-%{version}-*.egg-info
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Jul 24 2020 shixuantong <shixuantong@huawei.com> - 3.11.6-1
|
||||||
- update to 3.11.6-1
|
- update to 3.11.6-1
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user