!58 rebase 2203-LTS-Next from 2203-LTS-SP1
From: @zppzhangpan Reviewed-by: @yanan-rock Signed-off-by: @yanan-rock
This commit is contained in:
commit
586923d5b9
1296
1000-vendor-libc-0.2.94-for-sw_64.patch
Normal file
1296
1000-vendor-libc-0.2.94-for-sw_64.patch
Normal file
File diff suppressed because one or more lines are too long
BIN
libc.tar.gz
Normal file
BIN
libc.tar.gz
Normal file
Binary file not shown.
@ -1,16 +1,20 @@
|
||||
Name: librsvg2
|
||||
Version: 2.50.5
|
||||
Release: 4
|
||||
Release: 6
|
||||
Summary: An SVG library based on cairo
|
||||
License: LGPLv2+
|
||||
URL: https://wiki.gnome.org/Projects/LibRsvg
|
||||
Source0: https://download.gnome.org/sources/librsvg/2.50/librsvg-%{version}.tar.xz
|
||||
%if 0%(test `uname -m` == "loongarch64" && echo 1)
|
||||
Source1: libc.tar.gz
|
||||
%endif
|
||||
|
||||
Patch1000: 1000-vendor-libc-0.2.94-for-sw_64.patch
|
||||
Patch6000: backport-CVE-2023-38633.patch
|
||||
|
||||
BuildRequires: chrpath gcc gobject-introspection-devel cairo-devel libxml2-devel
|
||||
BuildRequires: chrpath gcc gobject-introspection-devel cairo-devel libxml2-devel
|
||||
BuildRequires: fontconfig-devel gdk-pixbuf2-devel glib2-devel pkgconfig(cairo-gobject) >= 1.16.0
|
||||
BuildRequires: pango-devel vala cargo rust
|
||||
BuildRequires: pango-devel vala cargo rust
|
||||
|
||||
Requires: gdk-pixbuf2 cairo >= 1.16.0
|
||||
|
||||
@ -35,7 +39,15 @@ This package provides extra utilities based on the librsvg library.
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%autosetup -n librsvg-%{version} -p1
|
||||
%setup -n librsvg-%{version}
|
||||
%ifarch loongarch64
|
||||
rm -rf vendor/libc
|
||||
tar -xf %{SOURCE1} -C vendor
|
||||
%endif
|
||||
%ifarch sw_64
|
||||
%patch1000 -p1
|
||||
%endif
|
||||
%patch6000 -p1
|
||||
|
||||
%build
|
||||
autoreconf
|
||||
@ -81,9 +93,15 @@ rm -vrf %{buildroot}%{_datadir}/doc
|
||||
%{_mandir}/man1/*.1*
|
||||
|
||||
%changelog
|
||||
* Wed Aug 30 2023 zhangpan <zhangpan103@h-partners.com> - 2.50.5-4
|
||||
* Wed Aug 30 2023 zhangpan <zhangpan103@h-partners.com> - 2.50.5-6
|
||||
- fix CVE-2023-38633
|
||||
|
||||
* Wed May 24 2023 guoqinglan <guoqinglan@kylinos.com.cn> - 2.50.5-5
|
||||
- add sw_64 support
|
||||
|
||||
* Fri Jan 6 2023 Wenlong Zhang<zhangwenlong@loongson.cn> - 2.50.5-4
|
||||
- add loongarch64 support for librsvg2
|
||||
|
||||
* Wed Oct 26 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 2.50.5-3
|
||||
- Rebuild for next release
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user