File scons.spec of Package scons

# spec file for package scons
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 Andreas Stieger <>
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

%define pythons python3
Name:           scons
Version:        4.8.0
Release:        0
Summary:        Replacement for Make
License:        MIT
Group:          Development/Tools/Building
BuildRequires:  %{python_module setuptools}
BuildRequires:  fdupes
BuildRequires:  python-rpm-macros
BuildArch:      noarch

SCons is a make replacement that provides a range of enhanced features,
such as automated dependency generation and built-in compilation cache
support. SCons rule sets are Python scripts, which means that SCons
provides itself as well as the features. SCons allows you to use the
full power of Python to control compilation.

%autosetup -p1

sed -i -e '/QT3_LIBPATH = os.path.join.*QT3DIR/s/lib/%{_lib}/' \


%python_expand %fdupes %{buildroot}%{$python_sitelib}

%license LICENSE

openSUSE Build Service is sponsored by