Removed Python2 mentions from specs to support Python2 removal
This commit is contained in:
Родитель
39dd487b1b
Коммит
5afd0761b3
|
@ -11,12 +11,12 @@ Distribution: Mariner
|
|||
Source0: %{name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: python3
|
||||
BuildRequires: python-xml
|
||||
BuildRequires: python3-xml
|
||||
BuildRequires: libxslt
|
||||
BuildRequires: docbook-style-xsl
|
||||
BuildRequires: docbook-dtd-xml
|
||||
Requires: python3
|
||||
Requires: python-xml
|
||||
Requires: python3-xml
|
||||
Requires: libxslt
|
||||
Requires: docbook-style-xsl
|
||||
Requires: docbook-dtd-xml
|
||||
|
|
|
@ -22,7 +22,6 @@ BuildRequires: libdb-devel
|
|||
BuildRequires: lua-devel
|
||||
BuildRequires: nss-devel
|
||||
BuildRequires: popt-devel
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: xz-devel
|
||||
BuildRequires: zstd-devel
|
||||
|
@ -90,14 +89,6 @@ Requires: %{name} = %{version}-%{release}
|
|||
%description lang
|
||||
These are the additional language files of rpm.
|
||||
|
||||
%package -n python-rpm
|
||||
Summary: Python 2 bindings for rpm.
|
||||
Group: Development/Libraries
|
||||
Requires: python2
|
||||
Provides: %{name}-python = %{version}-%{release}
|
||||
|
||||
%description -n python-rpm
|
||||
|
||||
%package -n python3-rpm
|
||||
Summary: Python 3 bindings for rpm.
|
||||
Group: Development/Libraries
|
||||
|
@ -135,7 +126,6 @@ sed -i 's/extra_link_args/library_dirs/g' python/setup.py.in
|
|||
make %{?_smp_mflags}
|
||||
|
||||
pushd python
|
||||
python2 setup.py build
|
||||
python3 setup.py build
|
||||
popd
|
||||
|
||||
|
@ -155,7 +145,6 @@ install -vm755 %{SOURCE1} %{buildroot}%{_libdir}/rpm/
|
|||
install -vm755 %{SOURCE2} %{buildroot}%{_libdir}/rpm/
|
||||
|
||||
pushd python
|
||||
python2 setup.py install --skip-build --prefix=%{_prefix} --root=%{buildroot}
|
||||
python3 setup.py install --skip-build --prefix=%{_prefix} --root=%{buildroot}
|
||||
popd
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче