Accepting request 147491 from devel:Factory:ARM
- Update to 4.10.2 - Update to 4.10.2 - update to 4.10.2 (bnc#796375): * Fix missing error code on unparseable signature in packages, regression introduced in rpm 4.10.0. This could result in packages with malformed signature falling through signature checking. * Fix missing error code on --import on bogus key file (RhBug:869667) * Fix installation of packages containing skipped hardlinks (RhBug:864622) * Fix --setperms regression introduced in rpm 4.10.0 (RhBug:881835) * Fix locale dependent behavior in rpm2cpio.sh (RhBug:878363) * Add --undefine cli switch for undefining macros (related to RhBug:876308) * Fix warnings when building with gcc >= 4.7 * Permit key imports on transactions where signature checking is disabled, regression of sorts introduced in 4.10.0 (RhBug:856225) * Fix RPMPROB_FILTER_FORCERELOCATE aka --badreloc, regression introduced in 4.9.0 (RhBug:828784) * Verify files from non-installed packages again, regression introduced in 4.9.0 (RhBug:826589) * Fix large (> 4GB) package support, regression introduced in 4.9.0 (RhBug:844936) * Only create the first instance of a file shared between multiple packages on install (speedup + improved verification timestamp behavior) * Report config and missinok flags too in deptype format extension * Fix relative path handling in --whatprovides query * Add --noclean and --nocheck options to rpmbuild (RhBug:756531) * Permit non-existent %ghost directories to be packaged (RhBug:839656) * Dont silence patch by default (RhBug:678000, RhBug:773503) * Accept "owner" as an alias to "user" %verify attribute (RhBug:838657) OBS-URL: https://build.opensuse.org/request/show/147491 OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=245
This commit is contained in:
parent
e325393a07
commit
0a1fcefb6d
@ -1,22 +0,0 @@
|
|||||||
--- ./rpmio/rpmio.c.orig 2012-08-30 16:47:57.000000000 +0000
|
|
||||||
+++ ./rpmio/rpmio.c 2012-08-30 16:54:01.000000000 +0000
|
|
||||||
@@ -1370,7 +1370,7 @@ static void cvtfmode (const char *m,
|
|
||||||
|
|
||||||
FD_t Fdopen(FD_t ofd, const char *fmode)
|
|
||||||
{
|
|
||||||
- char stdio[20], other[20], zstdio[20];
|
|
||||||
+ char stdio[20], other[20], zstdio[40];
|
|
||||||
const char *end = NULL;
|
|
||||||
FDIO_t iof = NULL;
|
|
||||||
FD_t fd = ofd;
|
|
||||||
@@ -1385,8 +1385,8 @@ fprintf(stderr, "*** Fdopen(%p,%s) %s\n"
|
|
||||||
if (stdio[0] == '\0')
|
|
||||||
return NULL;
|
|
||||||
zstdio[0] = '\0';
|
|
||||||
- strncat(zstdio, stdio, sizeof(zstdio) - strlen(zstdio));
|
|
||||||
- strncat(zstdio, other, sizeof(zstdio) - strlen(zstdio));
|
|
||||||
+ strncat(zstdio, stdio, sizeof(zstdio) - strlen(zstdio) - 1);
|
|
||||||
+ strncat(zstdio, other, sizeof(zstdio) - strlen(zstdio) - 1);
|
|
||||||
|
|
||||||
if (end == NULL && other[0] == '\0')
|
|
||||||
return fd;
|
|
@ -1,25 +1,7 @@
|
|||||||
SUSE specific kernel provides/requires scripts
|
SUSE specific kernel provides/requires scripts
|
||||||
|
|
||||||
--- ./scripts/Makefile.am.orig 2011-05-11 14:31:45.000000000 +0000
|
--- scripts/find-provides.ksyms
|
||||||
+++ ./scripts/Makefile.am 2011-05-11 14:46:38.000000000 +0000
|
+++ scripts/find-provides.ksyms
|
||||||
@@ -16,6 +16,7 @@ EXTRA_DIST = \
|
|
||||||
rpmdb_loadcvt rpm.daily rpm.log rpm2cpio.sh \
|
|
||||||
tcl.req tgpg vpkg-provides.sh \
|
|
||||||
find-requires.php find-provides.php \
|
|
||||||
+ find-requires.ksyms find-provides.ksyms \
|
|
||||||
find-php-provides find-php-requires \
|
|
||||||
mono-find-requires mono-find-provides \
|
|
||||||
ocaml-find-requires.sh ocaml-find-provides.sh \
|
|
||||||
@@ -32,6 +33,7 @@ rpmconfig_SCRIPTS = \
|
|
||||||
check-buildroot check-rpaths check-rpaths-worker \
|
|
||||||
find-lang.sh \
|
|
||||||
perl.prov perl.req perldeps.pl pythondeps.sh osgideps.pl \
|
|
||||||
+ find-requires.ksyms find-provides.ksyms \
|
|
||||||
mono-find-requires mono-find-provides \
|
|
||||||
pkgconfigdeps.sh libtooldeps.sh \
|
|
||||||
ocaml-find-requires.sh ocaml-find-provides.sh \
|
|
||||||
--- ./scripts/find-provides.ksyms.orig 2011-05-11 14:46:38.000000000 +0000
|
|
||||||
+++ ./scripts/find-provides.ksyms 2011-05-11 14:46:38.000000000 +0000
|
|
||||||
@@ -0,0 +1,41 @@
|
@@ -0,0 +1,41 @@
|
||||||
+#! /bin/sh
|
+#! /bin/sh
|
||||||
+
|
+
|
||||||
@ -62,8 +44,8 @@ SUSE specific kernel provides/requires scripts
|
|||||||
+ | sed -r -ne "s/^0*([0-9a-f]+) A __crc_(.+)/ksym($flavor:\\2) = \\1/p"
|
+ | sed -r -ne "s/^0*([0-9a-f]+) A __crc_(.+)/ksym($flavor:\\2) = \\1/p"
|
||||||
+done \
|
+done \
|
||||||
+| sort -u
|
+| sort -u
|
||||||
--- ./scripts/find-requires.ksyms.orig 2011-05-11 14:46:38.000000000 +0000
|
--- scripts/find-requires.ksyms
|
||||||
+++ ./scripts/find-requires.ksyms 2011-05-11 14:46:38.000000000 +0000
|
+++ scripts/find-requires.ksyms
|
||||||
@@ -0,0 +1,57 @@
|
@@ -0,0 +1,57 @@
|
||||||
+#! /bin/bash
|
+#! /bin/bash
|
||||||
+
|
+
|
||||||
@ -122,3 +104,21 @@ SUSE specific kernel provides/requires scripts
|
|||||||
+ { print "ksym(" flavor ":" arr[3] ") = " arr[2] }
|
+ { print "ksym(" flavor ":" arr[3] ") = " arr[2] }
|
||||||
+ '
|
+ '
|
||||||
+fi
|
+fi
|
||||||
|
--- scripts/Makefile.am
|
||||||
|
+++ scripts/Makefile.am
|
||||||
|
@@ -15,6 +15,7 @@
|
||||||
|
rpmdb_loadcvt rpm.daily rpm.log rpm.supp rpm2cpio.sh \
|
||||||
|
tcl.req tgpg vpkg-provides.sh \
|
||||||
|
find-requires.php find-provides.php \
|
||||||
|
+ find-requires.ksyms find-provides.ksyms \
|
||||||
|
find-php-provides find-php-requires \
|
||||||
|
mono-find-requires mono-find-provides \
|
||||||
|
ocaml-find-requires.sh ocaml-find-provides.sh \
|
||||||
|
@@ -30,6 +31,7 @@
|
||||||
|
check-buildroot check-rpaths check-rpaths-worker \
|
||||||
|
find-lang.sh \
|
||||||
|
perl.prov perl.req perldeps.pl pythondeps.sh osgideps.pl \
|
||||||
|
+ find-requires.ksyms find-provides.ksyms \
|
||||||
|
mono-find-requires mono-find-provides \
|
||||||
|
pkgconfigdeps.sh libtooldeps.sh \
|
||||||
|
ocaml-find-requires.sh ocaml-find-provides.sh \
|
||||||
|
@ -1,30 +0,0 @@
|
|||||||
support missingok dependency bit
|
|
||||||
|
|
||||||
--- ./lib/depends.c.orig 2011-02-15 13:10:59.000000000 +0000
|
|
||||||
+++ ./lib/depends.c 2011-05-10 16:06:39.000000000 +0000
|
|
||||||
@@ -448,8 +448,13 @@ retry:
|
|
||||||
}
|
|
||||||
|
|
||||||
unsatisfied:
|
|
||||||
- rc = 1; /* dependency is unsatisfied */
|
|
||||||
- rpmdsNotify(dep, NULL, rc);
|
|
||||||
+ if (rpmdsFlags(dep) & RPMSENSE_MISSINGOK) {
|
|
||||||
+ rc = 0; /* dependency is unsatisfied, but just a hint. */
|
|
||||||
+ rpmdsNotify(dep, _("(hint skipped)"), rc);
|
|
||||||
+ } else {
|
|
||||||
+ rc = 1; /* dependency is unsatisfied */
|
|
||||||
+ rpmdsNotify(dep, NULL, rc);
|
|
||||||
+ }
|
|
||||||
|
|
||||||
exit:
|
|
||||||
return rc;
|
|
||||||
--- ./lib/rpmds.h.orig 2011-05-10 16:09:22.000000000 +0000
|
|
||||||
+++ ./lib/rpmds.h 2011-05-10 16:08:04.000000000 +0000
|
|
||||||
@@ -68,6 +68,7 @@ typedef rpmFlags rpmsenseFlags;
|
|
||||||
RPMSENSE_SCRIPT_POSTUN | \
|
|
||||||
RPMSENSE_SCRIPT_VERIFY | \
|
|
||||||
RPMSENSE_FIND_REQUIRES | \
|
|
||||||
+ RPMSENSE_MISSINGOK | \
|
|
||||||
RPMSENSE_RPMLIB | \
|
|
||||||
RPMSENSE_KEYRING | \
|
|
||||||
RPMSENSE_PRETRANS | \
|
|
@ -1,11 +0,0 @@
|
|||||||
--- ./lib/depends.c.orig 2012-08-28 13:38:20.000000000 +0000
|
|
||||||
+++ ./lib/depends.c 2012-08-28 13:38:31.000000000 +0000
|
|
||||||
@@ -455,7 +455,7 @@ static int rpmdbProvides(rpmts ts, depCa
|
|
||||||
mi = rpmtsPrunedIterator(ts, dbtag, Name, prune);
|
|
||||||
while ((h = rpmdbNextIterator(mi)) != NULL) {
|
|
||||||
int match;
|
|
||||||
- if (dbtag == RPMDBI_OBSOLETENAME) {
|
|
||||||
+ if (deptag == RPMDBI_OBSOLETENAME) {
|
|
||||||
match = rpmdsNVRMatchesDep(h, dep, _rpmds_nopromote);
|
|
||||||
} else {
|
|
||||||
match = rpmdsMatchesDep(h, rpmdbGetIteratorFileNum(mi), dep,
|
|
@ -1,11 +0,0 @@
|
|||||||
--- lib/rpmrc.c 2012/10/16 16:37:34 1.1
|
|
||||||
+++ lib/rpmrc.c 2012/10/16 16:38:10
|
|
||||||
@@ -1091,7 +1091,7 @@
|
|
||||||
# if defined(__linux__) && defined(__powerpc__)
|
|
||||||
{
|
|
||||||
int powerlvl;
|
|
||||||
- if (sscanf(rpmat.platform, "power%d", &powerlvl) == 1 && powerlvl > 6)
|
|
||||||
+ if (!rstreq(un.machine, "ppc") && sscanf(rpmat.platform, "power%d", &powerlvl) == 1 && powerlvl > 6)
|
|
||||||
strcpy(un.machine, "ppc64p7");
|
|
||||||
}
|
|
||||||
# endif /* ppc64*-linux */
|
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 2 14:25:09 UTC 2013 - dmueller@suse.com
|
||||||
|
|
||||||
|
- Update to 4.10.2
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Nov 4 08:54:25 UTC 2012 - coolo@suse.com
|
Sun Nov 4 08:54:25 UTC 2012 - coolo@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python3-rpm
|
# spec file for package python3-rpm
|
||||||
#
|
#
|
||||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: python3-rpm
|
Name: python3-rpm
|
||||||
Version: 4.10.0
|
Version: 4.10.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python Bindings for Manipulating RPM Packages
|
Summary: Python Bindings for Manipulating RPM Packages
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:0e2e237235b64c07ee4a4152e4eb77aad4eb559737eac9b6713c5e1bcabfe4a9
|
|
||||||
size 3530378
|
|
3
rpm-4.10.2.tar.bz2
Normal file
3
rpm-4.10.2.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e9278a2b40f08bae5a9592b9b42f11f88b2e880cc34e57113d53461ed7de6e7b
|
||||||
|
size 3545536
|
@ -1,5 +1,5 @@
|
|||||||
--- ./config.h.in.orig 2012-05-22 10:55:46.000000000 +0000
|
--- config.h.in
|
||||||
+++ ./config.h.in 2012-05-31 16:41:07.000000000 +0000
|
+++ config.h.in
|
||||||
@@ -13,6 +13,9 @@
|
@@ -13,6 +13,9 @@
|
||||||
/* Define to 1 if you have the `basename' function. */
|
/* Define to 1 if you have the `basename' function. */
|
||||||
#undef HAVE_BASENAME
|
#undef HAVE_BASENAME
|
||||||
@ -10,7 +10,7 @@
|
|||||||
/* Define to 1 if you have the <bzlib.h> header file. */
|
/* Define to 1 if you have the <bzlib.h> header file. */
|
||||||
#undef HAVE_BZLIB_H
|
#undef HAVE_BZLIB_H
|
||||||
|
|
||||||
@@ -206,6 +209,10 @@
|
@@ -203,6 +206,10 @@
|
||||||
*/
|
*/
|
||||||
#undef LT_OBJDIR
|
#undef LT_OBJDIR
|
||||||
|
|
||||||
@ -21,7 +21,7 @@
|
|||||||
/* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>.
|
/* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>.
|
||||||
*/
|
*/
|
||||||
#undef MAJOR_IN_MKDEV
|
#undef MAJOR_IN_MKDEV
|
||||||
@@ -290,6 +297,9 @@
|
@@ -287,6 +294,9 @@
|
||||||
/* Build with acl support? */
|
/* Build with acl support? */
|
||||||
#undef WITH_ACL
|
#undef WITH_ACL
|
||||||
|
|
||||||
@ -31,9 +31,9 @@
|
|||||||
/* Build with capability support? */
|
/* Build with capability support? */
|
||||||
#undef WITH_CAP
|
#undef WITH_CAP
|
||||||
|
|
||||||
--- ./configure.ac.orig 2012-05-22 10:55:31.000000000 +0000
|
--- configure.ac
|
||||||
+++ ./configure.ac 2012-05-31 16:37:32.000000000 +0000
|
+++ configure.ac
|
||||||
@@ -239,12 +239,43 @@ AC_CHECK_HEADERS([dwarf.h], [
|
@@ -239,12 +239,43 @@
|
||||||
AM_CONDITIONAL(LIBDWARF,[test "$WITH_LIBDWARF" = yes])
|
AM_CONDITIONAL(LIBDWARF,[test "$WITH_LIBDWARF" = yes])
|
||||||
|
|
||||||
#=================
|
#=================
|
||||||
@ -77,7 +77,7 @@
|
|||||||
AC_CHECK_HEADERS([nspr.h nss.h sechash.h], [], [
|
AC_CHECK_HEADERS([nspr.h nss.h sechash.h], [], [
|
||||||
AC_MSG_ERROR([missing required NSPR / NSS header])
|
AC_MSG_ERROR([missing required NSPR / NSS header])
|
||||||
])
|
])
|
||||||
@@ -253,6 +284,7 @@ AC_CHECK_LIB(nss3, NSS_NoDB_Init, [
|
@@ -257,6 +288,7 @@
|
||||||
], [
|
], [
|
||||||
AC_MSG_ERROR([missing required NSS library 'nss3'])
|
AC_MSG_ERROR([missing required NSS library 'nss3'])
|
||||||
])
|
])
|
||||||
@ -85,53 +85,8 @@
|
|||||||
AC_SUBST(WITH_NSS_INCLUDE)
|
AC_SUBST(WITH_NSS_INCLUDE)
|
||||||
AC_SUBST(WITH_NSS_LIB)
|
AC_SUBST(WITH_NSS_LIB)
|
||||||
|
|
||||||
--- ./rpmio/Makefile.am.orig 2012-03-20 08:07:25.000000000 +0000
|
--- rpmio/digest_beecrypt.c
|
||||||
+++ ./rpmio/Makefile.am 2012-05-31 16:39:58.000000000 +0000
|
+++ rpmio/digest_beecrypt.c
|
||||||
@@ -2,6 +2,7 @@
|
|
||||||
|
|
||||||
AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir) -I$(top_builddir)/include/
|
|
||||||
AM_CPPFLAGS += @WITH_NSS_INCLUDE@
|
|
||||||
+AM_CPPFLAGS += @WITH_BEECRYPT_INCLUDE@
|
|
||||||
AM_CPPFLAGS += @WITH_POPT_INCLUDE@
|
|
||||||
AM_CPPFLAGS += -I$(top_srcdir)/misc
|
|
||||||
AM_CPPFLAGS += -DRPMCONFIGDIR="\"@RPMCONFIGDIR@\""
|
|
||||||
@@ -17,12 +18,18 @@ librpmio_la_SOURCES = \
|
|
||||||
rpmstring.c rpmfileutil.c \
|
|
||||||
rpmkeyring.c
|
|
||||||
|
|
||||||
+if WITH_BEECRYPT
|
|
||||||
+librpmio_la_SOURCES += digest_beecrypt.c
|
|
||||||
+else
|
|
||||||
librpmio_la_SOURCES += digest_nss.c
|
|
||||||
+endif
|
|
||||||
+
|
|
||||||
|
|
||||||
librpmio_la_LDFLAGS = -version-info 3:0:0
|
|
||||||
librpmio_la_LIBADD = \
|
|
||||||
../misc/libmisc.la \
|
|
||||||
@WITH_NSS_LIB@ \
|
|
||||||
+ @WITH_BEECRYPT_LIB@ \
|
|
||||||
@WITH_BZ2_LIB@ \
|
|
||||||
@WITH_ZLIB_LIB@ \
|
|
||||||
@WITH_LIBELF_LIB@ \
|
|
||||||
@@ -30,6 +37,15 @@ librpmio_la_LIBADD = \
|
|
||||||
@WITH_LZMA_LIB@ \
|
|
||||||
-lpthread
|
|
||||||
|
|
||||||
+if WITH_INTERNAL_BEECRYPT
|
|
||||||
+librpmio_la_LIBADD += $(libbeecrypt_la)
|
|
||||||
+
|
|
||||||
+libbeecrypt_la = $(top_builddir)/beecrypt/libbeecrypt_nolibdir.la
|
|
||||||
+
|
|
||||||
+$(top_builddir)/beecrypt/libbeecrypt_nolibdir.la: $(top_builddir)/beecrypt/libbeecrypt.la
|
|
||||||
+ sed -e 's/libdir=.*/libdir=/' < $(top_builddir)/beecrypt/libbeecrypt.la > $(top_builddir)/beecrypt/libbeecrypt_nolibdir.la
|
|
||||||
+endif
|
|
||||||
+
|
|
||||||
if WITH_LUA
|
|
||||||
AM_CPPFLAGS += -I$(top_srcdir)/luaext/
|
|
||||||
AM_CPPFLAGS += @LUA_CFLAGS@
|
|
||||||
--- ./rpmio/digest_beecrypt.c.orig 2012-05-31 16:42:01.000000000 +0000
|
|
||||||
+++ ./rpmio/digest_beecrypt.c 2012-05-31 17:33:28.000000000 +0000
|
|
||||||
@@ -0,0 +1,526 @@
|
@@ -0,0 +1,526 @@
|
||||||
+#include "system.h"
|
+#include "system.h"
|
||||||
+
|
+
|
||||||
@ -659,3 +614,47 @@
|
|||||||
+ }
|
+ }
|
||||||
+ return sa;
|
+ return sa;
|
||||||
+}
|
+}
|
||||||
|
--- rpmio/Makefile.am
|
||||||
|
+++ rpmio/Makefile.am
|
||||||
|
@@ -2,6 +2,7 @@
|
||||||
|
|
||||||
|
AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir) -I$(top_builddir)/include/
|
||||||
|
AM_CPPFLAGS += @WITH_NSS_INCLUDE@
|
||||||
|
+AM_CPPFLAGS += @WITH_BEECRYPT_INCLUDE@
|
||||||
|
AM_CPPFLAGS += @WITH_POPT_INCLUDE@
|
||||||
|
AM_CPPFLAGS += -I$(top_srcdir)/misc
|
||||||
|
AM_CPPFLAGS += -DRPMCONFIGDIR="\"@RPMCONFIGDIR@\""
|
||||||
|
@@ -17,12 +18,17 @@
|
||||||
|
rpmstring.c rpmfileutil.c \
|
||||||
|
rpmkeyring.c
|
||||||
|
|
||||||
|
+if WITH_BEECRYPT
|
||||||
|
+librpmio_la_SOURCES += digest_beecrypt.c
|
||||||
|
+else
|
||||||
|
librpmio_la_SOURCES += digest_nss.c
|
||||||
|
+endif
|
||||||
|
|
||||||
|
librpmio_la_LDFLAGS = -version-info 3:2:0
|
||||||
|
librpmio_la_LIBADD = \
|
||||||
|
../misc/libmisc.la \
|
||||||
|
@WITH_NSS_LIB@ \
|
||||||
|
+ @WITH_BEECRYPT_LIB@ \
|
||||||
|
@WITH_BZ2_LIB@ \
|
||||||
|
@WITH_ZLIB_LIB@ \
|
||||||
|
@WITH_LIBELF_LIB@ \
|
||||||
|
@@ -30,6 +36,15 @@
|
||||||
|
@WITH_LZMA_LIB@ \
|
||||||
|
-lpthread
|
||||||
|
|
||||||
|
+if WITH_INTERNAL_BEECRYPT
|
||||||
|
+librpmio_la_LIBADD += $(libbeecrypt_la)
|
||||||
|
+
|
||||||
|
+libbeecrypt_la = $(top_builddir)/beecrypt/libbeecrypt_nolibdir.la
|
||||||
|
+
|
||||||
|
+$(top_builddir)/beecrypt/libbeecrypt_nolibdir.la: $(top_builddir)/beecrypt/libbeecrypt.la
|
||||||
|
+ sed -e 's/libdir=.*/libdir=/' < $(top_builddir)/beecrypt/libbeecrypt.la > $(top_builddir)/beecrypt/libbeecrypt_nolibdir.la
|
||||||
|
+endif
|
||||||
|
+
|
||||||
|
if WITH_LUA
|
||||||
|
AM_CPPFLAGS += -I$(top_srcdir)/luaext/
|
||||||
|
AM_CPPFLAGS += @LUA_CFLAGS@
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 2 14:25:20 UTC 2013 - dmueller@suse.com
|
||||||
|
|
||||||
|
- Update to 4.10.2
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 23 11:16:26 CEST 2012 - mls@suse.de
|
Mon Apr 23 11:16:26 CEST 2012 - mls@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package rpm-python
|
# spec file for package rpm-python
|
||||||
#
|
#
|
||||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: rpm-python
|
Name: rpm-python
|
||||||
Version: 4.10.0
|
Version: 4.10.2
|
||||||
Release: 0
|
Release: 0
|
||||||
#!BuildIgnore: rpmlint-Factory
|
#!BuildIgnore: rpmlint-Factory
|
||||||
Summary: Python Bindings for Manipulating RPM Packages
|
Summary: Python Bindings for Manipulating RPM Packages
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- ./build/pack.c.orig 2011-02-15 13:03:56.000000000 +0000
|
--- build/pack.c
|
||||||
+++ ./build/pack.c 2011-05-11 15:35:07.000000000 +0000
|
+++ build/pack.c
|
||||||
@@ -671,6 +671,63 @@ static rpmRC checkPackages(char *pkgchec
|
@@ -573,6 +573,63 @@
|
||||||
return RPMRC_OK;
|
return RPMRC_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -64,7 +64,7 @@
|
|||||||
rpmRC packageBinaries(rpmSpec spec, const char *cookie, int cheating)
|
rpmRC packageBinaries(rpmSpec spec, const char *cookie, int cheating)
|
||||||
{
|
{
|
||||||
struct cpioSourceArchive_s csabuf;
|
struct cpioSourceArchive_s csabuf;
|
||||||
@@ -680,6 +737,7 @@ rpmRC packageBinaries(rpmSpec spec, cons
|
@@ -582,6 +639,7 @@
|
||||||
Package pkg;
|
Package pkg;
|
||||||
char *pkglist = NULL;
|
char *pkglist = NULL;
|
||||||
|
|
||||||
@ -72,10 +72,10 @@
|
|||||||
for (pkg = spec->packages; pkg != NULL; pkg = pkg->next) {
|
for (pkg = spec->packages; pkg != NULL; pkg = pkg->next) {
|
||||||
char *fn;
|
char *fn;
|
||||||
|
|
||||||
--- ./build/parseChangelog.c.orig 2010-12-03 12:11:57.000000000 +0000
|
--- build/parseChangelog.c
|
||||||
+++ ./build/parseChangelog.c 2011-05-11 15:33:22.000000000 +0000
|
+++ build/parseChangelog.c
|
||||||
@@ -168,6 +168,11 @@ static rpmRC addChangelog(Header h, ARGV
|
@@ -168,6 +168,11 @@
|
||||||
return RPMRC_FAIL;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
+ /* workaround old suse oddity */
|
+ /* workaround old suse oddity */
|
||||||
|
38
rpm.changes
38
rpm.changes
@ -1,3 +1,41 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 2 13:46:17 UTC 2013 - dmueller@suse.com
|
||||||
|
|
||||||
|
- update to 4.10.2 (bnc#796375):
|
||||||
|
* Fix missing error code on unparseable signature in packages,
|
||||||
|
regression introduced in rpm 4.10.0. This could result in packages
|
||||||
|
with malformed signature falling through signature checking.
|
||||||
|
* Fix missing error code on --import on bogus key file (RhBug:869667)
|
||||||
|
* Fix installation of packages containing skipped hardlinks (RhBug:864622)
|
||||||
|
* Fix --setperms regression introduced in rpm 4.10.0 (RhBug:881835)
|
||||||
|
* Fix locale dependent behavior in rpm2cpio.sh (RhBug:878363)
|
||||||
|
* Add --undefine cli switch for undefining macros (related to RhBug:876308)
|
||||||
|
* Fix warnings when building with gcc >= 4.7
|
||||||
|
* Permit key imports on transactions where signature checking is
|
||||||
|
disabled, regression of sorts introduced in 4.10.0 (RhBug:856225)
|
||||||
|
* Fix RPMPROB_FILTER_FORCERELOCATE aka --badreloc, regression introduced in
|
||||||
|
4.9.0 (RhBug:828784)
|
||||||
|
* Verify files from non-installed packages again, regression introduced
|
||||||
|
in 4.9.0 (RhBug:826589)
|
||||||
|
* Fix large (> 4GB) package support, regression introduced in
|
||||||
|
4.9.0 (RhBug:844936)
|
||||||
|
* Only create the first instance of a file shared between multiple
|
||||||
|
packages on install (speedup + improved verification timestamp behavior)
|
||||||
|
* Report config and missinok flags too in deptype format extension
|
||||||
|
* Fix relative path handling in --whatprovides query
|
||||||
|
* Add --noclean and --nocheck options to rpmbuild (RhBug:756531)
|
||||||
|
* Permit non-existent %ghost directories to be packaged (RhBug:839656)
|
||||||
|
* Dont silence patch by default (RhBug:678000, RhBug:773503)
|
||||||
|
* Accept "owner" as an alias to "user" %verify attribute (RhBug:838657)
|
||||||
|
* Add "power64" arch macro for all supported PowerPC 64 processors (RhBug:818320)
|
||||||
|
* Fix bogus "unclosed %if" error when %include is used in conditionals
|
||||||
|
* Report starting line for unclosed %if errors in spec
|
||||||
|
* Always print out package dependencies on build
|
||||||
|
* Restore pre-4.10.0 fdFree() behavior, ie return the fd itself while
|
||||||
|
references exist, returning NULL introduced fd leak regressions.
|
||||||
|
* Remove up-streamed patches:
|
||||||
|
- obsoletesdeptag.diff, fdopen_strncat.diff, powerpc-fix-platform.diff, missingok.diff
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 20 18:47:06 UTC 2012 - dimstar@opensuse.org
|
Tue Nov 20 18:47:06 UTC 2012 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
13
rpm.spec
13
rpm.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package rpm
|
# spec file for package rpm
|
||||||
#
|
#
|
||||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -47,7 +47,7 @@ PreReq: %fillup_prereq
|
|||||||
Summary: The RPM Package Manager
|
Summary: The RPM Package Manager
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: System/Packages
|
Group: System/Packages
|
||||||
Version: 4.10.0
|
Version: 4.10.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Source: rpm-%{version}.tar.bz2
|
Source: rpm-%{version}.tar.bz2
|
||||||
Source1: RPM-HOWTO.tar.bz2
|
Source1: RPM-HOWTO.tar.bz2
|
||||||
@ -66,7 +66,7 @@ Patch2: db.diff
|
|||||||
Patch10: rpm-beecrypt.diff
|
Patch10: rpm-beecrypt.diff
|
||||||
Patch11: debugedit.diff
|
Patch11: debugedit.diff
|
||||||
Patch12: localetag.diff
|
Patch12: localetag.diff
|
||||||
Patch13: missingok.diff
|
Patch13: fix-fd-leak.diff
|
||||||
Patch14: nameversioncompare.diff
|
Patch14: nameversioncompare.diff
|
||||||
Patch15: dbfsync.diff
|
Patch15: dbfsync.diff
|
||||||
Patch16: dbrointerruptable.diff
|
Patch16: dbrointerruptable.diff
|
||||||
@ -133,10 +133,6 @@ Patch76: python3-abi-kind.diff
|
|||||||
Patch77: langnoc.diff
|
Patch77: langnoc.diff
|
||||||
Patch78: headerchk2.diff
|
Patch78: headerchk2.diff
|
||||||
Patch79: helperenv.diff
|
Patch79: helperenv.diff
|
||||||
Patch80: obsoletesdeptag.diff
|
|
||||||
Patch81: fdopen_strncat.diff
|
|
||||||
Patch82: fix-fd-leak.diff
|
|
||||||
Patch83: powerpc-fix-platform.diff
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
#
|
#
|
||||||
# avoid bootstrapping problem
|
# avoid bootstrapping problem
|
||||||
@ -223,7 +219,6 @@ rm -f rpmdb/db.h
|
|||||||
%patch -P 50 -P 51 -P 52 -P 53 -P 54 -P 55 -P 56 -P 57 -P 58 -P 59
|
%patch -P 50 -P 51 -P 52 -P 53 -P 54 -P 55 -P 56 -P 57 -P 58 -P 59
|
||||||
%patch -P 60 -P 61 -P 62 -P 63 -P 64 -P 65 -P 66 -P 67 -P 68 -P 69
|
%patch -P 60 -P 61 -P 62 -P 63 -P 64 -P 65 -P 66 -P 67 -P 68 -P 69
|
||||||
%patch -P 70 -P 71 -P 72 -P 73 -P 74 -P 75 -P 76 -P 77 -P 78 -P 79
|
%patch -P 70 -P 71 -P 72 -P 73 -P 74 -P 75 -P 76 -P 77 -P 78 -P 79
|
||||||
%patch -P 80 -P 81 -P 82 -P 83
|
|
||||||
#chmod 755 scripts/find-supplements{,.ksyms}
|
#chmod 755 scripts/find-supplements{,.ksyms}
|
||||||
#chmod 755 scripts/find-provides.ksyms scripts/find-requires.ksyms
|
#chmod 755 scripts/find-provides.ksyms scripts/find-requires.ksyms
|
||||||
#chmod 755 scripts/firmware.prov
|
#chmod 755 scripts/firmware.prov
|
||||||
@ -357,7 +352,7 @@ echo -n armv5tel-suse-linux> %{buildroot}/etc/rpm/platform
|
|||||||
|
|
||||||
%post
|
%post
|
||||||
%{fillup_only -an services}
|
%{fillup_only -an services}
|
||||||
test -f var/lib/rpm/Packages || rpm --initdb
|
test -f var/lib/rpm/Packages || rpmdb --initdb
|
||||||
if test -s var/lib/rpm/packages.rpm ; then
|
if test -s var/lib/rpm/packages.rpm ; then
|
||||||
echo "converting rpm-3 database to rpm-4 format..."
|
echo "converting rpm-3 database to rpm-4 format..."
|
||||||
usr/lib/rpm/convertdb1 var/lib/rpm/packages.rpm
|
usr/lib/rpm/convertdb1 var/lib/rpm/packages.rpm
|
||||||
|
35
rpmrc.diff
35
rpmrc.diff
@ -1,5 +1,5 @@
|
|||||||
--- ./rpmrc.in.orig 2012-04-20 06:46:30.000000000 +0000
|
--- rpmrc.in
|
||||||
+++ ./rpmrc.in 2012-06-01 12:46:22.000000000 +0000
|
+++ rpmrc.in
|
||||||
@@ -12,16 +12,16 @@
|
@@ -12,16 +12,16 @@
|
||||||
# "fat" binary with both archs, for Darwin
|
# "fat" binary with both archs, for Darwin
|
||||||
optflags: fat -O2 -g -arch i386 -arch ppc
|
optflags: fat -O2 -g -arch i386 -arch ppc
|
||||||
@ -26,7 +26,7 @@
|
|||||||
optflags: amd64 -O2 -g
|
optflags: amd64 -O2 -g
|
||||||
optflags: ia32e -O2 -g
|
optflags: ia32e -O2 -g
|
||||||
|
|
||||||
@@ -41,16 +41,17 @@ optflags: sparc64v -O2 -g -m64 -mtune=ni
|
@@ -41,16 +41,17 @@
|
||||||
|
|
||||||
optflags: m68k -O2 -g -fomit-frame-pointer
|
optflags: m68k -O2 -g -fomit-frame-pointer
|
||||||
|
|
||||||
@ -52,7 +52,7 @@
|
|||||||
optflags: hppa1.0 -O2 -g -mpa-risc-1-0
|
optflags: hppa1.0 -O2 -g -mpa-risc-1-0
|
||||||
optflags: hppa1.1 -O2 -g -mpa-risc-1-0
|
optflags: hppa1.1 -O2 -g -mpa-risc-1-0
|
||||||
optflags: hppa1.2 -O2 -g -mpa-risc-1-0
|
optflags: hppa1.2 -O2 -g -mpa-risc-1-0
|
||||||
@@ -67,6 +68,7 @@ optflags: armv5tel -O2 -g -march=armv5te
|
@@ -67,6 +68,7 @@
|
||||||
optflags: armv5tejl -O2 -g -march=armv5te
|
optflags: armv5tejl -O2 -g -march=armv5te
|
||||||
optflags: armv6l -O2 -g -march=armv6
|
optflags: armv6l -O2 -g -march=armv6
|
||||||
optflags: armv7l -O2 -g -march=armv7
|
optflags: armv7l -O2 -g -march=armv7
|
||||||
@ -60,7 +60,7 @@
|
|||||||
|
|
||||||
optflags: atarist -O2 -g -fomit-frame-pointer
|
optflags: atarist -O2 -g -fomit-frame-pointer
|
||||||
optflags: atariste -O2 -g -fomit-frame-pointer
|
optflags: atariste -O2 -g -fomit-frame-pointer
|
||||||
@@ -76,8 +78,8 @@ optflags: atariclone -O2 -g -fomit-frame
|
@@ -76,8 +78,8 @@
|
||||||
optflags: milan -O2 -g -fomit-frame-pointer
|
optflags: milan -O2 -g -fomit-frame-pointer
|
||||||
optflags: hades -O2 -g -fomit-frame-pointer
|
optflags: hades -O2 -g -fomit-frame-pointer
|
||||||
|
|
||||||
@ -71,7 +71,7 @@
|
|||||||
|
|
||||||
optflags: sh3 -O2 -g
|
optflags: sh3 -O2 -g
|
||||||
optflags: sh4 -O2 -g -mieee
|
optflags: sh4 -O2 -g -mieee
|
||||||
@@ -141,6 +143,7 @@ arch_canon: armv5tel: armv5tel 12
|
@@ -142,6 +144,7 @@
|
||||||
arch_canon: armv5tejl: armv5tejl 12
|
arch_canon: armv5tejl: armv5tejl 12
|
||||||
arch_canon: armv6l: armv6l 12
|
arch_canon: armv6l: armv6l 12
|
||||||
arch_canon: armv7l: armv7l 12
|
arch_canon: armv7l: armv7l 12
|
||||||
@ -79,7 +79,7 @@
|
|||||||
|
|
||||||
arch_canon: m68kmint: m68kmint 13
|
arch_canon: m68kmint: m68kmint 13
|
||||||
arch_canon: atarist: m68kmint 13
|
arch_canon: atarist: m68kmint 13
|
||||||
@@ -202,17 +205,17 @@ os_canon: MacOSX: macosx 21
|
@@ -203,17 +206,17 @@
|
||||||
#############################################################
|
#############################################################
|
||||||
# For a given uname().machine, the default build arch
|
# For a given uname().machine, the default build arch
|
||||||
|
|
||||||
@ -105,7 +105,7 @@
|
|||||||
buildarchtranslate: i486: i386
|
buildarchtranslate: i486: i386
|
||||||
buildarchtranslate: i386: i386
|
buildarchtranslate: i386: i386
|
||||||
|
|
||||||
@@ -242,6 +245,7 @@ buildarchtranslate: ppcpseries: ppc
|
@@ -243,6 +246,7 @@
|
||||||
buildarchtranslate: ppc64iseries: ppc64
|
buildarchtranslate: ppc64iseries: ppc64
|
||||||
buildarchtranslate: ppc64pseries: ppc64
|
buildarchtranslate: ppc64pseries: ppc64
|
||||||
buildarchtranslate: ppc64p7: ppc64
|
buildarchtranslate: ppc64p7: ppc64
|
||||||
@ -113,7 +113,7 @@
|
|||||||
|
|
||||||
buildarchtranslate: armv3l: armv3l
|
buildarchtranslate: armv3l: armv3l
|
||||||
buildarchtranslate: armv4b: armv4b
|
buildarchtranslate: armv4b: armv4b
|
||||||
@@ -251,6 +255,7 @@ buildarchtranslate: armv5tel: armv5tel
|
@@ -252,6 +256,7 @@
|
||||||
buildarchtranslate: armv5tejl: armv5tejl
|
buildarchtranslate: armv5tejl: armv5tejl
|
||||||
buildarchtranslate: armv6l: armv6l
|
buildarchtranslate: armv6l: armv6l
|
||||||
buildarchtranslate: armv7l: armv7l
|
buildarchtranslate: armv7l: armv7l
|
||||||
@ -121,7 +121,7 @@
|
|||||||
|
|
||||||
buildarchtranslate: atarist: m68kmint
|
buildarchtranslate: atarist: m68kmint
|
||||||
buildarchtranslate: atariste: m68kmint
|
buildarchtranslate: atariste: m68kmint
|
||||||
@@ -273,6 +278,15 @@ buildarchtranslate: sh3: sh3
|
@@ -274,6 +279,15 @@
|
||||||
buildarchtranslate: sh4: sh4
|
buildarchtranslate: sh4: sh4
|
||||||
buildarchtranslate: sh4a: sh4
|
buildarchtranslate: sh4a: sh4
|
||||||
|
|
||||||
@ -137,7 +137,7 @@
|
|||||||
#############################################################
|
#############################################################
|
||||||
# Architecture compatibility
|
# Architecture compatibility
|
||||||
|
|
||||||
@@ -329,14 +343,19 @@ arch_compat: mipsel: noarch
|
@@ -330,14 +344,19 @@
|
||||||
arch_compat: hppa2.0: hppa1.2
|
arch_compat: hppa2.0: hppa1.2
|
||||||
arch_compat: hppa1.2: hppa1.1
|
arch_compat: hppa1.2: hppa1.1
|
||||||
arch_compat: hppa1.1: hppa1.0
|
arch_compat: hppa1.1: hppa1.0
|
||||||
@ -159,19 +159,16 @@
|
|||||||
arch_compat: armv4tl: armv4l
|
arch_compat: armv4tl: armv4l
|
||||||
arch_compat: armv4l: armv3l
|
arch_compat: armv4l: armv3l
|
||||||
arch_compat: armv3l: noarch
|
arch_compat: armv3l: noarch
|
||||||
@@ -353,9 +372,9 @@ arch_compat: i370: noarch
|
@@ -354,7 +373,7 @@
|
||||||
arch_compat: s390: noarch
|
arch_compat: s390: noarch
|
||||||
arch_compat: s390x: s390 noarch
|
arch_compat: s390x: s390 noarch
|
||||||
|
|
||||||
-arch_compat: ia64: noarch
|
-arch_compat: ia64: noarch
|
||||||
+arch_compat: ia64: i686 noarch
|
+arch_compat: ia64: i686 noarch
|
||||||
|
|
||||||
-arch_compat: x86_64: amd64 athlon noarch
|
arch_compat: x86_64: amd64 em64t athlon noarch
|
||||||
+arch_compat: x86_64: amd64 em64t athlon noarch
|
arch_compat: amd64: x86_64 em64t athlon noarch
|
||||||
arch_compat: amd64: x86_64 athlon noarch
|
@@ -439,6 +458,7 @@
|
||||||
arch_compat: ia32e: x86_64 athlon noarch
|
|
||||||
|
|
||||||
@@ -438,6 +457,7 @@ buildarch_compat: mips: noarch
|
|
||||||
buildarch_compat: mipsel: noarch
|
buildarch_compat: mipsel: noarch
|
||||||
|
|
||||||
buildarch_compat: armv4b: noarch
|
buildarch_compat: armv4b: noarch
|
||||||
@ -179,7 +176,7 @@
|
|||||||
buildarch_compat: armv7l: armv6l
|
buildarch_compat: armv7l: armv6l
|
||||||
buildarch_compat: armv6l: armv5tejl
|
buildarch_compat: armv6l: armv5tejl
|
||||||
buildarch_compat: armv5tejl: armv5tel
|
buildarch_compat: armv5tejl: armv5tel
|
||||||
@@ -449,7 +469,8 @@ buildarch_compat: armv3l: noarch
|
@@ -450,7 +470,8 @@
|
||||||
buildarch_compat: hppa2.0: hppa1.2
|
buildarch_compat: hppa2.0: hppa1.2
|
||||||
buildarch_compat: hppa1.2: hppa1.1
|
buildarch_compat: hppa1.2: hppa1.1
|
||||||
buildarch_compat: hppa1.1: hppa1.0
|
buildarch_compat: hppa1.1: hppa1.0
|
||||||
|
@ -14,9 +14,9 @@ B) use RPMSENSE_STRONG to support a "strong" version, "Recommends"
|
|||||||
|
|
||||||
Needs extcond.diff for query operations.
|
Needs extcond.diff for query operations.
|
||||||
|
|
||||||
--- ./build/parsePreamble.c.orig 2012-08-28 13:25:49.000000000 +0000
|
--- build/parsePreamble.c
|
||||||
+++ ./build/parsePreamble.c 2012-08-28 13:25:59.000000000 +0000
|
+++ build/parsePreamble.c
|
||||||
@@ -342,6 +342,8 @@ static struct tokenBits_s const installS
|
@@ -342,6 +342,8 @@
|
||||||
{ "verify", RPMSENSE_SCRIPT_VERIFY },
|
{ "verify", RPMSENSE_SCRIPT_VERIFY },
|
||||||
{ "pretrans", RPMSENSE_PRETRANS },
|
{ "pretrans", RPMSENSE_PRETRANS },
|
||||||
{ "posttrans", RPMSENSE_POSTTRANS },
|
{ "posttrans", RPMSENSE_POSTTRANS },
|
||||||
@ -25,7 +25,7 @@ Needs extcond.diff for query operations.
|
|||||||
{ NULL, 0 }
|
{ NULL, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -816,6 +818,18 @@ static rpmRC handlePreambleTag(rpmSpec s
|
@@ -816,6 +818,18 @@
|
||||||
if (parseRCPOT(spec, pkg, field, tag, 0, tagflags))
|
if (parseRCPOT(spec, pkg, field, tag, 0, tagflags))
|
||||||
goto exit;
|
goto exit;
|
||||||
break;
|
break;
|
||||||
@ -44,7 +44,7 @@ Needs extcond.diff for query operations.
|
|||||||
case RPMTAG_EXCLUDEARCH:
|
case RPMTAG_EXCLUDEARCH:
|
||||||
case RPMTAG_EXCLUSIVEARCH:
|
case RPMTAG_EXCLUSIVEARCH:
|
||||||
case RPMTAG_EXCLUDEOS:
|
case RPMTAG_EXCLUDEOS:
|
||||||
@@ -924,6 +938,14 @@ static struct PreambleRec_s const preamb
|
@@ -924,6 +938,14 @@
|
||||||
{RPMTAG_BUGURL, 0, 0, LEN_AND_STR("bugurl")},
|
{RPMTAG_BUGURL, 0, 0, LEN_AND_STR("bugurl")},
|
||||||
{RPMTAG_COLLECTIONS, 0, 0, LEN_AND_STR("collections")},
|
{RPMTAG_COLLECTIONS, 0, 0, LEN_AND_STR("collections")},
|
||||||
{RPMTAG_ORDERFLAGS, 2, 0, LEN_AND_STR("orderwithrequires")},
|
{RPMTAG_ORDERFLAGS, 2, 0, LEN_AND_STR("orderwithrequires")},
|
||||||
@ -59,9 +59,9 @@ Needs extcond.diff for query operations.
|
|||||||
{0, 0, 0, 0}
|
{0, 0, 0, 0}
|
||||||
};
|
};
|
||||||
|
|
||||||
--- ./build/parseReqs.c.orig 2012-08-28 13:25:49.000000000 +0000
|
--- build/parseReqs.c
|
||||||
+++ ./build/parseReqs.c 2012-08-28 13:25:59.000000000 +0000
|
+++ build/parseReqs.c
|
||||||
@@ -95,6 +95,20 @@ rpmRC parseRCPOT(rpmSpec spec, Package p
|
@@ -95,6 +95,20 @@
|
||||||
nametag = RPMTAG_CONFLICTNAME;
|
nametag = RPMTAG_CONFLICTNAME;
|
||||||
h = spec->buildRestrictions;
|
h = spec->buildRestrictions;
|
||||||
break;
|
break;
|
||||||
@ -82,9 +82,9 @@ Needs extcond.diff for query operations.
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (r = field; *r != '\0'; r = re) {
|
for (r = field; *r != '\0'; r = re) {
|
||||||
--- ./build/reqprov.c.orig 2012-08-28 13:25:49.000000000 +0000
|
--- build/reqprov.c
|
||||||
+++ ./build/reqprov.c 2012-08-28 13:25:59.000000000 +0000
|
+++ build/reqprov.c
|
||||||
@@ -75,6 +75,16 @@ int addReqProv(Header h, rpmTagVal tagN,
|
@@ -75,6 +75,16 @@
|
||||||
indextag = RPMTAG_TRIGGERINDEX;
|
indextag = RPMTAG_TRIGGERINDEX;
|
||||||
extra = Flags & RPMSENSE_TRIGGER;
|
extra = Flags & RPMSENSE_TRIGGER;
|
||||||
break;
|
break;
|
||||||
@ -101,9 +101,9 @@ Needs extcond.diff for query operations.
|
|||||||
case RPMTAG_REQUIRENAME:
|
case RPMTAG_REQUIRENAME:
|
||||||
default:
|
default:
|
||||||
tagN = RPMTAG_REQUIRENAME;
|
tagN = RPMTAG_REQUIRENAME;
|
||||||
--- ./build/rpmfc.c.orig 2012-08-28 13:25:49.000000000 +0000
|
--- build/rpmfc.c
|
||||||
+++ ./build/rpmfc.c 2012-08-28 13:25:59.000000000 +0000
|
+++ build/rpmfc.c
|
||||||
@@ -1084,6 +1084,12 @@ static struct DepMsg_s depMsgs[] = {
|
@@ -1084,6 +1084,12 @@
|
||||||
{ "Obsoletes", { "%{?__find_obsoletes}", NULL, NULL, NULL },
|
{ "Obsoletes", { "%{?__find_obsoletes}", NULL, NULL, NULL },
|
||||||
RPMTAG_OBSOLETENAME, RPMTAG_OBSOLETEVERSION, RPMTAG_OBSOLETEFLAGS,
|
RPMTAG_OBSOLETENAME, RPMTAG_OBSOLETEVERSION, RPMTAG_OBSOLETEFLAGS,
|
||||||
0, -1 },
|
0, -1 },
|
||||||
@ -116,7 +116,7 @@ Needs extcond.diff for query operations.
|
|||||||
{ NULL, { NULL, NULL, NULL, NULL }, 0, 0, 0, 0, 0 }
|
{ NULL, { NULL, NULL, NULL, NULL }, 0, 0, 0, 0, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -1160,6 +1166,14 @@ static rpmRC rpmfcGenerateDependsHelper(
|
@@ -1160,6 +1166,14 @@
|
||||||
continue;
|
continue;
|
||||||
tagflags = RPMSENSE_FIND_REQUIRES;
|
tagflags = RPMSENSE_FIND_REQUIRES;
|
||||||
break;
|
break;
|
||||||
@ -131,9 +131,9 @@ Needs extcond.diff for query operations.
|
|||||||
default:
|
default:
|
||||||
continue;
|
continue;
|
||||||
break;
|
break;
|
||||||
--- ./lib/formats.c.orig 2012-08-28 13:25:49.000000000 +0000
|
--- lib/formats.c
|
||||||
+++ ./lib/formats.c 2012-08-28 13:27:31.000000000 +0000
|
+++ lib/formats.c
|
||||||
@@ -482,6 +482,19 @@ static char * depflagsFormat(rpmtd td)
|
@@ -486,6 +486,19 @@
|
||||||
return val;
|
return val;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -153,7 +153,7 @@ Needs extcond.diff for query operations.
|
|||||||
/**
|
/**
|
||||||
* Return tag container array size.
|
* Return tag container array size.
|
||||||
* @param td tag data container
|
* @param td tag data container
|
||||||
@@ -587,6 +600,7 @@ static const struct headerFormatFunc_s r
|
@@ -591,6 +604,7 @@
|
||||||
{ RPMTD_FORMAT_VFLAGS, "vflags", vflagsFormat },
|
{ RPMTD_FORMAT_VFLAGS, "vflags", vflagsFormat },
|
||||||
{ RPMTD_FORMAT_EXPAND, "expand", expandFormat },
|
{ RPMTD_FORMAT_EXPAND, "expand", expandFormat },
|
||||||
{ RPMTD_FORMAT_FSTATUS, "fstatus", fstatusFormat },
|
{ RPMTD_FORMAT_FSTATUS, "fstatus", fstatusFormat },
|
||||||
@ -161,9 +161,9 @@ Needs extcond.diff for query operations.
|
|||||||
{ -1, NULL, NULL }
|
{ -1, NULL, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
--- ./lib/rpmds.c.orig 2012-08-28 13:25:49.000000000 +0000
|
--- lib/rpmds.c
|
||||||
+++ ./lib/rpmds.c 2012-08-28 13:25:59.000000000 +0000
|
+++ lib/rpmds.c
|
||||||
@@ -69,6 +69,10 @@ static int dsType(rpmTagVal tag,
|
@@ -69,6 +69,10 @@
|
||||||
t = "Trigger";
|
t = "Trigger";
|
||||||
evr = RPMTAG_TRIGGERVERSION;
|
evr = RPMTAG_TRIGGERVERSION;
|
||||||
f = RPMTAG_TRIGGERFLAGS;
|
f = RPMTAG_TRIGGERFLAGS;
|
||||||
@ -174,9 +174,9 @@ Needs extcond.diff for query operations.
|
|||||||
} else {
|
} else {
|
||||||
rc = 1;
|
rc = 1;
|
||||||
}
|
}
|
||||||
--- ./lib/rpmds.h.orig 2012-08-28 13:25:49.000000000 +0000
|
--- lib/rpmds.h
|
||||||
+++ ./lib/rpmds.h 2012-08-28 13:25:59.000000000 +0000
|
+++ lib/rpmds.h
|
||||||
@@ -48,7 +48,7 @@ enum rpmsenseFlags_e {
|
@@ -48,7 +48,7 @@
|
||||||
RPMSENSE_RPMLIB = (1 << 24), /*!< rpmlib(feature) dependency. */
|
RPMSENSE_RPMLIB = (1 << 24), /*!< rpmlib(feature) dependency. */
|
||||||
RPMSENSE_TRIGGERPREIN = (1 << 25), /*!< %triggerprein dependency. */
|
RPMSENSE_TRIGGERPREIN = (1 << 25), /*!< %triggerprein dependency. */
|
||||||
RPMSENSE_KEYRING = (1 << 26),
|
RPMSENSE_KEYRING = (1 << 26),
|
||||||
@ -185,17 +185,17 @@ Needs extcond.diff for query operations.
|
|||||||
RPMSENSE_CONFIG = (1 << 28)
|
RPMSENSE_CONFIG = (1 << 28)
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -69,6 +69,7 @@ typedef rpmFlags rpmsenseFlags;
|
@@ -70,6 +70,7 @@
|
||||||
RPMSENSE_SCRIPT_VERIFY | \
|
|
||||||
RPMSENSE_FIND_REQUIRES | \
|
RPMSENSE_FIND_REQUIRES | \
|
||||||
RPMSENSE_MISSINGOK | \
|
|
||||||
+ RPMSENSE_STRONG | \
|
|
||||||
RPMSENSE_RPMLIB | \
|
RPMSENSE_RPMLIB | \
|
||||||
RPMSENSE_KEYRING | \
|
RPMSENSE_KEYRING | \
|
||||||
|
+ RPMSENSE_STRONG | \
|
||||||
RPMSENSE_PRETRANS | \
|
RPMSENSE_PRETRANS | \
|
||||||
--- ./lib/rpmtag.h.orig 2012-08-28 13:25:49.000000000 +0000
|
RPMSENSE_POSTTRANS | \
|
||||||
+++ ./lib/rpmtag.h 2012-08-28 13:25:59.000000000 +0000
|
RPMSENSE_PREREQ | \
|
||||||
@@ -217,14 +217,14 @@ typedef enum rpmTag_e {
|
--- lib/rpmtag.h
|
||||||
|
+++ lib/rpmtag.h
|
||||||
|
@@ -217,14 +217,14 @@
|
||||||
RPMTAG_PRETRANSPROG = 1153, /* s[] */
|
RPMTAG_PRETRANSPROG = 1153, /* s[] */
|
||||||
RPMTAG_POSTTRANSPROG = 1154, /* s[] */
|
RPMTAG_POSTTRANSPROG = 1154, /* s[] */
|
||||||
RPMTAG_DISTTAG = 1155, /* s */
|
RPMTAG_DISTTAG = 1155, /* s */
|
||||||
@ -218,9 +218,9 @@ Needs extcond.diff for query operations.
|
|||||||
RPMTAG_PRIORITY = 1162, /* i[] extension placeholder (unimplemented) */
|
RPMTAG_PRIORITY = 1162, /* i[] extension placeholder (unimplemented) */
|
||||||
RPMTAG_CVSID = 1163, /* s (unimplemented) */
|
RPMTAG_CVSID = 1163, /* s (unimplemented) */
|
||||||
#define RPMTAG_SVNID RPMTAG_CVSID /* s (unimplemented) */
|
#define RPMTAG_SVNID RPMTAG_CVSID /* s (unimplemented) */
|
||||||
--- ./lib/rpmtd.h.orig 2012-08-28 13:25:49.000000000 +0000
|
--- lib/rpmtd.h
|
||||||
+++ ./lib/rpmtd.h 2012-08-28 13:25:59.000000000 +0000
|
+++ lib/rpmtd.h
|
||||||
@@ -228,6 +228,7 @@ typedef enum rpmtdFormats_e {
|
@@ -228,6 +228,7 @@
|
||||||
RPMTD_FORMAT_VFLAGS = 17, /* file verify flags (int types) */
|
RPMTD_FORMAT_VFLAGS = 17, /* file verify flags (int types) */
|
||||||
RPMTD_FORMAT_EXPAND = 18, /* macro expansion (string types) */
|
RPMTD_FORMAT_EXPAND = 18, /* macro expansion (string types) */
|
||||||
RPMTD_FORMAT_FSTATUS = 19, /* file verify status (int types) */
|
RPMTD_FORMAT_FSTATUS = 19, /* file verify status (int types) */
|
||||||
@ -228,9 +228,9 @@ Needs extcond.diff for query operations.
|
|||||||
} rpmtdFormats;
|
} rpmtdFormats;
|
||||||
|
|
||||||
/** \ingroup rpmtd
|
/** \ingroup rpmtd
|
||||||
--- ./python/rpmmodule.c.orig 2012-08-28 13:25:49.000000000 +0000
|
--- python/rpmmodule.c
|
||||||
+++ ./python/rpmmodule.c 2012-08-28 13:25:59.000000000 +0000
|
+++ python/rpmmodule.c
|
||||||
@@ -395,6 +395,7 @@ static int initModule(PyObject *m)
|
@@ -395,6 +395,7 @@
|
||||||
REGISTER_ENUM(RPMSENSE_RPMLIB);
|
REGISTER_ENUM(RPMSENSE_RPMLIB);
|
||||||
REGISTER_ENUM(RPMSENSE_TRIGGERPREIN);
|
REGISTER_ENUM(RPMSENSE_TRIGGERPREIN);
|
||||||
REGISTER_ENUM(RPMSENSE_KEYRING);
|
REGISTER_ENUM(RPMSENSE_KEYRING);
|
||||||
@ -238,9 +238,9 @@ Needs extcond.diff for query operations.
|
|||||||
REGISTER_ENUM(RPMSENSE_CONFIG);
|
REGISTER_ENUM(RPMSENSE_CONFIG);
|
||||||
|
|
||||||
REGISTER_ENUM(RPMTRANS_FLAG_TEST);
|
REGISTER_ENUM(RPMTRANS_FLAG_TEST);
|
||||||
--- ./rpmpopt.in.orig 2012-08-28 13:25:49.000000000 +0000
|
--- rpmpopt.in
|
||||||
+++ ./rpmpopt.in 2012-08-28 13:25:59.000000000 +0000
|
+++ rpmpopt.in
|
||||||
@@ -67,6 +67,22 @@ rpm alias --requires --qf \
|
@@ -67,6 +67,22 @@
|
||||||
--POPTdesc=$"list capabilities required by package(s)"
|
--POPTdesc=$"list capabilities required by package(s)"
|
||||||
rpm alias -R --requires
|
rpm alias -R --requires
|
||||||
|
|
||||||
@ -263,9 +263,9 @@ Needs extcond.diff for query operations.
|
|||||||
rpm alias --info --qf '\
|
rpm alias --info --qf '\
|
||||||
Name : %{NAME}\n\
|
Name : %{NAME}\n\
|
||||||
%|EPOCH?{Epoch : %{EPOCH}\n}|\
|
%|EPOCH?{Epoch : %{EPOCH}\n}|\
|
||||||
--- ./tests/rpmgeneral.at.orig 2012-08-28 13:27:44.000000000 +0000
|
--- tests/rpmgeneral.at
|
||||||
+++ ./tests/rpmgeneral.at 2012-08-28 13:28:26.000000000 +0000
|
+++ tests/rpmgeneral.at
|
||||||
@@ -79,6 +79,10 @@ DISTTAG
|
@@ -79,6 +79,10 @@
|
||||||
DISTURL
|
DISTURL
|
||||||
DSAHEADER
|
DSAHEADER
|
||||||
E
|
E
|
||||||
@ -276,7 +276,7 @@ Needs extcond.diff for query operations.
|
|||||||
EPOCH
|
EPOCH
|
||||||
EPOCHNUM
|
EPOCHNUM
|
||||||
EVR
|
EVR
|
||||||
@@ -219,6 +223,10 @@ SOURCE
|
@@ -219,6 +223,10 @@
|
||||||
SOURCEPACKAGE
|
SOURCEPACKAGE
|
||||||
SOURCEPKGID
|
SOURCEPKGID
|
||||||
SOURCERPM
|
SOURCERPM
|
||||||
|
Loading…
Reference in New Issue
Block a user