Sync from SUSE:SLFO:Main cmake revision 2fb19cdd15d71391d6828b1af257a0f7
This commit is contained in:
parent
1652600424
commit
25b7f229aa
@ -1,17 +0,0 @@
|
||||
6b1d3f5d2530a57085394db1d7e6941f0eac210e22b1f41455fe6f2b55669852 cmake-3.28.1-files-v1.json
|
||||
4ecba78ef9499a973d012a83feab5f888e86fc5388e9a768037ab4f7232cab16 cmake-3.28.1-linux-aarch64.sh
|
||||
e84d88e46ed8c85fbe259bcd4ca07df7a928df87e84013e0da34d91b01a25d71 cmake-3.28.1-linux-aarch64.tar.gz
|
||||
ada6a46be9da5f8cbeb00b9523ffe45ee6b36172eb81aaa5bdc6a2a8231b677c cmake-3.28.1-linux-x86_64.sh
|
||||
f76398c24362ad87bad1a3d6f1e8f4377632b5b1c360c4ba1fd7cd205fd9d8d4 cmake-3.28.1-linux-x86_64.tar.gz
|
||||
6b011327b0529cf92181e1f2362d5d3a2f268622e951f4acf38b82bae19dbce9 cmake-3.28.1-macos-universal.dmg
|
||||
0e0942bb5ed7ee1aeda0c00b3cb7738f2590865f1d69fe1d5212cbc26fc040a5 cmake-3.28.1-macos-universal.tar.gz
|
||||
1253fee666cae29159b449aedf0c1146a919967b80bf796df213988b14e07084 cmake-3.28.1-macos10.10-universal.dmg
|
||||
f2d296294921b209d9c7edbc12ce175e00644fcabba362b6a24c32b0a4624a9a cmake-3.28.1-macos10.10-universal.tar.gz
|
||||
0a2e454cc1654cbc7ab197ba832759c9561597e547f0cc58987e3cec23a49898 cmake-3.28.1-windows-arm64.msi
|
||||
a839b8d32c11b24f078142b5b8c3361a955ebc65788f0f0353b2121fe2f74e49 cmake-3.28.1-windows-arm64.zip
|
||||
8814ee153cf3966ac8105a6e5b4c607de9f82caf34fefedefd931640c442b2f7 cmake-3.28.1-windows-i386.msi
|
||||
e9591cfdb1d394eee84acdecf880cbd91cf0707dfd0d58bf3796b88475f46cb9 cmake-3.28.1-windows-i386.zip
|
||||
05f46ef9dd9f8c274d92aabdb0006dc834363f393559ffde1d68d362cb0fc858 cmake-3.28.1-windows-x86_64.msi
|
||||
671332249bc7cc7424523d6c2b5edd3e3de90a43b8b82e8782f42da4fe4c562d cmake-3.28.1-windows-x86_64.zip
|
||||
15e94f83e647f7d620a140a7a5da76349fc47a1bfed66d0f5cdee8e7344079ad cmake-3.28.1.tar.gz
|
||||
6ffbd594f32eca54320cc9f58b1d82a8a9f696803a4623fe6e157e931ea699ee cmake-3.28.1.zip
|
@ -1,16 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCgAdFiEExsJlMku+vcNQtRPQLSzvEDSSFoQFAmV7KxcACgkQLSzvEDSS
|
||||
FoRclg/9HBoMd6/jgwM2wwhiJ+ONrBpLITCa5uDMM5JPbvlE0RIAqmie7SMa8hrt
|
||||
utJWev6eeInKkSBmb3s2T2zG3PiRoosEQiLKtUhXHms2K1L+nBhrMVH3Oeb+KTON
|
||||
mUJSGwvTWTPXFgfzZIk6AJnWa9iOc89LdFLxR21TUDRgy1kiGj+5mqfXrAHVm4fr
|
||||
gvk8374ngFGyuO6LNgqWQDIraplvfKW+gUNJjAmjsMr9JeLk20QaIWsPT1zj5hW3
|
||||
6OV5kTL+gFX/I0/ktYPcCdarNtZ7I8g+2kRNPxC301hTXq22OVr9kamzoMmJQMvv
|
||||
6FJwPePgO5JUv04NnBAXBSRHPR0a65TtV55dkdzvTjICBIiAlUe5Q3/tymHjHmle
|
||||
c0YvxuNjGp1Ldd6IZcbOXgTpsC4J76CDhfrf9twLk7vmpdGtuGazVCzvv+sbvXcn
|
||||
Lu5cMjL5EBBjnOjzEJIbeRiJ6ODWe9vLW6otXX/g5JreJu/a7/mwHj0M/K6neAMn
|
||||
251htshyaIOArzOfF2lEx3uWn3ayGWQPnhnqeEdXte2HXrqwxCi669jl7QuOV0G7
|
||||
rAuSZ95xHaNHiz6u2S6iPtoVnH/1iwS4Ecrpt4Yl+vGsWI3OYeHpWxNZLx38wnRz
|
||||
QSGcsKA9XoIMex2gTdbvqLOmXogYwutvmoD0jfyZlzRNq/Jgm30=
|
||||
=JB1J
|
||||
-----END PGP SIGNATURE-----
|
BIN
cmake-3.28.1.tar.gz
(Stored with Git LFS)
BIN
cmake-3.28.1.tar.gz
(Stored with Git LFS)
Binary file not shown.
17
cmake-3.30.3-SHA-256.txt
Normal file
17
cmake-3.30.3-SHA-256.txt
Normal file
@ -0,0 +1,17 @@
|
||||
408aa6889fc25fea8c5280065f4eeac3e330d66bae2a212630cf4353f886c781 cmake-3.30.3-files-v1.json
|
||||
43d5882e5db6d4331d3097d3a4ff92e53cd19987e7da9ffa6c833d22f9ca7aaa cmake-3.30.3-linux-aarch64.sh
|
||||
420f17c58de4ed8b53c1055a34318aec5c06d94b04dac9dd3c72861dfdc99d52 cmake-3.30.3-linux-aarch64.tar.gz
|
||||
54f93e25d728b742f9ffb51d7093b883ee4332d9923b427e39f8f46fb74d6e68 cmake-3.30.3-linux-x86_64.sh
|
||||
4a5864e9ff0d7945731fe6d14afb61490bf0ec154527bc3af0456bd8fa90decb cmake-3.30.3-linux-x86_64.tar.gz
|
||||
f5aabecc73d9d373d298ca1f13798f36b4cc96932cc86ea4e3833442508bb99d cmake-3.30.3-macos-universal.dmg
|
||||
cec873b2822f1c34bc3e2fd6ec9fdd1c4c6bc850edfeba47524f23cdfeb1c8c4 cmake-3.30.3-macos-universal.tar.gz
|
||||
9c967b068be1744910a1f604f2cc78d5b0a67a8609baf3fc3dbadf92f8c2b3e4 cmake-3.30.3-macos10.10-universal.dmg
|
||||
8ebca4b3cea5c7f39f5bff8ad1ca9b7e8267d758375955f8f14f385d6827fc2e cmake-3.30.3-macos10.10-universal.tar.gz
|
||||
b6061598d6bd10089b07db3f0cce1a36202ec28fe1b0a4564f1c4535c8edba3c cmake-3.30.3-windows-arm64.msi
|
||||
8b35d500f6c33383385990405e4a3d307c570e5a0043eab9b781422b078637de cmake-3.30.3-windows-arm64.zip
|
||||
f7e05fb104fed42db7581a8dc25ecddfa432d8d3595d3ed9e8c9386837416c30 cmake-3.30.3-windows-i386.msi
|
||||
5e4464a6d5af15e1a45fa376ac03b6bd63b35b7d93a2e93a2dd6215b39513a3f cmake-3.30.3-windows-i386.zip
|
||||
097900d46f393432a518f91e0145410e99b2fb7dc2a8e807aeafeeaefd40e080 cmake-3.30.3-windows-x86_64.msi
|
||||
2b339f738d3dea408d1523c99bb24d2d82b169f5749a698225ecfdf2f0d1c314 cmake-3.30.3-windows-x86_64.zip
|
||||
6d5de15b6715091df7f5441007425264bdd477809f80333fdf95f846aaff88e4 cmake-3.30.3.tar.gz
|
||||
64dedbc7bd0433c072371bca0b03fd9f0a7d2b559c98816a7967197417780e8e cmake-3.30.3.zip
|
16
cmake-3.30.3-SHA-256.txt.asc
Normal file
16
cmake-3.30.3-SHA-256.txt.asc
Normal file
@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCgAdFiEExsJlMku+vcNQtRPQLSzvEDSSFoQFAmbQ1eoACgkQLSzvEDSS
|
||||
FoTD3xAAmxkdm6M1K78LpyamxREi7yIu+g/OAhh6KzBRbEr3LdaugS17Emx+QBE+
|
||||
T4XOgzjv1fnDn1Tv/90Mk1onQi+gCoLO+uCLzBJ6Tag2esCzJRrwL47KGwIJYO5L
|
||||
qFvxPU8SGK3cLzeQSuTSka07mUf9lXMoVj8TSIRc3/ZqrIHLK5MHQmVVUoi5y50T
|
||||
DgHzPz3nrge8O8Rmrs7UPfiDYmWkOWdGlErDdiSlIBwLUPeGMZQl7W5TM3HoALTG
|
||||
NEZwjhlgTDt3lRkQsYvCQdd/N4NMUlbCyW/IrIuhaXmhGoYYxUGBky4zSOg0koYw
|
||||
mQB6pmL7WVElMCPUnBdxjeyK4wL83gb/l2dXL4EQ0pJH/oKUQrQPSnO/DWhfBMqv
|
||||
jw6z9dzgBDr1K02A01zx6FLwJl9Bmu22SBQSYk42Pc8Y3v/05blX7MudPumfNaYh
|
||||
AAjMJ9TBQI+gqfIlvSWRHaR71KnCm2new9fCt3GA1XP4P5ChujtjL7vVzBIXFkVt
|
||||
MGZCp+z44DDfoUViRWp37FSFInFqn9wz89/Mxmp2oW9A29w4GOob8XuIt0prWwds
|
||||
T8E0NLcLcZC4zJfhVtZfQC52uEDVpaSOgbzODC+3bovtrgW/lM22fdksNPCxF8Oy
|
||||
XQUwGDKJHHy2uxc8Jludy3ss1PSwpk3cu5Yiuto5uTrmZYUtA4Y=
|
||||
=uwIX
|
||||
-----END PGP SIGNATURE-----
|
BIN
cmake-3.30.3.tar.gz
(Stored with Git LFS)
Normal file
BIN
cmake-3.30.3.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
196
cmake.changes
196
cmake.changes
@ -1,3 +1,195 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 30 05:02:09 UTC 2024 - Christoph G <foss@grueninger.de>
|
||||
|
||||
- update to 3.30.3:
|
||||
* file(DOWNLOAD): Fix User-Agent to use run-time curl version
|
||||
* curl: Avoid using HTTP/2 with curl 8.7.x due to bug in error
|
||||
codes
|
||||
* FindPython: fix regression of NumPy detection with Intel MKL
|
||||
library
|
||||
* FindPython: ensure a usable environment is set for the free
|
||||
threaded Python
|
||||
* project: non cache <project> prefix variables are created
|
||||
* FindJNI: Support finding libjvm.so for all OpenJDK variants
|
||||
- Remove cmake-zerojvm.patch which is part of upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 3 07:23:10 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- update to 3.30.2:
|
||||
* Swift: Fix INSTALL_NAME_DIR under CMP0157 NEW behavior
|
||||
* ExternalProject: Don't add SVN auth args if not set
|
||||
* bug fixes, developer visible fixes and updates to tests
|
||||
- drop curl-8.9.0-output.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 27 05:49:03 UTC 2024 - Christoph G <foss@grueninger.de>
|
||||
|
||||
- Add curl-8.9.0-output.patch to fix test for different output
|
||||
with cURL 8.9.0. Part of upstream and will be part of 3.31.0.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 19 16:27:30 UTC 2024 - Christoph G <foss@grueninger.de>
|
||||
|
||||
- update to 3.30.1
|
||||
* Tests: Fix RunCMake.ExternalProject when git is not available
|
||||
+ Restore support for exporting INTERFACE with missing
|
||||
dependencies
|
||||
* FindMatlab: Restore support for finding Matlab without any
|
||||
languages
|
||||
* libuv: backport IDNA input/output hardening fixes
|
||||
* IntelLLVM: Update toolchain layout for 2024+ versions
|
||||
* Evaluation of TRANSITIVE_LINK_PROPERTIES isn't considered a usage
|
||||
- Drop cmake-fix-test-without-git.patch which is part of 3.30.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 3 05:50:53 UTC 2024 - Christoph G <foss@grueninger.de>
|
||||
|
||||
- udate to 3.30.0
|
||||
* "cmake-presets(7)" files now support schema version "9".
|
||||
"include" fields now expand all macros except "$env{}" and
|
||||
preset-specific macros, i.e., those derived from the fields
|
||||
inside a preset's definition.
|
||||
* The "Compile Features" functionality now implements support
|
||||
for the "cxx_std_26" and "cuda_std_26" meta-features to
|
||||
indicate that the compiler mode must be at least C++26.
|
||||
* The "CMAKE_<LANG>_STANDARD_LATEST" variable was added to
|
||||
describe the latest "<LANG>" language standard CMake supports
|
||||
for the selected compiler.
|
||||
* The "CMAKE_TLS_VERSION" variable and "CMAKE_TLS_VERSION"
|
||||
environment variable were added to specify a default minimum
|
||||
TLS version for connections to "https://" URLs by the
|
||||
"file(DOWNLOAD)" and "file(UPLOAD)" commands.
|
||||
* The "GENERATED" source file property is now visible in all
|
||||
directories. See policy "CMP0163". Policy "CMP0118"'s
|
||||
documentation has been revised to describe its actual effects.
|
||||
* The "TARGET_PROPERTY" generator expression learned to evaluate
|
||||
custom transitive properties.
|
||||
* The "CPack WIX Generator" gained support for WiX Toolset v4.
|
||||
See the "CPACK_WIX_VERSION" variable.
|
||||
* The "FindBoost" module has been removed by policy "CMP0167".
|
||||
Port projects to upstream Boost's "BoostConfig.cmake" package
|
||||
configuration file, for which "find_package(Boost)" now
|
||||
searches.
|
||||
- Add cmake-fix-test-without-git.patch to fix test #567 to be run
|
||||
conditionally when Git is found, upstream planned for 3.30.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 19 07:56:40 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 3.29.6:
|
||||
* The :cpack_gen:`CPack WIX Generator`'s
|
||||
:variable:`CPACK_WIX_INSTALL_SCOPE` variable, new in 3.29, now
|
||||
defaults to ``NONE``. This restores
|
||||
compatibility with behavior of 3.28 and below: without a custom WiX
|
||||
template, it produces installers that only create start menu
|
||||
and uninstall entries for the current user, even though they
|
||||
install for all users.
|
||||
* In 3.29.0 through 3.29.4, ``CPACK_WIX_INSTALL_SCOPE`` defaulted
|
||||
to ``perMachine``. This created MSI installers that create
|
||||
start menu and uninstall entries for all users by default.
|
||||
While this behavior is better on its own, these installers do
|
||||
not cleanly replace existing installations created with MSI
|
||||
installers produced by 3.28 and below. 3.29.5 reverts the
|
||||
default for compatibility. Projects may transition to
|
||||
``perMachine`` on their own schedule by setting
|
||||
``CPACK_WIX_INSTALL_SCOPE``.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 4 12:47:02 UTC 2024 - Christoph G <foss@grueninger.de>
|
||||
|
||||
- update to 3.29.4
|
||||
* cmCxxModuleMapper: add a query for the open mode for the modmap
|
||||
* CMP0037: Restore diagnostic message for invalid ALIAS target names
|
||||
* libuv: win/spawn: disable extra-file-descriptor support not needed by CMake
|
||||
* Tests/RunCMake/execute_process: Check STARTUPINFOW reserved members
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 8 14:30:20 UTC 2024 - Christoph G <foss@grueninger.de>
|
||||
|
||||
- update to 3.29.3
|
||||
* Tests/CXXModules: test exporting modules which include headers
|
||||
* FindBoost: Add support for Boost 1.85
|
||||
* FindHDF5: Fix detection of versions with more than three components
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 12 06:09:54 UTC 2024 - Christoph G <foss@grueninger.de>
|
||||
|
||||
- update to 3.29.2
|
||||
* Fix regression on reconfigure with unnormalized
|
||||
-DCMAKE_<LANG>_COMPILER=
|
||||
* CMakePackageConfigHelpers: Restore undocumented
|
||||
PACKAGE_PREFIX_DIR variable
|
||||
* Swift: Ninja: Remove module dependency for executables
|
||||
* FindJasper: Fix Jasper::Jasper IMPORTED_CONFIGURATIONS
|
||||
* FindOpenSSL: Update layout for Shining Light Productions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 4 12:17:57 UTC 2024 - Christoph G <foss@grueninger.de>
|
||||
|
||||
- update to 3.29.1
|
||||
* IntelLLVM: Revert accidental use of -external:I with Fortran
|
||||
compilers
|
||||
* libuv: process: de-duplicate conditions for using kqueue
|
||||
* ctest: Restore enforcement of RESOURCE_LOCK test property
|
||||
* try_compile(): Include languages with _ or - when passing linker vars
|
||||
* Swift: Add CMAKE_LINKER_TYPE support
|
||||
* FindMatlab: R2024a version map
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 21 19:24:26 UTC 2024 - Christoph G <foss@grueninger.de>
|
||||
|
||||
- update to 3.29
|
||||
* The “cmake_language(EXIT)” sub-command was added to terminate
|
||||
“cmake -P” scripts with a specified exit code.
|
||||
* The “CMAKE_LINKER_TYPE” variable and corresponding “LINKER_TYPE”
|
||||
target property were added to specify what linker to use with
|
||||
some toolchains.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 25 09:30:03 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- update to 3.28.3:
|
||||
* Fixes for Freetype with ZLIB, execute_process, Autogen, Matlab,
|
||||
and various bugs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 22 11:59:08 UTC 2024 - Michal Suchanek <msuchanek@suse.com>
|
||||
|
||||
- Fix python dependencies: python 3.11 is only needed for build (boo#1218125).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 14 16:46:22 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Added patch:
|
||||
* cmake-zerojvm.patch
|
||||
+ fix JVM detection on JDKs with ZERO virtual machine, like
|
||||
java-21-openjdk for armv6l
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 19 19:25:29 UTC 2024 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
|
||||
- Revert the linker flags revert. Instead of increasing differences
|
||||
between SLE/Leap and Tumbleweed and risking silent breakage of
|
||||
dozens of packages due to underlinking, fix the one failing
|
||||
package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 19 15:26:23 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- fix incorrect requires on libuv1 on non-suse distributions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 18 15:00:58 UTC 2024 - Ludwig Nussel <lnussel@suse.com>
|
||||
|
||||
- Revert "-Wl,--no-undefined" as it still breaks packages (boo#1218620)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 17 19:54:04 UTC 2024 - Björn Bidar <bjorn.bidar@thaodan.de>
|
||||
|
||||
- macros: Set some more variables notable %{_docdir} so that GNUInstallDirs
|
||||
works fully on openSUSE. Packages using CMAKE_INSTALL_DOCDIR fail otherwise.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 11 10:21:03 UTC 2024 - Michal Suchanek <msuchanek@suse.com>
|
||||
|
||||
@ -15,7 +207,7 @@ Wed Dec 27 12:56:45 UTC 2023 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
- Re-add "-Wl,--no-undefined" linker flags for executables and
|
||||
regular shared libraries. Shared library targets which are used
|
||||
as plugins/modules should use `add_library(... MODULE ...), which
|
||||
uses the "CMAKE_MODULE_LINKER_FLAGS".
|
||||
uses the "CMAKE_MODULE_LINKER_FLAGS".
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 14 21:06:23 UTC 2023 - Christoph G <foss@grueninger.de>
|
||||
@ -65,7 +257,7 @@ Wed Nov 29 21:07:37 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
even if they are inside the top-level source directory, now
|
||||
fixed. Clients must be updated to expect relative paths under
|
||||
the top-level source directory.
|
||||
* Fortran: Revert 3.27.0 change to module dependency scanning
|
||||
* Fortran: Revert 3.27.0 change to module dependency scanning
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 27 08:30:38 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
@ -32,6 +32,9 @@
|
||||
-DCMAKE_INSTALL_LIBDIR:PATH=%{__cmake_make_prefix_relative %{_libdir}} \\\
|
||||
-DCMAKE_INSTALL_INCLUDEDIR:PATH=%{__cmake_make_prefix_relative %{_includedir}} \\\
|
||||
-DCMAKE_INSTALL_DATAROOTDIR:PATH=%{__cmake_make_prefix_relative %{_datadir}} \\\
|
||||
-DCMAKE_INSTALL_DOCDIR:PATH=%{__cmake_make_prefix_relative %{_docdir}/%{name}} \\\
|
||||
-DCMAKE_INSTALL_MANDIR:PATH=%{__cmake_make_prefix_relative %{_mandir}} \\\
|
||||
-DCMAKE_INSTALL_INFODIR:PATH=%{__cmake_make_prefix_relative %{_infodir}} \\\
|
||||
-DINCLUDE_INSTALL_DIR:PATH=%{_includedir} \\\
|
||||
-DLIB_INSTALL_DIR:PATH=%{_libdir} \\\
|
||||
-DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \\\
|
||||
@ -74,6 +77,6 @@
|
||||
DESTDIR=%{buildroot} %__builder install -C %__builddir
|
||||
|
||||
%ctest(:-:) \
|
||||
cd %__builddir \
|
||||
%__ctest --output-on-failure --force-new-ctest-process %{?_smp_mflags} %** \
|
||||
cd %__builddir && \
|
||||
%__ctest --output-on-failure --force-new-ctest-process %{?_smp_mflags} %** ; \
|
||||
cd ..
|
||||
|
36
cmake.spec
36
cmake.spec
@ -1,7 +1,8 @@
|
||||
#
|
||||
# spec file
|
||||
# spec file for package cmake
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -44,9 +45,14 @@
|
||||
%else
|
||||
%bcond_with full
|
||||
%endif
|
||||
%define shortversion 3.28
|
||||
%define shortversion 3.30
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1500
|
||||
%define pyver 311
|
||||
%else
|
||||
%define pyver 3
|
||||
%endif
|
||||
Name: cmake%{?psuffix}
|
||||
Version: 3.28.1
|
||||
Version: 3.30.3
|
||||
Release: 0
|
||||
Summary: Cross-platform make system
|
||||
License: BSD-3-Clause
|
||||
@ -76,24 +82,17 @@ BuildRequires: pkgconfig(ncurses)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
%if 0%{?suse_version} > 1500
|
||||
BuildRequires: pkgconfig(libuv) >= 1.28
|
||||
# Needs a rebuild as libuv will otherwise abort the program with:
|
||||
# fatal error: libuv version too new: running with libuv 1.X+1 when compiled with libuv 1.X will lead to libuv failures
|
||||
%requires_eq libuv1
|
||||
%endif
|
||||
%if "%{flavor}" == ""
|
||||
Requires: cmake-implementation = %{version}
|
||||
%endif
|
||||
%if %{with full}
|
||||
# Needs a rebuild as libuv will otherwise abort the program with:
|
||||
# fatal error: libuv version too new: running with libuv 1.X+1 when compiled with libuv 1.X will lead to libuv failures
|
||||
%requires_eq libuv1
|
||||
%endif
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1500
|
||||
%define pyver 311
|
||||
%else
|
||||
%define pyver 3
|
||||
%endif
|
||||
%if %{with full} || %{with mini}
|
||||
Requires: make
|
||||
# bnc#953842 - A python file is shipped so require python base so it can be run.
|
||||
Requires: python%{pyver}-base
|
||||
Requires: python3-base
|
||||
Conflicts: cmake-implementation
|
||||
Provides: cmake-implementation = %{version}
|
||||
%endif
|
||||
@ -107,6 +106,7 @@ BuildRequires: pkgconfig(libcurl)
|
||||
%endif
|
||||
%if %{with gui}
|
||||
BuildRequires: python%{pyver}-Sphinx
|
||||
BuildRequires: python%{pyver}-base
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: pkgconfig(Qt5Widgets)
|
||||
%endif
|
||||
@ -170,7 +170,9 @@ export CXXFLAGS="$CFLAGS"
|
||||
%endif
|
||||
--parallel=0%{jobs} \
|
||||
--verbose \
|
||||
%if 0%{?suse_version} < 1550
|
||||
%if 0%{?suse_version} > 1500
|
||||
--system-libuv \
|
||||
%else
|
||||
--no-system-libuv \
|
||||
%endif
|
||||
%if %{with qhelp}
|
||||
@ -213,7 +215,7 @@ install -m644 %{SOURCE1} -D %{buildroot}%{_rpmconfigdir}/macros.d/macros.cmake
|
||||
# RPM auto provides
|
||||
install -p -m0644 -D %{SOURCE3} %{buildroot}%{_fileattrsdir}/cmake.attr
|
||||
install -p -m0755 -D %{SOURCE4} %{buildroot}%{_rpmconfigdir}/cmake.prov
|
||||
sed -i -e "1s@#!.*python.*@#!$(realpath /usr/bin/python3)@" %{buildroot}%{_rpmconfigdir}/cmake.prov
|
||||
sed -i -e "1s@#!.*python.*@#!$(realpath %{_bindir}/python3)@" %{buildroot}%{_rpmconfigdir}/cmake.prov
|
||||
|
||||
# fix: W: files-duplicate (%%license covers already)
|
||||
rm %{buildroot}%{_docdir}/cmake/Copyright.txt
|
||||
|
Loading…
Reference in New Issue
Block a user