openpkg/rpm.patch.feature

changeset 336
fa72b60f59c9
parent 333
4ecfc2416fd8
child 427
71503088f51b
     1.1 --- a/openpkg/rpm.patch.feature	Wed Mar 30 19:35:16 2011 +0200
     1.2 +++ b/openpkg/rpm.patch.feature	Wed Mar 30 19:37:58 2011 +0200
     1.3 @@ -314,7 +314,7 @@
     1.4  Index: build/build.c
     1.5  --- build/build.c	4 Mar 2003 15:27:33 -0000	1.1.1.20
     1.6  +++ build/build.c	6 Feb 2004 15:37:57 -0000	1.4
     1.7 -@@ -113,6 +129,14 @@
     1.8 +@@ -129,6 +129,14 @@
     1.9   	mTemplate = "%{__spec_clean_template}";
    1.10   	mPost = "%{__spec_clean_post}";
    1.11   	break;
    1.12 @@ -329,7 +329,7 @@
    1.13       case RPMBUILD_STRINGBUF:
    1.14       default:
    1.15   	mTemplate = "%{___build_template}";
    1.16 -@@ -169,7 +193,11 @@
    1.17 +@@ -185,7 +193,11 @@
    1.18   
    1.19       (void) fputs(buildTemplate, fp);
    1.20   
    1.21 @@ -341,7 +341,7 @@
    1.22   	fprintf(fp, "cd %s\n", spec->buildSubdir);
    1.23   
    1.24       if (what == RPMBUILD_RMBUILD) {
    1.25 -@@ -215,6 +243,9 @@
    1.26 +@@ -231,6 +243,9 @@
    1.27       buildCmd = rpmExpand("%{___build_cmd}", " ", buildScript, NULL);
    1.28       (void) poptParseArgvString(buildCmd, &argc, &argv);
    1.29   
    1.30 @@ -351,7 +351,7 @@
    1.31       rpmMessage(RPMMESS_NORMAL, _("Executing(%s): %s\n"), name, buildCmd);
    1.32       if (!(child = fork())) {
    1.33   
    1.34 -@@ -290,6 +323,12 @@
    1.35 +@@ -306,6 +323,12 @@
    1.36   /*@=boundsread@*/
    1.37   	}
    1.38       } else {
    1.39 @@ -375,7 +375,7 @@
    1.40  Index: build/build.c
    1.41  --- build/build.c	4 Mar 2003 15:27:33 -0000	1.1.1.20
    1.42  +++ build/build.c	6 Feb 2004 15:37:57 -0000	1.4
    1.43 -@@ -242,7 +273,9 @@
    1.44 +@@ -273,7 +273,9 @@
    1.45       
    1.46   exit:
    1.47       if (scriptName) {
    1.48 @@ -398,7 +398,7 @@
    1.49  Index: build/build.c
    1.50  --- build/build.c	4 Mar 2003 15:27:33 -0000	1.1.1.20
    1.51  +++ build/build.c	6 Feb 2004 15:37:57 -0000	1.4
    1.52 -@@ -338,6 +377,21 @@
    1.53 +@@ -377,6 +377,21 @@
    1.54       if (what & RPMBUILD_RMSPEC)
    1.55   	(void) Unlink(spec->specFile);
    1.56   
    1.57 @@ -451,7 +451,7 @@
    1.58  Index: build/files.c
    1.59  --- build/files.c	4 Mar 2003 17:04:13 -0000	1.1.1.20
    1.60  +++ build/files.c	6 Feb 2004 15:37:57 -0000	1.3
    1.61 -@@ -2183,6 +2185,12 @@
    1.62 +@@ -2185,6 +2185,12 @@
    1.63   	case RPMTAG_CHANGELOGTEXT:
    1.64   	case RPMTAG_URL:
    1.65   	case HEADER_I18NTABLE:
    1.66 @@ -473,7 +473,7 @@
    1.67  Index: build/files.c
    1.68  --- build/files.c	4 Mar 2003 17:04:13 -0000	1.1.1.20
    1.69  +++ build/files.c	6 Feb 2004 15:37:57 -0000	1.3
    1.70 -@@ -2253,8 +2261,20 @@
    1.71 +@@ -2261,8 +2261,20 @@
    1.72   	}
    1.73   
    1.74         {	const char * sfn;
    1.75 @@ -494,7 +494,7 @@
    1.76   	appendLineStringBuf(sourceFiles, sfn);
    1.77   	sfn = _free(sfn);
    1.78         }
    1.79 -@@ -2263,8 +2283,20 @@
    1.80 +@@ -2271,8 +2283,20 @@
    1.81       for (pkg = spec->packages; pkg != NULL; pkg = pkg->next) {
    1.82   	for (srcPtr = pkg->icon; srcPtr != NULL; srcPtr = srcPtr->next) {
    1.83   	    const char * sfn;
    1.84 @@ -753,7 +753,7 @@
    1.85  Index: build/parsePrep.c
    1.86  --- build/parsePrep.c	7 Aug 2002 14:20:45 -0000	1.1.1.10
    1.87  +++ build/parsePrep.c	6 Jun 2005 15:53:04 -0000	1.4
    1.88 -@@ -87,7 +88,15 @@
    1.89 +@@ -88,7 +88,15 @@
    1.90   	return NULL;
    1.91       }
    1.92   
    1.93 @@ -769,7 +769,7 @@
    1.94   
    1.95       args[0] = '\0';
    1.96       if (db) {
    1.97 -@@ -182,7 +201,15 @@
    1.98 +@@ -193,7 +201,15 @@
    1.99   	return NULL;
   1.100       }
   1.101   
   1.102 @@ -872,7 +872,7 @@
   1.103  Index: configure.ac
   1.104  --- configure.ac	2 Jul 2003 19:20:52 -0000	1.1.1.4
   1.105  +++ configure.ac	13 Sep 2006 13:39:09 -0000
   1.106 -@@ -310,7 +311,7 @@
   1.107 +@@ -311,7 +311,7 @@
   1.108   WITH_ZLIB_SUBDIR=
   1.109   WITH_ZLIB_INCLUDE=
   1.110   WITH_ZLIB_LIB=
   1.111 @@ -890,7 +890,7 @@
   1.112  Index: configure.ac
   1.113  --- configure.ac	2 Jul 2003 19:20:52 -0000	1.1.1.4
   1.114  +++ configure.ac	13 Sep 2006 13:39:11 -0000
   1.115 -@@ -324,38 +325,38 @@
   1.116 +@@ -325,38 +325,38 @@
   1.117   
   1.118   localdone=
   1.119   
   1.120 @@ -968,7 +968,7 @@
   1.121  Index: configure.ac
   1.122  --- configure.ac	2 Jul 2003 19:20:52 -0000	1.1.1.4
   1.123  +++ configure.ac	13 Sep 2006 13:39:12 -0000
   1.124 -@@ -1200,12 +1201,12 @@
   1.125 +@@ -1201,12 +1201,12 @@
   1.126   AC_SUBST(LOCALEDIR)
   1.127   LIBDIR="`echo $libdir | sed 's-/lib$-/%{_lib}-'`"
   1.128   AC_SUBST(LIBDIR)
   1.129 @@ -983,7 +983,7 @@
   1.130   AC_DEFINE_UNQUOTED(SYSCONFIGDIR, "$SYSCONFIGDIR",
   1.131   	[Full path to rpm system configuration directory (usually /etc/rpm)])
   1.132   AC_SUBST(SYSCONFIGDIR)
   1.133 -@@ -1215,17 +1216,17 @@
   1.134 +@@ -1216,17 +1216,17 @@
   1.135   	[Colon separated paths of macro files to read.])
   1.136   AC_SUBST(MACROFILES)
   1.137   
   1.138 @@ -1560,7 +1560,7 @@
   1.139  Index: rpmio/macro.c
   1.140  --- rpmio/macro.c	15 May 2003 13:42:01 -0000	1.1.1.7
   1.141  +++ rpmio/macro.c	22 Jan 2004 21:42:32 -0000	1.2
   1.142 -@@ -1116,9 +1119,11 @@
   1.143 +@@ -1119,9 +1119,11 @@
   1.144   	case 2:	/* COMPRESSED_BZIP2 */
   1.145   	    sprintf(be, "%%_bzip2 %s", b);
   1.146   	    break;
   1.147 @@ -1572,7 +1572,7 @@
   1.148   	}
   1.149   	b = be;
   1.150       } else if (STREQ("S", f, fn)) {
   1.151 -@@ -1720,9 +1725,11 @@
   1.152 +@@ -1723,9 +1725,11 @@
   1.153   
   1.154       if ((magic[0] == 'B') && (magic[1] == 'Z')) {
   1.155   	*compressed = COMPRESSED_BZIP2;
   1.156 @@ -1592,7 +1592,7 @@
   1.157  Index: rpmio/macro.c
   1.158  --- rpmio/macro.c	15 May 2003 13:42:01 -0000	1.1.1.7
   1.159  +++ rpmio/macro.c	22 Jan 2004 21:42:32 -0000	1.2
   1.160 -@@ -1332,7 +1337,7 @@
   1.161 +@@ -1337,7 +1337,7 @@
   1.162   	    STREQ("error", f, fn)) {
   1.163   		int waserror = 0;
   1.164   		if (STREQ("error", f, fn))
   1.165 @@ -1823,7 +1823,7 @@
   1.166  Index: rpmqv.c
   1.167  --- rpmqv.c	4 Mar 2003 15:32:57 -0000	1.1.1.8
   1.168  +++ rpmqv.c	6 Feb 2004 15:37:56 -0000	1.4
   1.169 -@@ -703,7 +707,19 @@
   1.170 +@@ -707,7 +707,19 @@
   1.171   	    /*@innerbreak@*/ break;
   1.172   	case 's':
   1.173   	    ba->buildAmount |= RPMBUILD_PACKAGESOURCE;
   1.174 @@ -1916,7 +1916,7 @@
   1.175       }
   1.176       /*@=branchstate@*/
   1.177   
   1.178 -@@ -303,6 +312,11 @@
   1.179 +@@ -304,6 +313,11 @@
   1.180   	      case PART_VERIFYSCRIPT:
   1.181   		pkg->verifyFile = xstrdup(file);
   1.182   		break;
   1.183 @@ -2093,7 +2093,7 @@
   1.184   
   1.185       p->specialDoc = NULL;
   1.186   
   1.187 -@@ -444,6 +455,9 @@
   1.188 +@@ -452,6 +463,9 @@
   1.189       spec->install = NULL;
   1.190       spec->check = NULL;
   1.191       spec->clean = NULL;
   1.192 @@ -2103,7 +2103,7 @@
   1.193   
   1.194       spec->sources = NULL;
   1.195       spec->packages = NULL;
   1.196 -@@ -491,6 +505,9 @@
   1.197 +@@ -499,6 +513,9 @@
   1.198       spec->install = freeStringBuf(spec->install);
   1.199       spec->check = freeStringBuf(spec->check);
   1.200       spec->clean = freeStringBuf(spec->clean);
   1.201 @@ -2193,7 +2193,7 @@
   1.202       { RPMTAG_DISTURL,		"%{disturl}" },
   1.203       { -1, NULL }
   1.204   };
   1.205 -@@ -537,6 +547,7 @@
   1.206 +@@ -545,6 +547,7 @@
   1.207   	(void) stashSt(spec, pkg->header, tag, lang);
   1.208   	/*@fallthrough@*/
   1.209       case RPMTAG_DISTRIBUTION:
   1.210 @@ -2201,7 +2201,7 @@
   1.211       case RPMTAG_VENDOR:
   1.212       case RPMTAG_LICENSE:
   1.213       case RPMTAG_PACKAGER:
   1.214 -@@ -743,6 +754,7 @@
   1.215 +@@ -751,6 +754,7 @@
   1.216       {RPMTAG_LICENSE,		0, 0, "copyright"},
   1.217       {RPMTAG_LICENSE,		0, 0, "license"},
   1.218       {RPMTAG_DISTRIBUTION,	0, 0, "distribution"},

mercurial