Accepting request 1078597 from GNOME:Next

More changes, no FWD YET!

OBS-URL: https://build.opensuse.org/request/show/1078597
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/loupe?expand=0&rev=2
This commit is contained in:
Bjørn Lie 2023-04-12 08:59:47 +00:00 committed by Git OBS Bridge
parent d01332f524
commit 26c62b621b
3 changed files with 10 additions and 6 deletions

View File

@ -2,8 +2,7 @@
<constraints>
<hardware>
<disk>
<size unit="G">12</size>
<size unit="G">17</size>
</disk>
</hardware>
</constraints>

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Apr 11 20:59:05 UTC 2023 - Luciano Santos <luc14n0@opensuse.org>
- Drop %rustflags macro definition out of the spec file and use
%__rustflags from cargo-packaging package instead. There's no
need to define it on every spec anymore.
-------------------------------------------------------------------
Thu Apr 6 22:14:35 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -16,8 +16,6 @@
#
%global rustflags '-Clink-arg=-Wl,-z,relro,-z,now'
Name: loupe
Version: 44.1
Release: 0
@ -51,13 +49,13 @@ mkdir .cargo
cp %{SOURCE3} .cargo/config
%build
export RUSTFLAGS=%{rustflags}
export RUSTFLAGS="%{__rustflags}"
%meson \
%{nil}
%meson_build
%install
export RUSTFLAGS=%{rustflags}
export RUSTFLAGS="%{__rustflags}"
%meson_install
%find_lang %{name} %{?no_lang_C}