SOURCES: rpm-specdump.c - output _target_cpu
glen
glen at pld-linux.org
Mon Feb 11 19:21:15 CET 2008
Author: glen Date: Mon Feb 11 18:21:15 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- output _target_cpu
---- Files affected:
SOURCES:
rpm-specdump.c (1.10 -> 1.11)
---- Diffs:
================================================================
Index: SOURCES/rpm-specdump.c
diff -u SOURCES/rpm-specdump.c:1.10 SOURCES/rpm-specdump.c:1.11
--- SOURCES/rpm-specdump.c:1.10 Sat Jan 26 23:35:37 2008
+++ SOURCES/rpm-specdump.c Mon Feb 11 19:21:09 2008
@@ -315,5 +315,8 @@
ps = ps->next;
}
+ const char *arch = rpmExpand("%{_target_cpu}", NULL);
+ printf("m _target_cpu %s\n", arch);
+
return(0);
}
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/rpm-specdump.c?r1=1.10&r2=1.11&f=u
More information about the pld-cvs-commit
mailing list