diff --git a/anda/langs/rust/bat-extras/anda.hcl b/anda/devs/bat-extras/anda.hcl similarity index 100% rename from anda/langs/rust/bat-extras/anda.hcl rename to anda/devs/bat-extras/anda.hcl diff --git a/anda/langs/rust/bat-extras/bat-extras.spec b/anda/devs/bat-extras/bat-extras.spec similarity index 73% rename from anda/langs/rust/bat-extras/bat-extras.spec rename to anda/devs/bat-extras/bat-extras.spec index 50305ab3a0..6540fa4f62 100644 --- a/anda/langs/rust/bat-extras/bat-extras.spec +++ b/anda/devs/bat-extras/bat-extras.spec @@ -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/* diff --git a/anda/langs/rust/bat-extras/update.rhai b/anda/devs/bat-extras/update.rhai similarity index 100% rename from anda/langs/rust/bat-extras/update.rhai rename to anda/devs/bat-extras/update.rhai