public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Graphics-Toolkit-Color] rawhide: %license macro cannot use relative and absolute paths at the same time
@ 2026-06-22  7:42 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-06-22  7:42 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/perl-Graphics-Toolkit-Color
            Branch : rawhide
            Commit : c550e3968984d191e785164a745bdefc73ce838b
            Author : Petr Písař <ppisar@redhat.com>
            Date   : 2026-06-22T09:39:57+02:00
            Stats  : +2/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/perl-Graphics-Toolkit-Color/c/c550e3968984d191e785164a745bdefc73ce838b?branch=rawhide

            Log:
            %license macro cannot use relative and absolute paths at the same time

rpm-build in Koji errored with:

    Can't mix special %license with other forms: /usr/share/perl5/vendor_perl/Graphics/Toolkit/Color/Space/Instance/LICENSE.OK

I cannot reproduce it locally.

---
diff --git a/perl-Graphics-Toolkit-Color.spec b/perl-Graphics-Toolkit-Color.spec
index d08e1cd..b2bb770 100644
--- a/perl-Graphics-Toolkit-Color.spec
+++ b/perl-Graphics-Toolkit-Color.spec
@@ -106,7 +106,8 @@ export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print
 make test
 
 %files
-%license LICENSE %{perl_vendorlib}/Graphics/Toolkit/Color/Space/Instance/LICENSE.OK
+%license LICENSE
+%license %{perl_vendorlib}/Graphics/Toolkit/Color/Space/Instance/LICENSE.OK
 %doc Changes CONTRIBUTING README
 %dir %{perl_vendorlib}/Graphics
 %dir %{perl_vendorlib}/Graphics/Toolkit

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-22  7:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-22  7:42 [rpms/perl-Graphics-Toolkit-Color] rawhide: %license macro cannot use relative and absolute paths at the same time 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox