Hello community,

here is the log from the commit of package branding-basedonopensuse.1294 for 
openSUSE:12.1:Update checked in at 2013-02-11 14:40:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.1:Update/branding-basedonopensuse.1294 (Old)
 and      /work/SRC/openSUSE:12.1:Update/.branding-basedonopensuse.1294.new 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "branding-basedonopensuse.1294", Maintainer is ""

Changes:
--------
New Changes file:

--- /dev/null   2013-02-09 11:18:20.872010756 +0100
+++ 
/work/SRC/openSUSE:12.1:Update/.branding-basedonopensuse.1294.new/branding-basedonopensuse.changes
  2013-02-11 14:40:07.000000000 +0100
@@ -0,0 +1,36 @@
+-------------------------------------------------------------------
+Tue Oct 18 14:53:51 UTC 2011 - [email protected]
+
+- use a branch of the 12.1 artwork
+
+-------------------------------------------------------------------
+Mon Oct 17 09:01:50 UTC 2011 - [email protected]
+
+- add relaxed versions of branding-openSUSE's requires to basedonopensuse
+
+-------------------------------------------------------------------
+Mon Oct 17 08:30:06 UTC 2011 - [email protected]
+
+- use latest branding packages too
+
+-------------------------------------------------------------------
+Wed Oct 12 07:45:12 UTC 2011 - [email protected]
+
+- fix build
+
+-------------------------------------------------------------------
+Wed Oct  5 09:51:55 UTC 2011 - [email protected]
+
+- require branding-basedonopensuse to avoid an accidental
+  branding switch
+
+-------------------------------------------------------------------
+Wed Oct  5 09:49:58 UTC 2011 - [email protected]
+
+- adapt to new branding set
+
+-------------------------------------------------------------------
+Sat Sep 10 13:49:04 UTC 2011 - [email protected]
+
+- initial package
+

New:
----
  branding-basedonopensuse.changes
  branding-basedonopensuse.spec
  extract.pl
  openSUSE.tar.gz
  post.bootsplash
  post.gfxboot
  update-list.sh

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ branding-basedonopensuse.spec ++++++
++++ 898 lines (skipped)

++++++ extract.pl ++++++
#!/usr/bin/perl
# Copyright (c) 2007, 2008, SUSE Linux Products GmbH

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

use POSIX;     # Needed for setlocale()

my $inpkg = 0;
my $packagename = $ARGV[1];
my $tag = $ARGV[2];
my $descr = '';

my %sources;
my $name;
open(SOURCES, $ARGV[0]);
while ( <SOURCES> ) {
        chomp;
        if (m/^=Pkg:/ && $inpkg) {
            last;
        }
        if (m/^\+$tag/) { $intag = 1; next; }
        $intag = 0 if (m/^\-$tag/);
        if (m/^=Pkg:.*$packagename.* /) {
            $inpkg = 1;
        }
        print "$_\n" if ($inpkg && $intag);
}
close(SOURCES);

++++++ post.bootsplash ++++++
%{fillup_only -ns bootsplash branding-basedonopensuse }
perl -pi -e 's/^(THEME=).*/$1"basedonopensuse"/' /etc/sysconfig/bootsplash
if test -s /etc/sysconfig/bootloader ; then
/sbin/mkinitrd
fi

++++++ post.gfxboot ++++++
gfxboot --update-theme basedonopensuse
++++++ update-list.sh ++++++
#!/bin/sh

set -e

packs=$(mktemp)
curl -s 
http://download.opensuse.org/factory/repo/oss/suse/setup/descr/packages.gz | 
gzip  -c -d > $packs
list=$(grep ^=Pkg:.*branding-openSUSE $packs | cut '-d ' -f2 | sort -u | grep 
-v '^branding-openSUSE$')

export LC_ALL=C

sed -n -e '1,/^#BRQ-START/p' branding-basedonopensuse.spec > 
branding-basedonopensuse.spec.new
for i in $list; do 
         echo "BuildRequires: $i" >> branding-basedonopensuse.spec.new
done
sed -n -e '/^#BRQ-END/,/^#PSTART/p' branding-basedonopensuse.spec >> 
branding-basedonopensuse.spec.new
for i in $list; do
        echo "packages=\"\$packages $i\"" >> branding-basedonopensuse.spec.new
done
sed -n -e '/^#PEND/,$p' branding-basedonopensuse.spec >> 
branding-basedonopensuse.spec.new

sed -n -e '1,/# TIL HERE/p' branding-basedonopensuse.spec.new > 
branding-basedonopensuse.spec.new2
mv branding-basedonopensuse.spec.new2 branding-basedonopensuse.spec.new

( for i in $list; do
  base=${i/-branding-openSUSE/}
  echo "%package -n $base-branding-basedonopensuse"
  echo "Summary: Provides $base branding"
  echo "Provides: $base-branding"
  echo "Requires: branding-basedonopensuse"
  echo "Conflicts: otherproviders($base-branding)"
  perl -w extract.pl $packs $i Sup | sed -e 's,^,Supplements:,; 
s,branding-openSUSE,branding-basedonopensuse,'
  perl -w extract.pl $packs $i Req | grep -v rpmlib | grep -v ^lib | grep -v 
'^config(' | grep -v /bin/sh | \
     sed -e 's,^,Requires:,; s, *>=.*,,; s, *>.*,,; s, *=.*,,; 
s,branding-openSUSE,branding-basedonopensuse,' | sort -u
  echo ""
  echo "%description -n $base-branding-basedonopensuse"
  echo "Debranded copy of openSUSE branding for $base"
  echo ""
  echo "%files -f files.$base-branding-openSUSE -n 
$base-branding-basedonopensuse"
  echo ""
  if test -f post.$base; then
         echo "%post -n $base-branding-basedonopensuse"
         cat post.$base
  fi
done  ) >> branding-basedonopensuse.spec.new

/usr/lib/obs/service/format_spec_file.files/prepare_spec 
branding-basedonopensuse.spec.new > branding-basedonopensuse.spec.form
mv branding-basedonopensuse.spec.form branding-basedonopensuse.spec.new
diff -u branding-basedonopensuse.spec branding-basedonopensuse.spec.new || true
mv branding-basedonopensuse.spec.new branding-basedonopensuse.spec

rm $packs
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to