sorry for breaking the threading, I've already deleted my own post (pasted below from the list archive) but find I want to add a comment...

I just updated some packages on a centos 5 system, including
rpm-macros-rpmforge-0-5.el5.rf.
There seems to be a problem with /etc/rpm/macros.rpmforge from that
package, because after the update and rpm query prints some error messages.
Example:

[nthierry at tryo rpm]$ rpm -q rpm-macros-rpmforge
error: Macro % has illegal name (%define)
error: Macro % has illegal name (%define)
error: Macro % has illegal name (%define)
rpm-macros-rpmforge-0-5.el5.rf.noarch
[nthierry at tryo rpm]$

If I move /etc/rpm/macros.rpmforge somewhere else the error messages  go
away.

I investigated a bit more, the differences in  /etc/rpm/macros.rpmforge are:
%dtag el5
becomes in the newer version:
%{!?dtag:%dtag el5}
and similarly for "%el5 1" and "%dist .el5"

Is this a new syntax that is understood by the EL6 rpm version but not the EL5 version? If yes, shouldn't the el5 version of rpm-macros-rpmforge keep the old (working) syntax? Or maybe have the new package depend on the EL6 version of rpm, so it doesn't install on el5 systems.

_______________________________________________
users mailing list
[email protected]
http://lists.rpmforge.net/mailman/listinfo/users

Reply via email to