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}