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
c104c1cd
Commit
c104c1cd
authored
Aug 17, 2015
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small fixes
parent
3d9e4ece
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
8 deletions
+13
-8
loginhsh
bin/loginhsh
+1
-1
rpmcs
bin/rpmcs
+3
-1
etersoft-build-utils.spec
etersoft-build-utils.spec
+1
-1
config
share/eterbuild/functions/config
+8
-5
No files found.
bin/loginhsh
View file @
c104c1cd
...
@@ -152,7 +152,7 @@ docmd $HSH-shell $HASHERDIR $SHELLHASHERARG $ROOTER -Y --shell
...
@@ -152,7 +152,7 @@ docmd $HSH-shell $HASHERDIR $SHELLHASHERARG $ROOTER -Y --shell
if
[
-n
"
$AUTOMODE
"
]
;
then
if
[
-n
"
$AUTOMODE
"
]
;
then
# FIXME: do not remove on x86_64
# FIXME: do not remove on x86_64
echo
"Remov
e package for test preun scripts
"
echo
"Remov
ing package for test preun scripts...
"
# use when eepm >= 1.3.0 will everywhere
# use when eepm >= 1.3.0 will everywhere
#docmd $HSH-run --rooter $HASHERDIR -- epm remove $LISTNAMES
#docmd $HSH-run --rooter $HASHERDIR -- epm remove $LISTNAMES
docmd
$HSH
-run
--rooter
$HASHERDIR
--
rpm
-e
$(
drop_pkg_extensions
$LISTNAMES
)
docmd
$HSH
-run
--rooter
$HASHERDIR
--
rpm
-e
$(
drop_pkg_extensions
$LISTNAMES
)
...
...
bin/rpmcs
View file @
c104c1cd
...
@@ -389,6 +389,7 @@ do
...
@@ -389,6 +389,7 @@ do
subst
"s|^%__python setup.py build|%python_build|g"
$i
subst
"s|^%__python setup.py build|%python_build|g"
$i
subst
's|^CFLAGS="$RPM_OPT_FLAGS" python setup.py build|%python_build|g'
$i
subst
's|^CFLAGS="$RPM_OPT_FLAGS" python setup.py build|%python_build|g'
$i
subst
's|^CFLAGS="%optflags" python setup.py build|%python_build|g'
$i
subst
"s|^%__python setup.py install --root.%buildroot|%python_install|g"
$i
subst
"s|^%__python setup.py install --root.%buildroot|%python_install|g"
$i
subst
"s|^%__python setup.py install --skip-build --root %buildroot|%python_install|g"
$i
subst
"s|^%__python setup.py install --skip-build --root %buildroot|%python_install|g"
$i
subst
"s|^%__python setup.py install -O1 --skip-build --root %buildroot|%python_install|g"
$i
subst
"s|^%__python setup.py install -O1 --skip-build --root %buildroot|%python_install|g"
$i
...
@@ -464,7 +465,8 @@ do
...
@@ -464,7 +465,8 @@ do
# Add packager
# Add packager
if
!
grep
"^Packager"
$i
;
then
if
!
grep
"^Packager"
$i
;
then
PACKAGT
=
"Packager:
$(
$RPMBUILD
--eval
%packager
$i
)
"
PACKAGT
=
"Packager:
$OWNERMAIL
"
rhas
"
$OWNERMAIL
"
"packager"
&&
fatal
"Packager
$OWNERMAIL
is not defined correctly in ~/.rpmmacros"
cat
$i
|
awk
'BEGIN{desk=0}{if(/^Source/&&desk==0){printf("%s\n\n", text);desk++};print}'
text
=
"
$PACKAGT
"
>
$i
.tmp
&&
mv
-f
$i
.tmp
$i
cat
$i
|
awk
'BEGIN{desk=0}{if(/^Source/&&desk==0){printf("%s\n\n", text);desk++};print}'
text
=
"
$PACKAGT
"
>
$i
.tmp
&&
mv
-f
$i
.tmp
$i
fi
fi
...
...
etersoft-build-utils.spec
View file @
c104c1cd
...
@@ -22,7 +22,7 @@ BuildArchitectures: noarch
...
@@ -22,7 +22,7 @@ BuildArchitectures: noarch
# Buildreqs note: C compiler is required by rpm-build; we do not require C++ here
# Buildreqs note: C compiler is required by rpm-build; we do not require C++ here
BuildRequires: rpm-build-compat >= %altcompat_ver
BuildRequires: rpm-build-compat >= %altcompat_ver
Requires: giter >=
0.8
Requires: giter >=
1.2
Requires: eepm >= 1.5.0
Requires: eepm >= 1.5.0
Requires: erc >= 0.8
Requires: erc >= 0.8
...
...
share/eterbuild/functions/config
View file @
c104c1cd
...
@@ -28,8 +28,8 @@ NICE="nice"
...
@@ -28,8 +28,8 @@ NICE="nice"
RPMBUILD
=
rpmbuild
RPMBUILD
=
rpmbuild
# CHECKME: works only on ALT?
# CHECKME: works only on ALT?
RPMDIR
=
`
rpm
--eval
%_topdir
`
RPMDIR
=
$(
rpm
--eval
%_topdir
)
||
fatal
RPMTMPDIR
=
`
rpm
--eval
%_tmppath
`
RPMTMPDIR
=
$(
rpm
--eval
%_tmppath
)
||
fatal
# Can be overrided in the scripts
# Can be overrided in the scripts
[
-n
"
$RPMTOPDIR
"
]
||
RPMTOPDIR
=
"
$RPMDIR
"
[
-n
"
$RPMTOPDIR
"
]
||
RPMTOPDIR
=
"
$RPMDIR
"
...
@@ -38,7 +38,9 @@ RPMTMPDIR=`rpm --eval %_tmppath`
...
@@ -38,7 +38,9 @@ RPMTMPDIR=`rpm --eval %_tmppath`
#OWNERMAIL=`grep "^%packager" ~/.rpmmacros | head -n 1 | sed -e "s/%packager[ \t]*//g"`
#OWNERMAIL=`grep "^%packager" ~/.rpmmacros | head -n 1 | sed -e "s/%packager[ \t]*//g"`
# works only on ALT?
# works only on ALT?
OWNERMAIL
=
`
rpm
--eval
%packager
`
# TODO: get from git also?
OWNERMAIL
=
$(
rpm
--eval
%packager
)
||
fatal
COMPANYFTP
=
etersoft.ru
COMPANYFTP
=
etersoft.ru
TARGETFTPBASE
=
"/var/ftp"
TARGETFTPBASE
=
"/var/ftp"
...
@@ -49,8 +51,9 @@ HASHERARG=""
...
@@ -49,8 +51,9 @@ HASHERARG=""
# TODO: do not use this notation at all
# TODO: do not use this notation at all
# for use in help as example branch/distro name
# for use in help as example branch/distro name
EXAMPLEALTDISTRVERSION
=
"p6"
EXAMPLEALTDISTRVERSION
=
"p7"
CURRENTBRANCHNAME
=
"M60"
# FIXME: obsoleted
CURRENTBRANCHNAME
=
"M70"
# Build for Sisyphus by default
# Build for Sisyphus by default
MENV
=
SS
MENV
=
SS
...
...
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