Commit 233b07ae authored by Marco Clemencic's avatar Marco Clemencic
Browse files

fixed inconsistency with the rpm and LCG_interface name of expat

From: Marco Clemencic <marco.clemencic@cern.ch>


git-svn-id: svn+ssh://svn.cern.ch/reps/gaudi/Gaudi/trunk@7590 53ecefc3-a64d-0410-9bdf-b8581fa3287e
parent 736d4a34
......@@ -2,6 +2,10 @@ package GaudiPolicy
package manager: Marco Clemencic
Commit Id: $Format:%H$
! 2014-12-03 - Marco Clemencic
- Fixed inconsistency with the rpm and LCG_interface name of expat in
project_manifest.py
! 2014-11-27 - Marco Clemencic
- Added the declaration of the CMT tag lcg-nightlies to avoid CMT warnings.
......
......@@ -168,7 +168,6 @@ if __name__ == '__main__':
'LCG_Interfaces' in l]
externals.sort()
# get the versions of the externals
def get_ext_vers(ext):
'''
......@@ -183,8 +182,12 @@ if __name__ == '__main__':
vers = ''
return vers
# mapping between LCG_Interface name and RPM name for special cases
rpm_names = {'Expat': 'expat'}
fix_rpm_name = lambda n: rpm_names.get(n, n)
packages = ET.Element('packages')
packages.extend([ET.Element('package', name=ext, version=vers)
packages.extend([ET.Element('package', name=fix_rpm_name(ext), version=vers)
for ext, vers in [(ext, get_ext_vers(ext))
for ext in externals]
if vers])
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment