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
3723c810
Commit
3723c810
authored
Jan 20, 2009
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpm: add uni_buildreq, uni_rpminstall
parent
bd788d99
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
0 deletions
+33
-0
rpm
share/eterbuild/functions/rpm
+33
-0
No files found.
share/eterbuild/functions/rpm
View file @
3723c810
...
...
@@ -58,6 +58,39 @@ uni_rpmbuild()
return
$RET
}
uni_buildreq
()
{
local
RET
=
0
local
SPECNAME
=
$1
local
SPECDIR
=
`
dirname
$SPECNAME
`
local
GEARBUILDREQ
=
gear-buildreq
if
is_gear
$SPECDIR
;
then
$NICE
$GEARBUILDREQ
--commit
--
$@
||
RET
=
$?
else
$NICE
buildreq
$@
||
RET
=
$?
fi
return
$RET
}
uni_rpminstall
()
{
local
RET
=
0
local
TWOPARAM
=
"-v"
if
[
-n
"
$RPMTOPDIR
"
]
;
then
TWOPARAM
=
"--define=_topdir
$RPMTOPDIR
"
fi
#if is_gear $SPECDIR ; then
# $NICE $GEARBUILDREQ --commit -- $@ || RET=$?
#else
rpm
-iv
"
$TWOPARAM
"
$@
||
RET
=
$?
#fi
return
$RET
}
# get correct BUILDROOT, run build_rpms_name before!
build_buildroot
()
{
...
...
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