diff --git a/README.packager b/README.packager index ccbdac8..6f5ff01 100644 --- a/README.packager +++ b/README.packager @@ -15,4 +15,4 @@ 3. Generate archive cargo vendor - tar c vendor/ | xz > vendor.tar.xz + tar -cJf vendor.tar.xz vendor diff --git a/bat.changes b/bat.changes index 8cc1c4c..8a84285 100644 --- a/bat.changes +++ b/bat.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Apr 30 13:08:18 UTC 2019 - Dany Marcoux + +- Run spec-cleaner +- Remove double %setup macro +- Simplify tar command in README.packager + ------------------------------------------------------------------- Mon Feb 11 22:15:10 UTC 2019 - Dany Marcoux diff --git a/bat.spec b/bat.spec index 8722189..29478d8 100644 --- a/bat.spec +++ b/bat.spec @@ -22,7 +22,7 @@ Release: 0 Summary: A cat(1) clone with syntax highlighting and Git integration License: MIT Group: Productivity/Text/Utilities -Url: https://github.com/sharkdp/bat +URL: https://github.com/sharkdp/bat Source0: https://github.com/sharkdp/bat/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: vendor.tar.xz # Instructions on how to generate vendor.tar.xz @@ -32,15 +32,13 @@ BuildRequires: cmake BuildRequires: rust BuildRequires: rust-std BuildRequires: zlib-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A cat(1) clone which supports syntax highlighting for a large number of programming and markup languages. It has git integration and automatic paging. %prep -%setup -q -%setup -q -D -T -a 1 +%setup -qa1 mkdir cargo-home cat >cargo-home/config <