Browse Source

correction for building

Signed-off-by: Toshaan Bharvani <toshaan@powerel.org>
master
Toshaan Bharvani 6 months ago
parent
commit
c2db181e43
  1. 5
      SPECS/yt-dlp.spec

5
SPECS/yt-dlp.spec

@ -7,7 +7,6 @@ URL: https://github.com/%{name}/%{name}
Source: %{url}/archive/%{version}/%{name}-%{version}.tar.gz Source: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: pandoc
BuildRequires: make BuildRequires: make
Recommends: /usr/bin/ffmpeg Recommends: /usr/bin/ffmpeg
Recommends: /usr/bin/ffprobe Recommends: /usr/bin/ffprobe
@ -53,7 +52,6 @@ find -type f ! -executable -name '*.py' -print -exec sed -i -e '1{\@^#!.*@d}' '{




%build %build
#make yt-dlp.1 completion-bash completion-zsh completion-fish
make completion-bash completion-zsh completion-fish make completion-bash completion-zsh completion-fish
%pyproject_wheel %pyproject_wheel


@ -65,7 +63,6 @@ make completion-bash completion-zsh completion-fish


%files -f %{pyproject_files} %files -f %{pyproject_files}
%{_bindir}/%{name} %{_bindir}/%{name}
#%{_mandir}/man1/%{name}.1*
%doc README.md %doc README.md
%license LICENSE %license LICENSE


@ -79,7 +76,7 @@ make completion-bash completion-zsh completion-fish




%files fish-completion %files fish-completion
%{fish_completions_dir}/%{name}.fish %{_datadir}/fish/vendor_completions.d/%{name}.fish




%changelog %changelog

Loading…
Cancel
Save