OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   03-Jan-2003 19:01:41
  Branch: HEAD                             Handle: 2003010318014000

  Modified files:
    openpkg-src/openpkg     rpm.patch.feature

  Log:
    add Provides headers also to source RPMs

  Summary:
    Revision    Changes     Path
    1.2         +13 -3      openpkg-src/openpkg/rpm.patch.feature
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/openpkg/rpm.patch.feature
  ============================================================================
  $ cvs diff -u -r1.1 -r1.2 rpm.patch.feature
  --- openpkg-src/openpkg/rpm.patch.feature     29 May 2002 19:56:14 -0000      1.1
  +++ openpkg-src/openpkg/rpm.patch.feature     3 Jan 2003 18:01:40 -0000       1.2
  @@ -267,12 +267,22 @@
   +---------------------------------------------------------------------------
   | Add support for splitted source directories, i.e., source files
   | alternatively can be placed into the spec directory and are picked
  -| up there, too.
  +| up there, too. Also add support for Provides headers in source RPMs.
   +---------------------------------------------------------------------------
   Index: build/files.c
   --- build/files.c    2001/01/19 01:47:25     1.1.1.15
   +++ build/files.c    2001/09/17 11:09:23     1.2
  -@@ -1655,8 +1655,20 @@
  +@@ -1591,6 +1591,9 @@
  +     case RPMTAG_CHANGELOGTEXT:
  +     case RPMTAG_URL:
  +     case HEADER_I18NTABLE:
  ++    case RPMTAG_PROVIDENAME:
  ++    case RPMTAG_PROVIDEVERSION:
  ++    case RPMTAG_PROVIDEFLAGS:
  +         headerAddEntry(spec->sourceHeader, tag, type, ptr, count);
  +         break;
  +     default:
  +@@ -1655,8 +1658,20 @@
        }
    
          {     const char *s;
  @@ -293,7 +303,7 @@
        appendLineStringBuf(sourceFiles, s);
        free((void *)s);
          }
  -@@ -1665,8 +1677,20 @@
  +@@ -1665,8 +1680,20 @@
        for (pkg = spec->packages; pkg != NULL; pkg = pkg->next) {
        for (srcPtr = pkg->icon; srcPtr != NULL; srcPtr = srcPtr->next) {
            const char *s;
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to