On 2026/05/20 11:59, Cristian Le via devel wrote:
On 2026/05/20 11:43, Michal Schorm wrote:

On Wed, May 20, 2026 at 9:01 AM Miroslav Suchý <[email protected]> wrote:
* There is a new CI test 'license-validate` that is run for **every** PR at src.fedoraproject.org. It checks if your `License` tag is valid. This should help you catch typos (e.g., "GPLv2.0-or-later", "BSD 2-Clause"). You can see the example of the run here: https://src.fedoraproject.org/rpms/mbedtls/pull-request/12
Where can I report issues with the run-license-validate?
package: mysql8.4
PR: https://src.fedoraproject.org/rpms/mysql8.4/pull-request/14
test result: https://artifacts.dev.testing-farm.io/654a2027-7181-4718-a139-0ed2cb67c1ee/

Yeah, this one is actually quite common, but did not make a ticket for it yet, only in the upstream. Will try to dig into it a bit deeper

So for anyone else monitoring this, I've got a reply on the source of the issue being [1], and basically it happens when you have a conditional spanning a section like
```
%if %{with foo}

%package foo
...

%endif
```

I think I can add a workaround for this on license-validate, to at least not fail as badly.

[1]: https://github.com/packit/specfile/issues/365

--
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to