diff --git a/librest0.7_aarch.tar.xz b/librest0.7_aarch.tar.xz new file mode 100644 index 0000000..9697e42 Binary files /dev/null and b/librest0.7_aarch.tar.xz differ diff --git a/librest0.7_x86.tar.xz b/librest0.7_x86.tar.xz new file mode 100644 index 0000000..794160a Binary files /dev/null and b/librest0.7_x86.tar.xz differ diff --git a/rest.spec b/rest.spec index 239f040..3fe2656 100644 --- a/rest.spec +++ b/rest.spec @@ -1,10 +1,17 @@ Name: rest Version: 0.9.1 -Release: 1 +Release: 2 Summary: A library for access to RESTful web services License: LGPLv2 URL: https://www.gnome.org Source0: https://download.gnome.org/sources/%{name}/0.8/%{name}-%{version}.tar.xz +%ifarch x86_64 +Source1: librest0.7_x86.tar.xz +%endif +%ifarch aarch64 +Source1: librest0.7_aarch.tar.xz +%endif + BuildRequires: glib2-devel libsoup3-devel libxml2-devel gobject-introspection-devel BuildRequires: gtk-doc autoconf automake libtool libxslt meson libadwaita-devel gtksourceview5-devel gi-docgen @@ -30,6 +37,7 @@ Demo application for %{name}. %prep %autosetup -n %{name}-%{version} -p1 +%setup -T -D -q -b 1 %build %meson @@ -38,6 +46,8 @@ Demo application for %{name}. %install %meson_install +\cp %{_builddir}/%{name}-%{version}/usr/* %{buildroot}/usr -r + %ldconfig_scriptlets %files @@ -48,6 +58,8 @@ Demo application for %{name}. %{_libdir}/librest-extras-1.0.so.* %{_libdir}/girepository-1.0/Rest-* %{_libdir}/girepository-1.0/RestExtras-* +%{_libdir}/librest-0.7.so.* +%{_libdir}/librest-extras-0.7.so.* %files demo %{_datadir}/applications/org.gnome.RestDemo.desktop @@ -62,8 +74,14 @@ Demo application for %{name}. %{_datadir}/gir-1.0/RestExtras-* %{_libdir}/pkgconfig/rest* %{_datadir}/doc/librest-1.0/ +%{_includedir}/rest-0.7 +%{_libdir}/librest-0.7.so +%{_libdir}/librest-extras-0.7.so %changelog +* Mon Dec 12 2022 peijiankang - 0.9.1-2 +- add librest0.7 to fix other-package compile error + * Thu Jul 28 2022 fushanqing - 0.9.1-1 - update rest to 0.9.1