public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Graphics-Toolkit-Color] rawhide: %license macro cannot use relative and absolute paths at the same time
Date: Mon, 22 Jun 2026 07:42:35 GMT	[thread overview]
Message-ID: <178211415503.1.9845712323102076523.rpms-perl-Graphics-Toolkit-Color-c550e3968984@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-06-22  7:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178211415503.1.9845712323102076523.rpms-perl-Graphics-Toolkit-Color-c550e3968984@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox