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
e32d4dc6
Commit
e32d4dc6
authored
May 05, 2015
by
Marco Clemencic
Browse files
fixed a problem with data package version set to 'v*'
parent
ce7a409f
Changes
1
Hide whitespace changes
Inline
Side-by-side
python/LbRPMTools/LHCbRPMSpecBuilder.py
View file @
e32d4dc6
...
...
@@ -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