fix: bat-extras (#3070)

* chore(bat-extras): move folder out of langs/rust because it's not actually written in rust

* fix(bat-extras): skip verification and misc fix
This commit is contained in:
sadlerm4
2025-01-23 18:55:04 +08:00
committed by GitHub
parent 50d34ad8e3
commit 5b17c54b63
3 changed files with 4 additions and 6 deletions
@@ -7,7 +7,7 @@ Summary: Bash scripts that integrate bat with various command line tools
License: MIT
URL: https://github.com/eth-p/bat-extras
Source0: https://github.com/eth-p/bat-extras/archive/refs/tags/v%{version}.tar.gz
Source0: %{url}/archive/v%{version}.tar.gz
BuildRequires: bash
Requires: bash
@@ -17,25 +17,23 @@ BuildArch: noarch
%{summary}.
%prep
%autosetup -n bat-extras-%{version}
%autosetup
%build
# ./build.sh --no-verify
%install
./build.sh --install --prefix=%{buildroot}%{_prefix}
./build.sh --install --prefix=%{buildroot}%{_prefix} --no-verify
mkdir -p %{buildroot}%{_mandir}/man1/
cp -v man/* %{buildroot}%{_mandir}/man1/
chmod -x %_mandir/man1/*
chmod -x %{buildroot}%{_mandir}/man1/*
%files
%license LICENSE.md
%doc doc/
%{_bindir}/bat*
%{_bindir}/prettybat
%{_mandir}/man1/*