1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 22:56:15 +01:00

Merge pull request #1305 from dmach/link-popt

Document 'popt' attribute in the _link template
This commit is contained in:
Daniel Mach 2023-04-27 11:29:14 +02:00 committed by GitHub
commit 3f421c8fad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5757,6 +5757,11 @@ def link_pac(
<!-- <apply name="patch" /> apply a patch on the source directory -->
<!-- <topadd>%%define build_with_feature_x 1</topadd> add a line on the top (spec file only) -->
<!-- <add name="file.patch" /> add a patch to be applied after %%setup (spec file only) -->
<!-- <add name="file.patch" />
Add a patch to be applied after %%setup (spec file only).
Patch path prefix stipping can be controlled with the "popt" attribute,
for example ``popt="1"`` that translates to %%patch -p1.
-->
<!-- <delete name="filename" /> delete a file -->
</patches>
</link>