%define debug_package %{nil} %define src_install_dir /usr/src/%{name} Name: rules_cc Version: 0.0.6 Release: 1 Summary: C++ rules for Bazel License: Apache-2.0 Url: https://github.com/bazelbuild/%{name} Source0: https://github.com/bazelbuild/%{name}/releases/download/0.0.6/%{name}-%{version}.tar.gz Patch0: Fix-print-Syntax-error.patch BuildRequires: fdupes BuildArch: noarch %description Bazel rules which support building software written in C++. %package source Summary: Source code of bazel-rules-cc Group: Development/Sources BuildArch: noarch %description source Bazel rules which support building software written in C++. This package contains source code of bazel-rules-cc. %prep %autosetup -p1 %build %install mkdir -p %{buildroot}%{src_install_dir} cp -R * %{buildroot}%{src_install_dir} fdupes %{buildroot}%{src_install_dir} %files source %license LICENSE %doc README.md %{src_install_dir} %changelog * Sat Mar 15 2025 Acccll - 0.0.6-1 - package init