Compare commits
No commits in common. "27b4e322ab45b349dba774672e9ae046dbfe657a" and "56cb113a91655d06ae16872d76bf93f06bb07c47" have entirely different histories.
27b4e322ab
...
56cb113a91
BIN
pyparted-3.11.7.tar.gz
Normal file
BIN
pyparted-3.11.7.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,6 +1,8 @@
|
|||||||
|
%global debug_package %{nil}
|
||||||
|
|
||||||
Name: pyparted
|
Name: pyparted
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 3.13.0
|
Version: 3.11.7
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Python bindings for libparted
|
Summary: Python bindings for libparted
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
@ -8,7 +10,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 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
|
||||||
@ -23,39 +25,35 @@ Summary: Python3 bindings for libparted
|
|||||||
Python3 module for libparted.
|
Python3 module for libparted.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version} -p1 -Sgit
|
||||||
|
|
||||||
|
rm -rf %{py3dir}
|
||||||
|
mkdir -p %{py3dir}
|
||||||
|
cp -a . %{py3dir}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
PYTHON=python3 %make_build CFLAGS="$RPM_OPT_FLAGS"
|
pushd %{py3dir}
|
||||||
|
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 TODO
|
%doc AUTHORS NEWS README 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