Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
27b4e322ab
!24 update to 3.13.0
From: @dillon_chen 
Reviewed-by: @overweight 
Signed-off-by: @overweight
2023-07-12 08:35:14 +00:00
dillon_chen
d3fb9a2f89 update to 3.13.0 2023-07-12 15:33:57 +08:00
openeuler-ci-bot
9d31361eec
!22 add loongarch support for pyparted
From: @zhangwenlong01 
Reviewed-by: @xiezhipeng1 
Signed-off-by: @xiezhipeng1
2022-12-06 09:40:10 +00:00
Wenlong Zhang
a18decc775 add loongarch support for pyparted 2022-12-02 14:14:26 +08:00
openeuler-ci-bot
9983af199b
!21 update to 3.12.0
From: @zhuofeng6 
Reviewed-by: @xiezhipeng1 
Signed-off-by: @xiezhipeng1
2022-11-09 10:16:05 +00:00
zhuofeng
516150a65a update to 3.12.0 2022-11-07 18:25:02 +08:00
openeuler-ci-bot
8fd00d3970 !12 pyparted delete -Sgit from %autosetup, and delete BuildRequires git
From: @chenyanpanHW
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
2021-08-19 08:26:45 +00:00
chenyanpanHW
487298ef50
delete -Sgit from %autosetup, and delete BuildRequires git 2021-07-30 23:18:20 +08:00
openeuler-ci-bot
367208d07b !10 add debuginfo and debugsource
From: @tong_1001
Reviewed-by: @overweight
Signed-off-by: @overweight
2021-03-24 19:13:24 +08:00
tong_1001
0dab4db6e6 add debuginfo and debugsource 2021-03-24 18:05:31 +08:00
3 changed files with 21 additions and 19 deletions

Binary file not shown.

BIN
pyparted-3.13.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,8 +1,6 @@
%global debug_package %{nil}
Name: pyparted
Epoch: 1
Version: 3.11.7
Version: 3.13.0
Release: 1
Summary: Python bindings for libparted
License: GPLv2
@ -10,7 +8,7 @@ Group: System Environment/Libraries
URL: https://github.com/dcantrell/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: gcc pkgconfig e2fsprogs parted-devel >= 3.2-18
BuildRequires: python3-devel python3-six
%description
@ -25,35 +23,39 @@ Summary: Python3 bindings for libparted
Python3 module for libparted.
%prep
%autosetup -n %{name}-%{version} -p1 -Sgit
rm -rf %{py3dir}
mkdir -p %{py3dir}
cp -a . %{py3dir}
%autosetup -n %{name}-%{version} -p1
%build
pushd %{py3dir}
PYTHON=python3 %make_build
popd
PYTHON=python3 %make_build CFLAGS="$RPM_OPT_FLAGS"
%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
%license COPYING
%doc AUTHORS NEWS TODO
%{python3_sitearch}/_ped.*.so
%{python3_sitearch}/parted
%{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
- Update package version