apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: cvs commit: apr-util/build/rpm apr-util.spec.in
Date Fri, 02 Jul 2004 00:28:55 GMT
On Thu, Jul 01, 2004 at 10:45:06PM -0000, minfrin@apache.org wrote:
>...
>   +++ buildconf	1 Jul 2004 22:45:06 -0000	1.13
>   @@ -74,3 +74,20 @@
>    
>    # Remove autoconf cache again
>    rm -rf autom4te*.cache
>   +
>   +# Create RPM Spec file
>   +if [ -f `which cut` ]; then
>   +  echo rebuilding rpm spec file
>   +  ( REVISION=`build/get-version.sh all include/apu_version.h APU`
>   +    VERSION=`echo $REVISION | cut -d- -s -f1`
>   +    RELEASE=`echo $REVISION | cut -d- -s -f2`
>   +    if [ "x$VERSION" = "x" ]; then
>   +      VERSION=$REVISION
>   +      RELEASE=1
>   +    fi
>   +    cat ./build/rpm/apr-util.spec.in | \
>   +    sed -e "s/APU_VERSION/$VERSION/" \
>   +        -e "s/APU_RELEASE/$RELEASE/" \
>   +    > apr-util.spec )
>   +fi

There is no need for the parens. That's just some extra baggage...

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Mime
View raw message