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
e98afbc1
Commit
e98afbc1
authored
Jul 18, 2016
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small fixes
parent
0c1bcff6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
7 deletions
+10
-7
rpmbps
bin/rpmbps
+8
-6
rpmgs
bin/rpmgs
+1
-0
repl
share/eterbuild/functions/repl
+1
-1
No files found.
bin/rpmbps
View file @
e98afbc1
...
@@ -140,13 +140,9 @@ else
...
@@ -140,13 +140,9 @@ else
fi
fi
fi
fi
# hack against very straight patch command
FIXPATCHFUZZ
=
"%define _default_patch_fuzz 3"
# see install in Korinf, need concatenate
BUILDREQ
=
"
$BUILDREQ
make gcc
\n
$FIXPATCHFUZZ
"
if
build32on64
;
then
if
build32on64
;
then
[
"
$DISTRNAME
"
=
"Debian"
]
&&
BUILDREQ
=
"
$BUILDREQ
ia32-libs"
&&
ADDREQUIRES
=
"
$ADDREQUIRES
ia32-libs"
[
"
$DISTRNAME
"
=
"Debian"
]
&&
!
version_more_version
$DISTRVERSION
8
&&
BUILDREQ
=
"
$BUILDREQ
ia32-libs"
&&
ADDREQUIRES
=
"
$ADDREQUIRES
ia32-libs"
[
"
$DISTRNAME
"
=
"AstraLinux"
]
&&
BUILDREQ
=
"
$BUILDREQ
ia32-libs-dev"
&&
ADDREQUIRES
=
"
$ADDREQUIRES
ia32-libs"
[
"
$DISTRNAME
"
=
"Ubuntu"
]
&&
!
version_more_version
$DISTRVERSION
12.04
&&
BUILDREQ
=
"
$BUILDREQ
ia32-libs"
&&
ADDREQUIRES
=
"
$ADDREQUIRES
ia32-libs"
[
"
$DISTRNAME
"
=
"Ubuntu"
]
&&
!
version_more_version
$DISTRVERSION
12.04
&&
BUILDREQ
=
"
$BUILDREQ
ia32-libs"
&&
ADDREQUIRES
=
"
$ADDREQUIRES
ia32-libs"
[
"
$DISTRNAME
"
=
"CentOS"
]
&&
version_more_version
$DISTRVERSION
6
&&
BUILDREQ
=
"
$BUILDREQ
glibc-devel.i686"
[
"
$DISTRNAME
"
=
"CentOS"
]
&&
version_more_version
$DISTRVERSION
6
&&
BUILDREQ
=
"
$BUILDREQ
glibc-devel.i686"
[
"
$DISTRNAME
"
=
"Scientific"
]
&&
version_more_version
$DISTRVERSION
6
&&
BUILDREQ
=
"
$BUILDREQ
glibc-devel.i686"
[
"
$DISTRNAME
"
=
"Scientific"
]
&&
version_more_version
$DISTRVERSION
6
&&
BUILDREQ
=
"
$BUILDREQ
glibc-devel.i686"
...
@@ -154,6 +150,12 @@ else
...
@@ -154,6 +150,12 @@ else
[
"
$DISTRNAME
"
=
"SUSE"
]
&&
version_more_version
$DISTRVERSION
11
&&
BUILDREQ
=
"
$BUILDREQ
glibc-devel-32bit gcc-32bit"
[
"
$DISTRNAME
"
=
"SUSE"
]
&&
version_more_version
$DISTRVERSION
11
&&
BUILDREQ
=
"
$BUILDREQ
glibc-devel-32bit gcc-32bit"
fi
fi
# hack against very straight patch command
FIXPATCHFUZZ
=
"%define _default_patch_fuzz 3"
# see install in Korinf, need concatenate
BUILDREQ
=
"
$BUILDREQ
make gcc
\n
$FIXPATCHFUZZ
"
# (do not modify BUILDREQ anymore)
# Hack for allow repack on x86_64 packages with ExclusiveArch: %{ix586}
# Hack for allow repack on x86_64 packages with ExclusiveArch: %{ix586}
[
"
$SYSARCH
"
=
"x86_64"
]
&&
subst
"s|^ExclusiveArch:.*||g"
$SPECNAME
[
"
$SYSARCH
"
=
"x86_64"
]
&&
subst
"s|^ExclusiveArch:.*||g"
$SPECNAME
...
...
bin/rpmgs
View file @
e98afbc1
...
@@ -148,6 +148,7 @@ gear_update_from_tarball()
...
@@ -148,6 +148,7 @@ gear_update_from_tarball()
local
TARBALL
=
"
$1
"
local
TARBALL
=
"
$1
"
local
CURNAME
=
"
$2
"
local
CURNAME
=
"
$2
"
shift
2
shift
2
assert_var TARBALL CURNAME
[
-d
"
$CURNAME
"
]
||
CREATEFLAG
=
-c
[
-d
"
$CURNAME
"
]
||
CREATEFLAG
=
-c
# TODO: check tarball ext. for unsupported arch and realize it here or in gear-update
# TODO: check tarball ext. for unsupported arch and realize it here or in gear-update
echo
"Commit tarball '
$TARBALL
' to git subdir '
$CURNAME
'..."
echo
"Commit tarball '
$TARBALL
' to git subdir '
$CURNAME
'..."
...
...
share/eterbuild/functions/repl
View file @
e98afbc1
...
@@ -35,7 +35,7 @@ add_32bit_requires()
...
@@ -35,7 +35,7 @@ add_32bit_requires()
rhas
"
$GREP
"
"-devel$"
&&
!
rhas
"
$i
"
"(x86-32)$"
&&
echo
"
$i
$i
(x86-32)"
&&
continue
rhas
"
$GREP
"
"-devel$"
&&
!
rhas
"
$i
"
"(x86-32)$"
&&
echo
"
$i
$i
(x86-32)"
&&
continue
echo
"
$i
"
echo
"
$i
"
done
| xargs
-n
1000
echo
done
| xargs
-n
1000
echo
elif
[
"
$DISTRNAME
"
=
"Ubuntu"
]
&&
version_more_version
$DISTRVERSION
12.04
||
[
"
$DISTRNAME
"
=
"Debian"
]
&&
version_more_version
$DISTRVERSION
7
.0
;
then
elif
[
"
$DISTRNAME
"
=
"Ubuntu"
]
&&
version_more_version
$DISTRVERSION
12.04
||
[
"
$DISTRNAME
"
=
"Debian"
]
&&
version_more_version
$DISTRVERSION
7
;
then
# i386 on Debian/Ubuntu: # add :i386 to all -dev packages
# i386 on Debian/Ubuntu: # add :i386 to all -dev packages
for
i
in
$*
;
do
for
i
in
$*
;
do
rhas
"
$GREP
"
"-devel$"
&&
!
rhas
"
$i
"
":i386$"
&&
echo
"
$i
$i
:i386"
&&
continue
rhas
"
$GREP
"
"-devel$"
&&
!
rhas
"
$i
"
":i386$"
&&
echo
"
$i
$i
:i386"
&&
continue
...
...
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