Name: scc Version: 4.0.0 Release: 1%{?dist} Summary: Счётчик строк кода по языкам — быстрее cloc License: MIT OR Unlicense URL: https://github.com/boyter/scc Source0: %{name}-%{version}.tar.gz Source1: %{name}-node-vendor-%{version}.tar.gz %global debug_package %{nil} BuildRequires: golang %description Счётчик строк кода по языкам — быстрее cloc ВНИМАНИЕ: пакет из неофициального стороннего репозитория arcticlore/candy. Репозиторий в активной разработке — возможны поломки и резкие изменения. Помидорами не кидайтесь, лучше заводите issue. WARNING: this package comes from an UNOFFICIAL third-party repository (arcticlore/candy). Work-in-progress: expect breakage and sudden changes. Don't throw tomatoes - file issues instead. %prep %autosetup -N -a1 -n scc-4.0.0 %build export GOFLAGS='-mod=vendor' export CGO_ENABLED=0 export GOPATH=$(mktemp -d) export GOCACHE=$GOPATH/cache go build -trimpath -ldflags '-s -w' -o scc . %install install -Dpm0755 scc %{buildroot}%{_bindir}/scc mkdir -p %{buildroot}%{_licensedir}/%{name} for f in LICENSE* LICEN[CS]E.MD COPYING* COPYRIGHT* NOTICE*; do [ -e "$f" ] && cp -p "$f" %{buildroot}%{_licensedir}/%{name}/ || true; done %files %{_licensedir}/%{name} %{_bindir}/scc %changelog * Wed Aug 26 2026 candy-bot - 4.0.0-1 - Автосборка из апстрим-релиза (terminal-eye-candy pipeline)