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
908f3f3c
Commit
908f3f3c
authored
Dec 15, 2008
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix SPECDIR using
parent
55f40717
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
4 deletions
+22
-4
rpmbs
bin/rpmbs
+13
-4
rpmbsh
bin/rpmbsh
+9
-0
No files found.
bin/rpmbs
View file @
908f3f3c
...
...
@@ -155,19 +155,28 @@ check_gear()
{
local
GEARCTAG
=
gear-create-tag
# create tag according to package release
SPECDIR
=
`
dirname
$LISTNAMES
`
# workaround about spaces in LISTNAMES
if
[
-r
"
$(
echo
$LISTNAMES
)
"
]
;
then
#echo wait SPECDIR from rpmbsh
#echo 1 $SPECDIR
[
-n
"
$SPECDIR
"
]
||
SPECDIR
=
`
dirname
$LISTNAMES
`
#echo 2 $SPECDIR
#pwd
fi
if
is_gear
$SPECDIR
;
then
# needed corrent user.name/user.email for get GPG id
pushd
$SPECDIR
$GEARCTAG
--force
popd
# git push ?
fi
}
if
[
-n
"
$SIGN
"
]
;
then
release_check
$LISTBUILT
# workaround about spaces in LIST
NAMES
if
[
-r
"
$(
echo
$LIST
NAMES
)
"
]
;
then
#
if one spec, check gear
# workaround about spaces in LIST
BUILT
if
[
-r
"
$(
echo
$LIST
BUILT
)
"
]
;
then
echo
if
one spec, check gear
check_gear
fi
echog
"Will try to sign follow packages with GPG:
\$
LISTBUILT"
...
...
bin/rpmbsh
View file @
908f3f3c
...
...
@@ -72,6 +72,15 @@ add_changelog_helper "- new version" $LISTNAMES
# FIXME:
pack_src_rpm
$(
echo
$LISTRPMARGS
|
sed
-e
"s|-[suUic]||g"
)
# Hack to pass SPECDIR to rpmbs
# workaround about spaces in LISTNAMES
if
[
-r
"
$(
echo
$LISTNAMES
)
"
]
;
then
export
SPECDIR
=
`
dirname
$LISTNAMES
`
#echo 0 $SPECDIR
if
[
"
$SPECDIR
"
=
"."
]
;
then
SPECDIR
=
$(
pwd
)
fi
fi
if
[
-n
"
$REMOTEBUILD
"
]
;
then
check_key
...
...
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