Thank you!

--
Bojan

----------------------------------------

4 Nov 2022 8:48:25 am Florian Weimer <fwei...@redhat.com>:

* Bojan Smojver via devel:

> Sure, it is easy enough to configure/build repeatedly and stash the
> results into non-conflicting paths of buildroot, but how does one then
> package this in %files sections into exactly the same paths?

See tests/data/SPECS/test-subpackages-pathpostfixes.spec in the RPM
source tree:

| Name:           test
| […]
| %description
| %{summary}.
|
| %package test2
| RemovePathPostfixes: .foobar
| Summary: Test2.
| %description test2
| […]
| %files
| /bin/hello
|
| %files test2
| /bin/hello.foobar
| […]

The key enabler is RemovePathPostfixes.

Thanks,
Florian
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to