mirror of
https://abf.rosa.ru/djam/yt-dlp.git
synced 2025-02-23 15:22:53 +00:00
Drop py2 module
This commit is contained in:
parent
62e064d729
commit
fb756f4e2f
1 changed files with 0 additions and 28 deletions
|
@ -10,11 +10,8 @@ Url: https://yt-dl.org
|
|||
Source0: https://github.com/rg3/youtube-dl/releases/download/%{version}/%{name}-%{version}.tar.gz
|
||||
BuildRequires: ffmpeg
|
||||
BuildRequires: gnupg2
|
||||
BuildRequires: pkgconfig(python)
|
||||
BuildRequires: pkgconfig(python3)
|
||||
BuildRequires: python3egg(setuptools)
|
||||
BuildRequires: pythonegg(nose)
|
||||
BuildRequires: pythonegg(setuptools)
|
||||
BuildRequires: zip
|
||||
BuildArch: noarch
|
||||
Requires: python3
|
||||
|
@ -33,21 +30,6 @@ Small command-line program to download videos from YouTube and similar sites.
|
|||
|
||||
#-----------------------------------------------------------------------------
|
||||
|
||||
%package -n python-%{name}
|
||||
Summary: Python 2 bindings for %{name}
|
||||
Group: Development/Python
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n python-%{name}
|
||||
This package contains the Python 2 bindings for %{name}.
|
||||
|
||||
%files -n python-%{name}
|
||||
%doc LICENSE README.txt
|
||||
%{py_puresitedir}/%{pypi_name}
|
||||
%{py_puresitedir}/%{pypi_name}-*-py%{py_ver}.egg-info
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
|
||||
%package -n python3-%{name}
|
||||
Summary: Python 3 bindings for %{name}
|
||||
Group: Development/Python
|
||||
|
@ -67,21 +49,11 @@ This package contains the Python 3 bindings for %{name}.
|
|||
%setup -qn %{name}
|
||||
rm youtube-dl
|
||||
|
||||
cp -a . %{py3dir}
|
||||
|
||||
%build
|
||||
%py_build
|
||||
|
||||
pushd %{py3dir}
|
||||
%py3_build
|
||||
popd
|
||||
|
||||
%install
|
||||
%py_install
|
||||
|
||||
pushd %{py3dir}
|
||||
%py3_install
|
||||
popd
|
||||
|
||||
%makeinstall \
|
||||
DESTDIR=%{buildroot} \
|
||||
|
|
Loading…
Add table
Reference in a new issue