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
6574eec2
You need to sign in or sign up before continuing.
Commit
6574eec2
authored
Feb 20, 2013
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix add ia32-libs for old deb targets
parent
7a68b16c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
8 deletions
+5
-8
rpmbph
bin/rpmbph
+5
-4
repl
share/eterbuild/functions/repl
+0
-4
No files found.
bin/rpmbph
View file @
6574eec2
...
@@ -26,7 +26,8 @@ BASERELEASE=$(get_numrelease $SPECNAME)
...
@@ -26,7 +26,8 @@ BASERELEASE=$(get_numrelease $SPECNAME)
RELEASE
=
$(
get_release
$SPECNAME
)
RELEASE
=
$(
get_release
$SPECNAME
)
BUILDNAME
=
$(
get_name
$SPECNAME
)
BUILDNAME
=
$(
get_name
$SPECNAME
)
ADDFIXCOMMAND
=
""
ADDFIXCOMMAND
=
ADDREQUIRES
=
echo
"Converting spec
$(
basename
$SPECNAME
)
to
$MDISTR
..."
echo
"Converting spec
$(
basename
$SPECNAME
)
to
$MDISTR
..."
...
@@ -68,8 +69,8 @@ else
...
@@ -68,8 +69,8 @@ else
BUILDREQ
=
"
$BUILDREQ
make gcc
\n
$FIXPATCHFUZZ
"
BUILDREQ
=
"
$BUILDREQ
make gcc
\n
$FIXPATCHFUZZ
"
if
[
"
$BUILDARCH
"
=
"x86_64"
]
&&
echo
$BUILDNAME
|
grep
-q
wine
;
then
if
[
"
$BUILDARCH
"
=
"x86_64"
]
&&
echo
$BUILDNAME
|
grep
-q
wine
;
then
[
"
$DISTRNAME
"
=
"Debian"
]
&&
BUILDREQ
=
"
$BUILDREQ
ia32-libs"
[
"
$DISTRNAME
"
=
"Debian"
]
&&
BUILDREQ
=
"
$BUILDREQ
ia32-libs"
&&
ADDREQUIRES
=
"
$ADDREQUIRES
ia32-libs"
[
"
$DISTRNAME
"
=
"Ubuntu"
]
&&
!
version_more_version
$DISTRVERSION
12.04
]
&&
BUILDREQ
=
"
$BUILDREQ
ia32-libs"
[
"
$DISTRNAME
"
=
"Ubuntu"
]
&&
!
version_more_version
$DISTRVERSION
12.04
]
&&
BUILDREQ
=
"
$BUILDREQ
ia32-libs"
&&
ADDREQUIRES
=
"
$ADDREQUIRES
ia32-libs"
fi
fi
# Hack for allow repack on x86_64 packages with ExclusiveArch: %{ix586}
# Hack for allow repack on x86_64 packages with ExclusiveArch: %{ix586}
...
@@ -138,7 +139,7 @@ if [ "$MDISTR" = "M23" ] ; then
...
@@ -138,7 +139,7 @@ if [ "$MDISTR" = "M23" ] ; then
fi
fi
LISTBUILDDEP
=
`
print_buildreq
$SPECNAME
`
LISTBUILDDEP
=
`
print_buildreq
$SPECNAME
`
LISTREQDEP
=
`
print_pkgreq
$SPECNAME
`
LISTREQDEP
=
"
`
print_pkgreq
$SPECNAME
`
$ADDREQUIRES
"
LISTDEP
=
`
echo
$LISTBUILDDEP
$LISTREQDEP
| xargs
-n1
echo
|
sort
-u
`
LISTDEP
=
`
echo
$LISTBUILDDEP
$LISTREQDEP
| xargs
-n1
echo
|
sort
-u
`
LISTGROUP
=
`
eval_spec
$SPECNAME
|
grep
"^Group"
|
sed
-e
"s|^.*:||g"
| xargs
-n1
echo
|
sort
-u
`
LISTGROUP
=
`
eval_spec
$SPECNAME
|
grep
"^Group"
|
sed
-e
"s|^.*:||g"
| xargs
-n1
echo
|
sort
-u
`
...
...
share/eterbuild/functions/repl
View file @
6574eec2
...
@@ -33,10 +33,6 @@ add_32bit_requires()
...
@@ -33,10 +33,6 @@ add_32bit_requires()
echo
$i
|
grep
-q
--
"-dev$"
&&
echo
"
$i
:i386"
&&
continue
echo
$i
|
grep
-q
--
"-dev$"
&&
echo
"
$i
:i386"
&&
continue
echo
"
$i
"
echo
"
$i
"
done
| xargs
-n
1000
echo
done
| xargs
-n
1000
echo
elif
[
"
$DISTRNAME
"
=
"Ubuntu"
]
&&
!
version_more_version
$DISTRVERSION
12.04
;
then
echo
"
$@
ia32-libs"
elif
[
"
$DISTRNAME
"
=
"Debian"
]
;
then
echo
"
$@
ia32-libs"
else
else
echo
"
$@
"
echo
"
$@
"
fi
fi
...
...
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