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
1
Merge Requests
1
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
707d19a8
Commit
707d19a8
authored
Feb 11, 2026
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmgs: fix vendoring for Source-git packages with separate packaging branch
parent
3572e8a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
rpmgs
bin/rpmgs
+12
-1
No files found.
bin/rpmgs
View file @
707d19a8
...
...
@@ -487,7 +487,18 @@ update_predownloaded()
if
[
-n
"
$FIRSTSOURCEGIT
"
]
||
[
-n
"
$GETSOURCEUUPDATE
"
]
;
then
# cp -a exclude .dir
mkdir
-p
$PSM
||
fatal
cp
-a
$RGD
/
*
$PSM
||
fatal
# For Source-git packages with separate packaging branch,
# source files may not be in working tree. Extract from tag.
local
tag
if
[
-n
"
$FIRSTSOURCEGIT
"
]
;
then
tag
=
$(
get_tag_by_version
"
$VERSION
"
2>/dev/null
)
fi
if
[
-n
"
$tag
"
]
&&
git
-C
"
$RGD
"
rev-parse
"
$tag
"
>
/dev/null 2>/dev/null
;
then
info
"Extracting source from tag
$tag
for vendoring..."
git
-C
"
$RGD
"
archive
"
$tag
"
|
tar
-x
-C
$PSM
||
fatal
else
cp
-a
$RGD
/
*
$PSM
||
fatal
fi
else
[
-n
"
$CURNAME
"
]
||
fatal
"Main source is missed. Check Source: field."
cp
-a
$RGD
/
$CURNAME
$PSM
||
fatal
...
...
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