On Thu, 14 Jun 2012, John5342 wrote:
In my opinion they are in order. From what you said rpm-build did exactly what it was supposed to according to upstream. By then adding our Fedora/Redhat specific configuration it does what _Fedora_ wants.
But the fedora rpm-build should work for fedora. We don't exlude Fedora features for other packaging strategies? We don't add Suse defines in our packages either.
yum install rpm-build should install an rpmbuild version that works as expected for fedora. Currently, it does not because it is missing the dependancy on redhat-rpm-config.
Paul
yum install rpm-build should install an rpmbuild version that works as expected for fedora. Currently, it does not because it is missing the dependancy on redhat-rpm-config.
Well I tend to agree: it would be the least surprising behaviour for most fedora packagers. Though I understand the point about keeping rpmbuild generic - I don't see how pulling in redhat-rpm-config would break generic rpms? Surely most people have it installed anyway.
Have you filed a bug? :)
Jens
On Fri, 15 Jun 2012 05:03:59 +0200, Jens Petersen wrote:
Well I tend to agree: it would be the least surprising behaviour for most fedora packagers. Though I understand the point about keeping rpmbuild generic - I don't see how pulling in redhat-rpm-config would break generic rpms? Surely most people have it installed anyway.
Have you filed a bug? :)
Yes: https://bugzilla.redhat.com/show_bug.cgi?id=482855
Jan
----- Original Message -----
From: "Jan Kratochvil" jan.kratochvil@redhat.com To: "Development discussions related to Fedora" devel@lists.fedoraproject.org Sent: Friday, June 15, 2012 11:35:19 AM Subject: Re: redhat-rpm-config and rpm-build (fwd)
On Fri, 15 Jun 2012 05:03:59 +0200, Jens Petersen wrote:
Well I tend to agree: it would be the least surprising behaviour for most fedora packagers. Though I understand the point about keeping rpmbuild generic - I don't see how pulling in redhat-rpm-config would break generic rpms? Surely most people have it installed anyway.
Have you filed a bug? :)
Yes: https://bugzilla.redhat.com/show_bug.cgi?id=482855
Jan
I filed a bug about it some time ago and it was closed as notabug :) This is the most annoying issue, which I need to solve after every reinstall. I would be really glad if it was fixed.
Marcela
On 06/15/2012 05:03 AM, Jens Petersen wrote:
yum install rpm-build should install an rpmbuild version that works as expected for fedora. Currently, it does not because it is missing the dependancy on redhat-rpm-config.
Well I tend to agree: it would be the least surprising behaviour for most fedora packagers.
I think it's a silly idea.
rpm-build is a generic tool and redhat-rpm-config is a redhat specific/proprietary add-on/plugin to it.
Though I understand the point about keeping rpmbuild generic - I don't see how pulling in redhat-rpm-config would break generic rpms?
Though I don't have a current example of current redhat-rpm-config breaking generic rpms, history is full of such cases.
I think I BZ'ed several of them several years ago.
Surely most people have it installed anyway.
Well, fedora packagers will have it installed, because fedora-packager pulls it in.
Ralf
On Fri, 15 Jun 2012, Ralf Corsepius wrote:
On 06/15/2012 05:03 AM, Jens Petersen wrote:
yum install rpm-build should install an rpmbuild version that works as expected for fedora. Currently, it does not because it is missing the dependancy on redhat-rpm-config.
Well I tend to agree: it would be the least surprising behaviour for most fedora packagers.
I think it's a silly idea.
rpm-build is a generic tool and redhat-rpm-config is a redhat specific/proprietary add-on/plugin to it.
Then add redhat-rpm-config as a buildrequire for all fedora packages. (though that might be a catch22)
Though I understand the point about keeping rpmbuild generic - I don't see how pulling in redhat-rpm-config would break generic rpms?
Though I don't have a current example of current redhat-rpm-config breaking generic rpms, history is full of such cases.
Someone building non-fedora/non-epel rpms should be expected to create their own version of foo-rpm-config that satisfies/obsoletes the same dependancy as redhat-rpm-config.
Surely most people have it installed anyway.
Well, fedora packagers will have it installed, because fedora-packager pulls it in.
group names are no replacements for proper dependancies. People who build rpms need to be able to "yum install rpmbuild" and get a working setup. They should not need to spend an hour googling on why their debuginfo packages don't get build.
Paul
Paul Wouters wrote, at 06/17/2012 09:46 AM +9:00:
On Fri, 15 Jun 2012, Ralf Corsepius wrote:
On 06/15/2012 05:03 AM, Jens Petersen wrote:
yum install rpm-build should install an rpmbuild version that works as expected for fedora. Currently, it does not because it is missing the dependancy on redhat-rpm-config.
Well I tend to agree: it would be the least surprising behaviour for most fedora packagers.
I think it's a silly idea.
rpm-build is a generic tool and redhat-rpm-config is a redhat specific/proprietary add-on/plugin to it.
Then add redhat-rpm-config as a buildrequire for all fedora packages. (though that might be a catch22)
I guess you know this: https://fedoraproject.org/wiki/Packaging/Guidelines#Exceptions_2
Though I understand the point about keeping rpmbuild generic - I don't see how pulling in redhat-rpm-config would break generic rpms?
Though I don't have a current example of current redhat-rpm-config breaking generic rpms, history is full of such cases.
Someone building non-fedora/non-epel rpms should be expected to create their own version of foo-rpm-config that satisfies/obsoletes the same dependancy as redhat-rpm-config.
Surely most people have it installed anyway.
Well, fedora packagers will have it installed, because fedora-packager pulls it in.
group names are no replacements for proper dependancies. People who build rpms need to be able to "yum install rpmbuild" and get a working setup. They should not need to spend an hour googling on why their debuginfo packages don't get build.
Same as above.
Regards, Mamoru
Le Dim 17 juin 2012 02:46, Paul Wouters a écrit :
On Fri, 15 Jun 2012, Ralf Corsepius wrote:
On 06/15/2012 05:03 AM, Jens Petersen wrote:
yum install rpm-build should install an rpmbuild version that works as expected for fedora. Currently, it does not because it is missing the dependancy on redhat-rpm-config.
Well I tend to agree: it would be the least surprising behaviour for most fedora packagers.
I think it's a silly idea.
rpm-build is a generic tool and redhat-rpm-config is a redhat specific/proprietary add-on/plugin to it.
Then add redhat-rpm-config as a buildrequire for all fedora packages. (though that might be a catch22)
+1 The main problem of redhat-rpm-config is not that it changes the way packages are built, it's that many of them do not build at all without it and it is not made plain by an explicit dep