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
cd8b4962
Commit
cd8b4962
authored
Mar 06, 2010
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes for spec with full path
parent
0007f66b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
rpmbph
bin/rpmbph
+1
-1
rpmbs
bin/rpmbs
+2
-1
build
share/eterbuild/functions/build
+4
-2
No files found.
bin/rpmbph
View file @
cd8b4962
...
...
@@ -26,7 +26,7 @@ BASERELEASE=$(get_numrelease $SPECNAME)
FIXPATCHFUZZ
=
"%define _default_patch_fuzz 3"
echo
"Converting spec
$
SPECNAME
to
$MDISTR
..."
echo
"Converting spec
$
(
basename
$SPECNAME
)
to
$MDISTR
..."
# Set buildreq
if
[
"
$VENDOR
"
=
"alt"
]
;
then
...
...
bin/rpmbs
View file @
cd8b4962
...
...
@@ -268,11 +268,12 @@ CHECK_OPTIONS=""
test
-n
"
$NOCHECK
"
||
sisyphus_check
$CHECK_OPTIONS
--files
$LISTBUILT
||
fatal
"sisyphus check failed"
echog
"OK"
# rpm's find-req do not find rpmlint :)
RPMLINT
=
rpmlint
if
which
$RPMLINT
>
/dev/null
;
then
echog
-n
"Checking with rpmlint..."
echo
echo
$RPMLINT
$LISTBUILT
else
echog
"It is recommended to install rpmlint package for additional checking"
...
...
share/eterbuild/functions/build
View file @
cd8b4962
...
...
@@ -24,7 +24,7 @@ uni_rpmbuild()
COMMIT
=
"--commit"
fi
local
SPECNAME
=
$1
local
SPECNAME
=
"
$1
"
local
SPECDIR
=
`
dirname
$SPECNAME
`
local
GEAR
=
gear
...
...
@@ -49,7 +49,9 @@ uni_rpmbuild()
[
-f
"
$SPECNAME
"
]
||
fatal
"run uni_rpmbuild with spec as 2nd parameter"
shift
# skip spec name
#[ -n "$SPECDIR" ] && [ "$SPECDIR" != "." ] && warning "Spec is not in git dir (SPECDIR='$SPECDIR')"
ALTGEARRULESFILE
=
.gear/rules-
${
SPECNAME
/.spec/
}
# FIXME: use spec name as project name
BASESPECNAME
=
$(
basename
"
$SPECNAME
"
)
ALTGEARRULESFILE
=
.gear/rules-
${
BASESPECNAME
/.spec/
}
ALTGEARRULES
=
$(
git rev-parse
--git-dir
)
/../
$ALTGEARRULESFILE
GEARRULES
=
if
[
-r
"
$ALTGEARRULES
"
]
;
then
...
...
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