Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
korinf
etersoft-build-utils
Commits
1dddb472
Commit
1dddb472
authored
Jan 08, 2009
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use rpmgs for set version/release
parent
54cb95f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
rpmrb
bin/rpmrb
+5
-8
No files found.
bin/rpmrb
View file @
1dddb472
...
...
@@ -19,7 +19,8 @@ fi
SPEC
=
$1
VER
=
$2
REL
=
$3
# need for rpmgs
GSSETRELEASE
=
$3
if
[
"
$1
"
=
"-h"
]
;
then
echo
"rpmrb spec [vermajor][.verminor] [rel] - update spec to vermajor.verminor version, build %rel release"
...
...
@@ -28,13 +29,9 @@ fi
test
-e
"
$SPEC
"
||
fatal
"use with spec"
if
[
-n
"
$VER
"
]
;
then
test
-n
"
$REL
"
||
REL
=
alt1
set_version
$SPEC
$VER
set_release
$SPEC
$REL
add_changelog
-e
"- new version
$VER
(with rpmrb script)"
$SPEC
||
echog
"Changelog entry already exists"
fi
test
-n
"
$REL
"
||
REL
=
alt1
rpmgs
$SPEC
$VER
||
fatal
"Error with get source"
add_changelog_helper
"- new version
$VER
(with rpmrb script)"
$SPEC
||
echog
"Changelog entry already exists"
rpmgs
$SPEC
||
fatal
"Error with get source"
rpmbsh
$REMOTE
-i
$SPEC
||
fatal
"Error with build in hasher"
rpmbs
-u
$SPEC
||
fatal
"Error with upload"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment