- 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
This commit is contained in:
Philipp Thomas 2012-07-19 12:21:03 +00:00 committed by Git OBS Bridge
parent 34c42e1613
commit 17badea986
3 changed files with 10 additions and 1 deletions

View File

@ -16,6 +16,10 @@
#
###################################################################
# NOTE: PLease run pre_checkin.sh before checking in the package! #
###################################################################
Name: libtool-testsuite
BuildRequires: automake
BuildRequires: gcc-c++

View File

@ -16,6 +16,10 @@
#
###################################################################
# NOTE: PLease run pre_checkin.sh before checking in the package! #
###################################################################
Name: libtool
BuildRequires: automake
BuildRequires: gcc-c++

View File

@ -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