!17 remove useless libs
From: @sherlock2010 Reviewed-by: @t_feng Signed-off-by: @t_feng
This commit is contained in:
commit
47f1689af7
19
rest.spec
19
rest.spec
@ -1,6 +1,6 @@
|
||||
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
|
||||
@ -11,7 +11,6 @@ Patch1: 0002-Handle-some-potential-problems-in-parsing-oauth2-acc.patch
|
||||
|
||||
BuildRequires: glib2-devel libsoup3-devel libxml2-devel gobject-introspection-devel
|
||||
BuildRequires: libxslt meson json-glib-devel libadwaita-devel gtksourceview5-devel gi-docgen
|
||||
BuildRequires: rest rest-devel
|
||||
|
||||
%description
|
||||
This library has been designed to make it easier to access web services that
|
||||
@ -45,11 +44,6 @@ Demo application for %{name}.
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
cp -a %{_libdir}/librest*-0.7.so* %{buildroot}%{_libdir}
|
||||
cp -a %{_libdir}/girepository-1.0/Rest*-0.7.typelib %{buildroot}%{_libdir}/girepository-1.0/
|
||||
cp -a %{_libdir}/pkgconfig/rest*-0.7.pc %{buildroot}%{_libdir}/pkgconfig
|
||||
cp -a %{_includedir}/rest-0.7 %{buildroot}%{_includedir}
|
||||
cp -a %{_datadir}/gir-1.0/Rest*-0.7.gir %{buildroot}%{_datadir}/gir-1.0/
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
@ -57,8 +51,6 @@ cp -a %{_datadir}/gir-1.0/Rest*-0.7.gir %{buildroot}%{_datadir}/gir-1.0/
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS
|
||||
%license COPYING
|
||||
%{_libdir}/librest-0.7.so.*
|
||||
%{_libdir}/librest-extras-0.7.so.*
|
||||
%{_libdir}/librest-1.0.so.*
|
||||
%{_libdir}/librest-extras-1.0.so.*
|
||||
%{_libdir}/girepository-1.0/Rest-*
|
||||
@ -67,9 +59,6 @@ cp -a %{_datadir}/gir-1.0/Rest*-0.7.gir %{buildroot}%{_datadir}/gir-1.0/
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/rest-0.7
|
||||
%{_libdir}/librest-0.7.so
|
||||
%{_libdir}/librest-extras-0.7.so
|
||||
%{_includedir}/rest-1.0
|
||||
%{_libdir}/librest-1.0.so
|
||||
%{_libdir}/librest-extras-1.0.so
|
||||
@ -87,6 +76,12 @@ cp -a %{_datadir}/gir-1.0/Rest*-0.7.gir %{buildroot}%{_datadir}/gir-1.0/
|
||||
%{_datadir}/doc/librest-1.0
|
||||
|
||||
%changelog
|
||||
* Sat Mar 25 2023 zhouyihang <zhouyihang3@h-partners.com> - 0.9.1-2
|
||||
- Type:requirements
|
||||
- Id:NA
|
||||
- SUG:NA
|
||||
- DESC:remove useless libs
|
||||
|
||||
* Thu Feb 02 2023 zhouyihang <zhouyihang3@h-partners.com> - 0.9.1-1
|
||||
- Type:requirements
|
||||
- Id:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user