diff --git a/_multibuild b/_multibuild new file mode 100644 index 0000000..505095a --- /dev/null +++ b/_multibuild @@ -0,0 +1,4 @@ + + python-semanage + + diff --git a/libsemanage.changes b/libsemanage.changes index 2c29e03..852d4d2 100644 --- a/libsemanage.changes +++ b/libsemanage.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Thu May 4 14:20:40 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:54:12 UTC 2023 - Johannes Segitz + +- Add -ffat-lto-objects to CFLAGS to prevent rpmlint errors because + of LTO + +------------------------------------------------------------------- +Thu Mar 23 13:06:51 UTC 2023 - Martin Liška + +- Enable LTO now (boo#1138812). + ------------------------------------------------------------------- Fri Feb 24 07:48:05 UTC 2023 - Johannes Segitz diff --git a/libsemanage.spec b/libsemanage.spec index 166d49a..bc69934 100644 --- a/libsemanage.spec +++ b/libsemanage.spec @@ -111,10 +111,9 @@ stores must be migrated before any commands that modify or use the store grep /usr/libexec . -rl | xargs sed -i "s|/usr/libexec|%{_libexecdir}|g" %build -%define _lto_cflags %{nil} %make_build clean -%make_build CFLAGS="%{optflags} -fno-semantic-interposition" CC="gcc" -%make_build CFLAGS="%{optflags} -fno-semantic-interposition" LIBDIR="%{_libdir}" LIBEXECDIR="%{_libexecdir}" SHLIBDIR="%{_lib}" CC="gcc" all +%make_build CFLAGS="%{optflags} -fno-semantic-interposition -ffat-lto-objects" CC="gcc" +%make_build CFLAGS="%{optflags} -fno-semantic-interposition -ffat-lto-objects" LIBDIR="%{_libdir}" LIBEXECDIR="%{_libexecdir}" SHLIBDIR="%{_lib}" CC="gcc" all %install mkdir -p %{buildroot}/%{_lib} diff --git a/python-semanage.changes b/python-semanage.changes index 6f5f308..87f4f46 100644 --- a/python-semanage.changes +++ b/python-semanage.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Thu May 4 14:20:40 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:54:12 UTC 2023 - Johannes Segitz + +- Add -ffat-lto-objects to CFLAGS to prevent rpmlint errors because + of LTO + +------------------------------------------------------------------- +Thu Mar 23 13:06:51 UTC 2023 - Martin Liška + +- Enable LTO now (boo#1138812). + ------------------------------------------------------------------- Fri Feb 24 07:48:05 UTC 2023 - Johannes Segitz diff --git a/python-semanage.spec b/python-semanage.spec index 7948def..561996c 100644 --- a/python-semanage.spec +++ b/python-semanage.spec @@ -60,11 +60,10 @@ SELinux policy management applications. grep /usr/libexec . -rl | xargs sed -i "s|/usr/libexec|%{_libexecdir}|g" %build -%define _lto_cflags %{nil} %make_build clean %{python_expand # loop over possible pythons -%make_build PYTHON=$python CFLAGS="%{optflags} -fno-semantic-interposition" swigify -%make_build PYTHON=$python CFLAGS="%{optflags} -fno-semantic-interposition" \ +%make_build PYTHON=$python CFLAGS="%{optflags} -fno-semantic-interposition -ffat-lto-objects" swigify +%make_build PYTHON=$python CFLAGS="%{optflags} -fno-semantic-interposition -ffat-lto-objects" \ LIBDIR="%{_libdir}" \ LIBEXECDIR="%{_libexecdir}" \ SHLIBDIR="%{_lib}" \