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
1
Merge Requests
1
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
a7ec65c3
You need to sign in or sign up before continuing.
Commit
a7ec65c3
authored
Jun 15, 2009
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmbph: fix new readlink using for ASP Linux 11.2
parent
34a2ff3b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
rpmbph
bin/rpmbph
+11
-4
No files found.
bin/rpmbph
View file @
a7ec65c3
...
@@ -47,18 +47,25 @@ fi
...
@@ -47,18 +47,25 @@ fi
if
[
"
$VENDOR
"
=
"mdv"
]
||
[
"
$VENDOR
"
=
"pclinux"
]
;
then
if
[
"
$VENDOR
"
=
"mdv"
]
||
[
"
$VENDOR
"
=
"pclinux"
]
;
then
# due new libtool, affected on Mandriva 2009.0
# due new libtool, affected on Mandriva 2009.0
test
-z
"
$VERBOSE
"
||
echo
"Disable libtoolize"
RECONFT
=
"%define _disable_libtoolize 1"
RECONFT
=
"%define _disable_libtoolize 1"
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
=
"
$FIXPATCHFUZZ
"
cat
$SPECNAME
|
grep
rpm-build-compat &>/dev/null
&&
BUILDREQ
=
"
$FIXPATCHFUZZ
"
# TODO: fix readlink -m, introduced by new libtool and missed in RHEL4 (replace with readlink -e)
FIXMKTEMP
=
""
# fix readlink -m, introduced by new libtool and missed in RHEL4 (replace with readlink -e)
if
[
"
`
distr_vendor
-d
`
/
$DISTRVERSION
"
=
"ASPLinux/11.2"
]
;
then
test
-z
"
$VERBOSE
"
||
echo
"Add subst readlink -m"
FIXMKTEMP
=
"%__subst 's|readlink -m|readlink -f|g' libtool ltmain.sh"
fi
# fix mktemp using for MCBC
# fix mktemp using for MCBC
if
[
"
$VENDOR
"
=
"mcbc"
]
;
then
if
[
"
$VENDOR
"
=
"mcbc"
]
;
then
FIXMKTEMP
=
"%__subst "
s|mktemp
-dt
|mktemp
-d
|g
" configure"
test
-z
"
$VERBOSE
"
||
echo
"Add subst mktemp -dt"
else
FIXMKTEMP
=
"%__subst 's|mktemp -dt|mktemp -d|g' configure"
FIXMKTEMP
=
""
fi
fi
# Too old problem
# Too old problem
...
...
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