From 706a4b602388e511ed7b0054b3923dc78396e07e Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Tue, 16 Feb 2016 11:55:11 +0100 Subject: [PATCH] packaging: define license macro if undef This was needed to build on Tizen:2.3 Change-Id: I32247ff5fc823f282ab3635d6b601ab800fc0d75 Signed-off-by: Philippe Coval --- packaging/scons.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packaging/scons.spec b/packaging/scons.spec index c472509..aa0070b 100644 --- a/packaging/scons.spec +++ b/packaging/scons.spec @@ -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 -- 2.7.4