On Tue, Jul 23, 2024 at 01:19:27AM +0200, Miro Hrončok wrote:
> On 23. 07. 24 1:07, Zbigniew Jędrzejewski-Szmek wrote:
> > I noticed the following when comparing packages after the rebuild:
> > 
> > │ │ │ 
> > -{"type":"rpm","name":"guile22","version":"2.2.7-12.fc41","architecture":"x86_64","osCpe":"cpe:/o:fedoraproject:fedora:40"}
> > │ │ │ 
> > +{"type":"rpm","name":"guile22","version":"2.2.7-14.fc41","architecture":"x86_64","osCpe":"cpe:/o:fedoraproject:fedora:40"}
> > 
> > It seems the info in os-release hasn't been updated so the
> > package notes embedded in the binaries are off.
> 
> 
> package-notes has:
> 
> %build
> sed "s|@OSCPE@|$(cat /usr/lib/system-release-cpe)|" %{SOURCE0}
> >redhat-package-notes
> 
> But the last build before the mass rebuild happened on Fedora 40.
> 
> To prevent this situation in the future, package-notes needs to be rebuilt
> right after branching.

You are right, that's really a bug in package-notes.
I think we could replace the static string with a read of
/usr/lib/system-release-cpe.

Zbyszek
-- 
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to