public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-cffi] rawhide: Correct the License to MIT-0 AND PSF-2.0
Date: Mon, 09 Nov 2026 11:27:21 GMT	[thread overview]
Message-ID: <179422364147.1.13702308547774279731.rpms-python-cffi-9a8fb6b5630d@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-cffi
            Branch : rawhide
            Commit : 9a8fb6b5630d326f7d8b7cb43ab599a6ca3f74ff
            Author : Miro Hrončok <miro@hroncok.cz>
            Date   : 2026-11-06T15:25:56+01:00
            Stats  : +5/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-cffi/c/9a8fb6b5630d326f7d8b7cb43ab599a6ca3f74ff?branch=rawhide

            Log:
            Correct the License to MIT-0 AND PSF-2.0

- Fixes: rhbz#2568114

The project was relicensed from MIT to MIT-0 in
https://github.com/python-cffi/cffi/pull/171 (landed in v2.0.0b1)

Also, verify this via %pyproject_verify_license
and query upstream about the PSF-2.0 bits.

---
diff --git a/python-cffi.spec b/python-cffi.spec
index bc992df..2c24782 100644
--- a/python-cffi.spec
+++ b/python-cffi.spec
@@ -2,9 +2,11 @@ Name:           python-cffi
 Version:        2.1.1
 Release:        %autorelease
 Summary:        Foreign Function Interface for Python to call C code
-# cffi is MIT
+# cffi is MIT-0
+%global upstream_license MIT-0
 # cffi/_imp_emulation.py has bits copied from CPython (PSF-2.0)
-License:        MIT AND PSF-2.0
+# see https://github.com/python-cffi/cffi/issues/290
+License:        %{upstream_license} AND PSF-2.0
 URL:            https://github.com/python-cffi/cffi
 Source:         %{url}/archive/v%{version}/cffi-%{version}.tar.gz
 
@@ -63,6 +65,7 @@ rm build/html/.buildinfo
 
 
 %check
+%pyproject_verify_license %{upstream_license}
 %pytest
 
 

                 reply	other threads:[~2026-11-09 11:27 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=179422364147.1.13702308547774279731.rpms-python-cffi-9a8fb6b5630d@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