casa-yast: upgrade version number in make_casa_yast.sh
This commit is contained in:
parent
4bc26fe242
commit
0fd270e7d7
@ -100,8 +100,9 @@ getReleaseAndVersion ()
|
|||||||
|
|
||||||
cd $START_DIR
|
cd $START_DIR
|
||||||
|
|
||||||
RPM_VERSION_LINE=`cat $START_DIR/$SPEC_IN_FILE |grep 'Version:'`
|
#RPM_VERSION_LINE=`cat $START_DIR/$SPEC_IN_FILE |grep 'Version:'`
|
||||||
RPM_VERSION=${RPM_VERSION_LINE:9}
|
#RPM_VERSION=${RPM_VERSION_LINE:9}
|
||||||
|
RPM_VERSION=`cat ./VERSION`
|
||||||
echo "[$SCRIPT_NAME] $PACKAGE_NAME version = $RPM_VERSION"
|
echo "[$SCRIPT_NAME] $PACKAGE_NAME version = $RPM_VERSION"
|
||||||
RPM_RELEASE_LINE=`cat $START_DIR/$SPEC_IN_FILE |grep 'Release:'`
|
RPM_RELEASE_LINE=`cat $START_DIR/$SPEC_IN_FILE |grep 'Release:'`
|
||||||
RPM_RELEASE=${RPM_RELEASE_LINE:9}
|
RPM_RELEASE=${RPM_RELEASE_LINE:9}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package yast2-CASA (Version 1.6.462)
|
# spec file for package yast2-CASA (Version @VERSION@)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
Name: yast2-CASA
|
Name: yast2-CASA
|
||||||
BuildRequires: yast2-devel yast2-devtools update-desktop-files
|
BuildRequires: yast2-devel yast2-devtools update-desktop-files
|
||||||
Version: 1.6.462
|
Version: @VERSION@
|
||||||
Release: 0
|
Release: 0
|
||||||
License: LGPL
|
License: LGPL
|
||||||
Group: System/YaST
|
Group: System/YaST
|
||||||
@ -23,7 +23,7 @@ Source0: %{name}-%{version}.tar.bz2
|
|||||||
|
|
||||||
prefix: /usr
|
prefix: /usr
|
||||||
|
|
||||||
Requires: yast2 CASA = %{version}
|
Requires: yast2 CASA = @VERSION@
|
||||||
|
|
||||||
#BuildArchitectures: i586
|
#BuildArchitectures: i586
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user