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
658e6666
Commit
658e6666
authored
Apr 24, 2009
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmbph: fix fuzz fix
parent
d920f217
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
rpmbph
bin/rpmbph
+4
-2
No files found.
bin/rpmbph
View file @
658e6666
...
@@ -24,6 +24,8 @@ SPECNAME=$1
...
@@ -24,6 +24,8 @@ SPECNAME=$1
BASERELEASE
=
$(
get_numrelease
$SPECNAME
)
BASERELEASE
=
$(
get_numrelease
$SPECNAME
)
FIXPATCHFUZZ
=
"%define _default_patch_fuzz 3"
# Set buildreq
# Set buildreq
if
[
"
$VENDOR
"
=
"alt"
]
;
then
if
[
"
$VENDOR
"
=
"alt"
]
;
then
BUILDREQ
=
"BuildRequires: rpm-build-compat >= 0.95"
BUILDREQ
=
"BuildRequires: rpm-build-compat >= 0.95"
...
@@ -35,7 +37,7 @@ if [ "$VENDOR" = "alt" ] ; then
...
@@ -35,7 +37,7 @@ if [ "$VENDOR" = "alt" ] ; then
CLEANTEXT
=
""
CLEANTEXT
=
""
else
else
# Need our compat package and disable strong patch checking
# Need our compat package and disable strong patch checking
BUILDREQ
=
"BuildRequires: rpm-build-altlinux-compat >= 0.95
\n
%define _default_patch_fuzz 3
"
BUILDREQ
=
"BuildRequires: rpm-build-altlinux-compat >= 0.95
\n
$FIXPATCHFUZZ
"
[
-z
"
$BUILDCOMMAND
"
]
&&
BUILDCOMMAND
=
rpmbb
[
-z
"
$BUILDCOMMAND
"
]
&&
BUILDCOMMAND
=
rpmbb
set_release
$SPECNAME
eter
$BASERELEASE$VENDOR
set_release
$SPECNAME
eter
$BASERELEASE$VENDOR
ADDDEF
=
"%defattr(-, root, root)"
ADDDEF
=
"%defattr(-, root, root)"
...
@@ -43,7 +45,7 @@ else
...
@@ -43,7 +45,7 @@ else
fi
fi
# Do not add BuildReq if already exist
# Do not add BuildReq if already exist
cat
$SPECNAME
|
grep
rpm-build-compat &>/dev/null
&&
BUILDREQ
=
""
cat
$SPECNAME
|
grep
rpm-build-compat &>/dev/null
&&
BUILDREQ
=
"
$FIXPATCHFUZZ
"
# fix mktemp using for MCBC
# fix mktemp using for MCBC
if
[
"
$VENDOR
"
=
"mcbc"
]
;
then
if
[
"
$VENDOR
"
=
"mcbc"
]
;
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