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
9dd9ff3f
You need to sign in or sign up before continuing.
Commit
9dd9ff3f
authored
Jul 04, 2019
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmgs: use rpm-uscan if we have .watch file really
parent
fffbd61c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
rpmgs
bin/rpmgs
+9
-5
No files found.
bin/rpmgs
View file @
9dd9ff3f
...
@@ -407,14 +407,18 @@ test -z "$LISTNAMES" && print_error
...
@@ -407,14 +407,18 @@ test -z "$LISTNAMES" && print_error
if
$EPMCMD
assure gear-rules-verify perl-Gear-Rules
;
then
if
$EPMCMD
assure gear-rules-verify perl-Gear-Rules
;
then
docmd gear-rules-verify
docmd gear-rules-verify
gear-rules-verify 2>&1 |
grep
-q
"gear-rules-verify should be run in clean repository"
&&
fatal
gear-rules-verify 2>&1 |
grep
-q
"gear-rules-verify should be run in clean repository"
&&
warning
"gear-rules-verify should be run in clean repository"
if
gear-rules-verify |
grep
"Ready for tarball update"
;
then
if
gear-rules-verify |
grep
-q
"Ready for tarball update"
;
then
[
-n
"
$GSSETVERSION
"
]
&&
warning
"we will ignore version and update to the latest version from watch file"
[
-n
"
$GSSETVERSION
"
]
&&
warning
"we will ignore version and update to the latest version from watch file"
# TODO: rpm-uscan 0.20.2.17.11 or above
$EPMCMD
assure rpm-uscan
$EPMCMD
assure rpm-uscan
$EPMCMD
assure gear-uupdate
$EPMCMD
assure gear-uupdate
docmd rpm-uscan
--force-action
gear-uupdate
if
ls
$(
get_root_git_dir
)
/.gear |
grep
\.
watch
$
;
then
#docmd gammit
docmd rpm-uscan
--force-action
gear-uupdate
exit
0
exit
0
else
warning
"there are no .watch files in (get_root_git_dir)/.gear, skip rpm-uscan"
fi
fi
fi
fi
fi
...
...
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