rpm 4.12 and weak dependencies

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

 



Greetings. 

This F21 change: 
http://fedoraproject.org//wiki/Changes/RPM-4.12

has brought us 'weak dependencies', namely: 

Recommends, Suggests, Supplements and Enhances

Rpm in f21 and rawhide sees these in spec files and builds fine with
them. createrepo in those branches also exports this into the metadata. 

yum however doesn't do anything with that information. 
dnf does (although it's not clear to me what exactly it does do, so
input from dnf maintainers would be great). 

There's 4 packages that are already using these weak deps, but our
default package manager (yum) doesn't understand them. People
installing via yum and installing via dnf will see different behavior. 

I filed a fesco ticket to ask that we ask maintainers to please not add
these until we have guidelines and our default package manager supports
this information:  https://fedorahosted.org/fesco/ticket/1353

FESCo asked me to post here and see what folks think.

Should we just ask folks not to use these for now (honor system). 

Should we add a check to redhat-rpm-macros to check packages and fail
the build if they use these tags (for now). 

Should we just not care that people will see different behavior and
leave it up to maintainers?

Or should we do something else?

Additionally, if we decide to not allow them for now, is anyone wanting
to work on a guidelines draft / document for when to use them? It would
depend on how dnf treats them I suspect. 

Thanks, 

kevin

Attachment: signature.asc
Description: PGP signature

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [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