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
9fd3f9c7
Commit
9fd3f9c7
authored
Jan 20, 2009
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmbph: full rewrote package repacking to other system, add src.rpm
support
parent
129c0b42
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
rpmbph
bin/rpmbph
+12
-10
No files found.
bin/rpmbph
View file @
9fd3f9c7
...
...
@@ -12,7 +12,7 @@
# load common functions, compatible with local and installed script
.
`
dirname
$0
`
/../share/eterbuild/functions/common
load_mod repl
load_mod repl
rpm
#VENDORVERSION=`distr_vendor -e`
DISTRVERSION
=
`
distr_vendor
-v
`
...
...
@@ -255,15 +255,17 @@ fi
unset
MENV MENVARG
# TODO: use temp dir (_topdir, _specdir, _sourcedir)
TMPBPDIR
=
$RPMDIR
/BP
# --define "_srcrpmdir ."
export
SPECSDIR
=
$TMPBPDIR
/SPECS/
$MDISTR
mkdir
-p
$SPECSDIR
# handle src.rpm too, LISTBUILT - result src.rpms in SRPMS dir
pack_src_rpm
$LISTNAMES
for
i
in
$LISTNAMES
;
do
DEST
=
`
basename
$i
`
cp
$i
$SPECSDIR
/
$DEST
||
fatal
"Can't copy spec"
alt_tolocal
$SPECSDIR
/
$DEST
export
RPMTOPDIR
=
$RPMDIR
/BP
for
i
in
$LISTBUILT
;
do
SPKG
=
$RPMDIR
/SRPMS/
$i
uni_rpminstall
$SPKG
SPECNAME
=
$RPMTOPDIR
/SPECS/
$(
spec_by_srpm
$SPKG
)
test
-r
"
$SPECNAME
"
||
fatal
"Spec
$SPECNAME
is not found"
rm
-f
$SPKG
alt_tolocal
$SPECNAME
done
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