## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by rust2rpm 27 %bcond check 1 # prevent library files from being installed %global cargo_install_lib 0 Name: jujutsu Version: 0.33.0 Release: %autorelease Summary: Jujutsu - an experimental version control system License: Apache-2.0 URL: https://github.com/jj-vcs/jj Source: https://github.com/jj-vcs/jj/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source: jujutsu-0.33.0-vendor.tar.xz BuildRequires: cargo-rpm-macros >= 26 BuildRequires: git-core %global _description %{expand: Jujutsu - an experimental version control system.} %description %{_description} %package -n jj Summary: %{summary} # (Apache-2.0 OR MIT) AND BSD-3-Clause # (MIT OR Apache-2.0) AND Unicode-3.0 # (MIT OR Apache-2.0) AND Unicode-DFS-2016 # 0BSD OR MIT OR Apache-2.0 # Apache-2.0 # Apache-2.0 OR BSL-1.0 # Apache-2.0 OR BSL-1.0 OR MIT # Apache-2.0 OR MIT # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT # BSD-2-Clause OR Apache-2.0 OR MIT # BSD-3-Clause # CC0-1.0 OR MIT-0 OR Apache-2.0 # MIT # MIT AND Unicode-DFS-2016 # MIT OR Apache-2.0 # MIT OR Apache-2.0 OR LGPL-2.1-or-later # MIT OR Apache-2.0 OR Zlib # MIT OR Zlib OR Apache-2.0 # MPL-2.0 # Unicode-3.0 # Unlicense OR MIT # WTFPL # Zlib # Zlib OR Apache-2.0 OR MIT License: %{shrink: (Apache-2.0 OR MIT) AND BSD-3-Clause AND (MIT OR Apache-2.0) AND Unicode-3.0 AND (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR BSL-1.0 OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND (CC0-1.0 OR MIT-0 OR Apache-2.0) AND MIT AND MIT AND Unicode-DFS-2016 AND (MIT OR Apache-2.0) AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Zlib OR Apache-2.0) AND MPL-2.0 AND Unicode-3.0 AND (Unlicense OR MIT) AND WTFPL AND Zlib AND (Zlib OR Apache-2.0 OR MIT) } # LICENSE.dependencies contains a full license breakdown %description -n jj %{_description} %files -n jj %license LICENSE %license LICENSE.images %license LICENSE.dependencies %license cargo-vendor.txt %{_bindir}/jj %prep %autosetup -n jj-%{version} -p1 -a1 %cargo_prep -v vendor # remove executable bits from source files find -type f -executable -print -exec chmod -x {} + mv docs/images/LICENSE LICENSE.images %build %cargo_build -f test-fakes %{cargo_license_summary -f test-fakes} %{cargo_license -f test-fakes} > LICENSE.dependencies %{cargo_vendor_manifest} %install pushd cli %cargo_install popd %if %{with check} %check %cargo_test -f test-fakes %endif %changelog ## START: Generated by rpmautospec * Tue Sep 30 2025 nucfreq - 0.33.0-1 - Import ## END: Generated by rpmautospec