From be8c2da51f5df668216305c35384d880a1fa9a58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Forr=C3=B3?= Date: Thu, 3 Apr 2025 19:13:29 +0200 Subject: [PATCH 1/3] Use a better variant of rpmspec command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nikola Forró --- docs/configuration/examples.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/configuration/examples.md b/docs/configuration/examples.md index 1bf2b30cc3..7e4cf4fab4 100644 --- a/docs/configuration/examples.md +++ b/docs/configuration/examples.md @@ -22,7 +22,7 @@ or with a command from `rpm-build` package that will honor the macros: ```yaml get-current-version: - - rpmspec -q --queryformat "%{VERSION}\n" *spec |head -n1 + - rpmspec -q --queryformat "%{VERSION}\n" --srpm *spec ``` From 6fabbe5a9ccd2757d0314b09452645da4d4773dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Forr=C3=B3?= Date: Thu, 3 Apr 2025 19:23:52 +0200 Subject: [PATCH 2/3] Update info about the OS Packit runs on MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nikola Forró --- docs/configuration/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/configuration/index.md b/docs/configuration/index.md index 065e3172be..61543afa1f 100644 --- a/docs/configuration/index.md +++ b/docs/configuration/index.md @@ -667,7 +667,7 @@ only one of these options. (*dict*) Macros to be explicitly defined or undefined at spec file parse time. To undefine a macro, set its value to `null`. This can be useful for instance when the spec file is OS-specific and Packit runs on a different OS -(Packit Service currently runs on CentOS Stream 9). +(Packit Service currently runs on Fedora 41). For example, `%cargo_prep` macro used in Rust packages accepts `-V` option on EL but not on Fedora. To make sure Packit is able to parse a spec file that uses `%cargo_prep -V` on both OSes, From 72f8182f4b3aae25654aef3029892b5b9c415039 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Forr=C3=B3?= Date: Thu, 3 Apr 2025 19:30:06 +0200 Subject: [PATCH 3/3] Update note about `synced_files` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nikola Forró --- docs/configuration/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/configuration/index.md b/docs/configuration/index.md index 61543afa1f..1acd8d8d5b 100644 --- a/docs/configuration/index.md +++ b/docs/configuration/index.md @@ -344,7 +344,7 @@ files_to_sync: :::info -This option is a successor to `synced_files` that has been already deprecated. +This option is a successor to `synced_files` that has been deprecated and removed. :::