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
5b1bba66
Commit
5b1bba66
authored
Jun 28, 2010
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmbs: add -t option (just set signed tag)
parent
29cd6811
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
rpmbs
bin/rpmbs
+11
-2
No files found.
bin/rpmbs
View file @
5b1bba66
...
...
@@ -21,6 +21,7 @@
load_mod rpm tarball alt git web
SIGN
=
SIGNTAG
=
UPLOADNOW
=
CHECKONLY
=
NOSOURCE
=
...
...
@@ -31,7 +32,7 @@ POCKET=
TASKNUMBER
=
#############################
Usage
=
"Usage:
$name
[-s
-u -c -n
--nodeps] [spec or src.rpm]..."
Usage
=
"Usage:
$name
[-s
|-t|-u|-a|-c] [-o -z -n -p
--nodeps] [spec or src.rpm]..."
function
mygetopts
()
{
name
=
${
0
##*/
}
...
...
@@ -49,6 +50,7 @@ phelp()
echog
" -c - only sign package(s) with checking"
echog
" -f - force operation (overwrite tag)"
echog
" -s - sign package(s) and copy it to upload dir (ETERDESTSRPM)"
echog
" -t - set tag with sign"
echog
" -n - do not check with sisyphus_check before upload"
echog
" -o - create nosrc.rpm package"
echog
" -z - create src.rpm with compatible gzip compression"
...
...
@@ -56,10 +58,11 @@ phelp()
# echog " -d - remove package(s) from SRPMS and Incoming"
}
while
getopts
:hfscuUdnop:a:z opt
;
do
while
getopts
:hfs
t
cuUdnop:a:z opt
;
do
case
$opt
in
h
)
phelp
;
exit
0
;;
s
)
SIGN
=
1
;;
t
)
SIGNTAG
=
1
;;
f
)
FORCE
=
"--force"
;;
# FIXME: handle SIGN separately
c
)
CHECKONLY
=
1
;
SIGN
=
1
;;
...
...
@@ -172,6 +175,12 @@ mygetopts $LISTARGS
LISTBUILT
=
""
CURDIR
=
`
pwd
`
if
[
-n
"
$SIGNTAG
"
]
;
then
echo
"Set tag..."
check_gear_and_tag
""
exit
$?
fi
if
[
-n
"
$NOSOURCE
"
]
;
then
$RPMBUILD
-bs
--nosource
0
$LISTNAMES
exit
$?
...
...
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