# disable debuginfo subpackage %global debug_package %{nil} Name: ktlint Version: 1.4.1 Release: 1%{?dist} Summary: An anti-bikeshedding Kotlin linter with built-in formatter License: MIT BuildArch: noarch ExclusiveArch: %{java_arches} noarch Source0: https://github.com/pinterest/ktlint/archive/%{version}.tar.gz BuildRequires: java-latest-openjdk-devel Requires: jre >= 11 %description An anti-bikeshedding Kotlin linter with built-in formatter %prep %setup -q -n ktlint-%{version} %build ./gradlew --no-configuration-cache --no-scan --no-daemon --console plain -Pktlint.publication.signing.enable=false shadowJarExecutable %install install -d %{buildroot}%{_bindir} cp -af ./ktlint-cli/build/run/ktlint %{buildroot}%{_bindir}/%{name} %files %license LICENSE %{_bindir}/%{name} %changelog * Tue Nov 05 2024 M3DZIK - 1.4.1-1 - Update to 1.4.1 * Thu Oct 24 2024 M3DZIK - 1.4.0-1 - Update to 1.4.0 * Tue Jul 02 2024 M3DZIK - 1.3.1-1 - Update to 1.3.1 * Tue Jun 04 2024 M3DZIK - 1.3.0-1 - Update to 1.3.0 * Fri Mar 01 2024 M3DZIK - 1.2.1-1 - Update to 1.2.1 * Thu Feb 29 2024 M3DZIK - 1.2.0-1 - Update to 1.2.0 * Tue Jan 09 2024 M3DZIK - 1.1.1-1 - Update to 1.1.1 * Wed Dec 20 2023 M3DZIK - 1.1.0-1 - Update to 1.1.0 * Sat Oct 28 2023 M3DZIK - 1.0.1 - Initial release