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
301879f5
Commit
301879f5
authored
Mar 04, 2021
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmbb: add --target ARCH support
parent
bb9d5feb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
rpmbb
bin/rpmbb
+7
-1
config
etc/config
+1
-1
No files found.
bin/rpmbb
View file @
301879f5
...
@@ -22,7 +22,7 @@ fi
...
@@ -22,7 +22,7 @@ fi
#############################
#############################
Usage
=
"Usage: rpmbb [-c -p -i -r -R] [spec]"
Usage
=
"Usage: rpmbb [-
-target BUILDARCH] [-
c -p -i -r -R] [spec]"
function
mygetopts
()
function
mygetopts
()
{
{
Descr
=
"rpmbb (Build Binary) - build binary rpm from spec or from git"
Descr
=
"rpmbb (Build Binary) - build binary rpm from spec or from git"
...
@@ -47,6 +47,12 @@ fi
...
@@ -47,6 +47,12 @@ fi
echog
" -d build with dmake"
echog
" -d build with dmake"
}
}
# first hack
if
[
"
$1
"
=
"--target"
]
;
then
BUILDARCH
=
"
$2
"
shift
2
fi
while
getopts
:hciprRd opt
;
do
while
getopts
:hciprRd opt
;
do
case
$opt
in
case
$opt
in
h
)
phelp
;
exit
0
;;
h
)
phelp
;
exit
0
;;
...
...
etc/config
View file @
301879f5
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
#BUILDROOT=
#BUILDROOT=
# Default arch for 32-bit packages (x86_64 will used for 64-bit packages)
# Default arch for 32-bit packages (x86_64 will used for 64-bit packages)
#
DEFAULT
ARCH=i586
#
BUILD
ARCH=i586
# Default ~/RPM path
# Default ~/RPM path
#RPMDIR=$HOME/RPM
#RPMDIR=$HOME/RPM
...
...
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