Skip to content

Commit be8c2da

Browse files
committed
Use a better variant of rpmspec command
Signed-off-by: Nikola Forró <nforro@redhat.com>
1 parent 81d1870 commit be8c2da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/configuration/examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ or with a command from `rpm-build` package that will honor the macros:
2222

2323
```yaml
2424
get-current-version:
25-
- rpmspec -q --queryformat "%{VERSION}\n" *spec |head -n1
25+
- rpmspec -q --queryformat "%{VERSION}\n" --srpm *spec
2626
```
2727

2828
</details>

0 commit comments

Comments
 (0)