Overview

Request 1141259 accepted

- Set up cmake options just once -- during %build alone.
- Drop usage of cmake internal macros when specifying install paths.
- CMake >= 3.22 is now required for build; this automatically drops support for openSUSE < 1650 (i.e. Leap 15.x).
- Drop conditionals for old unsupported distro versions, they cannot support builds on account of the previous change anyway.
- Drop use of '-ffat-lto-objects' when building with LTO: this is only needed for static libs, not built here.
- Only unset MALLOC_* when LTO is being used.
- Use once consistent version for all libraries, set to source tarball.
- Drop more than five-year old Obsoletes/Provides; developers should use pkgconfig based (Build)Requires or directly use {name}-devel.
- Drop suitesparse-rpmlintrc and make -doc packages noarch.

Loading...

Atri Bhattacharya's avatar

There are a couple of FIXMEs there as well, please have a look.


Soc Virnyl Estela's avatar

well this looks cleaned up than mine. thanks !!!!


Atri Bhattacharya's avatar

Happy to help. If you need any clarifications, please do not hesitate to ask.


Soc Virnyl Estela's avatar

added more comments for more info about what modifications i made on the specfile. I will SR again soon. As for others, your help is much appreciated :D

Request History
Atri Bhattacharya's avatar

badshah400 created request

- Set up cmake options just once -- during %build alone.
- Drop usage of cmake internal macros when specifying install paths.
- CMake >= 3.22 is now required for build; this automatically drops support for openSUSE < 1650 (i.e. Leap 15.x).
- Drop conditionals for old unsupported distro versions, they cannot support builds on account of the previous change anyway.
- Drop use of '-ffat-lto-objects' when building with LTO: this is only needed for static libs, not built here.
- Only unset MALLOC_* when LTO is being used.
- Use once consistent version for all libraries, set to source tarball.
- Drop more than five-year old Obsoletes/Provides; developers should use pkgconfig based (Build)Requires or directly use {name}-devel.
- Drop suitesparse-rpmlintrc and make -doc packages noarch.


Soc Virnyl Estela's avatar

uncomfyhalomacro accepted request

openSUSE Build Service is sponsored by