Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: add %doc mode to leave leading directories in place #1855

Open
pmatilai opened this issue Dec 8, 2021 · 0 comments
Open

RFE: add %doc mode to leave leading directories in place #1855

pmatilai opened this issue Dec 8, 2021 · 0 comments
Labels
handsfree Packaging automation and convenience RFE

Comments

@pmatilai
Copy link
Member

pmatilai commented Dec 8, 2021

The full case is at https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/QYZYBWYFTXVOSXBR7JTFWMHQHGF4LAOZ/ but bottom line, various projects have nested README's, LICENCE's and whatnot, eg

%doc README.md
%doc dir1/README.md
%doc dir2/README.md

%license LICENSE.md
%license dir1/LICENSE
%license dir2/LICENSE.md

The current behavior of stripping leading directories when copying for %doc does not yield meaningful results in this scenario. We don't want to change the default behavior (which is a feature, really) but there should be a flag to control it for the above case.

Also filed as https://bugzilla.redhat.com/show_bug.cgi?id=2029877.

@pmatilai pmatilai added the RFE label Dec 8, 2021
@pmatilai pmatilai added the handsfree Packaging automation and convenience label Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
handsfree Packaging automation and convenience RFE
Projects
Status: Backlog
Development

No branches or pull requests

1 participant