Accepting request 699676 from home:dmarcoux
- Run spec-cleaner - Remove double %setup macro - Simplify tar command in README.packager OBS-URL: https://build.opensuse.org/request/show/699676 OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=8
This commit is contained in:
parent
01017a709b
commit
0d3d6256fb
@ -15,4 +15,4 @@
|
|||||||
3. Generate archive
|
3. Generate archive
|
||||||
|
|
||||||
cargo vendor
|
cargo vendor
|
||||||
tar c vendor/ | xz > vendor.tar.xz
|
tar -cJf vendor.tar.xz vendor
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 30 13:08:18 UTC 2019 - Dany Marcoux <dmarcoux@suse.com>
|
||||||
|
|
||||||
|
- Run spec-cleaner
|
||||||
|
- Remove double %setup macro
|
||||||
|
- Simplify tar command in README.packager
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 11 22:15:10 UTC 2019 - Dany Marcoux <dmarcoux@posteo.de>
|
Mon Feb 11 22:15:10 UTC 2019 - Dany Marcoux <dmarcoux@posteo.de>
|
||||||
|
|
||||||
|
6
bat.spec
6
bat.spec
@ -22,7 +22,7 @@ Release: 0
|
|||||||
Summary: A cat(1) clone with syntax highlighting and Git integration
|
Summary: A cat(1) clone with syntax highlighting and Git integration
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Productivity/Text/Utilities
|
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
|
Source0: https://github.com/sharkdp/bat/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
Source1: vendor.tar.xz
|
Source1: vendor.tar.xz
|
||||||
# Instructions on how to generate vendor.tar.xz
|
# Instructions on how to generate vendor.tar.xz
|
||||||
@ -32,15 +32,13 @@ BuildRequires: cmake
|
|||||||
BuildRequires: rust
|
BuildRequires: rust
|
||||||
BuildRequires: rust-std
|
BuildRequires: rust-std
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A cat(1) clone which supports syntax highlighting for a large number of
|
A cat(1) clone which supports syntax highlighting for a large number of
|
||||||
programming and markup languages. It has git integration and automatic paging.
|
programming and markup languages. It has git integration and automatic paging.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -qa1
|
||||||
%setup -q -D -T -a 1
|
|
||||||
mkdir cargo-home
|
mkdir cargo-home
|
||||||
cat >cargo-home/config <<EOF
|
cat >cargo-home/config <<EOF
|
||||||
[source.crates-io]
|
[source.crates-io]
|
||||||
|
Loading…
Reference in New Issue
Block a user