diff --git a/_multibuild b/_multibuild new file mode 100644 index 0000000..81625e2 --- /dev/null +++ b/_multibuild @@ -0,0 +1,4 @@ + + libselinux-bindings + + diff --git a/libselinux-bindings.changes b/libselinux-bindings.changes index dab38d2..52b6d28 100644 --- a/libselinux-bindings.changes +++ b/libselinux-bindings.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Fri May 5 12:35:31 UTC 2023 - Daniel Garcia + +- Add python-wheel build dependency to build correctly with latest + python-pip version. + +------------------------------------------------------------------- +Thu May 4 14:04:04 UTC 2023 - Frederic Crozat + +- Add _multibuild to define additional spec files as additional + flavors. + Eliminates the need for source package links in OBS. + + +------------------------------------------------------------------- +Thu Mar 23 15:39:15 UTC 2023 - Martin Liška + +- Enable LTO as it works fine now. + ------------------------------------------------------------------- Fri Feb 24 07:42:25 UTC 2023 - Johannes Segitz diff --git a/libselinux-bindings.spec b/libselinux-bindings.spec index 0553d7f..eb12ea1 100644 --- a/libselinux-bindings.spec +++ b/libselinux-bindings.spec @@ -38,6 +38,7 @@ Patch5: python3.8-compat.patch Patch6: swig4_moduleimport.patch BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: libsepol-devel-static >= %{libsepol_ver} BuildRequires: python-rpm-macros BuildRequires: python3-devel @@ -85,7 +86,6 @@ language. %autopatch -p1 %build -%define _lto_cflags %{nil} make %{?_smp_mflags} LIBDIR="%{_libdir}" CFLAGS="%{optflags} -fno-semantic-interposition" swigify V=1 USE_PCRE2=y make %{?_smp_mflags} LIBDIR="%{_libdir}" CFLAGS="%{optflags} -fno-semantic-interposition" pywrap V=1 USE_PCRE2=y make %{?_smp_mflags} LIBDIR="%{_libdir}" CFLAGS="%{optflags} -fno-semantic-interposition" rubywrap V=1 USE_PCRE2=y diff --git a/libselinux.changes b/libselinux.changes index 40a5a0c..6d343d2 100644 --- a/libselinux.changes +++ b/libselinux.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Thu May 4 14:04:04 UTC 2023 - Frederic Crozat + +- Add _multibuild to define additional spec files as additional + flavors. + Eliminates the need for source package links in OBS. + +------------------------------------------------------------------- +Fri Mar 24 13:51:52 UTC 2023 - Johannes Segitz + +- Add -ffat-lto-objects to CFLAGS to prevent rpmlint errors because + of LTO + +------------------------------------------------------------------- +Thu Mar 23 15:39:15 UTC 2023 - Martin Liška + +- Enable LTO as it works fine now. + ------------------------------------------------------------------- Fri Feb 24 07:42:25 UTC 2023 - Johannes Segitz diff --git a/libselinux.spec b/libselinux.spec index 35713cf..c3eca4d 100644 --- a/libselinux.spec +++ b/libselinux.spec @@ -103,8 +103,7 @@ necessary to develop your own software using libselinux. %patch5 -p1 %build -%define _lto_cflags %{nil} -make %{?_smp_mflags} LIBDIR="%{_libdir}" CC="gcc" CFLAGS="%{optflags} -fno-semantic-interposition" USE_PCRE2=y +make %{?_smp_mflags} LIBDIR="%{_libdir}" CC="gcc" CFLAGS="%{optflags} -fno-semantic-interposition -ffat-lto-objects" USE_PCRE2=y %install mkdir -p %{buildroot}/%{_lib}