Accepting request 1080984 from GNOME:Next

OBS-URL: https://build.opensuse.org/request/show/1080984
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=228
This commit is contained in:
Bjørn Lie 2023-04-21 07:17:44 +00:00 committed by Git OBS Bridge
parent c97cd1f1b6
commit 9404c9f65c
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Apr 15 09:22:24 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Use __rustflags macro and drop no longer needed rustflags global.
-------------------------------------------------------------------
Fri Mar 17 20:56:36 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -16,7 +16,6 @@
#
%global rustflags '-Clink-arg=-Wl,-z,relro,-z,now'
# Don't forget to update this in baselibs.conf too!
%define librsvg_sover 2
@ -142,7 +141,7 @@ mkdir .cargo
cp %{SOURCE3} .cargo/config
%build
export RUSTFLAGS=%{rustflags}
export RUSTFLAGS="%{__rustflags}"
NOCONFIGURE=1 ./autogen.sh
%configure \
--disable-static\
@ -152,13 +151,14 @@ NOCONFIGURE=1 ./autogen.sh
%make_build
%install
export RUSTFLAGS=%{rustflags}
export RUSTFLAGS="%{__rustflags}"
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
# %%doc is used to package such contents
rm -rf %{buildroot}%{_datadir}/doc/%{name}/CO*.md
%check
export RUSTFLAGS="%{__rustflags}"
%ifarch x86_64 %{?x86_64}
# 2023-01-15: the pdf-related tests are failing (bsc#1207167)
# 2023-03-17 cairo-1.17.8 filter_morphology svg test is failing