Work around the scons Package() VERSION attribute
by specifying the target and source explicitly
This commit is contained in:
+4
-4
@@ -152,16 +152,16 @@ subdirs = [
|
||||
for subdir in subdirs:
|
||||
env.SConscript(subdir + '/SConscript', variant_dir='#build/' + subdir, src_dir='#'+subdir, duplicate=0)
|
||||
|
||||
env.Package(NAME = 'libucore',
|
||||
VERSION = version_info['version_str'] + '.0', #Trailing .0 is needed cause a SCons bug
|
||||
env.Package(target = 'libucore-' + version_info['version_str'] + '.tar.gz',
|
||||
source = env.FindInstalledFiles(),
|
||||
NAME = 'libucore',
|
||||
VERSION = version_info['version_str'],
|
||||
PACKAGEVERSION = 0,
|
||||
PACKAGETYPE = 'targz',
|
||||
LICENSE = 'BSD',
|
||||
SUMMARY = 'libucore is a C library of misc useful stuff including an eventloop, timer support and various data-structures.',
|
||||
DESCRIPTION = 'libucore is a C library of misc useful stuff including an eventloop, timer support and various data-structures.',
|
||||
X_RPM_GROUP = 'Development/Libraries'
|
||||
|
||||
|
||||
)
|
||||
|
||||
env.Default('src')
|
||||
|
||||
Reference in New Issue
Block a user