Accepting request 1165766 from home:mantarimay:branches:graphics

final fix

OBS-URL: https://build.opensuse.org/request/show/1165766
OBS-URL: https://build.opensuse.org/package/show/graphics/pastel?expand=0&rev=2
This commit is contained in:
Muhammad Akbar Yanuar Mantari 2024-04-06 11:18:08 +00:00 committed by Git OBS Bridge
parent 29b31b2815
commit d5d5756c67

View File

@ -1,7 +1,7 @@
#
# spec file for package pastel
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -21,10 +21,12 @@ Version: 0.9.0
Release: 0
Summary: CLI to generate, analyze, convert and manipulate colors
License: MIT AND Apache-2.0
Group: Productivity/Graphics/Other
URL: https://github.com/sharkdp/pastel
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
Source1: vendor.tar.zst
BuildRequires: cargo-packaging
BuildRequires: zstd
Recommends: pastel-doc
%description
@ -47,7 +49,9 @@ This package provides the documentation for pastel.
%{cargo_build}
%install
%{cargo_install}
install -Dm755 target/release/%{name} -t %{buildroot}%{_bindir}
%check
%files
%license LICENSE-MIT LICENSE-APACHE