rpms/rpm/devel rpm-4.5.90-gstreamer-provides.patch, NONE, 1.1 rpm-4.5.90-macro-args.patch, NONE, 1.1 rpm.spec, 1.295, 1.296
Panu Matilainen
pmatilai at fedoraproject.org
Thu Sep 11 12:02:41 UTC 2008
- Previous message (by thread): rpms/sugar-journal/devel sugar-journal.spec,1.6,1.7
- Next message (by thread): rpms/ptlib/F-9 import.log, NONE, 1.1 ptlib.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: pmatilai
Update of /cvs/pkgs/rpms/rpm/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29704
Modified Files:
rpm.spec
Added Files:
rpm-4.5.90-gstreamer-provides.patch
rpm-4.5.90-macro-args.patch
Log Message:
- add hack to support extracting gstreamer plugin provides (#438225)
- fix another macro argument handling regression (#461180)
rpm-4.5.90-gstreamer-provides.patch:
--- NEW FILE rpm-4.5.90-gstreamer-provides.patch ---
diff --git a/build/rpmfc.c b/build/rpmfc.c
index 94fb68e..525915b 100644
--- a/build/rpmfc.c
+++ b/build/rpmfc.c
@@ -1093,6 +1093,11 @@ assert(s != NULL);
free(buf);
}
+ /* Add possible GStreamer provides */
+ if (!fc->skipProv && isDSO) {
+ xx = rpmfcHelper(fc, 'P', "gstreamer");
+ }
+
exit:
soname = _free(soname);
if (elf) (void) elf_end(elf);
rpm-4.5.90-macro-args.patch:
--- NEW FILE rpm-4.5.90-macro-args.patch ---
diff --git a/rpmio/macro.c b/rpmio/macro.c
index ad1f94a..1e292c6 100644
--- a/rpmio/macro.c
+++ b/rpmio/macro.c
@@ -780,7 +780,7 @@ static const char *
grabArgs(MacroBuf mb, const rpmMacroEntry me, const char * se,
const char * lastc)
{
- const char *opts, *o, *ret;
+ const char *opts, *o;
char *args = NULL;
ARGV_t argv = NULL;
int argc = 0;
@@ -792,13 +792,10 @@ grabArgs(MacroBuf mb, const rpmMacroEntry me, const char * se,
/*
* Make a copy of se up to lastc string that we can pass to argvSplit().
- * Append the results to main argv, save return value.
+ * Append the results to main argv.
*/
{ ARGV_t av = NULL;
char *s = xcalloc((lastc-se)+1, sizeof(*s));
-
- /* XXX expandMacro() expects next \0 which can be beyond lastc */
- ret = strchr(se, '\0');
memcpy(s, se, (lastc-se));
argvSplit(&av, s, " ");
@@ -884,7 +881,7 @@ grabArgs(MacroBuf mb, const rpmMacroEntry me, const char * se,
exit:
argvFree(argv);
- return ret;
+ return *lastc ? lastc + 1 : lastc;
}
/**
Index: rpm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rpm/devel/rpm.spec,v
retrieving revision 1.295
retrieving revision 1.296
diff -u -r1.295 -r1.296
--- rpm.spec 11 Sep 2008 06:16:20 -0000 1.295
+++ rpm.spec 11 Sep 2008 12:02:10 -0000 1.296
@@ -18,7 +18,7 @@
Summary: The RPM package management system
Name: rpm
Version: %{rpmver}
-Release: 0.%{snapver}.6
+Release: 0.%{snapver}.7
Group: System Environment/Base
Url: http://www.rpm.org/
Source0: http://rpm.org/releases/testing/%{name}-%{srcver}.tar.bz2
@@ -28,6 +28,7 @@
Patch0: rpm-4.5.90-devel-autodep.patch
Patch1: rpm-4.5.90-pkgconfig-path.patch
+Patch2: rpm-4.5.90-gstreamer-provides.patch
# XXX only create provides for pkgconfig and libtool initially
Patch100: rpm-4.6.x-no-pkgconfig-reqs.patch
@@ -40,6 +41,7 @@
Patch205: rpm-4.5.90-topdir.patch
Patch206: rpm-4.5.90-rpmbuild-dirs.patch
Patch207: rpm-4.5.90-cpio-hardlink.patch
+Patch208: rpm-4.5.90-macro-args.patch
# These are not yet upstream
Patch300: rpm-4.5.90-posttrans.patch
@@ -168,6 +170,7 @@
%setup -q -n %{name}-%{srcver} %{?with_int_bdb:-a 1}
%patch0 -p1 -b .devel-autodep
%patch1 -p1 -b .pkgconfig-path
+%patch2 -p1 -b .gstreamer-prov
%patch100 -p1 -b .pkgconfig-deps
%patch200 -p1 -b .archivesize
@@ -178,6 +181,7 @@
%patch205 -p1 -b .topdir
%patch206 -p1 -b .rpmbuild-dirs
%patch207 -p1 -b .cpio-hardlink
+%patch208 -p1 -b .macro-args
# needs a bit of upstream love first...
#%patch300 -p1 -b .posttrans
@@ -356,6 +360,10 @@
%doc doc/librpm/html/*
%changelog
+* Thu Sep 11 2008 Panu Matilainen <pmatilai at redhat.com>
+- add hack to support extracting gstreamer plugin provides (#438225)
+- fix another macro argument handling regression (#461180)
+
* Thu Sep 11 2008 Jindrich Novy <jnovy at redhat.com>
- create directory structure for rpmbuild prior to build if it doesn't exist (#455387)
- create _topdir if it doesn't exist when installing SRPM
- Previous message (by thread): rpms/sugar-journal/devel sugar-journal.spec,1.6,1.7
- Next message (by thread): rpms/ptlib/F-9 import.log, NONE, 1.1 ptlib.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list