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
f63b4bc5
Commit
f63b4bc5
authored
Jul 09, 2009
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix rpmbs packing after hasher build
parent
1246cea2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
16 deletions
+10
-16
TODO
TODO
+0
-4
rpmbsh
bin/rpmbsh
+10
-12
No files found.
TODO
View file @
f63b4bc5
:
gear- rpmbsh -u,
src.rpm
:
# etersoft-build-utils repack DIR - DIR NAME-VERSION
# etersoft-build-utils remove DIR/FILE [DIR/FILE] -
...
...
bin/rpmbsh
View file @
f63b4bc5
...
...
@@ -72,10 +72,7 @@ add_changelog_helper "- new version" $LISTNAMES
# FIXME:
pack_src_rpm
$(
echo
$LISTRPMARGS
|
sed
-e
"s|-[suUic]||g"
)
# Hack to pass SPECDIR to rpmbs
if
[
-r
"
$LISTNAMES
"
]
;
then
export
SPECDIR
=
`
dirname
$LISTNAMES
`
fi
set_specdir
$LISTNAMES
if
[
-n
"
$REMOTEBUILD
"
]
;
then
check_key
...
...
@@ -97,14 +94,6 @@ else
cd
$RPMTOPDIR
/SRPMS
&&
time
$ETERBUILDBIN
/myhsh
$MENVARG
$LISTRPMARGS
$LISTBUILT
RESULT
=
$?
# make src.rpm if build OK and we have options for rpmbs
if
[
"
$RESULT
"
=
"0"
]
&&
[
-n
"
$LISTRPMARGS
"
]
;
then
if
is_gear
$SPECDIR
;
then
$ETERBUILDBIN
/rpmbs
$MENVARG
$LISTRPMARGS
$LISTNAMES
else
$ETERBUILDBIN
/rpmbs
$MENVARG
$LISTRPMARGS
$LISTBUILT
fi
fi
date
echo
"-------------------------------"
...
...
@@ -112,4 +101,13 @@ fi
cd
-
# make src.rpm if build OK and we have options for rpmbs
if
[
"
$RESULT
"
=
"0"
]
&&
[
-n
"
$LISTRPMARGS
"
]
;
then
if
is_gear
$SPECDIR
;
then
$ETERBUILDBIN
/rpmbs
$MENVARG
$LISTRPMARGS
$LISTNAMES
else
$ETERBUILDBIN
/rpmbs
$MENVARG
$LISTRPMARGS
$LISTBUILT
fi
fi
exit
$RESULT
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