Accepting request 921939 from X11:Wayland

OBS-URL: https://build.opensuse.org/request/show/921939
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tuigreet?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2021-09-28 17:16:40 +00:00 committed by Git OBS Bridge
commit fc4f70658e
2 changed files with 12 additions and 9 deletions

View File

@ -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>

View File

@ -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