[Bug 2012522] Review Request: yt-dlp - A command-line program to download videos from online video platforms

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2012522



--- Comment #21 from Vitaly Zaitsev <vitaly@xxxxxxxxxxxxxx> ---
All files and directories provided by RPM package must be owned. That's why you
need to choose between these two strategies.

Strategy 1: own *-completion directories. Dirty, but a lot of packages uses
this.

> %files bash-completion
> %{_datadir}/bash-completion/completions/%{name}

%files bash-completion
%dir %{_datadir}/bash-completion/completions/
%dir %{_datadir}/bash-completion/
%{_datadir}/bash-completion/completions/%{name}

> %files zsh-completion
> %{_datadir}/zsh/site-functions/_%{name}

%files zsh-completion
%dir %{_datadir}/zsh/site-functions
%{_datadir}/zsh/site-functions/_%{name}

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

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

Strategy 2: explicitly require the corresponding packages.

> %package bash-completion

%package bash-completion
Requires: bash-completion

> %package zsh-completion

%package zsh-completion
Requires: zsh

> %package fish-completion

%package fish-completion
Requires: fish


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2012522
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux