Re: SRPM's with OS dependent source files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 24, 2020 at 03:09:28PM -0500, Nico Kadel-Garcia wrote:
> I'm staring at the chromium SRPM, and seeing a problem that I've seen
> before with tools like SuSE's kernels. The .spec file only includes
> specific source files if the SRPM is built on specific operating
> systems, such as various .ttf files only bein in the RPM for:
> 
> %if 0%{?rhel} == 7
> 
> And others only being available if the SRPM is built on Fedora.
> 
> This means the SRPM's cannot simply be brought over to CentOS or RHEL
> 7 and compiled there because it doesn't have the .ttf files in the
> SRPM. And "spectool -g chromium.spec" doesn't work, because the git
> repos cited for the original .ttf files no longer have them. It
> effectively turns an SRPM with 99% of the source, including tarballs,
> into a "nosrc" SRPM.
> 
> Is there a guideline that forbids this behavior? Picking and choosing
> what source files is a pernicious problem and breaks "mock" based or
> normal rpmbuild based recompilation, even for testing. I used to see
> this a lot with various SuSE kernel .spec files, and I do believe they
> stopped doing it.

Probibly an oversight... file a bug on it?

https://docs.fedoraproject.org/en-US/packaging-guidelines/#_no_arch_specific_sources_or_patches

kevin

Attachment: signature.asc
Description: PGP signature

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux