From 17badea9863838ba8d6b77cf3c4e3ba7673da11393e8809c1202597f5ad135ce Mon Sep 17 00:00:00 2001 From: Philipp Thomas Date: Thu, 19 Jul 2012 12:21:03 +0000 Subject: [PATCH] - Fix pre_checkin.sh - Add a note in the spec file to run pre_checkin.sh OBS-URL: https://build.opensuse.org/package/show/Base:System/libtool?expand=0&rev=45 --- libtool-testsuite.spec | 4 ++++ libtool.spec | 4 ++++ pre_checkin.sh | 3 ++- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/libtool-testsuite.spec b/libtool-testsuite.spec index e1d2eed..a78f62b 100644 --- a/libtool-testsuite.spec +++ b/libtool-testsuite.spec @@ -16,6 +16,10 @@ # +################################################################### +# NOTE: PLease run pre_checkin.sh before checking in the package! # +################################################################### + Name: libtool-testsuite BuildRequires: automake BuildRequires: gcc-c++ diff --git a/libtool.spec b/libtool.spec index 0d210ef..42bae39 100644 --- a/libtool.spec +++ b/libtool.spec @@ -16,6 +16,10 @@ # +################################################################### +# NOTE: PLease run pre_checkin.sh before checking in the package! # +################################################################### + Name: libtool BuildRequires: automake BuildRequires: gcc-c++ diff --git a/pre_checkin.sh b/pre_checkin.sh index c7f44db..724b7d4 100644 --- a/pre_checkin.sh +++ b/pre_checkin.sh @@ -1,4 +1,5 @@ #!/bin/bash # This script is called automatically during autobuild checkin. -sed -e "s,^\(Name:.*libtool\),\1-testsuite," libtool.spec > libtool-testsuite.spec +sed -e "s,^\(Name:.*libtool\),\1-testsuite," \ + -e "s,^\(#\ spec\ file\ for.*libtool\),\1-testsuite," libtool.spec > libtool-testsuite.spec cp libtool.changes libtool-testsuite.changes