Accepting request 921917 from home:firstyear:branches:X11:Wayland
- Replace rust-packaging with cargo-packaging OBS-URL: https://build.opensuse.org/request/show/921917 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/tuigreet?expand=0&rev=3
This commit is contained in:
parent
cd568ba50d
commit
9bf43518c8
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 28 05:44:40 UTC 2021 - William Brown <william.brown@suse.com>
|
||||
|
||||
- Replace rust-packaging with cargo-packaging
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 7 16:06:27 UTC 2020 - Denis Kondratenko <denis.kondratenko@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package tuigreet
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -15,19 +15,18 @@
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: tuigreet
|
||||
Version: 0.2.0
|
||||
Release: 0
|
||||
Summary: Graphical console greeter for greetd
|
||||
License: GPL-3.0
|
||||
License: GPL-3.0-only
|
||||
Group: System/Management
|
||||
URL: https://github.com/apognu/tuigreet
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
Source1: vendor.tar.gz
|
||||
Source2: cargo_config
|
||||
BuildRequires: rust
|
||||
BuildRequires: cargo
|
||||
BuildRequires: rust-packaging
|
||||
BuildRequires: cargo-packaging
|
||||
Recommends: greetd
|
||||
|
||||
%description
|
||||
@ -35,15 +34,14 @@ Console UI greeter (using tui-rs)
|
||||
|
||||
%prep
|
||||
%setup -qa1
|
||||
%cargo_prep
|
||||
mkdir .cargo
|
||||
cp %{SOURCE2} .cargo/config
|
||||
|
||||
%build
|
||||
%cargo_build
|
||||
%{cargo_build}
|
||||
|
||||
%install
|
||||
|
||||
install -D -p -m 0755 target/release/%{name} %{buildroot}%{_bindir}/%{name}
|
||||
%{cargo_install}
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
|
Loading…
Reference in New Issue
Block a user