Accepting request 1093329 from GNOME:Factory

OBS-URL: https://build.opensuse.org/request/show/1093329
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librsvg?expand=0&rev=133
This commit is contained in:
Dominique Leuenberger 2023-06-17 20:19:37 +00:00 committed by Git OBS Bridge
commit a554ac0292
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jun 14 06:24:36 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %__default_rustflags instead of the deprecated %__rustflags
macro. Requires at least cargo-packaging 1.2.0+2 (boo#1212333).
-------------------------------------------------------------------
Wed May 31 07:46:07 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -31,7 +31,7 @@ Source2: vendor.tar.zst
Source3: cargo_config
Source99: baselibs.conf
BuildRequires: cargo-packaging
BuildRequires: cargo-packaging >= 1.2.0+2
BuildRequires: gobject-introspection-devel
BuildRequires: libtool
BuildRequires: pkgconfig
@ -140,7 +140,7 @@ mkdir .cargo
cp %{SOURCE3} .cargo/config
%build
export RUSTFLAGS="%{__rustflags}"
export RUSTFLAGS="%{__default_rustflags}"
NOCONFIGURE=1 ./autogen.sh
%configure \
--disable-static\
@ -150,14 +150,14 @@ NOCONFIGURE=1 ./autogen.sh
%make_build
%install
export RUSTFLAGS="%{__rustflags}"
export RUSTFLAGS="%{__default_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}"
export RUSTFLAGS="%{__default_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