Skip to content

add SUSE 15SP7 and 16.0#2505

Merged
BareosBot merged 7 commits intobareos:masterfrom
bruno-at-bareos:sles157-160
Feb 10, 2026
Merged

add SUSE 15SP7 and 16.0#2505
BareosBot merged 7 commits intobareos:masterfrom
bruno-at-bareos:sles157-160

Conversation

@bruno-at-bareos
Copy link
Contributor

@bruno-at-bareos bruno-at-bareos commented Jan 14, 2026

This PR aims to introduce SUSE 15SP7 and 16.0 versions

  • remove suse < 15,install_suse_fw
  • remove rhel < 8
  • remove systemd define we have it everywhere
  • bareos.spec bareos-universal.spec remove old macros
  • use qt5 for suse < and 16 qt6 for newer version
  • debug package for suse build < 16
  • core/platform remove obsolete suse/rhel
  • move to gcc15 for all (actually EL are still build with 14
    • deferred into a separate PR
  • keep building with qt5 for suse 15 and use qt6 only for 16+
  • build suse 15 with sle157 image
  • check why freebsd is complaining missing rc-d script while the add subdir has worked
  • check why only debian 13 is failing and not deb 11,12
  • Decide if we want to keep new build compatible with unsupported (15 SP3)
    • no we don't

Fix bareos/internal#466

For backports we will only have to change gcc13 to gcc14 in bareos-23 and bareos-24 for suse builds.

Thank you for contributing to the Bareos Project!

Please check

  • Short description and the purpose of this PR is present above this paragraph
  • Your name is present in the AUTHORS file (optional)

If you have any questions or problems, please give a comment in the PR.

Helpful documentation and best practices

Checklist for the reviewer of the PR (will be processed by the Bareos team)

Make sure you check/merge the PR using devtools/pr-tool to have some simple automated checks run and a proper changelog record added.

General
  • Is the PR title usable as CHANGELOG entry?
  • Purpose of the PR is understood
  • Commit descriptions are understandable and well formatted
  • Required backport PRs have been created
  • Correct milestone is set
Source code quality
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)
  • Required documentation changes are present and part of the PR

@bruno-at-bareos bruno-at-bareos self-assigned this Jan 14, 2026
@bruno-at-bareos bruno-at-bareos force-pushed the sles157-160 branch 4 times, most recently from cf82861 to 86a79a1 Compare January 26, 2026 11:00
@bruno-at-bareos bruno-at-bareos marked this pull request as ready for review January 26, 2026 14:24
Copy link
Member

@arogge arogge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This mostly looks good to me.
I think we have a few unneccessary BuildRequires left and some outdated Univention things in CMake that you could also remove.

- suse/rhel remove all sysv scripts that are no longer in use
- remove unsupported univention
- rework CMakeLists to include only existing dir
  cmake IS_DIRECTORY needs full path

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
- build SUSE 15 with 15_SP7
- build SUSE 16 with SLE 16_0
- add testing with 15_SP7 in 15
- add testing with SLE_16_0 and openSUSE_16_0
Debian 11 is EOL (August 31st 2026) before Bareos 26 GA,
so we can remove it.

Fix bareos/internal#571

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
SUSE has updated glibc in SP6
https://www.suse.com/releasenotes/x86_64/SUSE-SLES/15-SP6\
/index.html#bsc-1220966

SP3 is now long gone eol.
- introduce support for suse >= 16
- remove systemd_support macro all platforms support it
- remove all pre/un related macros and code as we only have systemd
- remove old macros (old rhel < 8, have_git)
- use pkgconfig for janson
- suse use qt5 for version < 16 and qt6 for newer
- suse rework gcc version for build require gcc15 for 15 and 16
  allow future version to be used (>1699)
- rework fedora with gluster
- keep grpc disabled on rhel8
- keep gcc14 for EL <= 9 (upgrade will be proceed separately)
- declare debug_package only for suse < 16
- order alphabetically BuildRequires
- ulc remove libstdc++-devel
@bruno-at-bareos
Copy link
Contributor Author

Additional informations about why we keep git-core actually

  • AFAICT git-core is only required if you build without having the version-files pre-filled. As this is always done when we generate a tarball, it must build without git-core.
  • when CPM fetches stuff from a git repo we will need git-core.
    -unless we add a BuildRequires for anything that CPM would fetch, we will probably BuildRequire git-core.

Maybe (at some point in the future) we can have a %bcond to add the direct BuildRequires and then remove git-core
To not have a false-positive tests, you have to have an empty $CPM_SOURCE_CACHE.

Copy link
Member

@arogge arogge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one! That is actually the major cleanup that the specfiles deserved for quite some time now.

@BareosBot BareosBot merged commit e32d578 into bareos:master Feb 10, 2026
1 check was pending
@bruno-at-bareos bruno-at-bareos deleted the sles157-160 branch March 4, 2026 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants