Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Colas Pomies
LbNightlyTools
Commits
af8fd3d1
Commit
af8fd3d1
authored
May 05, 2015
by
Marco Clemencic
Committed by
cpomies
May 06, 2015
Browse files
fixed a problem with data package version set to 'v*'
parent
f8b13e28
Changes
1
Hide whitespace changes
Inline
Side-by-side
python/LbRPMTools/LHCbRPMSpecBuilder.py
View file @
af8fd3d1
...
...
@@ -559,8 +559,8 @@ ${extraRequires}
packonly
=
pack
.
split
(
"/"
)[
-
1
]
p
=
getPackage
(
packonly
)
# Now parsing the version, including possible '*'
if
ver
==
'*'
:
# Now parsing the version, including possible '*'
and 'v*'
if
ver
in
(
'*'
,
'v*'
)
:
(
major
,
minor
,
patch
,
gpatch
)
=
(
'*'
,
None
,
None
,
None
)
else
:
_txt_version_style
=
r
'v([0-9\*]+)r([0-9\*]+)(?:p([0-9\*]+))?(?:g([0-9\*]+))?'
...
...
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