packaging: define license macro if undef 53/59553/1 accepted/tizen_8.0_unified accepted/tizen_unified sandbox/pcoval/tizen sandbox/pcoval/tizen_2.2 sandbox/pcoval/tizen_2.3 tizen_8.0 accepted/tizen/8.0/unified/20231005.095523 accepted/tizen/unified/20230306.081557 tizen_8.0_m2_release
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Tue, 16 Feb 2016 10:55:11 +0000 (11:55 +0100)
committerPhilippe Coval <philippe.coval@osg.samsung.com>
Tue, 16 Feb 2016 10:55:11 +0000 (11:55 +0100)
This was needed to build on Tizen:2.3

Change-Id: I32247ff5fc823f282ab3635d6b601ab800fc0d75
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
packaging/scons.spec

index c472509..aa0070b 100644 (file)
@@ -26,6 +26,10 @@ Url:            http://www.scons.org/
 BuildRequires:  fdupes
 BuildRequires:  python-devel
 
+%if ! %{?license:0}
+%define license %doc
+%endif
+
 %description
 SCons is a make replacement that provides a range of enhanced features,
 such as automated dependency generation and built-in compilation cache
@@ -53,5 +57,5 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot} --install-lib=%{
 %{python_sitearch}/SCons/
 %{python_sitearch}/*.egg-info
 %{_mandir}/man1/*.gz
+%{_libdir}/*
 
-%changelog