[ATrpms-devel] ATrpms rpm macros [was Re: failure building mythtv for FC5]
Axel Thimm
Axel.Thimm at ATrpms.net
Fri Aug 31 08:43:05 CEST 2007
On Fri, Aug 31, 2007 at 02:34:10AM -0400, D. Hugh Redelmeier wrote:
> | From: Paulo Cavalcanti <promac at gmail.com>
>
> | On 8/30/07, D. Hugh Redelmeier <hugh at mimosa.com> wrote:
> | >
> | > | From: Axel Thimm <Axel.Thimm at ATrpms.net>
> | >
> | > | OK, I just uploaded atrpms-rpm-config. It's not blessed, but it's what
> | > | I use. E.g. it's a rather stable set of macros that is still labeled
> | > | "work in progress". But before the sun dies out I may never be able to
> | > | finish it up. Or rephrased: Improvements are welcome :)
>
> I found
> http://dl.atrpms.net/src/f7-i386/atrpms/stable/atrpms-rpm-config-168-1.src.rpm
> This is a little older than I expected (2007 August 11) even though
> Axel said he just uploaded it. Not a contradiction, though: he could
> have built it August 11 even though he uploaded it today.
That's true. And from the Version: you can see that it's quite often
updated. This wasn't the package I wanted to push into the repo, it
was my "private" conglomeration of scripts/macros for deploying on new
hardware. But as said waiting for me to get the perfect setup released
will take forever, so I went now with release early & often.
> I didn't want to use "yum install atrpms-rpm-config" (as Axel
> proposed) because:
>
> - my release (FC5) is not supported by atrpms, so I doubt the yum
> would have succeeded.
Indeed :)
> - I wanted to see what I was installing before I installed it.
>
> I did fetch the SRPM when I found it. I built it and then installed
> it.
>
> | Can you just use the one I posted yesterday for now?
> |
> | http://people.atrpms.net/~pcavalcanti/rpms/noarch/atrpms-macros-1.0-3.fc6.lcg.noarch.rpm
> |
> | They work. And I blessed them.
>
> I don't know which is more likely to work for me: your package or
> Axel's.
Both should do the same,
> - Yours has FC6 in its name. Not what I want for FC5.
>
> - Yours and Axels cannot co-exist: there are files with the same
> pathname that are different.
but you are right, you should only use one.
> Axel's:
> -rwxr-xr-x 1 root root 1165 Dec 27 2006 /usr/lib/rpm/atrpms/find-devel.sh
> -rwxr-xr-x 1 root root 426 Nov 21 2005 /usr/lib/rpm/atrpms/find-lib.sh
> -rwxr-xr-x 1 root root 210 Aug 20 2006 /usr/lib/rpm/atrpms/python_burninversion.sh
>
> Paulo's:
> -rwxr-xr-x 1 root root 1164 Aug 28 09:54 /usr/lib/rpm/atrpms/find-devel.sh
> -rwxr-xr-x 1 root root 425 Aug 28 09:54 /usr/lib/rpm/atrpms/find-lib.sh
> -rwxr-xr-x 1 root root 209 Aug 28 09:54 /usr/lib/rpm/atrpms/python_burninversion.sh
>
> - yours writes /et/rpm/macros which seems scary (I don't know the implications)
>
> I've created an atrpms user on my machine and wish to put the atrpms
> rpm macros into ~atrpms/.rpmmacros, not in some global setting that
> would affect rpmbuilds by all users.
That's true. But being a package means that you also very easily
uninstall it.
> - a superficial glance at Axel's leads me to beleive that it does not
> define lib_package whereas yours does
Both need to define it.
# rpm -ql atrpms-rpm-config | xargs grep ^%lib_package
/etc/rpm/macros.libs:%lib_package() \
/usr/lib/rpm/atrpms/macros:%lib_package() \
> So I'm going to try your package, with /etc/rpm/macros renamed
> /etc/rpm/macros.atrpms and copied into ~atrpms/.rpmmacros
Whether the macrs are in /etc/rpm/macros or /etc/rpm/macros.atrpms
makes no difference, modern rpm reads out any /etc/rpm/macros* file by
default.
> | Lets give Axel some time and try to solve this issue by ourselves.
>
> Good idea.
>
> | It is 6 PM (my time). Can we continue this discussion after 8 PM?
>
> Sorry, I had a lot of other real-time stuff going on. So I'm back
> when it is the middle of the night (2:30 here in Toronto, 3:30 in
> Rio (I infer that http://w3.impa.br/~roma/ is your page)).
>
> I'm building mythtv-0.20.1-161.src.rpm in the context of your macros.
> It will take about an hour (if it works) but I'm not going to wait up
> to watch it.
>
> Thanks, Paulo and Axel, for your help.
--
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-devel/attachments/20070831/0bcd202f/attachment.bin
More information about the atrpms-devel
mailing list