Compare commits
No commits in common. "c8" and "c9-beta" have entirely different histories.
@ -1 +1 @@
|
||||
76bca3fc4614d72e32768d9cd6a88967c694ab5d SOURCES/cmake-3.26.5.tar.gz
|
||||
40ca517e103a0b22c337bc15a5fbe615c08ad148 SOURCES/cmake-3.31.8.tar.gz
|
||||
|
||||
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
SOURCES/cmake-3.26.5.tar.gz
|
||||
SOURCES/cmake-3.31.8.tar.gz
|
||||
|
||||
@ -1,7 +1,8 @@
|
||||
diff -Naur cmake-3.18.2.orig/Modules/FindRuby.cmake cmake-3.18.2/Modules/FindRuby.cmake
|
||||
--- cmake-3.18.2.orig/Modules/FindRuby.cmake 2020-09-08 13:30:51.129086854 +0000
|
||||
+++ cmake-3.18.2/Modules/FindRuby.cmake 2020-09-10 07:10:56.679302608 +0000
|
||||
@@ -300,14 +300,8 @@
|
||||
Index: cmake-3.18.0-rc1/Modules/FindRuby.cmake
|
||||
===================================================================
|
||||
--- cmake-3.18.0-rc1.orig/Modules/FindRuby.cmake
|
||||
+++ cmake-3.18.0-rc1/Modules/FindRuby.cmake
|
||||
@@ -289,14 +289,9 @@ if(Ruby_EXECUTABLE AND NOT Ruby_VERSION_
|
||||
_RUBY_CONFIG_VAR("sitearchdir" Ruby_SITEARCH_DIR)
|
||||
_RUBY_CONFIG_VAR("sitelibdir" Ruby_SITELIB_DIR)
|
||||
|
||||
@ -13,8 +14,9 @@ diff -Naur cmake-3.18.2.orig/Modules/FindRuby.cmake cmake-3.18.2/Modules/FindRub
|
||||
- _RUBY_CONFIG_VAR("vendorlibdir" Ruby_VENDORLIB_DIR)
|
||||
- _RUBY_CONFIG_VAR("vendorarchdir" Ruby_VENDORARCH_DIR)
|
||||
- endif()
|
||||
+ _RUBY_CONFIG_VAR("vendorlibdir" RUBY_VENDORLIB_DIR)
|
||||
+ _RUBY_CONFIG_VAR("vendorarchdir" RUBY_VENDORARCH_DIR)
|
||||
+ # vendor_ruby
|
||||
+ _RUBY_CONFIG_VAR("vendorlibdir" Ruby_VENDORLIB_DIR)
|
||||
+ _RUBY_CONFIG_VAR("vendorarchdir" Ruby_VENDORARCH_DIR)
|
||||
|
||||
# save the results in the cache so we don't have to run ruby the next time again
|
||||
set(Ruby_VERSION_MAJOR ${Ruby_VERSION_MAJOR} CACHE PATH "The Ruby major version" FORCE)
|
||||
|
||||
@ -7,13 +7,13 @@
|
||||
%_cmake_version @@CMAKE_VERSION@@
|
||||
%__cmake /usr/bin/cmake
|
||||
%__ctest /usr/bin/ctest
|
||||
%__cmake_in_source_build 1
|
||||
%__cmake_builddir %{!?__cmake_in_source_build:%{_vpath_builddir}}%{?__cmake_in_source_build:.}
|
||||
|
||||
# - Set default compile flags
|
||||
# - CMAKE_*_FLAGS_RELEASE are added *after* the *FLAGS environment variables
|
||||
# and default to -O3 -DNDEBUG. Strip the -O3 so we can override with *FLAGS
|
||||
# - Turn on verbose makefiles so we can see and verify compile flags
|
||||
# - Turn off stripping by default so RPM can do it separately
|
||||
# - Set default install prefixes and library install directories
|
||||
# - Turn on shared libraries by default
|
||||
%cmake \
|
||||
@ -33,6 +33,7 @@
|
||||
-DCMAKE_CXX_FLAGS_RELEASE:STRING="-DNDEBUG" \\\
|
||||
-DCMAKE_Fortran_FLAGS_RELEASE:STRING="-DNDEBUG" \\\
|
||||
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \\\
|
||||
-DCMAKE_INSTALL_DO_STRIP:BOOL=OFF \\\
|
||||
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \\\
|
||||
-DINCLUDE_INSTALL_DIR:PATH=%{_includedir} \\\
|
||||
-DLIB_INSTALL_DIR:PATH=%{_libdir} \\\
|
||||
@ -51,7 +52,8 @@
|
||||
|
||||
%ctest(:-:) \
|
||||
cd "%{__cmake_builddir}" \
|
||||
%__ctest --output-on-failure --force-new-ctest-process %{?_smp_mflags} %{**} \
|
||||
%__ctest --output-on-failure --force-new-ctest-process %{?_smp_mflags} \\\
|
||||
%{lua:print((string.gsub(rpm.expand('%{**}'),"%-%-%s","")))} \
|
||||
cd -
|
||||
|
||||
|
||||
|
||||
189
SPECS/cmake.spec
189
SPECS/cmake.spec
@ -42,12 +42,21 @@
|
||||
%bcond_without bundled_rhash
|
||||
%endif
|
||||
|
||||
# cppdap is currently shipped as a static lib from upstream,
|
||||
# so we do not have it in the repos.
|
||||
%bcond_without bundled_cppdap
|
||||
|
||||
# Run tests
|
||||
%bcond_without test
|
||||
|
||||
# Enable X11 tests
|
||||
%bcond_without X11_test
|
||||
|
||||
# Disable LTO on i686 due to https://issues.redhat.com/browse/RHEL-110451
|
||||
%ifarch %{ix86}
|
||||
%global _lto_cflags %{nil}
|
||||
%endif
|
||||
|
||||
# Place rpm-macros into proper location
|
||||
%global rpm_macros_dir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
|
||||
|
||||
@ -58,21 +67,21 @@
|
||||
%{!?_vpath_builddir:%global _vpath_builddir %{_target_platform}}
|
||||
|
||||
%global major_version 3
|
||||
%global minor_version 26
|
||||
%global minor_version 31
|
||||
# Set to RC version if building RC, else %%{nil}
|
||||
#global rcsuf rc1
|
||||
%{?rcsuf:%global relsuf .%{rcsuf}}
|
||||
%{?rcsuf:%global versuf -%{rcsuf}}
|
||||
|
||||
# For handling bump release by rpmdev-bumpspec and mass rebuild
|
||||
%global baserelease 2
|
||||
%global baserelease 3
|
||||
|
||||
# Uncomment if building for EPEL
|
||||
#global name_suffix %%{major_version}
|
||||
%global orig_name cmake
|
||||
|
||||
Name: %{orig_name}%{?name_suffix}
|
||||
Version: %{major_version}.%{minor_version}.5
|
||||
Version: %{major_version}.%{minor_version}.8
|
||||
Release: %{baserelease}%{?relsuf}%{?dist}
|
||||
Summary: Cross-platform make system
|
||||
|
||||
@ -81,7 +90,7 @@ Summary: Cross-platform make system
|
||||
# Source/kwsys/MD5.c is zlib
|
||||
# some GPL-licensed bison-generated files, which all include an
|
||||
# exception granting redistribution under terms of your choice
|
||||
License: BSD and MIT and zlib
|
||||
License: BSD-3-Clause AND MIT-open-group AND Zlib%{?with_bundled_cppdap: AND Apache-2.0}
|
||||
URL: http://www.cmake.org
|
||||
Source0: http://www.cmake.org/files/v%{major_version}.%{minor_version}/%{orig_name}-%{version}%{?versuf}.tar.gz
|
||||
Source1: %{name}-init.el
|
||||
@ -132,6 +141,11 @@ BuildRequires: %{_bindir}/sphinx-build
|
||||
%if %{without bootstrap}
|
||||
BuildRequires: bzip2-devel
|
||||
BuildRequires: curl-devel
|
||||
%if %{with bundled_cppdap}
|
||||
Provides: bundled(cppdap)
|
||||
%else
|
||||
BuildRequires: cppdap-devel
|
||||
%endif
|
||||
BuildRequires: expat-devel
|
||||
%if %{with bundled_jsoncpp}
|
||||
Provides: bundled(jsoncpp)
|
||||
@ -139,7 +153,7 @@ Provides: bundled(jsoncpp)
|
||||
BuildRequires: jsoncpp-devel
|
||||
%endif
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 7
|
||||
BuildRequires: libarchive-devel >= 3.3.3
|
||||
BuildRequires: libarchive-devel
|
||||
%else
|
||||
BuildRequires: libarchive3-devel
|
||||
%endif
|
||||
@ -184,7 +198,7 @@ BuildRequires: %{name}-rpm-macros
|
||||
BuildRequires: make
|
||||
|
||||
Requires: %{name}-data = %{version}-%{release}
|
||||
Requires: %{name}-rpm-macros = %{version}-%{release}
|
||||
Requires: (%{name}-rpm-macros = %{version}-%{release} if rpm-build)
|
||||
Requires: %{name}-filesystem%{?_isa} = %{version}-%{release}
|
||||
|
||||
# Explicitly require make. (rhbz#1862014)
|
||||
@ -218,7 +232,7 @@ generation, code generation, and template instantiation.
|
||||
Summary: Common data-files for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-filesystem = %{version}-%{release}
|
||||
Requires: %{name}-rpm-macros = %{version}-%{release}
|
||||
Requires: (%{name}-rpm-macros = %{version}-%{release} if rpm-build)
|
||||
%if %{with emacs}
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 7
|
||||
Requires: emacs-filesystem%{?_emacs_version: >= %{_emacs_version}}
|
||||
@ -310,6 +324,9 @@ $SRCDIR/bootstrap --prefix=%{_prefix} --datadir=/share/%{name} \
|
||||
--docdir=/share/doc/%{name} --mandir=/share/man \
|
||||
--%{?with_bootstrap:no-}system-libs \
|
||||
--parallel="$(echo %{?_smp_mflags} | sed -e 's|-j||g')" \
|
||||
%if %{with bundled_cppdap}
|
||||
--no-system-cppdap \
|
||||
%endif
|
||||
%if %{with bundled_rhash}
|
||||
--no-system-librhash \
|
||||
%endif
|
||||
@ -365,6 +382,10 @@ do
|
||||
dname=$(basename $dir)
|
||||
cp -p $f ./${fname}_${dname}
|
||||
done
|
||||
%if %{with bundled_cppdap}
|
||||
cp -p Utilities/cmcppdap/LICENSE LICENSE.cppdap
|
||||
cp -p Utilities/cmcppdap/NOTICE NOTICE.cppdap
|
||||
%endif
|
||||
# Cleanup pre-installed documentation
|
||||
%if %{with sphinx}
|
||||
mv %{buildroot}%{_docdir}/%{name}/html .
|
||||
@ -470,6 +491,10 @@ popd
|
||||
%doc %dir %{_pkgdocdir}
|
||||
%license Copyright.txt*
|
||||
%license COPYING*
|
||||
%if %{with bundled_cppdap}
|
||||
%license LICENSE.cppdap
|
||||
%license NOTICE.cppdap
|
||||
%endif
|
||||
%if %{with sphinx}
|
||||
%{_mandir}/man1/c%{name}.1.*
|
||||
%{_mandir}/man1/%{name}.1.*
|
||||
@ -530,56 +555,148 @@ popd
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Dec 02 2025 Tom Stellard <tstellar@redhat.com> - 3.31.8-4
|
||||
- Make clang-rpm-macros requires conditional on rpm-build
|
||||
|
||||
* Fri Nov 28 2025 Tom Stellard <tstellar@redhat.com> - 3.31.8-2
|
||||
- macros: Fix missing asterisk in ctest macro
|
||||
|
||||
* Sat Sep 06 2025 Tom Stellard <tstellar@redhat.com> - 3.31.8-1
|
||||
- cmake-3.31.8
|
||||
|
||||
* Fri Nov 03 2023 Tom Stellard <tstellar@redhat.com> - 3.26.5-2
|
||||
- Fix conflict with license files.
|
||||
|
||||
* Thu Oct 26 2023 Tom Stellard <tstellar@redhat.com> - 3.26.5-1
|
||||
- Update to version 3.26.5-1
|
||||
|
||||
* Tue Jan 31 2023 Tom Stellard <tstellar@redhat.com> - 3.20.2-5
|
||||
* Mon Oct 23 2023 Tom Stellard <tstellar@redhat.com> - 3.20.2-9
|
||||
- Fix CPack bug with pretrans scriptlet
|
||||
|
||||
* Tue Jan 31 2023 Tom Stellard <tstellar@redhat.com> - 3.20.2-8
|
||||
- Fix test case broken by git fix for CVE-2022-39253
|
||||
|
||||
* Fri Jul 09 2021 sguelton@redhat.com - 3.20.2-4
|
||||
- Fix update (rhbz#1964407)
|
||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.20.2-7
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
||||
* Thu Jun 17 2021 sguelton@redhat.com - 3.20.2-3
|
||||
- Fix rhbz#1964392 and rhbz#1964407
|
||||
* Wed Jul 07 2021 sguelton@redhat.com - 3.20.2-6
|
||||
- Another attempt at fixing License file
|
||||
|
||||
* Fri Jun 04 2021 sguelton@redhat.com - 3.20.2-2
|
||||
- Minimal libarchive req
|
||||
* Thu Jul 01 2021 sguelton@redhat.com - 3.20.2-5
|
||||
- libdl patch after glibc update (#1975096)
|
||||
|
||||
* Fri Jun 25 2021 sguelton@redhat.com - 3.20.2-4
|
||||
- Fix changelog entry
|
||||
|
||||
* Thu Jun 24 2021 sguelton@redhat.com - 3.20.2-3
|
||||
- Apply fixes similar to rhbz#1964392 and rhbz#1964407
|
||||
|
||||
* Tue Jun 22 2021 Mohan Boddu <mboddu@redhat.com> - 3.20.2-2
|
||||
- Rebuilt for RHEL 9 BETA for openssl 3.0
|
||||
Related: rhbz#1971065
|
||||
|
||||
* Thu May 20 2021 sguelton@redhat.com - 3.20.2-1
|
||||
- Sync with Fedora rawhide. (#1957947)
|
||||
- Sync with Fedora rawhide. (#1957948)
|
||||
|
||||
* Mon Jan 25 2021 Tom Stellard <tstellar@redhat.com> - 3.18.2-9
|
||||
- Sync macros from Fedora
|
||||
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 3.19.7-2
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
||||
* Wed Oct 28 2020 sguelton@redhat.com - 3.18.2-8
|
||||
- External libarchive dependency
|
||||
* Mon Mar 15 2021 Rex Dieter <rdieter@fedoraproject.org> - 3.19.7-1
|
||||
- cmake-3.19.7
|
||||
|
||||
* Mon Sep 21 2020 sguelton@redhat.com - 3.18.2-7
|
||||
- Call update-desktop-database upon install
|
||||
* Thu Feb 25 2021 Rex Dieter <rdieter@fedoraproject.org> - 3.19.6-2
|
||||
- cmake-3.19.6
|
||||
|
||||
* Sat Sep 12 2020 sguelton@redhat.com - 3.18.2-6
|
||||
- Declare conflict with cmake due to license files
|
||||
* Sat Feb 06 2021 Rex Dieter <rdieter@fedoraproject.org> - 3.19.4-2
|
||||
- CMake warning when searching for Boost 1.75 (#1925355)
|
||||
|
||||
* Fri Sep 11 2020 sguelton@redhat.com - 3.18.2-5
|
||||
- Declare conflict with cmake-doc due to license files
|
||||
* Thu Jan 28 2021 Rex Dieter <rdieter@fedoraproject.org> - 3.19.4-1
|
||||
- cmake-3.19.4
|
||||
|
||||
* Fri Sep 11 2020 sguelton@redhat.com - 3.18.2-4
|
||||
- Build on all arches
|
||||
- Restore license file location
|
||||
- Restore previous appdata name
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.19.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Fri Sep 11 2020 sguelton@redhat.com - 3.18.2-3
|
||||
- Fix bash-completion installation
|
||||
- keep license files in base location
|
||||
* Wed Jan 13 2021 Rex Dieter <rdieter@fedoraproject.org> - 3.19.3-1
|
||||
- cmake-3.19.3
|
||||
|
||||
* Fri Sep 11 2020 sguelton@redhat.com - 3.18.2-2
|
||||
- Declare cmake vs old cmake-doc conflict
|
||||
* Mon Jan 11 2021 Cristian Morales Vega <christian.morales.vega@gmail.com> - 3.19.2-1
|
||||
- Update to 3.19.2
|
||||
|
||||
* Thu Sep 10 2020 sguelton@redhat.com - 3.18.2-1
|
||||
- Update to cmake-3.18.2
|
||||
* Tue Dec 15 2020 Tom Stellard <tstellar@redhat.com> - 3.18.4-4
|
||||
- Update BuildRequires for eln
|
||||
|
||||
* Fri Nov 20 08:32:34 EST 2020 Neal Gompa <ngompa13@gmail.com> - 3.18.4-3
|
||||
- Ensure CMake does not strip binaries with package builds
|
||||
|
||||
* Mon Nov 09 2020 Miro Hrončok <mhroncok@redhat.com> - 3.18.4-2
|
||||
- Add support for Python 3.10
|
||||
|
||||
* Tue Oct 13 10:03:16 CEST 2020 Björn Esser <besser82@fedoraproject.org> - 3.18.4-1
|
||||
- Update to 3.18.4
|
||||
|
||||
* Wed Sep 30 12:49:57 CEST 2020 Björn Esser <besser82@fedoraproject.org> - 3.18.3-1
|
||||
- Update to 3.18.3
|
||||
- Explicitly require make
|
||||
- Add patch to support FlexiBLAS
|
||||
|
||||
* Tue Sep 29 2020 Christoph Junghans <junghans@votca.org> - 3.18.2-2
|
||||
- Make %ctest non-verbose by default
|
||||
|
||||
* Thu Aug 20 2020 Björn Esser <besser82@fedoraproject.org> - 3.18.2-1
|
||||
- Update to 3.18.2
|
||||
|
||||
* Sat Aug 01 2020 Björn Esser <besser82@fedoraproject.org> - 3.18.1-1
|
||||
- Update to 3.18.1
|
||||
|
||||
* Wed Jul 29 2020 Orion Poplawski <orion@nwra.com> - 3.18.0-5
|
||||
- Handle arguments for ctest3 macro
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.18.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Jul 22 2020 Björn Esser <besser82@fedoraproject.org> - 3.18.0-3
|
||||
- Default to --verbose for ctest as well
|
||||
|
||||
* Sun Jul 19 2020 Neal Gompa <ngompa13@gmail.com> - 3.18.0-2
|
||||
- Make in-source builds behave like before
|
||||
|
||||
* Sat Jul 18 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 3.18.0-1.1
|
||||
- Enable out-of-source builds by default
|
||||
|
||||
* Thu Jul 16 2020 Björn Esser <besser82@fedoraproject.org> - 3.18.0-1
|
||||
- Update to 3.18.0
|
||||
|
||||
* Sat Jul 04 2020 Björn Esser <besser82@fedoraproject.org> - 3.18.0-0.8.rc3
|
||||
- Update to 3.18.0-rc3
|
||||
|
||||
* Fri Jul 03 2020 Neal Gompa <ngompa13@gmail.com> - 3.18.0-0.7.rc2
|
||||
- Switch to implementation that is backwards compatible to older RPM
|
||||
- Change control macro for in-source/out-of-source to %%__cmake_in_source_build
|
||||
|
||||
* Fri Jul 03 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 3.18.0-0.6.rc2
|
||||
- Add out-of-source builds controlled by a macro (%%__cmake_out_of_source_build)
|
||||
|
||||
* Wed Jul 01 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 3.18.0-0.5.rc2
|
||||
- Undo out-of-source-builds
|
||||
|
||||
* Tue Jun 30 2020 Tom Callaway <spot@fedoraproject.org> - 3.18.0-0.4.rc2
|
||||
- fix FindLua to support lua 5.4
|
||||
|
||||
* Mon Jun 29 2020 Björn Esser <besser82@fedoraproject.org> - 3.18.0-0.3.rc2
|
||||
- Apply change: CMake to do out-of-source builds (#1852036)
|
||||
|
||||
* Sat Jun 20 2020 Björn Esser <besser82@fedoraproject.org> - 3.18.0-0.2.rc2
|
||||
- Update to 3.18.0-rc2
|
||||
|
||||
* Fri Jun 12 2020 Björn Esser <besser82@fedoraproject.org> - 3.18.0-0.1.rc1
|
||||
- Update to 3.18.0-rc1
|
||||
|
||||
* Sat May 30 2020 Björn Esser <besser82@fedoraproject.org> - 3.17.3-2
|
||||
- Rebuild (jsoncpp)
|
||||
|
||||
* Fri May 29 2020 Björn Esser <besser82@fedoraproject.org> - 3.17.3-1
|
||||
- Update to cmake-3.17.3
|
||||
|
||||
* Tue Apr 28 2020 Björn Esser <besser82@fedoraproject.org> - 3.17.2-1
|
||||
- Update to cmake-3.17.2
|
||||
|
||||
Loading…
Reference in New Issue
Block a user