Bug 2379753

Summary: COPYING file is dead link
Product: [Fedora] Fedora Reporter: onkarshinde
Component: mingw-glib2Assignee: Kalev Lember <kalevlember>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 41CC: fedora, kalevlember, manisandro, marcandre.lureau, rjones
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mingw-glib2-2.84.3-2.fc42 mingw-glib2-2.82.5-2.fc41 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-07-22 01:11:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description onkarshinde 2025-07-13 09:52:51 UTC
Description of problem:
On a new Fedora 41 installation, the COPYING file at the location below is a dead link.
/usr/share/licenses/mingw32-glib2/COPYING

Version-Release number of selected component (if applicable):
Installed packages
Name            : mingw32-glib2
Epoch           : 0
Version         : 2.82.5
Release         : 1.fc41
Architecture    : noarch
Installed size  : 21.4 MiB
Source          : mingw-glib2-2.82.5-1.fc41.src.rpm
From repository : updates
Summary         : MinGW Windows Glib2 library for the win32 target
URL             : http://www.gtk.org
License         : LGPL-2.0-or-later
Description     : MinGW Windows Glib2 library.
Vendor          : Fedora Project


How reproducible:


Steps to Reproduce:
1. Install mingw32-glib2 package
2. Try to read /usr/share/licenses/mingw32-glib2/COPYING using cat command
3.

Actual results:
xyz@fedora:~$ cat /usr/share/licenses/mingw32-glib2/COPYING 
cat: /usr/share/licenses/mingw32-glib2/COPYING: No such file or directory

Expected results:
File content should be printed on terminal

Additional info:
I also noticed that the spec file for this package mentions,
License:        LGPL-2.0-or-later
As far as I know glib2 is licensed under LPGL 2.1. Not sure if this has caused problem with the building of the package.

Comment 1 Richard W.M. Jones 2025-07-13 10:09:54 UTC
Same for mingw64-glib2:

$ ll /usr/share/licenses/mingw64-glib2/COPYING 
lrwxrwxrwx. 1 root root 30 Jun 13 12:41 /usr/share/licenses/mingw64-glib2/COPYING -> LICENSES/LGPL-2.1-or-later.txt

where the linked file also does not exist:

$ cat /usr/share/licenses/mingw64-glib2/COPYING 
cat: /usr/share/licenses/mingw64-glib2/COPYING: No such file or directory

Comment 2 Sandro Mani 2025-07-13 10:12:44 UTC
Not sure what's going on here. COPYING is a regular file in the source archive, and the spec simply does %license COPYING

Comment 3 Richard W.M. Jones 2025-07-13 10:16:00 UTC
I was trying to work out how the %license macro actually works, and it's not obvious!  Seems
to involve some RPM voodoo.  I was just composing an email for the devel list ...

Comment 4 Fedora Update System 2025-07-13 13:46:57 UTC
FEDORA-2025-ed590ed184 (mingw-glib2-2.84.3-2.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-ed590ed184

Comment 5 Fedora Update System 2025-07-13 13:46:57 UTC
FEDORA-2025-e2d840fa10 (mingw-glib2-2.82.5-2.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-e2d840fa10

Comment 6 Sandro Mani 2025-07-13 13:48:20 UTC
Never mind, I thought I checked that the file was a regular file in the source archive, but I must have looked at the wrong source archive...

Comment 7 onkarshinde 2025-07-13 14:32:12 UTC
The license tag in the spec file still doesn't reflect correct version.
License         : LGPL-2.0-or-later

Shouldn't this be LGPL-2.1-or-later?

Comment 8 Fedora Update System 2025-07-14 02:34:56 UTC
FEDORA-2025-ed590ed184 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-ed590ed184`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-ed590ed184

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2025-07-14 22:50:56 UTC
FEDORA-2025-e2d840fa10 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-e2d840fa10`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-e2d840fa10

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2025-07-22 01:11:25 UTC
FEDORA-2025-ed590ed184 (mingw-glib2-2.84.3-2.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2025-07-22 01:20:51 UTC
FEDORA-2025-e2d840fa10 (mingw-glib2-2.82.5-2.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.