File korg-helpers.spec of Package korg-helpers
#
# spec file for package korg-helpers
#
# Copyright (c) 2025 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%define version_unconverted 20240920.g058221fcb31a
Name: korg-helpers
Version: 20240920.g058221fcb31a
Release: 0
Summary: Helper scripts for kernel.org infrastructure
License: GPL-2.0-only
URL: https://git.kernel.org/pub/scm/linux/kernel/git/mricon/korg-helpers.git/
Source0: %{name}-%{version}.tar.xz
BuildArch: noarch
%description
This is a small collection of various helper scripts that may help when
working with kernel.org infrastructure.
%prep
%autosetup -p1
find . -type f -print -exec sed -i '1 s@/usr/bin/env python3*@%{_bindir}/python3@' {} +
%build
%install
install -d %{buildroot}/%{_bindir}
find . -type f -executable -print -exec install -t %{buildroot}/%{_bindir} {} +
%files
%doc README
%license COPYING
%{_bindir}/*
%changelog