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



--- Comment #6 from Asahi Lina <[email protected]> ---
Unfortunately it looks like RemovePathPostfixes: does not work for directories.
It causes the directory itself to have the postfix removed in its own entry,
but not the entries for the files within.

RemovePathPostfixes: .suffix
%install
mkdir -p %{buildroot}/dir.suffix
touch %{buildroot}/foo.suffix
touch %{buildroot}/dir.suffix/bar

%files
/foo.suffix
/dir.suffix

Results in these RPM contents:

/dir
/dir.suffix/bar
/foo

Playing around with the trailing slash doesn't seem to change anything. I think
I can work around this, though.


-- 
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=2368737

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202368737%23c6

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to