Re: Do you know how many 64-bit architectures Fedora has?

2015-08-30 Thread Chuck Anderson
On Mon, Aug 24, 2015 at 06:02:35PM +0200, Marcin Juszkiewicz wrote: W dniu 24.08.2015 o 16:09, Jonathan Underwood pisze: It would be worthwhile adding this to: https://fedoraproject.org/wiki/Packaging_tricks Added Is there an analagous macro for all little endian arches? This would be

Re: Do you know how many 64-bit architectures Fedora has?

2015-08-24 Thread Marcin Juszkiewicz
W dniu 24.08.2015 o 15:18, Neal Gompa pisze: ​ Oh, yes! I was trying to find something like this all weekend for my Copr for reprepro. I have to make a patch to access apt-methods in /usr/lib64 on 64-bit systems, but on 32-bit systems it should remain /usr/lib. You just made my day. ​ You

Re: Do you know how many 64-bit architectures Fedora has?

2015-08-24 Thread Daniel P. Berrange
On Mon, Aug 24, 2015 at 09:18:16AM -0400, Neal Gompa wrote: ​Oh, yes! I was trying to find something like this all weekend for my Copr for reprepro. I have to make a patch to access apt-methods in /usr/lib64 on 64-bit systems, but on 32-bit systems it should remain /usr/lib. You just made

Re: Do you know how many 64-bit architectures Fedora has?

2015-08-24 Thread Jonathan Underwood
On 24 August 2015 at 14:12, Marcin Juszkiewicz mjuszkiew...@redhat.com wrote: [snip] Because there are lot of code like: %ifarch x86_64 ppc64 ia64 s390x sparc64 USE_64=1 %endif Where is should be: %if 0%{?__isa_bits} == 64 USE_64=1 %endif Which works since RHEL6 (from what I

Re: Do you know how many 64-bit architectures Fedora has?

2015-08-24 Thread Neal Gompa
On Mon, Aug 24, 2015 at 9:26 AM, Marcin Juszkiewicz mjuszkiew...@redhat.com wrote: W dniu 24.08.2015 o 15:18, Neal Gompa pisze: ​ Oh, yes! I was trying to find something like this all weekend for my Copr for reprepro. I have to make a patch to access apt-methods in /usr/lib64 on 64-bit

Re: Do you know how many 64-bit architectures Fedora has?

2015-08-24 Thread Neal Gompa
On Mon, Aug 24, 2015 at 9:41 AM, Jonathan Wakely jwak...@redhat.com wrote: On 24/08/15 14:39 +0100, Jonathan Wakely wrote: On 24/08/15 09:31 -0400, Neal Gompa wrote: ​Well, the problem is that ​the path to apt-methods is hardcoded in reprepro itself. Thankfully, it's in a #define, but I

Re: Do you know how many 64-bit architectures Fedora has?

2015-08-24 Thread Jonathan Wakely
On 24/08/15 09:31 -0400, Neal Gompa wrote: ​Well, the problem is that ​the path to apt-methods is hardcoded in reprepro itself. Thankfully, it's in a #define, but I don't know of a good way to fix it beyond just replacing the #define for 64-bit systems. ​If someone can suggest a better way than

Re: Do you know how many 64-bit architectures Fedora has?

2015-08-24 Thread Neal Gompa
On Mon, Aug 24, 2015 at 9:12 AM, Marcin Juszkiewicz mjuszkiew...@redhat.com wrote: Hi During last few days I fetched over 26 thousand of Fedora package repositories. Plan to go though all spec files and submit some patches mainly related to my aarch64 work. We live in a world where most

Re: Do you know how many 64-bit architectures Fedora has?

2015-08-24 Thread Marcin Juszkiewicz
W dniu 24.08.2015 o 15:31, Neal Gompa pisze: ​ Well, the problem is that ​the path to apt-methods is hardcoded in reprepro itself. Thankfully, it's in a #define, but I don't know of a good way to fix it beyond just replacing the #define for 64-bit systems. ​If someone can suggest a better way

Re: Do you know how many 64-bit architectures Fedora has?

2015-08-24 Thread Jonathan Wakely
On 24/08/15 14:39 +0100, Jonathan Wakely wrote: On 24/08/15 09:31 -0400, Neal Gompa wrote: ​Well, the problem is that ​the path to apt-methods is hardcoded in reprepro itself. Thankfully, it's in a #define, but I don't know of a good way to fix it beyond just replacing the #define for 64-bit

Re: Do you know how many 64-bit architectures Fedora has?

2015-08-24 Thread Jonathan Wakely
On 24/08/15 10:06 -0400, Neal Gompa wrote: On Mon, Aug 24, 2015 at 9:41 AM, Jonathan Wakely jwak...@redhat.com wrote: Oops, to keep the quotes it would be -DSTD_METHOD_DIR='%{_libdir}/apt/methods' ​Would that override the in-code #define statement?​ Yes, because the #define is guarded by:

Re: Do you know how many 64-bit architectures Fedora has?

2015-08-24 Thread Neal Gompa
On Mon, Aug 24, 2015 at 10:15 AM, Jonathan Wakely jwak...@redhat.com wrote: On 24/08/15 10:06 -0400, Neal Gompa wrote: On Mon, Aug 24, 2015 at 9:41 AM, Jonathan Wakely jwak...@redhat.com wrote: Oops, to keep the quotes it would be -DSTD_METHOD_DIR='%{_libdir}/apt/methods' ​Would that

Re: Do you know how many 64-bit architectures Fedora has?

2015-08-24 Thread Reindl Harald
Am 24.08.2015 um 16:27 schrieb Neal Gompa: On Mon, Aug 24, 2015 at 10:15 AM, Jonathan Wakely jwak...@redhat.com mailto:jwak...@redhat.comwrote: On 24/08/15 10:06 -0400, Neal Gompa wrote: On Mon, Aug 24, 2015 at 9:41 AM, Jonathan Wakely jwak...@redhat.com

Re: Do you know how many 64-bit architectures Fedora has?

2015-08-24 Thread Neal Gompa
On Mon, Aug 24, 2015 at 10:31 AM, Reindl Harald h.rei...@thelounge.net wrote: Am 24.08.2015 um 16:27 schrieb Neal Gompa: On Mon, Aug 24, 2015 at 10:15 AM, Jonathan Wakely jwak...@redhat.com mailto:jwak...@redhat.comwrote: On 24/08/15 10:06 -0400, Neal Gompa wrote: On Mon, Aug

Re: Do you know how many 64-bit architectures Fedora has?

2015-08-24 Thread Marcin Juszkiewicz
W dniu 24.08.2015 o 16:09, Jonathan Underwood pisze: It would be worthwhile adding this to: https://fedoraproject.org/wiki/Packaging_tricks Added -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct:

Re: Do you know how many 64-bit architectures Fedora has?

2015-08-24 Thread Dennis Gilmore
On Monday, August 24, 2015 09:18:16 AM Neal Gompa wrote: On Mon, Aug 24, 2015 at 9:12 AM, Marcin Juszkiewicz mjuszkiew...@redhat.com snip ​Oh, yes! I was trying to find something like this all weekend for my Copr for reprepro. I have to make a patch to access apt-methods in /usr/lib64 on

Re: Do you know how many 64-bit architectures Fedora has?

2015-08-24 Thread Ray Strode
Hi, If someone can suggest a better way than how I'm doing it now, I'm all ears, because I hate this patch[0]. I think the solution you came up with from this thread is okay as a downstream hack, but I think a better solution would be to get upstream to ask apt at built time where to put