rebuilt with static library plus dtrace and systemtap [release 2.60.5-2mamba;Tue Jul 16 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 23:06:53 +01:00
parent 4016ae45c4
commit 2af5f9ab92

View File

@ -1,4 +1,4 @@
%define with_systemtap 0 %define with_systemtap 1
%if "%{stage1}" == "1" %if "%{stage1}" == "1"
# Don't depend on pkg-config to resolve circular build dependency # Don't depend on pkg-config to resolve circular build dependency
%define LIBFFI_CFLAGS %(libdir=%{_libdir} eval `grep includedir= %{_libdir}/pkgconfig/libffi.pc`; echo "LIBFFI_CFLAGS=-I$includedir LIBFFI_LIBS='-L%{_libdir} -lffi'") %define LIBFFI_CFLAGS %(libdir=%{_libdir} eval `grep includedir= %{_libdir}/pkgconfig/libffi.pc`; echo "LIBFFI_CFLAGS=-I$includedir LIBFFI_LIBS='-L%{_libdir} -lffi'")
@ -6,7 +6,7 @@
%define majver %(echo %version | cut -d. -f 1-2) %define majver %(echo %version | cut -d. -f 1-2)
Name: glib Name: glib
Version: 2.60.5 Version: 2.60.5
Release: 1mamba Release: 2mamba
Epoch: 2 Epoch: 2
Summary: A handy library of utility functions Summary: A handy library of utility functions
Group: System/Libraries Group: System/Libraries
@ -22,7 +22,6 @@ Patch0: glib-2.36.1-fix-skype.patch
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
%if "%{stage1}" != "1"
BuildRequires: libelf-devel BuildRequires: libelf-devel
BuildRequires: libffi-devel BuildRequires: libffi-devel
BuildRequires: libmount-devel BuildRequires: libmount-devel
@ -158,8 +157,13 @@ sed -i "s|python3|python3.6|" meson.build
%build %build
#:<< _EOF #:<< _EOF
%meson \ %meson \
--default-library=both \
-Dman=true \ -Dman=true \
-Dgtk_doc=true -Dgtk_doc=true \
-Ddtrace=true \
%if "%{with_systemtap}" == "1"
-Dsystemtap=true
%endif
%meson_build %meson_build
@ -271,15 +275,15 @@ _EOF
%{_datadir}/gettext/its/gschema.* %{_datadir}/gettext/its/gschema.*
%{_datadir}/aclocal/glib-?.?.m4 %{_datadir}/aclocal/glib-?.?.m4
%if "%{with_systemtap}" == "1" %if "%{with_systemtap}" == "1"
%{_datadir}/systemtap/tapset/*.stp %{_datadir}/systemtap/tapset/*/lib*.stp
%endif %endif
%{_datadir}/glib-2.0/valgrind/glib.supp %{_datadir}/glib-2.0/valgrind/glib.supp
%{_libdir}/pkgconfig/* %{_libdir}/pkgconfig/*
%{_mandir}/man1/* %{_mandir}/man1/*
#%files -n libglib-static %files -n libglib-static
#%defattr(-,root,root) %defattr(-,root,root)
#%{_libdir}/libg*.a %{_libdir}/libg*.a
%files -n python-glib %files -n python-glib
%defattr(-,root,root) %defattr(-,root,root)
@ -334,6 +338,9 @@ _EOF
%endif %endif
%changelog %changelog
* Tue Jul 16 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.60.5-2mamba
- rebuilt with static library plus dtrace and systemtap
* Sat Jul 13 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.60.5-1mamba * Sat Jul 13 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.60.5-1mamba
- update to 2.60.5 - update to 2.60.5