[Rpm-maint] [rpm-software-management/rpm] RFE: add %doc mode to leave leading directories in place (Issue #1855)

Panu Matilainen notifications at github.com
Wed Dec 8 08:23:04 UTC 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.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1855
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20211208/61ffd6a6/attachment.html>


More information about the Rpm-maint mailing list