mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-04 19:02:19 +00:00
4643523b9e
* chore(sync): frawhide -> f44 * bump(gurk): release 3 → 4 * bump(discord-ptb): release 1 → 2 * bump(chdig): release 1 → 2 * bump(discord-canary): release 1 → 2 * bump(feishin): release 1 → 2 * bump(bazzite-portal): release 3 → 4 * bump(discord): release 1 → 2 * bump(coolercontrol): release 1 → 2 * bump(discord-ptb-openasar): release 1 → 2 * bump(bitwarden-cli.bin): release 2 → 3 * bump(discord-openasar): release 1 → 2 * bump(discord-canary-openasar): release 1 → 2 --------- Co-authored-by: hamachitan[bot] <252235638+hamachitan[bot]@users.noreply.github.com>
43 lines
1.0 KiB
RPMSpec
43 lines
1.0 KiB
RPMSpec
%global crate typos-cli
|
|
%define debug_package %{nil}
|
|
|
|
Name: typos
|
|
Version: 1.44.0
|
|
Release: 1%?dist
|
|
Summary: Source Code Spelling Correction
|
|
|
|
License: MIT OR Apache-2.0
|
|
URL: https://crates.io/crates/typos-cli
|
|
Source0: %{crates_source}
|
|
Source1: https://raw.githubusercontent.com/crate-ci/%{name}/refs/tags/v%{version}/LICENSE-MIT
|
|
Source2: https://raw.githubusercontent.com/crate-ci/%{name}/refs/tags/v%{version}/LICENSE-APACHE
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
BuildRequires: mold
|
|
|
|
%description
|
|
Finds and corrects spelling mistakes among source code.
|
|
|
|
%prep
|
|
%autosetup -n %{crate}-%{version}
|
|
cp %{S:1} .
|
|
cp %{S:2} .
|
|
%cargo_prep_online
|
|
|
|
%build
|
|
%cargo_build
|
|
%cargo_license_summary_online
|
|
%{cargo_license_online} > LICENSE.dependencies
|
|
|
|
%install
|
|
install -Dm 755 target/rpm/%{name} -t %{buildroot}%{_bindir}
|
|
|
|
%files
|
|
%license LICENSE-MIT LICENSE-APACHE LICENSE.dependencies
|
|
%doc README.md
|
|
%{_bindir}/%{name}
|
|
|
|
%changelog
|
|
* Sun Dec 28 2025 metcya <metcya@gmail.com> - 1.40.0-1
|
|
- Initial package
|