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
b3c793d5
Commit
b3c793d5
authored
Jul 10, 2009
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmpub: small changes
parent
097cbed0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
rpmpub
bin/rpmpub
+5
-2
etersoft
share/eterbuild/functions/etersoft
+2
-2
No files found.
bin/rpmpub
View file @
b3c793d5
...
...
@@ -46,5 +46,8 @@ export ETERDESTSRPM
# just for your information: rpmbs supports ssh-like target
$ETERBUILDBIN
/rpmbs
-s
$SPECNAME
||
fatal
"Can't build SRPMS"
# set last link (assume PROJECT/VERSION/sources dir structure)
set_last_link
$ETERDESTSRPM
/..
$(
get_version
$SPECNAME
)
# if known target
if
[
-n
"
$ETERDESTSRPM
"
]
;
then
# set last link (assume PROJECT/VERSION/sources dir structure)
set_last_link
$ETERDESTSRPM
/..
$(
get_version
$SPECNAME
)
fi
share/eterbuild/functions/etersoft
View file @
b3c793d5
...
...
@@ -9,10 +9,10 @@ get_etersoft_srpm_path()
local
SOURCE
local
ALPHA
=
$2
local
FTPBASE
=
/var/ftp
local
SOURCEFTP
=
$(
eval_spec
$1
| get_var
"Source
$2
"
)
local
SOURCEFTP
=
$(
eval_spec
$1
| get_var
"Source"
)
if
[
-z
"
$SOURCEFTP
"
]
;
then
build_rpms_name
$1
SOURCEFTP
=
$(
cat
$1
| get_var
"#Source
$2
"
| subst_namever
)
SOURCEFTP
=
$(
cat
$1
| get_var
"#Source"
| subst_namever
)
fi
[
-n
"
$SOURCEFTP
"
]
||
fatal
"Can't get Source from spec"
SOURCEFTP
=
$(
dirname
"
$SOURCEFTP
"
)
...
...
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