On Mon, Aug 24, 2015 at 9:26 AM, Marcin Juszkiewicz <mjuszkiewicz@xxxxxxxxxx> 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 systems, but on 32-bit systems it should remain
/usr/lib.
You just made my day.
You know that %_libdir is what you want? /usr/lib on 32bit, /usr/lib64 on 64bit.
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
I'm well aware. The buildsystem is fine. It's the code that's the problem.
On Mon, Aug 24, 2015 at 9:27 AM, Daniel P. Berrange <berrange@xxxxxxxxxx> wrote:
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 my day.
You should not really assume that all 64-bit architectures use /usr/lib64
either - %{_libdir} expands to the right directory path per architecture.
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
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 how I'm doing it now, I'm all ears, because I hate this patch[0].
真実はいつも一つ!/ Always, there's only one truth!
-- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct