Re: fedpkg / koji error

2012-11-06 Thread Tom Callaway
On 10/23/2012 04:54 PM, Thorsten Leemhuis wrote: Lo! On 23.10.2012 17:23, Tom Callaway wrote: On 10/22/2012 10:37 PM, Ralf Corsepius wrote: On 10/22/2012 10:43 PM, Tom Callaway wrote: On 10/22/2012 12:09 PM, Ralf Corsepius wrote: There is currently no way to undefine a macro at the rpm

Re: fedpkg / koji error

2012-11-06 Thread Tom Callaway
On 11/06/2012 02:00 PM, Tom Callaway wrote: Okay, so here are two patches: fedpkg-1.10-use-nil-to-unset-distunset.patch (this one uses %nil instead of 0 in my previous fix) fedpkg-1.10-unset-runtime-disttag.patch (this patch detects the runtime environment and unsets the version specific

Re: fedpkg / koji error

2012-11-06 Thread Jesse Keating
On 11/06/2012 11:34 AM, Tom Callaway wrote: Jesse, please review and apply these upstream and make a new update. Fixed comments. Other patch (fedpkg-1.10-use-nil-to-unset-distunset.patch) is fine as is. Tweaked and pushed. Building an update now. -- Jesse Keating Fedora -- FreedomĀ² is a

Re: fedpkg / koji error

2012-10-23 Thread Tom Callaway
On 10/22/2012 10:37 PM, Ralf Corsepius wrote: On 10/22/2012 10:43 PM, Tom Callaway wrote: On 10/22/2012 12:09 PM, Ralf Corsepius wrote: There is currently no way to undefine a macro at the rpm commandline, rpmbuild --define %{nil} ? Huh, I swear I knew that once. :) Attached is a patch

Re: fedpkg / koji error

2012-10-23 Thread Thorsten Leemhuis
Lo! On 23.10.2012 17:23, Tom Callaway wrote: On 10/22/2012 10:37 PM, Ralf Corsepius wrote: On 10/22/2012 10:43 PM, Tom Callaway wrote: On 10/22/2012 12:09 PM, Ralf Corsepius wrote: There is currently no way to undefine a macro at the rpm commandline, rpmbuild --define %{nil} ? Huh,

Re: fedpkg / koji error

2012-10-22 Thread Tom Callaway
On 10/18/2012 03:57 AM, Thorsten Leemhuis wrote: I'd say the current behaviour is the quite bad, as it leads to different results when building with fedpkg and rpmbuild on F18. The real fix afaics would be to revert the change and, if wanted, define rhel as 0 in Fedora's redhat-rpm-config, too

Re: fedpkg / koji error

2012-10-22 Thread Ralf Corsepius
On 10/22/2012 05:56 PM, Tom Callaway wrote: On 10/18/2012 03:57 AM, Thorsten Leemhuis wrote: I'd say the current behaviour is the quite bad, as it leads to different results when building with fedpkg and rpmbuild on F18. The real fix afaics would be to revert the change and, if wanted, define

Re: fedpkg / koji error

2012-10-22 Thread Tom Callaway
On 10/22/2012 12:09 PM, Ralf Corsepius wrote: There is currently no way to undefine a macro at the rpm commandline, rpmbuild --define %{nil} ? Huh, I swear I knew that once. :) Attached is a patch to use the %{nil} behavior instead of setting the unused dist macro to 0. I smoke tested

Re: fedpkg / koji error

2012-10-22 Thread Ralf Corsepius
On 10/22/2012 10:43 PM, Tom Callaway wrote: On 10/22/2012 12:09 PM, Ralf Corsepius wrote: There is currently no way to undefine a macro at the rpm commandline, rpmbuild --define %{nil} ? Huh, I swear I knew that once. :) Attached is a patch to use the %{nil} behavior instead of setting

Re: fedpkg / koji error

2012-10-18 Thread Thorsten Leemhuis
Lo! On 09.10.2012 20:03, Jesse Keating wrote: On 10/09/2012 07:14 AM, Simone Caronni wrote: On 19 September 2012 00:26, Orion Poplawski or...@cora.nwra.com wrote: On 09/05/2012 08:07 PM, Tom Callaway wrote: Jesse, I'm not sure if you're still the correct upstream here, please correct me if

Re: fedpkg / koji error

2012-10-18 Thread Simone Caronni
Hello, On 18 October 2012 09:57, Thorsten Leemhuis fed...@leemhuis.info wrote: --with-egl-platforms=x11,drm%{!?rhel:,wayland} \ The ,wayland is not added, as rhel is defined now as 0 when building with fedpgk. If you build a srpm and try to build it with rpmbuild then it works, as it's not

Re: fedpkg / koji error

2012-10-18 Thread Thorsten Leemhuis
On 18.10.2012 10:45, Simone Caronni wrote: On 18 October 2012 09:57, Thorsten Leemhuis fed...@leemhuis.info mailto:fed...@leemhuis.info wrote: --with-egl-platforms=x11,drm%{!?rhel:,wayland} \ The ,wayland is not added, as rhel is defined now as 0 when building with fedpgk. If you

Re: fedpkg / koji error

2012-10-18 Thread Simone Caronni
On 18 October 2012 14:47, Thorsten Leemhuis fed...@leemhuis.info wrote: With the old one I had to check like this (first line) for building; which is not correct anyway as the behaviour was different as well between fedpkg and rpmbuild/mock: [...] And that should not be the case imho. But

Re: fedpkg / koji error

2012-10-09 Thread Simone Caronni
On 19 September 2012 00:26, Orion Poplawski or...@cora.nwra.com wrote: On 09/05/2012 08:07 PM, Tom Callaway wrote: Jesse, I'm not sure if you're still the correct upstream here, please correct me if you're not, and I'll send the patch somewhere else. This helps me a lot as well building el

Re: fedpkg / koji error

2012-09-18 Thread Orion Poplawski
On 09/05/2012 08:07 PM, Tom Callaway wrote: On 09/05/2012 12:48 PM, Simone Caronni wrote: This means that even for the EPEL branch the first %if block is evaluated; so the fedpkg on my system (Fedora 17) sets %rhel to 6 but does not unset %fedora and they are both present. Confirmed. fedpkg

fedpkg / koji error

2012-09-05 Thread Simone Caronni
Hello, I have a weird error that I do not have when building a package in mock or locally. When I try to build a package for EPEL6 that has conditionals inside for checking the distribution it seems that Fedora is always validated. Let me explain. The spec file is structured like this: %if

Re: fedpkg / koji error

2012-09-05 Thread Simone Caronni
On 5 September 2012 18:48, Simone Caronni negativ...@gmail.com wrote: %if 0%{?fedora} = 16 || 0%{?fedora} == 17 %post %endif Sorry, a typo, the spec file is done this way for the first block: %if 0%{?fedora} == 16 || 0%{?fedora} == 17 %post %endif Thanks, --Simone -- You cannot discover

Re: fedpkg / koji error

2012-09-05 Thread Tom Callaway
On 09/05/2012 12:48 PM, Simone Caronni wrote: This means that even for the EPEL branch the first %if block is evaluated; so the fedpkg on my system (Fedora 17) sets %rhel to 6 but does not unset %fedora and they are both present. Confirmed. fedpkg is inheriting the value of %fedora from the

Re: fedpkg koji error

2010-10-08 Thread Farkas Levente
On 10/08/2010 03:53 PM, Dennis Gilmore wrote: On Thursday, October 07, 2010 04:25:45 am Thomas Spura wrote: On Wed, 06 Oct 2010 11:19:21 +0200 Farkas Levente wrote: hi, while try to make a scratch build i always got: - # fedpkg scratch-build Could

Re: fedpkg koji error

2010-10-08 Thread Dennis Gilmore
On Friday, October 08, 2010 09:15:08 am Farkas Levente wrote: On 10/08/2010 03:53 PM, Dennis Gilmore wrote: On Thursday, October 07, 2010 04:25:45 am Thomas Spura wrote: On Wed, 06 Oct 2010 11:19:21 +0200 Farkas Levente wrote: hi, while try to make a scratch build i always got:

Re: fedpkg koji error

2010-10-08 Thread Farkas Levente
On 10/08/2010 04:28 PM, Dennis Gilmore wrote: On Friday, October 08, 2010 09:15:08 am Farkas Levente wrote: On 10/08/2010 03:53 PM, Dennis Gilmore wrote: On Thursday, October 07, 2010 04:25:45 am Thomas Spura wrote: On Wed, 06 Oct 2010 11:19:21 +0200 Farkas Levente wrote: hi, while try to

Re: fedpkg koji error

2010-10-08 Thread Jesse Keating
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/8/10 9:57 AM, Farkas Levente wrote: On 10/08/2010 04:28 PM, Dennis Gilmore wrote: On Friday, October 08, 2010 09:15:08 am Farkas Levente wrote: On 10/08/2010 03:53 PM, Dennis Gilmore wrote: On Thursday, October 07, 2010 04:25:45 am Thomas

Re: fedpkg koji error

2010-10-08 Thread Farkas Levente
On 10/08/2010 07:19 PM, Jesse Keating wrote: On 10/8/10 9:57 AM, Farkas Levente wrote: On 10/08/2010 04:28 PM, Dennis Gilmore wrote: On Friday, October 08, 2010 09:15:08 am Farkas Levente wrote: On 10/08/2010 03:53 PM, Dennis Gilmore wrote: On Thursday, October 07, 2010 04:25:45 am Thomas

Re: fedpkg koji error

2010-10-08 Thread Jesse Keating
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/8/10 10:52 AM, Farkas Levente wrote: rhel-6 beta2's nss-3.12.6-3.el6.x86_64 anyway yesterday morning i was not able to build, but afternoot after a new cert ie: fedora-packager-setup i was able to build again. then today i can't build

Re: fedpkg koji error

2010-10-08 Thread Farkas Levente
On 10/08/2010 07:57 PM, Jesse Keating wrote: On 10/8/10 10:52 AM, Farkas Levente wrote: rhel-6 beta2's nss-3.12.6-3.el6.x86_64 anyway yesterday morning i was not able to build, but afternoot after a new cert ie: fedora-packager-setup i was able to build again. then today i can't build

Re: fedpkg koji error

2010-10-08 Thread Jesse Keating
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/8/10 11:09 AM, Farkas Levente wrote: On 10/08/2010 07:57 PM, Jesse Keating wrote: On 10/8/10 10:52 AM, Farkas Levente wrote: rhel-6 beta2's nss-3.12.6-3.el6.x86_64 anyway yesterday morning i was not able to build, but afternoot after a new

Re: fedpkg koji error

2010-10-08 Thread Dennis Gilmore
On Friday, October 08, 2010 12:19:46 pm Jesse Keating wrote: On 10/8/10 9:57 AM, Farkas Levente wrote: [lfar...@eagle jna (f12)]$ fedora-cert -v Verifying Certificate cert expires: 2011-04-06 CRL Checking not implemented yet [lfar...@eagle jna (f12)]$ fedpkg -v build Creating

Re: fedpkg koji error

2010-10-08 Thread Toshio Kuratomi
On Fri, Oct 08, 2010 at 10:57:58AM -0700, Jesse Keating wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/8/10 10:52 AM, Farkas Levente wrote: rhel-6 beta2's nss-3.12.6-3.el6.x86_64 anyway yesterday morning i was not able to build, but afternoot after a new cert ie:

Re: fedpkg koji error

2010-10-08 Thread Toshio Kuratomi
On Fri, Oct 08, 2010 at 08:09:32PM +0200, Farkas Levente wrote: On 10/08/2010 07:57 PM, Jesse Keating wrote: On 10/8/10 10:52 AM, Farkas Levente wrote: rhel-6 beta2's nss-3.12.6-3.el6.x86_64 anyway yesterday morning i was not able to build, but afternoot after a new cert ie:

Re: fedpkg koji error

2010-10-08 Thread Dennis Gilmore
On Friday, October 08, 2010 01:09:32 pm Farkas Levente wrote: On 10/08/2010 07:57 PM, Jesse Keating wrote: On 10/8/10 10:52 AM, Farkas Levente wrote: rhel-6 beta2's nss-3.12.6-3.el6.x86_64 anyway yesterday morning i was not able to build, but afternoot after a new cert ie:

Re: fedpkg koji error

2010-10-08 Thread Farkas Levente
On 10/08/2010 08:49 PM, Toshio Kuratomi wrote: On Fri, Oct 08, 2010 at 08:09:32PM +0200, Farkas Levente wrote: On 10/08/2010 07:57 PM, Jesse Keating wrote: On 10/8/10 10:52 AM, Farkas Levente wrote: rhel-6 beta2's nss-3.12.6-3.el6.x86_64 anyway yesterday morning i was not able to build, but

Re: fedpkg koji error

2010-10-08 Thread Farkas Levente
On 10/08/2010 08:51 PM, Dennis Gilmore wrote: On Friday, October 08, 2010 01:09:32 pm Farkas Levente wrote: On 10/08/2010 07:57 PM, Jesse Keating wrote: On 10/8/10 10:52 AM, Farkas Levente wrote: rhel-6 beta2's nss-3.12.6-3.el6.x86_64 anyway yesterday morning i was not able to build, but

Re: fedpkg koji error

2010-10-07 Thread Pavel Alexeev (aka Pahan-Hubbitus)
Try verbose variant to figure out what happened: $ fedpkg -v scratch-build 06.10.2010 13:19, Farkas Levente wrote: hi, while try to make a scratch build i always got: - # fedpkg scratch-build Could not log into koji: Opening a SSL connection failed

Re: fedpkg koji error

2010-10-07 Thread Thomas Spura
On Wed, 06 Oct 2010 11:19:21 +0200 Farkas Levente wrote: hi, while try to make a scratch build i always got: - # fedpkg scratch-build Could not log into koji: Opening a SSL connection failed - even if i try to

fedpkg koji error

2010-10-06 Thread Farkas Levente
hi, while try to make a scratch build i always got: - # fedpkg scratch-build Could not log into koji: Opening a SSL connection failed - even if i try to remove .fedora.cert and fedora-packager-setup (so it's not a