Compare commits
10 Commits
56cb113a91
...
27b4e322ab
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
27b4e322ab | ||
|
|
d3fb9a2f89 | ||
|
|
9d31361eec | ||
|
|
a18decc775 | ||
|
|
9983af199b | ||
|
|
516150a65a | ||
|
|
8fd00d3970 | ||
|
|
487298ef50 | ||
|
|
367208d07b | ||
|
|
0dab4db6e6 |
Binary file not shown.
BIN
pyparted-3.13.0.tar.gz
Normal file
BIN
pyparted-3.13.0.tar.gz
Normal file
Binary file not shown.
@ -1,8 +1,6 @@
|
|||||||
%global debug_package %{nil}
|
|
||||||
|
|
||||||
Name: pyparted
|
Name: pyparted
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 3.11.7
|
Version: 3.13.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Python bindings for libparted
|
Summary: Python bindings for libparted
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
@ -10,7 +8,7 @@ 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
|
||||||
@ -25,35 +23,39 @@ 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
|
||||||
|
|
||||||
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 TODO
|
||||||
%license COPYING
|
|
||||||
%{python3_sitearch}/_ped.*.so
|
%{python3_sitearch}/_ped.*.so
|
||||||
%{python3_sitearch}/parted
|
%{python3_sitearch}/parted
|
||||||
%{python3_sitearch}/%{name}-%{version}-*.egg-info
|
%{python3_sitearch}/%{name}-%{version}-*.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 12 2023 dillon chen<dillon.chen@gmail.com> - 3.13.0-1
|
||||||
|
- update to 3.13.0
|
||||||
|
|
||||||
|
* Thu Dec 1 2022 Wenlong Zhang<zhangwenlong@loongson.cn> - 3.12.0-2
|
||||||
|
- Add loongarch64 architecture
|
||||||
|
|
||||||
|
* Fri Oct 28 2022 zhuofeng <zhuofeng2@huawei.com> - 3.12.0-1
|
||||||
|
- update to 3.12.0
|
||||||
|
|
||||||
|
* 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
|
||||||
|
- add debuginfo and debugsource
|
||||||
|
|
||||||
* Tue Feb 02 2021 wuchaochao <wuchaochao4@huawei.com> - 3.11.7-1
|
* Tue Feb 02 2021 wuchaochao <wuchaochao4@huawei.com> - 3.11.7-1
|
||||||
- Update package version
|
- Update package version
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user