From 4350bdcac25391f9c90d5ffe743a6de0b0c7a028 Mon Sep 17 00:00:00 2001 From: OBS User froh Date: Wed, 3 Dec 2008 11:09:30 +0000 Subject: [PATCH] - package-update-section: -- add submitreq line for factory submission -- fix Version update regex Rev openSUSE:Tools/14 Md5 0335b87bb41e415b9bb394c24c593f3c 2008-12-03 11:09:30 froh None --- build.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/build.spec b/build.spec index ba415fb1..42e6f7df 100644 --- a/build.spec +++ b/build.spec @@ -1,5 +1,5 @@ # -# spec file for package build (Version 2008.11.28.r5747) +# spec file for package build (Version 2008.12.03.r5789) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -17,7 +17,6 @@ # norootforbuild - Name: build License: GPL v2 or later Group: Development/Tools/Building @@ -32,9 +31,12 @@ Release: 1 # tar cjvf build-$VERSION.tar.bz2 build-$VERSION # rm -rf build-$VERSION # osc add build-$VERSION.tar.bz2 -# sed --in-place build.spec -e"/^\(Version:[[:space:]]*\)\(.*\)/s,,\1$VERSION," +# # There's several occurences of "Version: something" in this file, +# # two of them valid, so we need to be picky in the match. +# sed --in-place build.spec -e"/\(Version:\?[[:space:]]\+\)\([0-9]\{4\}\.[0-9][0-9]\.[0-9][0-9]\.r[0-9]\+\)/s,,\1$VERSION," # osc build build.spec # osc ci +# osc submitreq create -m"current svn snapshot." openSUSE:Tools build openSUSE:Factory Source: build-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch