Skip to content

Commit

Permalink
remove pyinstaller
Browse files Browse the repository at this point in the history
  • Loading branch information
paulcarroty authored Dec 31, 2022
1 parent ee4b3c3 commit 6abed96
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions yt-dlp.spec
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,13 @@ export CFLAGS="$CFLAGS -O3 -ffat-lto-objects -flto=auto "
export FCFLAGS="$FFLAGS -O3 -ffat-lto-objects -flto=auto "
export FFLAGS="$FFLAGS -O3 -ffat-lto-objects -flto=auto "
export CXXFLAGS="$CXXFLAGS -O3 -ffat-lto-objects -flto=auto "
pip3 install PyInstaller
make all tar
make %{?_smp_mflags}
python devscripts/make_lazy_extractors.py
unset LD_LIBRARY_PATH
python pyinst.py


%install
install -D -m755 dist/yt-dlp_linux %{buildroot}/usr/bin/yt-dlp

%make_install PREFIX=/usr
rm -rf %{buildroot}/usr/{share,man}

%files
%defattr(-,root,root,-)
Expand Down

0 comments on commit 6abed96

Please sign in to comment.