public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-cffi] rawhide: Correct the License to MIT-0 AND PSF-2.0
@ 2026-11-09 11:27 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-11-09 11:27 UTC (permalink / raw)
  To: git-commits

            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
 
 

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

only message in thread, other threads:[~2026-11-09 11:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-09 11:27 [rpms/python-cffi] rawhide: Correct the License to MIT-0 AND PSF-2.0 

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