From 26c62b621bfaf01a38590b90e32017ea1a6371e1c60aea04f4cdd7c4bd63534f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Wed, 12 Apr 2023 08:59:47 +0000 Subject: [PATCH] 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 --- _constraints | 3 +-- loupe.changes | 7 +++++++ loupe.spec | 6 ++---- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/_constraints b/_constraints index c679ba6..7c2ed2a 100644 --- a/_constraints +++ b/_constraints @@ -2,8 +2,7 @@ - 12 + 17 - diff --git a/loupe.changes b/loupe.changes index f9a42a1..afe7f0f 100644 --- a/loupe.changes +++ b/loupe.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Apr 11 20:59:05 UTC 2023 - Luciano Santos + +- 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 diff --git a/loupe.spec b/loupe.spec index 378f566..d469403 100644 --- a/loupe.spec +++ b/loupe.spec @@ -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}