diff --git a/SConstruct b/SConstruct index 1686d1c..d52dec5 100644 --- a/SConstruct +++ b/SConstruct @@ -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 - 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.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')