!9 remove python2
From: @liquor1 Reviewed-by: @overweight Signed-off-by: @overweight
This commit is contained in:
commit
ce6b5f5047
@ -1,7 +1,7 @@
|
||||
%bcond_without python3
|
||||
Name: deltarpm
|
||||
Version: 3.6.2
|
||||
Release: 3
|
||||
Release: 4
|
||||
Summary: deltarpm contains the difference between an old and a new version of an RPM package.
|
||||
License: BSD
|
||||
URL: http://gitorious.org/deltarpm/deltarpm
|
||||
@ -9,7 +9,7 @@ Source0: https://github.com/rpm-software-management/deltarpm/archive/3.6.
|
||||
|
||||
BuildRequires: gcc bzip2-devel perl-generators xz-devel rpm-devel popt-devel zlib-devel
|
||||
BuildRequires: %{_vendor}-rpm-config
|
||||
BuildRequires: python2-devel python3-devel gdb
|
||||
BuildRequires: python3-devel gdb
|
||||
|
||||
%description
|
||||
Delta RPM packages contain the difference between an old and a new
|
||||
@ -24,14 +24,6 @@ BuildArch: noarch
|
||||
%description help
|
||||
This package provides help document for deltarpm.
|
||||
|
||||
%package -n python2-%{name}
|
||||
Summary: Python2 bindings for deltarpm
|
||||
BuildRequires: python2-devel
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%{?python_provide:%python_provide python2-%{name}}
|
||||
%description -n python2-%{name}
|
||||
Python2 bindings for deltarpm.
|
||||
|
||||
%package -n python3-%{name}
|
||||
Summary: Python3 bindings for deltarpm
|
||||
BuildRequires: python3-devel
|
||||
@ -74,11 +66,6 @@ deltarpms.
|
||||
%doc README NEWS
|
||||
%{_mandir}/man8/*
|
||||
|
||||
%files -n python2-%{name}
|
||||
%defattr(-,root,root)
|
||||
%{python2_sitearch}/%{name}.py*
|
||||
%{python2_sitearch}/_%{name}module.so
|
||||
|
||||
%files -n python3-%{name}
|
||||
%defattr(-,root,root)
|
||||
%{python3_sitearch}/%{name}.py
|
||||
@ -89,6 +76,12 @@ deltarpms.
|
||||
%{_bindir}/drpmsync
|
||||
|
||||
%changelog
|
||||
* Thu Oct 29 2020 Liquor <lirui130@huawei.com> - 3.6.2-4
|
||||
- Type:requirement
|
||||
- ID: NA
|
||||
- SUG: NA
|
||||
- DESC:remove python2
|
||||
|
||||
* Fri Oct 16 2020 Liquor <lirui130@huawei.com> - 3.6.2-3
|
||||
- Type:enhancement
|
||||
- ID: NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user