Skip to content

Commit dd28747

Browse files
A couple of fixes and improvements (#1022)
A couple of fixes and improvements Reviewed-by: František Lachman <flachman@redhat.com>
2 parents 81d1870 + 72f8182 commit dd28747

2 files changed

Lines changed: 3 additions & 3 deletions

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>

docs/configuration/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ files_to_sync:
344344

345345
:::info
346346

347-
This option is a successor to `synced_files` that has been already deprecated.
347+
This option is a successor to `synced_files` that has been deprecated and removed.
348348

349349
:::
350350

@@ -667,7 +667,7 @@ only one of these options.
667667
(*dict*) Macros to be explicitly defined or undefined at spec file parse time.
668668
To undefine a macro, set its value to `null`.
669669
This can be useful for instance when the spec file is OS-specific and Packit runs on a different OS
670-
(Packit Service currently runs on CentOS Stream 9).
670+
(Packit Service currently runs on Fedora 41).
671671

672672
For example, `%cargo_prep` macro used in Rust packages accepts `-V` option on EL but not on Fedora.
673673
To make sure Packit is able to parse a spec file that uses `%cargo_prep -V` on both OSes,

0 commit comments

Comments
 (0)