RPM Package Manager, CVS Repository http://rpm5.org/cvs/ ____________________________________________________________________________
Server: rpm5.org Name: Jeff Johnson Root: /v/rpm/cvs Email: [EMAIL PROTECTED] Module: rpm Date: 06-Jun-2008 19:25:31 Branch: HEAD Handle: 2008060617252901 Added files: rpm/tests/ref querytags showrc version Modified files: rpm CHANGES rpm/lib rpmrc.c rpm/tests Makefile.am macros.in rpm/tests/ref .alldigests Log: - tests: verify setup using --version/--querytags/--showrc. - display noisy getconf()/uname() info with -vv --showrc instead. Summary: Revision Changes Path 1.2399 +2 -0 rpm/CHANGES 2.235 +2 -0 rpm/lib/rpmrc.c 1.18 +12 -7 rpm/tests/Makefile.am 1.17 +11 -5 rpm/tests/macros.in 1.2 +57 -0 rpm/tests/ref/.alldigests 1.1 +204 -0 rpm/tests/ref/querytags 1.1 +657 -0 rpm/tests/ref/showrc 1.1 +2 -0 rpm/tests/ref/version ____________________________________________________________________________ patch -p0 <<'@@ .' Index: rpm/CHANGES ============================================================================ $ cvs diff -u -r1.2398 -r1.2399 CHANGES --- rpm/CHANGES 6 Jun 2008 14:32:05 -0000 1.2398 +++ rpm/CHANGES 6 Jun 2008 17:25:29 -0000 1.2399 @@ -1,5 +1,7 @@ 5.1.0 -> 5.2a0: + - jbj: tests: verify setup using --version/--querytags/--showrc. + - jbj: display noisy getconf()/uname() info with -vv --showrc instead. - jbj: shorten debugging messages, --queryformat strings passed to headerSprintf are getting huge. - jbj: fix: NUL terminate dst on EXPR->ARRAY parser state transition @@ . patch -p0 <<'@@ .' Index: rpm/lib/rpmrc.c ============================================================================ $ cvs diff -u -r2.234 -r2.235 rpmrc.c --- rpm/lib/rpmrc.c 2 Apr 2008 18:35:26 -0000 2.234 +++ rpm/lib/rpmrc.c 6 Jun 2008 17:25:30 -0000 2.235 @@ -1011,7 +1011,9 @@ ds = rpmdsFree(ds); fprintf(fp, "\n"); } + } + if (rpmIsDebug()) { xx = rpmdsGetconf(&ds, NULL); if (ds != NULL) { fprintf(fp, @@ . patch -p0 <<'@@ .' Index: rpm/tests/Makefile.am ============================================================================ $ cvs diff -u -r1.17 -r1.18 Makefile.am --- rpm/tests/Makefile.am 2 Jun 2008 21:00:47 -0000 1.17 +++ rpm/tests/Makefile.am 6 Jun 2008 17:25:30 -0000 1.18 @@ -5,7 +5,7 @@ EXTRA_DIST = ref/* SUBDIRS = -macros = $(abs_top_builddir)/macros:@testdir@/macros +macros = $(abs_top_builddir)/macros:$(testdir)/macros rpm = $(abs_top_builddir)/rpm --macros $(macros) rpm2cpio = $(abs_top_builddir)/tools/rpm2cpio rpmdigest = $(abs_top_builddir)/tools/rpmdigest @@ -13,6 +13,16 @@ rpmrepo = $(abs_top_builddir)/tools/rpmrepo cpio = cpio +.PHONY: check-init +check-init: macros + @mkdir -p tmp/repackage/ + @${rpm} -v --version > tmp/version + [EMAIL PROTECTED] -u {tmp,ref}/version + @${rpm} -v --querytags > tmp/querytags + [EMAIL PROTECTED] -u {tmp,ref}/querytags + @${rpm} -v --showrc | sed -e "s,$(abs_top_builddir),..,g" > tmp/showrc + [EMAIL PROTECTED] -u {tmp,ref}/showrc + POPTURI = http://rpm5.org/files/popt/ POPTPKGS = \ popt-1.14-1.src.rpm \ @@ -23,7 +33,6 @@ .PHONY: check-markup check-markup: $(POPTPKGS) - @mkdir -p tmp @-${rpmdigest} --alldigests ref/[a-z]* > tmp/.alldigests @diff -u {tmp,ref}/.alldigests @${rpmmtree} -c -p ref | ${rpmmtree} -p ref @@ -55,11 +64,7 @@ ${rpm} -i --nosignature --nodeps [EMAIL PROTECTED] (cd $@ && ${rpm} -q --specfile [EMAIL PROTECTED] && ${rpm} -q --specsrpm [EMAIL PROTECTED] && ${rpm} -q --specfile --specedit [EMAIL PROTECTED] && ${rpm} -bb --nodeps [EMAIL PROTECTED]) > /dev/null -check-local: check-markup $(BUILD_DIRS) - @${rpm} -v --version > /dev/null - @${rpm} -v --showrc > /dev/null - @${rpm} -v --querytags > /dev/null - @-rm -rf rpm +check-local: check-init check-markup $(BUILD_DIRS) @${rpm} --initdb @${rpm} --import $(top_srcdir)/pubkeys/JBJ-GPG-KEY @${rpm} -qW . > /dev/null 2>&1 @@ . patch -p0 <<'@@ .' Index: rpm/tests/macros.in ============================================================================ $ cvs diff -u -r1.16 -r1.17 macros.in --- rpm/tests/macros.in 7 May 2008 16:58:26 -0000 1.16 +++ rpm/tests/macros.in 6 Jun 2008 17:25:30 -0000 1.17 @@ -1,4 +1,7 @@ -%_topdir @testdir@ +%_testdir @testdir@ +%_etcrpm %{_testdir} +%_topdir %{_testdir} + %_legion %{expand:%%global ._legion %{name}}%{_legion} %_ntopdir %{_topdir}/%{_legion} %_builddir %{_ntopdir} @@ -8,8 +11,11 @@ %_srcrpmdir %{_ntopdir} %_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm -%_dbpath %{_topdir}/rpm -%_tmppath %{_topdir}/tmp - -%_repackage_all_erasures 0 %_rpmgio .ufdio + +%_rpmds_sysinfo_path %{_topdir}/sysinfo/ +%_dbpath %{_topdir}/tmp/rpmdb/ + +%_tmppath %{_topdir}/tmp/ +%_hrmib_path %{_tmppath}/hrmib/%{___NVRA} +%_repackage_dir %{_tmppath}/repackage/ @@ . patch -p0 <<'@@ .' Index: rpm/tests/ref/.alldigests ============================================================================ $ cvs diff -u -r1.1 -r1.2 .alldigests --- rpm/tests/ref/.alldigests 2 Jun 2008 19:23:03 -0000 1.1 +++ rpm/tests/ref/.alldigests 6 Jun 2008 17:25:30 -0000 1.2 @@ -112,6 +112,25 @@ crc64:88c4123f300b6f80 ref/primary.xml adler32:db2db45c ref/primary.xml jlu32:3aa3d1f7 ref/primary.xml +md2:6e780b9a14ba344ff223bb67f5952d91 ref/querytags +md4:3f6bfc40d995c66b9e19ccc6447b6c63 ref/querytags +md5:a297057e284cb7c4f5d4d862bdbd0b64 ref/querytags +sha1:833cfeb0a588f20b2f5b63ffbfd07e9c0e1ccdd1 ref/querytags +sha224:881bdecd89e5dfd96c9cbcfc01870badebd243290831b74da6e02533 ref/querytags +sha256:b5de8603cd1eadd22bbf96807b96b3253f5f429e5c905ae4292076764e0988cb ref/querytags +sha384:8e89a94da9300f4b54ea4c4836c972a2371f94502b436cae1f2e295cd0d0fcc75cfb49c4c700c520715413fe1664ec29 ref/querytags +sha512:8f28f16879a242c1b7421b3a3c9b7e07dcf4653a941b1d23674326c767ba6805b899f4b55703564f695ac4da2f024e4a47c73fd06c31245997df47a35bfb7708 ref/querytags +salsa10:6af3d20e3ea5dbe08716285bbe90bedae7bc54ac2d0dfa41f1aedcdb7bddf8d0d1e90d5ffe9b43586264c55f4581a0199ec7ae26712849da0a56facb5653015a ref/querytags +salsa20:28b2a7effd01207f004ee2ad58af61c2f4fa6d96bfa9352e3abed66ac49282a8adc90d5b6143eaae06035c81518ab6142eff176919da19ee4d0a33aa276c7c3f ref/querytags +rmd128:ece1bc91790a86f49cef4068b42bd09c ref/querytags +rmd160:874b8e2f056c09864e7323acaef684180f5eb897 ref/querytags +rmd256:b642c8b67f1ecb4044934c3ae809610a3b37211c99f69b39b150a1177311e515 ref/querytags +rmd320:f7f65bb99d2b23c582e1e9a21d4105fe0fb356053302d3b875225b86042c302e1ae544c4fd7ecced ref/querytags +tiger:b93b80c8a848abccc3c537a731ef414c2a0e469be95d7096 ref/querytags +crc32:7755cf2f ref/querytags +crc64:c7c165056eac5f2d ref/querytags +adler32:a62d119d ref/querytags +jlu32:467305ea ref/querytags md2:9101536b1b8573422351babeb06f63c5 ref/repomd.xml md4:ebfff83cdde49d063b0af9df8be692bd ref/repomd.xml md5:834f1d9c7ab91e615a43c244b64a0836 ref/repomd.xml @@ -131,3 +150,41 @@ crc64:a324ff459563a8d8 ref/repomd.xml adler32:733b23f0 ref/repomd.xml jlu32:cbbd9bbf ref/repomd.xml +md2:f4da4da65d580fd9cba4e19bb0695474 ref/showrc +md4:1de38da0fef743d1a7005eb200d44219 ref/showrc +md5:9f088198d0327f948528712db2413cf7 ref/showrc +sha1:20baa5a202fed54c082831164173f44e01a99889 ref/showrc +sha224:142bec2c7a885c226a353884d3aa111db59d02d6f47b275d27b53cad ref/showrc +sha256:29497111a01e2d8eaee76e37bb78659be715e6476c7556c597b4343623b6bdf1 ref/showrc +sha384:53d8f558743599c98fc0a6b8eb9a524e21699d190ec307897a01127715ab26c113406e538343aaf1cf494d4dc116069e ref/showrc +sha512:a46f19a8364ef7ee4a84dca0fcb470f06e993faa04d76192efd6aaec60fa991d69d7dfce19c63e0ecb45fe9c92ffe76251e3cd5cf16bd69d01ff09645ecfc0cc ref/showrc +salsa10:f2dac7335486dbe079d78143fba3ea31d35d335147a57543090dd53047c653bb4d3a9463d5bfc36808accdd30e7422f55099f1feb0eed03d34a3fd36c954a554 ref/showrc +salsa20:4640e4f23c5d468b39750c7c77a56e6bcf676ad43b0e5dd99c8c762def47c3b921f30660b71b4fd8280ee38d5b7dbdff77cd788f3ee1f5af620e4757e9c0602f ref/showrc +rmd128:04126fec956d41a5e193fe02a20e88e3 ref/showrc +rmd160:b76420e89495ce0a31137d4bd141ff002928cc39 ref/showrc +rmd256:1565b4fdfba73d1ac4b58d5540527f27569fdaaba7415f6d3df0dbbe86767fe6 ref/showrc +rmd320:b84a9f233035432fbfbe0cac60e9934a18ba9800d2e70f04ac7f1716fc3de3269405b96f4aae067c ref/showrc +tiger:21be1a71ef10d443a33420f646d2d408ecba80fd7c293d72 ref/showrc +crc32:629136d5 ref/showrc +crc64:5e56f4954f8e9be0 ref/showrc +adler32:6e9fcf61 ref/showrc +jlu32:c041cece ref/showrc +md2:702d78dbf9033f52c9263253e626c5be ref/version +md4:75e0e6207421a7c860d7cd4c8e19695f ref/version +md5:063c879105b7acac5340b506fe5df7ec ref/version +sha1:3ecd1ed2b2bb706c8d5341138e0a11d436295876 ref/version +sha224:61e5a822b0d5f661a9fcdd562dd420b982b0e87bdc910d3a30f77118 ref/version +sha256:b1e4cd86d8464abe9dd952364679bab11beba9eb4d58cf2516e29a358537d4ab ref/version +sha384:1a250860ddca67f443bf346be5140ea221f93bfc1d20ff43ea30726384008dba2181e52cd9335c84ff2de10e00e0626d ref/version +sha512:9e7fc8261f448f3b4db4437348c45b723bd439cc82ab1ec11edbbb050e4db020925ac573599f85c9531e48e57c0a87dc8d6d7ca0ae8f733487d35d651f50f811 ref/version +salsa10:8fc394a06ac80a757e01997d9158692fbee17e0dc3590383ba716d1302b9dd3cbca0e18056c0f0a78f79ccf0c009fdaffff85fffef5f0ad61d23f392d88c0851 ref/version +salsa20:9744a995eb06829c1ab32118f887d6d3a8c341cecb25c30dcf142c56e911201b2079c4f9cfb680e67e78dc6eae1755afc49c8f359672856ae85f777aef437adc ref/version +rmd128:05ac7002d57220696c1657b66c232846 ref/version +rmd160:a0c8acc113ae78046dcdb0501bfd34ef8bdae74f ref/version +rmd256:fde9b792e565012c4e17568c1104d60b51dd56c1f256e54977fa6d31cfb2cf98 ref/version +rmd320:c4308938745469f00932efb95c31a387012ffb6d2083338a31d62911603a3607480efd167d816360 ref/version +tiger:c2d92ad080e71ac53c9bbcbda5dd2f8f9b2a98f66d6eb559 ref/version +crc32:4a9c4fc4 ref/version +crc64:2ccc08968b6199d4 ref/version +adler32:2afe1037 ref/version +jlu32:000816df ref/version @@ . patch -p0 <<'@@ .' Index: rpm/tests/ref/querytags ============================================================================ $ cvs diff -u -r0 -r1.1 querytags --- /dev/null 2008-06-06 19:22:00 +0200 +++ querytags 2008-06-06 19:25:31 +0200 @@ -0,0 +1,204 @@ +ARCH 1022 string +ARCHIVESIZE 1046 uint32 +BASENAMES 1117 argv array +BLINKHDRID 1165 argv array +BLINKNEVRA 1166 argv array +BLINKPKGID 1164 argv array +BUILDARCHS 1089 argv array +BUILDCPUCLOCK 1176 uint32 +BUILDHOST 1007 string +BUILDMACROS 1111 argv array +BUILDPLATFORMS 1183 argv array +BUILDTIME 1006 uint32 +CACHECTIME 1136 uint32 +CACHEPKGMTIME 1139 uint32 +CACHEPKGPATH 1137 string +CACHEPKGSIZE 1138 uint32 +CAPABILITY 1105 uint32 +CHANGELOGNAME 1081 argv array +CHANGELOGTEXT 1082 argv array +CHANGELOGTIME 1080 uint32 array +CLASS 1202 string +CLASSDICT 1142 argv array +CONFLICTATTRSX 1189 uint32 array +CONFLICTFLAGS 1053 uint32 array +CONFLICTNAME 1054 argv array +CONFLICTS 1054 argv array +CONFLICTVERSION 1055 argv array +COOKIE 1094 string +C 1054 argv array +CVSID 1163 string +DBINSTANCE 1195 uint32 +DEPATTRSDICT 1188 argv array +DEPENDSDICT 1145 uint32 array +DESCRIPTION 1005 i18nstring +DIRINDEXES 1116 uint32 array +DIRNAMES 1118 argv array +DISTRIBUTION 1010 string +DISTTAG 1155 string +DISTURL 1123 string +DSAHEADER 267 octets +ENHANCESFLAGS 1161 uint32 array +ENHANCESNAME 1159 argv array +ENHANCES 1159 argv array +ENHANCESVERSION 1160 argv array +EPOCH 1003 uint32 +E 1003 uint32 +EXCLUDEARCH 1059 argv array +EXCLUDEOS 1060 argv array +EXCLUSIVEARCH 1061 argv array +EXCLUSIVEOS 1062 argv array +FILECLASS 1141 uint32 array +FILECOLORS 1140 uint32 array +FILECONTEXTS 1147 argv array +FILEDEPENDSN 1144 uint32 array +FILEDEPENDSX 1143 uint32 array +FILEDEVICES 1095 uint32 array +FILEDIGESTALGOS 1177 uint32 array +FILEDIGESTS 1035 argv array +FILEFLAGS 1037 uint32 array +FILEGROUPNAME 1040 argv array +FILEINODES 1096 uint32 array +FILELANGS 1097 argv array +FILELINKTOS 1036 argv array +FILEMD5S 1035 argv array +FILEMODES 1030 uint16 array +FILEMTIMES 1034 uint32 array +FILEPATHS 1197 argv array +FILERDEVS 1033 uint16 array +FILESIZES 1028 uint32 array +FILESTAT 1207 argv array +FILESTATES 1029 uint8 array +FILEUSERNAME 1039 argv array +FILEVERIFYFLAGS 1045 uint32 array +FILEXATTRSX 1187 uint32 array +FLINKHDRID 1168 argv array +FLINKNEVRA 1169 argv array +FLINKPKGID 1167 argv array +FSCONTEXTS 1148 argv array +GIF 1012 octets +GROUP 1016 i18nstring +HDRID 269 string +HEADERENDOFF 1212 uint64 +HEADERI18NTABLE 100 argv array +HEADERIMMUTABLE 63 octets +HEADERSTARTOFF 1211 uint64 +ICON 1043 octets +INSTALLCOLOR 1127 uint32 +INSTALLTID 1128 uint32 array +INSTALLTIME 1008 uint32 array +INSTPREFIXES 1099 argv array +KEYWORDS 1182 argv array +LICENSE 1014 string +NAME 1000 string +N 1000 string +NVRA 1196 string +OBSOLETEATTRSX 1190 uint32 array +OBSOLETEFLAGS 1114 uint32 array +OBSOLETENAME 1090 argv array +OBSOLETES 1090 argv array +OBSOLETEVERSION 1115 argv array +OLDFILENAMES 1027 argv array +OPTFLAGS 1122 string +ORIGBASENAMES 1120 argv array +ORIGDIRINDEXES 1119 uint32 array +ORIGDIRNAMES 1121 argv array +ORIGINTID 1209 uint32 array +ORIGINTIME 1210 uint32 array +ORIGPATHS 1198 argv array +O 1090 argv array +OS 1021 string +PACKAGEBASEURL 1217 string +PACKAGECOLOR 1184 uint32 +PACKAGEDIGEST 1215 string +PACKAGEORIGIN 1170 string +PACKAGEPREFCOLOR 1185 uint32 +PACKAGER 1015 string +PACKAGESIZE 1214 uint64 +PACKAGESTAT 1216 octets +PACKAGETIME 1213 uint64 +PATCH 1019 argv array +PATCHESFLAGS 1134 uint32 array +PATCHESNAME 1133 argv array +PATCHESVERSION 1135 argv array +PAYLOADCOMPRESSOR 1125 string +PAYLOADFLAGS 1126 string +PAYLOADFORMAT 1124 string +PKGID 261 octets +PLATFORM 1132 string +POLICIES 1150 argv array +POSTIN 1024 string +POSTINPROG 1086 string +POSTTRANS 1152 string +POSTTRANSPROG 1154 string +POSTUN 1026 string +POSTUNPROG 1088 string +PREFIXES 1098 argv array +PREIN 1023 string +PREINPROG 1085 string +PRETRANS 1151 string +PRETRANSPROG 1153 string +PREUN 1025 string +PREUNPROG 1087 string +PRIORITY 1162 uint32 array +PROVIDEATTRSX 1191 uint32 array +PROVIDEFLAGS 1112 uint32 array +PROVIDENAME 1047 argv array +PROVIDES 1047 argv array +PROVIDEVERSION 1113 argv array +P 1047 argv array +PUBKEYS 266 argv array +RECONTEXTS 1149 argv array +RELEASE 1002 string +REMOVETID 1129 uint32 array +REPOTAG 1181 string +REQUIREATTRSX 1192 uint32 array +REQUIREFLAGS 1048 uint32 array +REQUIRENAME 1049 argv array +REQUIRES 1049 argv array +REQUIREVERSION 1050 argv array +RHNPLATFORM 1131 string +RPMLIBTIMESTAMP 1200 uint32 +RPMLIBVENDOR 1201 uint32 +RPMLIBVERSION 1199 uint32 +RPMVERSION 1064 string +R 1002 string +RSAHEADER 268 octets +SANITYCHECK 1205 string +SANITYCHECKPROG 1206 string +SCRIPTMETRICS 1175 uint32 array +SCRIPTSTATES 1174 uint32 array +SHA1HEADER 269 string +SIGGPG 262 octets +SIGMD5 261 octets +SIGPGP 259 octets +SIGSIZE 257 uint32 +SIZE 1009 uint32 +SOURCE 1018 argv array +SOURCEPACKAGE 1106 uint32 +SOURCEPKGID 1146 octets +SOURCERPM 1044 string +STAT 1208 argv array +SUGGESTSFLAGS 1158 uint32 array +SUGGESTSNAME 1156 argv array +SUGGESTS 1156 argv array +SUGGESTSVERSION 1157 argv array +SUMMARY 1004 i18nstring +SVNID 1163 string +TRIGGERFLAGS 1068 uint32 array +TRIGGERINDEX 1069 uint32 array +TRIGGERNAME 1066 argv array +TRIGGERSCRIPTPROG 1092 argv array +TRIGGERSCRIPTS 1065 argv array +TRIGGERVERSION 1067 argv array +URL 1020 string +VARIANTS 1178 argv array +VENDOR 1011 string +VERIFYSCRIPT 1079 string +VERIFYSCRIPTPROG 1091 string +VERSION 1001 string +V 1001 string +XATTRSDICT 1186 argv array +XMAJOR 1179 uint32 +XMINOR 1180 uint32 +XPM 1013 octets @@ . patch -p0 <<'@@ .' Index: rpm/tests/ref/showrc ============================================================================ $ cvs diff -u -r0 -r1.1 showrc --- /dev/null 2008-06-06 19:22:00 +0200 +++ showrc 2008-06-06 19:25:31 +0200 @@ -0,0 +1,657 @@ +ARCHITECTURE AND OS: +build arch : i386 +compatible build archs: i386 +build os : Linux +compatible build os's : linux +install arch : i386 +install os : Linux +compatible archs : i386 +compatible os's : linux +optflags : -O2 + +MACRO DEFINITIONS: +macrofiles : ../macros:../tests/macros +Features provided by rpmlib installer: + rpmlib(BuiltinLuaScripts) = 4.2.2-1 + rpmlib(CompressedFileNames) = 3.0.4-1 + rpmlib(ConcurrentAccess) = 4.1-1 + rpmlib(ExplicitPackageProvide) = 4.0-1 + rpmlib(FileDigestParameterized) = 4.4.6-1 + rpmlib(HeaderLoadSortsTags) = 4.0.1-1 + rpmlib(HeaderTagTypeInt64) = 4.4.3-1 + rpmlib(PartialHardlinkSets) = 4.0.4-1 + rpmlib(PayloadFilesHavePrefix) = 4.0-1 + rpmlib(PayloadIsBzip2) = 3.0.5-1 + rpmlib(PayloadIsLzma) = 4.4.6-1 + rpmlib(PayloadIsUstar) = 4.4.4-1 + rpmlib(ScriptletInterpreterArgs) = 4.0.3-1 + rpmlib(VersionedDependencies) = 3.0.3-1 + +======================== +-14: GNUconfigure(MCs:) + CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS; + LDFLAGS="${LDFLAGS:-%{-s:-s}}" ; export LDFLAGS; + %{-C:_mydir="`pwd`"; %{-M: %{__mkdir} -p "%{-C*}";} cd "%{-C*}"} + dirs="`find ${_mydir} -name 'configure.[ai][cn]' -print`"; export dirs; + for coin in `echo ${dirs}` +do + dr=`dirname ${coin}`; +if test -f ${dr}/NO-AUTO-GEN; then + : +else + macrodirs=`sed -n -e 's,AM_ACLOCAL_INCLUDE((.*)),1,gp' < ${coin}`; + ( cd "${dr}"; + aclocalinclude="${ACLOCAL_FLAGS}"; + for k in ${macrodirs}; do + if test -d ${k}; then + aclocalinclude="${aclocalinclude} -I ${k}"; + ##else + ## echo "**Warning**: No such directory `${k}'. Ignored." + fi + done + if grep "^AM_GNU_GETTEXT" configure.[ai][cn] >/dev/null; then + if grep "sed.*POTFILES" configure.[ai][cn] >/dev/null; then + : do nothing -- we still have an old unmodified configure.[ai][cn] + else + test -r ${dr}/aclocal.m4 || touch ${dr}/aclocal.m4; + echo "no" | gettextize --force --copy; + test -r ${dr}/aclocal.m4 && %{__chmod} u+w ${dr}/aclocal.m4; + fi + fi + if grep "^AM_PROG_LIBTOOL" configure.[ai][cn] >/dev/null; then + %{__libtoolize} --force --copy; + fi + aclocal ${aclocalinclude}; + if grep "^AM_CONFIG_HEADER" configure.[ai][cn] >/dev/null; then + %{__autoheader}; + fi + echo "Running automake --gnu ${am_opt} ..."; + %{__automake} --add-missing --gnu ${am_opt}; + %{__autoconf}; + ); + fi +done + %{-C:${_mydir}}%{!-C:.}/configure %{_target_platform} --prefix=%{_prefix} --exec-prefix=%{_exec_prefix} --bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} --datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} --libexecdir=%{_libexecdir} --localstatedir=%{_localstatedir} --sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir} --infodir=%{_infodir} %* ; + %{-C:cd "${_mydir}"; unset _mydir} +-14: ___NVRA %%{NAME}-%%{VERSION}-%%{RELEASE}%%|ARCH?{.%%|SOURCERPM?{%%{ARCH}}:{src}|}:{}| +-14: ___build_args -e +-14: ___build_cmd %{?_sudo:%{_sudo} }%{?_remsh:%{_remsh} %{_remhost} }%{?_remsudo:%{_remsudo} }%{?_remchroot:%{_remchroot} %{_remroot} }%{___build_shell} %{___build_args} +-14: ___build_post exit 0 +-14: ___build_pre + RPM_SOURCE_DIR="%{u2p:%{_sourcedir}}" + RPM_BUILD_DIR="%{u2p:%{_builddir}}" + RPM_OPT_FLAGS="%{optflags}" + RPM_ARCH="%{_arch}" + RPM_OS="%{_os}" + export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS + RPM_DOC_DIR="%{_docdir}" + export RPM_DOC_DIR + RPM_PACKAGE_NAME="%{name}" + RPM_PACKAGE_VERSION="%{version}" + RPM_PACKAGE_RELEASE="%{release}" + export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE + %{?buildroot:RPM_BUILD_ROOT="%{u2p:%{buildroot}}" + export RPM_BUILD_ROOT} + %{?_javaclasspath:CLASSPATH="%{_javaclasspath}" + export CLASSPATH} + unset PERL_MM_OPT || : + LANG=C + export LANG + unset DISPLAY || : + + %{verbose:set -x}%{!verbose:exec > /dev/null} + umask 022 + cd "%{u2p:%{_builddir}}" +-14: ___build_shell %{?_buildshell:%{_buildshell}}%{!?_buildshell:/bin/sh} +-14: ___build_template #!%{___build_shell} +%{___build_pre} +%{nil} +-14: __aclocal aclocal +-14: __ar ar +-14: __arch_install_post %{nil} +-14: __as /usr/bin/as +-14: __autoconf autoconf +-14: __autoheader autoheader +-14: __automake automake +-14: __awk gawk +-14: __bash /bin/bash +-14: __bzip2 /usr/bin/bzip2 +-14: __cat /bin/cat +-14: __cc gcc +-14: __check_files %{_rpmhome}/check-files %{buildroot} +-14: __chgrp /bin/chgrp +-14: __chmod /bin/chmod +-14: __chown /bin/chown +-14: __cp /bin/cp +-14: __cpio /bin/cpio +-14: __cpp gcc -E +-14: __curl /usr/bin/curl +-14: __cvs /usr/bin/cvs +-14: __cxx g++ +-14: __dbi_btconfig + btree + %{__dbi_other} + %{__dbi_perms} +%{nil} +-14: __dbi_btconfig_current %{__dbi_btconfig} +-14: __dbi_btconfig_rebuild %{__dbi_btconfig} %{__dbi_rebuild} +-14: __dbi_cdb create cdb mpool mp_mmapsize=16Mb mp_size=1Mb + thread_count=64 +-14: __dbi_htconfig + hash + %{__dbi_other} + %{__dbi_perms} +%{nil} +-14: __dbi_htconfig_current %{__dbi_htconfig} +-14: __dbi_htconfig_rebuild %{__dbi_htconfig} %{__dbi_rebuild} +-14: __dbi_other %{?_tmppath:tmpdir=%{_tmppath}} %{?__dbi_cdb} +-14: __dbi_perms perms=0644 +-14: __dbi_rebuild nofsync !log !txn !cdb +-14: __dbi_sqlconfig_current perms=0644 %{?_tmppath:tmpdir=%{_tmppath}} +-14: __dbi_sqlconfig_rebuild %{__dbi_sqlconfig_current} nofsync +-14: __dbi_transient %{__dbi_rebuild} temporary private +-14: __debug_install_post + %{_rpmhome}/find-debuginfo.sh %{?_missing_build_ids_terminate_build:--strict-build-id} %{?_find_debuginfo_opts} "%{_builddir}/%{?buildsubdir}" +%{nil} +-14: __diff /usr/bin/diff +-14: __ditto %{_bindir}/ditto +-14: __exeext %{nil} +-14: __file /usr/bin/file +-14: __file_context_path /etc/selinux/%{__policy_tree}/contexts/files/file_contexts +-14: __find /bin/find +-14: __find_provides %{_rpmhome}/find-provides +-14: __find_requires %{_rpmhome}/find-requires +-14: __gpg /usr/bin/gpg +-14: __gpg_check_password_cmd %{__gpg} + gpg --batch --no-verbose --passphrase-fd 3 -u "%{_gpg_name}" -so - +-14: __gpg_sign_cmd %{__gpg} + gpg --batch --no-verbose --no-armor --passphrase-fd 3 --no-secmem-warning + -u "%{_gpg_name}" -sbo %{__signature_filename} %{__plaintext_filename} +-14: __grep /bin/grep +-14: __gzip /bin/gzip +-14: __hg /usr/bin/hg +-14: __id /usr/bin/id +-14: __install /usr/bin/install +-14: __install_info /sbin/install-info +-14: __java_provides %{_rpmhome}/javadeps.sh --provides +-14: __java_requires %{_rpmhome}/javadeps.sh --requires +-14: __ld /usr/bin/ld +-14: __ldconfig /sbin/ldconfig +-14: __libext a +-14: __libtool_provides %{_rpmhome}/libtooldeps.sh --provides %{buildroot} %{name} +-14: __libtool_requires %{_rpmhome}/libtooldeps.sh --requires %{buildroot} %{name} +-14: __libtoolize libtoolize +-14: __ln_s ln -s +-14: __lua /usr/bin/lua +-14: __lzma /usr/bin/lzma +-14: __lzop /usr/bin/lzop +-14: __make /usr/bin/make +-14: __mkdir /bin/mkdir +-14: __mkdir_p /bin/mkdir -p +-14: __mono_provides %{_rpmhome}/mono-find-provides +-14: __mono_requires %{_rpmhome}/mono-find-requires +-14: __mv /bin/mv +-14: __nm /usr/bin/nm +-14: __objcopy /usr/bin/objcopy +-14: __objdump /usr/bin/objdump +-14: __objext o +-14: __os_install_post %{___build_post} +-14: __patch /usr/bin/patch +-14: __pax /usr/bin/pax +-14: __perl /usr/bin/perl +-14: __perl_provides %{_rpmhome}/perl.prov +-14: __perl_requires %{_rpmhome}/perl.req +-14: __pgp /usr/bin/pgp +-14: __pgp5_check_password_cmd %{__pgp} + pgps +batchmode=on +verbose=0 +armor=off "%{_pgp_name}" -f +-14: __pgp5_sign_cmd %{__pgp} + pgps +batchmode=on +verbose=0 +armor=off + "+myname=%{_pgp_name}" -b %{__plaintext_filename} -o %{__signature_filename} +-14: __pgp_check_password_cmd %{__pgp} + pgp +batchmode=on +verbose=0 "%{_pgp_name}" -sf +-14: __pgp_sign_cmd %{__pgp} + pgp +batchmode=on +verbose=0 +armor=off + "+myname=%{_pgp_name}" -sb %{__plaintext_filename} %{__signature_filename} +-14: __php /usr/bin/php +-14: __pkgconfig_provides %{_rpmhome}/pkgconfigdeps.sh --provides +-14: __pkgconfig_requires %{_rpmhome}/pkgconfigdeps.sh --requires +-14: __policy_tree %{expand:%%global __policy_tree %{lua: +t="targeted" +f = io.open("/etc/selinux/config") +if f then + for l in f:lines() do + if "SELINUXTYPE=" == string.sub(l,0,12) then t=string.sub(l,13); end + end + f:close() +end +print (t) +}}%{__policy_tree} +-14: __python /usr/bin/python +-14: __python_provides %{_rpmhome}/pythondeps.sh --provides +-14: __python_requires %{_rpmhome}/pythondeps.sh --requires +-14: __ranlib ranlib +-14: __remsh %{__rsh} +-14: __rm /bin/rm +-14: __rsh /usr/bin/rsh +-14: __scriptlet_requires /bin/bash --rpm-requires +-14: __sed /bin/sed +-14: __sh /bin/sh +-14: __shlibext so +-14: __spec_build_args %{___build_args} +-14: __spec_build_body %{___build_body} +-14: __spec_build_cmd %{___build_cmd} +-14: __spec_build_post %{___build_post} +-14: __spec_build_pre %{___build_pre} +-14: __spec_build_shell %{___build_shell} +-14: __spec_build_template #!%{__spec_build_shell} +%{__spec_build_pre} +%{nil} +-14: __spec_check_args %{___build_args} +-14: __spec_check_body %{___build_body} +-14: __spec_check_cmd %{___build_cmd} +-14: __spec_check_post %{___build_post} +-14: __spec_check_pre %{___build_pre} +-14: __spec_check_shell %{___build_shell} +-14: __spec_check_template #!%{__spec_check_shell} +%{__spec_check_pre} +%{nil} +-14: __spec_clean_args %{___build_args} +-14: __spec_clean_body %{?buildroot:%{__rm} -rf '%{buildroot}'} +%{nil} +-14: __spec_clean_cmd %{___build_cmd} +-14: __spec_clean_post %{nil} +-14: __spec_clean_pre %{___build_pre} +-14: __spec_clean_shell %{___build_shell} +-14: __spec_clean_template #!%{__spec_clean_cmd} +%{__spec_clean_pre} +%{nil} +-14: __spec_install_args %{___build_args} +-14: __spec_install_body %{___build_body} +-14: __spec_install_cmd %{___build_cmd} +-14: __spec_install_post +%{?__debug_package:%{__debug_install_post}} +%{__arch_install_post} +%{__os_install_post} +%{nil} +-14: __spec_install_pre %{___build_pre} +%{?buildroot:%{__rm} -rf '%{buildroot}'; %{__mkdir_p} '%{buildroot}'} +-14: __spec_install_shell %{___build_shell} +-14: __spec_install_template #!%{__spec_install_shell} +%{__spec_install_pre} +%{nil} +-14: __spec_prep_args %{___build_args} +-14: __spec_prep_body %{___build_body} +-14: __spec_prep_cmd %{___build_cmd} +-14: __spec_prep_post %{___build_post} +-14: __spec_prep_pre %{___build_pre} +-14: __spec_prep_shell %{___build_shell} +-14: __spec_prep_template #!%{__spec_prep_shell} +%{__spec_prep_pre} +%{nil} +-14: __spec_rmbuild_args %{___build_args} +-14: __spec_rmbuild_body %{___build_body} +-14: __spec_rmbuild_cmd %{___build_cmd} +-14: __spec_rmbuild_post %{___build_post} +-14: __spec_rmbuild_pre %{___build_pre} +-14: __spec_rmbuild_shell %{___build_shell} +-14: __spec_rmbuild_template #!%{__spec_rmbuild_shell} +%{__spec_rmbuild_pre} +%{nil} +-14: __spec_sanitycheck_args %{___build_args} +-14: __spec_sanitycheck_body %{___build_body} +-14: __spec_sanitycheck_cmd %{___build_cmd} +-14: __spec_sanitycheck_post %{___build_post} +-14: __spec_sanitycheck_pre %{___build_pre} +-14: __spec_sanitycheck_shell %{___build_shell} +-14: __spec_sanitycheck_template #!%{__spec_sanitycheck_shell} +%{__spec_sanitycheck_pre} +%{nil} +-14: __spec_track_args %{___build_args} +-14: __spec_track_body %{___build_body} +-14: __spec_track_cmd %{___build_cmd} +-14: __spec_track_post GO_SYSIN_DD +%{nil} +-14: __spec_track_pre %{__vcheck} %{verbose:--verbose}%{!verbose:--noverbose} -f - << GO_SYSIN_DD +-14: __spec_track_shell %{___build_shell} +-14: __spec_track_template #!%{__spec_track_shell} +%{__spec_track_pre} +%{nil} +-14: __ssh /usr/bin/ssh +-14: __strip /usr/bin/strip +-14: __svn /usr/bin/svn +-14: __tar /bin/tar +-14: __tclsh /usr/bin/tclsh +-14: __unzip /usr/bin/unzip +-14: __vcheck %{__perl} %{_rpmhome}/vcheck +-14: __vsflags 0xf0000 +-14: __wget /usr/bin/wget +-14: __xar /usr/bin/xar +-14: _arbitrary_tags Class:Track:Trackprog:Foo:Bar:Baz +-14: _arch i386 +-14: _autorelocate_dcolor 0 +-14: _autorelocate_path %{nil} +-14: _bhA %{nil} +-14: _bhN @(packages) +-14: _bhVR %{nil} +-14: _bhcoll @(updates) +-14: _bhpath file:///var/cache/yum +-14: _bindir %{_exec_prefix}/bin +-14: _build %{_host} +-14: _build_alias %{_host_alias} +-14: _build_arch i386 +-14: _build_binary_file_digest_algo %{_build_file_digest_algo} +-14: _build_cpu %{_host_cpu} +-14: _build_file_context_path %{nil} +-14: _build_file_digest_algo 1 +-14: _build_iconsize 2048 +-14: _build_name_fmt %%{ARCH}/%{___NVRA}.rpm +-14: _build_os %{_host_os} +-14: _build_platform %{_build_cpu}-%{_build_vendor}-%{_build_os}%{?_gnu} +-14: _build_source_file_digest_algo %{_build_file_digest_algo} +-14: _build_vendor %{_host_vendor} +-14: _builddir %{_ntopdir} +-14: _buildshell /bin/sh +-14: _cache_dbpath /var/cache/yum/rpmdb +-14: _changelog_truncate 1 year ago +-14: _datadir %{_prefix}/share +-14: _dbapi 3 +-14: _dbapi_rebuild 3 +-14: _dbapi_used %{?_rpmdb_rebuild:%{_dbapi_rebuild}}%{!?_rpmdb_rebuild:%{_dbapi}} +-14: _dbi_btconfig + %{?_rpmdb_rebuild:%{__dbi_btconfig_rebuild}} + %{!?_rpmdb_rebuild:%{__dbi_btconfig_current}} +%{nil} +-14: _dbi_config %{expand:%%{_dbi_config_%{_dbapi_used}}} +-14: _dbi_config_3 %{_dbi_btconfig} +-14: _dbi_config_3_Basenames %{_dbi_btconfig} +-14: _dbi_config_3_Conflictname %{_dbi_btconfig} +-14: _dbi_config_3_Depends %{_dbi_btconfig} temporary private +-14: _dbi_config_3_Dirnames %{_dbi_btconfig} +-14: _dbi_config_3_Filedigests %{_dbi_htconfig} +-14: _dbi_config_3_Group %{_dbi_btconfig} +-14: _dbi_config_3_Installtid %{_dbi_btconfig} +-14: _dbi_config_3_Name %{_dbi_btconfig} +-14: _dbi_config_3_Nvra %{_dbi_btconfig} noload +-14: _dbi_config_3_Packagecolor %{_dbi_htconfig} +-14: _dbi_config_3_Packages %{_dbi_btconfig} lockdbfd +-14: _dbi_config_3_Providename %{_dbi_btconfig} +-14: _dbi_config_3_Provideversion %{_dbi_btconfig} +-14: _dbi_config_3_Pubkeys %{_dbi_htconfig} +-14: _dbi_config_3_Removetid %{_dbi_btconfig} +-14: _dbi_config_3_Requirename %{_dbi_btconfig} +-14: _dbi_config_3_Requireversion %{_dbi_btconfig} +-14: _dbi_config_3_Sha1header %{_dbi_htconfig} +-14: _dbi_config_3_Sigmd5 %{_dbi_htconfig} +-14: _dbi_config_3_Sourcepkgid %{_dbi_btconfig} +-14: _dbi_config_3_Triggername %{_dbi_btconfig} +-14: _dbi_config_4 %{_dbi_sqlconfig} +-14: _dbi_config_4_Basenames %{_dbi_sqlconfig} +-14: _dbi_config_4_Conflictname %{_dbi_sqlconfig} +-14: _dbi_config_4_Depends %{_dbi_sqlconfig} temporary private +-14: _dbi_config_4_Dirnames %{_dbi_sqlconfig} +-14: _dbi_config_4_Filedigests %{_dbi_sqlconfig} +-14: _dbi_config_4_Group %{_dbi_sqlconfig} +-14: _dbi_config_4_Installtid %{_dbi_sqlconfig} +-14: _dbi_config_4_Name %{_dbi_sqlconfig} +-14: _dbi_config_4_Nvra %{_dbi_sqlconfig} noload +-14: _dbi_config_4_Packagecolor %{_dbi_sqlconfig} +-14: _dbi_config_4_Packages %{_dbi_sqlconfig} +-14: _dbi_config_4_Providename %{_dbi_sqlconfig} +-14: _dbi_config_4_Provideversion %{_dbi_sqlconfig} +-14: _dbi_config_4_Pubkeys %{_dbi_sqlconfig} +-14: _dbi_config_4_Removetid %{_dbi_sqlconfig} +-14: _dbi_config_4_Requirename %{_dbi_sqlconfig} +-14: _dbi_config_4_Requireversion %{_dbi_sqlconfig} +-14: _dbi_config_4_Sha1header %{_dbi_sqlconfig} +-14: _dbi_config_4_Sigmd5 %{_dbi_sqlconfig} +-14: _dbi_config_4_Sourcepkgid %{_dbi_sqlconfig} +-14: _dbi_config_4_Triggername %{_dbi_sqlconfig} +-14: _dbi_config_Basenames %{expand:%%{_dbi_config_%{_dbapi_used}_Basenames}} +-14: _dbi_config_Conflictname %{expand:%%{_dbi_config_%{_dbapi_used}_Conflictname}} +-14: _dbi_config_Depends %{expand:%%{_dbi_config_%{_dbapi_used}_Depends}} +-14: _dbi_config_Dirnames %{expand:%%{_dbi_config_%{_dbapi_used}_Dirnames}} +-14: _dbi_config_Filedigests %{expand:%%{_dbi_config_%{_dbapi_used}_Filedigests}} +-14: _dbi_config_Group %{expand:%%{_dbi_config_%{_dbapi_used}_Group}} +-14: _dbi_config_Installtid %{expand:%%{_dbi_config_%{_dbapi_used}_Installtid}} +-14: _dbi_config_Name %{expand:%%{_dbi_config_%{_dbapi_used}_Name}} +-14: _dbi_config_Nvra %{expand:%%{_dbi_config_%{_dbapi_used}_Nvra}} +-14: _dbi_config_Packagecolor %{expand:%%{_dbi_config_%{_dbapi_used}_Packagecolor}} +-14: _dbi_config_Packages %{expand:%%{_dbi_config_%{_dbapi_used}_Packages}} +-14: _dbi_config_Providename %{expand:%%{_dbi_config_%{_dbapi_used}_Providename}} +-14: _dbi_config_Provideversion %{expand:%%{_dbi_config_%{_dbapi_used}_Provideversion}} +-14: _dbi_config_Pubkeys %{expand:%%{_dbi_config_%{_dbapi_used}_Pubkeys}} +-14: _dbi_config_Removetid %{expand:%%{_dbi_config_%{_dbapi_used}_Removetid}} +-14: _dbi_config_Requirename %{expand:%%{_dbi_config_%{_dbapi_used}_Requirename}} +-14: _dbi_config_Requireversion %{expand:%%{_dbi_config_%{_dbapi_used}_Requireversion}} +-14: _dbi_config_Sha1header %{expand:%%{_dbi_config_%{_dbapi_used}_Sha1header}} +-14: _dbi_config_Sigmd5 %{expand:%%{_dbi_config_%{_dbapi_used}_Sigmd5}} +-14: _dbi_config_Sourcepkgid %{expand:%%{_dbi_config_%{_dbapi_used}_Sourcepkgid}} +-14: _dbi_config_Triggername %{expand:%%{_dbi_config_%{_dbapi_used}_Triggername}} +-14: _dbi_htconfig + %{?_rpmdb_rebuild:%{__dbi_htconfig_rebuild}} + %{!?_rpmdb_rebuild:%{__dbi_htconfig_current}} +%{nil} +-14: _dbi_sqlconfig + %{?_rpmdb_rebuild:%{__dbi_sqlconfig_rebuild}} + %{!?_rpmdb_rebuild:%{__dbi_sqlconfig_current}} +%{nil} +-14: _dbi_tags %{expand:%%{_dbi_tags_%{_dbapi_used}}} +-14: _dbi_tags_3 Packages:Name:Basenames:Group:Requirename:Providename:Conflictname:Triggername:Dirnames:Requireversion:Provideversion:Installtid:Sigmd5:Sha1header:Filedigests:Pubkeys:Packagecolor:Nvra:Sourcepkgid +-14: _dbi_tags_4 Packages:Name:Basenames:Group:Requirename:Providename:Conflictname:Triggername:Dirnames:Requireversion:Provideversion:Installtid:Sigmd5:Sha1header:Filedigests:Pubkeys:Packagecolor:Nvra:Sourcepkgid +-14: _dbpath %{_topdir}/tmp/rpmdb/ +-14: _dbpath_rebuild %{_dbpath} +-14: _defaultdocdir %{_usr}/doc +-14: _dependency_whiteout + %{?_dependency_whiteout_caos_core} + %{?_dependency_whiteout_system} + %{nil} +-14: _dependency_whiteout_caos_core + glibc-common>glibc + glibc>nscd +-14: _disable_shell_interpreter_deps 0 +-14: _etcrpm %{_testdir} +-14: _exec_prefix %{_prefix} +-14: _filter_GLIBC_PRIVATE 0 +-14: _gnu -gnu +-14: _hkp_keyserver hkp://subkeys.pgp.net +-14: _hkp_keyserver_query %{_hkp_keyserver}/pks/lookup?op=get&search=0x +-14: _host i686-pc-linux-gnu +-14: _host_alias %{nil} +-14: _host_cpu i686 +-14: _host_os linux-gnu +-14: _host_platform %{_host_cpu}-%{_host_vendor}-%{_host_os}%{?_gnu} +-14: _host_vendor pc +-14: _hrmib_path %{_tmppath}/hrmib/%{___NVRA} +-14: _icondir %{_sourcedir} +-14: _includedir %{_prefix}/include +-14: _infodir %{_prefix}/info +-14: _initrddir %{_sysconfdir}/rc.d/init.d +-14: _install_file_context_path %{__file_context_path} +-14: _install_langs all +-14: _install_script_path /sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin +-14: _javadir %{_datadir}/java +-14: _javadocdir %{_datadir}/javadoc +-14: _legion %{expand:%%global ._legion %{name}}%{_legion} +-14: _lib lib +-14: _libdir %{_exec_prefix}/%{_lib} +-14: _libexecdir %{_exec_prefix}/libexec +-14: _localedir %{_datadir}/locale +-14: _localstatedir %{_prefix}/var +-14: _mandir %{_prefix}/man +-14: _missing_doc_files_terminate_build 1 +-14: _multilibpatt (/%{_lib}|/usr/%{_lib}(|/gconv)|/usr/local/%{_lib}|/usr/X11R6/%{_lib}|/opt/%{_lib})/[^/]*\.([oa]|la|so[0-9.]*)$ +-14: _ntopdir %{_topdir}/%{_legion} +-14: _oldincludedir /usr/include +-14: _openall_before_chroot 0 +-14: _os linux +-14: _package_version 30005 +-14: _patchdir %{_sourcedir} +-14: _pgpbin %{__pgp} +-14: _prefix /usr +-14: _query_all_fmt %{___NVRA} +-14: _query_hdlist_path %{_datadir}/comps/%{_arch}/hdlist +-14: _query_selector_match default +-14: _repackage_all_erasures 1 +-14: _repackage_dir %{_tmppath}/repackage/ +-14: _repackage_name_fmt %{___NVRA}.rpm +-14: _repackage_root %{nil} +-14: _rollback_transaction_on_failure 0 +-14: _rpmdir %{_ntopdir} +-14: _rpmds_cpuinfo_path /proc/cpuinfo +-14: _rpmds_crle_cmd /usr/bin/crle +-14: _rpmds_filter_name archfilter +-14: _rpmds_getconf_path / +-14: _rpmds_ldconfig_cache /etc/ld.so.cache +-14: _rpmds_ldconfig_cmd /sbin/ldconfig -p +-14: _rpmds_perldeps_cmd %{__find} %{_libdir}/perl5 | %{_rpmhome}/perl.prov +-14: _rpmds_rld_search_path /lib:/usr/lib +-14: _rpmds_sysinfo_path %{_topdir}/sysinfo/ +-14: _rpmfc_magic_path %{_rpmhome}/magic +-14: _rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm +-14: _rpmgi_pattern_glob %{_rpmdir}/*/ +-14: _rpmgi_pattern_regex ^.+/%1-[^-]+-[^-]+\.[^.]+\.rpm$ +-14: _rpmgio .ufdio +-14: _rpmhome %{_usrlibrpm} +-14: _rpmversion 5.2.DEVEL +-14: _sbindir %{_exec_prefix}/sbin +-14: _sharedstatedir %{_prefix}/com +-14: _signature gpg +-14: _smp_mflags %([ -z "$RPM_BUILD_NCPUS" ] \ + && RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"; \ + [ "$RPM_BUILD_NCPUS" -gt 1 ] && echo "-j$RPM_BUILD_NCPUS") +-14: _sourcedir %{_ntopdir} +-14: _spec_line_buffer_size 100000 +-14: _specdir %{_ntopdir} +-14: _srcrpmdir %{_ntopdir} +-14: _sysconfdir %{_prefix}/etc +-11: _target i386-linux +-14: _target_alias %{_host_alias} +-11= _target_cpu i386 +-11= _target_os linux +-14: _target_platform %{_target_cpu}-%{_target_vendor}-%{_target_os}%{?_gnu} +-14: _target_vendor %{_host_vendor} +-14= _testdir ../tests +-14: _tmppath %{_topdir}/tmp/ +-14= _topdir %{_testdir} +-14: _transaction_color 3 +-14: _unpackaged_files_terminate_build 1 +-14: _unsafe_rollbacks 0 +-14: _use_internal_dependency_generator 2 +-14: _usr /usr +-14= _usrlibrpm /usr/lib/rpm +-14: _usrsrc %{_usr}/src +-14: _uuid_auth http://rpm5.org/ +-14: _uuid_path /package +-14: _var /var +-14: _varrun /var/run +-14: _vendor redhat +-14: _verify_file_context_path %{__file_context_path} +-14: _vsflags_build %{__vsflags} +-14: _vsflags_erase %{__vsflags} +-14: _vsflags_install %{__vsflags} +-14: _vsflags_query %{__vsflags} +-14: _vsflags_rebuilddb %{__vsflags} +-14: _vsflags_verify %{__vsflags} +-14: alpha alpha alphaev56 alphaev6 alphaev67 +-14: arm arm armv3 armv3l armv3b armv4 armv4l armv4b armv5 armv5l armv5b armv5te armv5tel armv5teb xscale armv6 armv6l +-14: bcond_with %{expand:%%{?_with_%{1}:%%global with_%{1} 1}} +-14: bcond_without %{expand:%%{!?_without_%{1}:%%global with_%{1} 1}} +-14: buildroot %{_tmppath}/%{name}-root +-14: configure + CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; + CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; + FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; + ./configure --host=%{_host} --build=%{_build} \ + --target=%{_target_platform} \ + --program-prefix=%{?_program_prefix} \ + --prefix=%{_prefix} \ + --exec-prefix=%{_exec_prefix} \ + --bindir=%{_bindir} \ + --sbindir=%{_sbindir} \ + --sysconfdir=%{_sysconfdir} \ + --datadir=%{_datadir} \ + --includedir=%{_includedir} \ + --libdir=%{_libdir} \ + --libexecdir=%{_libexecdir} \ + --localstatedir=%{_localstatedir} \ + --sharedstatedir=%{_sharedstatedir} \ + --mandir=%{_mandir} \ + --infodir=%{_infodir} +-14: debug_package +%ifnarch noarch +%global __debug_package 1 +%package debug +Summary: Debug information for package %{name} +Group: Development/Debug +AutoReqProv: 0 +%description debug +This package provides debug information for package %{name}. +Debug information is useful when developing applications that use this +package or when debugging this package. +%files debug -f debugfiles.list +%defattr(-,root,root) +%endif +%{nil} +-14: defined %{expand:%%{?%{1}:1}%%{!?%{1}:0}} +-14: find_lang %{_rpmhome}/find-lang.sh %{buildroot} +-14: ix86 i386 i486 i586 i686 pentium3 pentium4 athlon +-14: make %{__make} +-14: makeinstall + make \ + prefix=%{?buildroot:%{buildroot}}%{_prefix} \ + exec_prefix=%{?buildroot:%{buildroot}}%{_exec_prefix} \ + bindir=%{?buildroot:%{buildroot}}%{_bindir} \ + sbindir=%{?buildroot:%{buildroot}}%{_sbindir} \ + sysconfdir=%{?buildroot:%{buildroot}}%{_sysconfdir} \ + datadir=%{?buildroot:%{buildroot}}%{_datadir} \ + includedir=%{?buildroot:%{buildroot}}%{_includedir} \ + libdir=%{?buildroot:%{buildroot}}%{_libdir} \ + libexecdir=%{?buildroot:%{buildroot}}%{_libexecdir} \ + localstatedir=%{?buildroot:%{buildroot}}%{_localstatedir} \ + sharedstatedir=%{?buildroot:%{buildroot}}%{_sharedstatedir} \ + mandir=%{?buildroot:%{buildroot}}%{_mandir} \ + infodir=%{?buildroot:%{buildroot}}%{_infodir} \ + install +-14: nil %{!?nil} +-14: optflags -O2 +-14: patch(b:p:P:REz:F:d:) %{shrink: +%define __patch_number %{-P:%{-P*}}%{!-P:0} +%define __patch_file %{P:%{__patch_number}} +%define __patch_suffix %{-b:-b --suffix %{-b*}} %{-z:--suffix %{-z*}} +%define __patch_options -s %{-p:-p%{-p*}} %{-F:-F%{-F*}} %{-d:-d%{-d*}} %{-R} %{-E} %{__patch_suffix} +echo "Patch #%{__patch_number} (%{basename:%{__patch_file}}):" && %{uncompress:%{__patch_file}} | %{__patch} %{__patch_options} +} +-14: patches %{lua: for i, p in ipairs(patches) do print(p.." ") end} +-14: perl_archlib %(eval "`%{__perl} -V:installarchlib`"; echo $installarchlib) +-14: perl_privlib %(eval "`%{__perl} -V:installprivlib`"; echo $installprivlib) +-14: perl_sitearch %(eval "`%{__perl} -V:installsitearch`"; echo $installsitearch) +-14: perl_sitelib %(eval "`%{__perl} -V:installsitelib`"; echo $installsitelib) +-14: perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch) +-14: perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib) +-14: perl_version %(eval "`%{__perl} -V:version`"; echo $version) +-14: py_compile(O) +find %1 -name '*.pyc' -name '*.pyo' -exec rm -f {} \; +%{__python} %{?O:-O} -c "import sys, os, compileall; br='%{buildroot}'; compileall.compile_dir(sys.argv[1], ddir=br and (sys.argv[1][len(os.path.abspath(br)):]+'/') or None)" %1 +-14: py_requires(d) +%define maxver %(%{__python} -c "import sys; a,b=sys.version_info[:2]; print '%%d.%%d'%%(a,b+1)" 2>/dev/null || echo PYTHON-NOT-FOUND) +BuildRequires: python %{-d:python-devel} +PreReq: python >= %{python_version}, python < %{maxver} +-14: python_sitearch %(%{__python} -c "import os; from distutils.sysconfig import get_python_lib; lib=get_python_lib(1); print os.path.islink(lib) and os.path.abspath(os.path.join(os.path.dirname(lib),os.readlink(lib))) or lib") +-14: python_sitelib %(%{__python} -c "import os; from distutils.sysconfig import get_python_lib; lib=get_python_lib(); print os.path.islink(lib) and os.path.abspath(os.path.join(os.path.dirname(lib),os.readlink(lib))) or lib") +-14: python_version %(%{__python} -c "import sys; print(sys.version[0:3])") +-14: requires_eq %(echo '%*' | LC_ALL="C" xargs -r rpm -q --qf 'Requires: %%{name} = %%{epoch}:%%{version}\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not") +-14: rpm_license_check %{expand:%%define rpm_license_check %{lua: +f = io.open("/dev/tty", "w") +if f then + f:write ("\nJust checking to see who is using rpm-5.2.DEVEL.\nThe RPM Package Manager license is LGPL, as always.\nRelax ...\n") + f:close() +end +}1}%{rpm_license_check} +-15: sigtype none +-14: sources %{lua: for i, s in ipairs(sources) do print(s.." ") end} +-14: sparc sun4 sun4m sun4c sun4d sun4u sparc sparcv8 sparcv9 sparc64 sparc64v sparcv9b sparcv9v sparcv9v2 +-14: tmpdir %{_tmppath} +-14: undefined %{expand:%%{?%{1}:0}%%{!?%{1}:1}} +-14: with %{expand:%%{?with_%{1}:1}%%{!?with_%{1}:0}} +-14: without %{expand:%%{?with_%{1}:0}%%{!?with_%{1}:1}} +======================== active 422 empty 0 @@ . patch -p0 <<'@@ .' Index: rpm/tests/ref/version ============================================================================ $ cvs diff -u -r0 -r1.1 version --- /dev/null 2008-06-06 19:22:00 +0200 +++ version 2008-06-06 19:25:31 +0200 @@ -0,0 +1,2 @@ +lt-rpm (RPM) 5.2.DEVEL +rpmlib 0x28400000,0x7d800000,0x52504d35 @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository rpm-cvs@rpm5.org