Compare commits

..

39 commits

Author SHA1 Message Date
Fedora Release Engineering
8d3af92bb1 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 08:51:29 +00:00
Benjamin A. Beasley
09988eb145 Fix License field (add MIT term) 2026-05-20 14:54:06 +01:00
Benjamin A. Beasley
1b68f5d49f Be more clear that we have no tests of our own 2026-05-20 14:51:40 +01:00
Benjamin A. Beasley
a3cc806bce Use the cmake declarative buildsystem 2026-05-20 07:52:59 +01:00
Benjamin A. Beasley
69ed6fc33d Trivial spec-file typo fix
[skip changelog]
2026-05-20 07:49:40 +01:00
Benjamin A. Beasley
1d8a76b375 The ninja backend is the default now; don’t bother specifying it
https://fedoraproject.org/wiki/Changes/CMake_ninja_default
2026-03-15 11:27:48 +00:00
Benjamin A. Beasley
598e1508f6 Verify asan/tsan/ubsan arch list for GCC 16.0.1 2026-03-15 11:27:48 +00:00
Fedora Release Engineering
23dad95716 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 20:17:27 +00:00
Benjamin A. Beasley
0a8d322dd2 Update .rpmlintrc file
[skip changelog]
2026-01-11 00:03:14 +00:00
Benjamin A. Beasley
f4db9d37b4 Rebuilt for gtest 1.17.0 2025-11-12 10:10:14 +00:00
Benjamin A. Beasley
e4174d1dd4 Update to 1.8.1 (close RHBZ#2388540) 2025-08-15 07:19:57 -04:00
Fedora Release Engineering
77c37873ce Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 20:28:15 +00:00
Benjamin A. Beasley
7454946d25 Update .rpmlintrc file for current rpmlint 2025-05-11 08:56:14 -04:00
Benjamin A. Beasley
c93d6ccbd4 Update architectures for asan/tsan/ubsan tests based on GCC 15
- Adds riscv64 to supported architectures for all three kinds of tsts
2025-03-05 10:52:18 -05:00
Benjamin A. Beasley
24fc598db3 Rebuilt for gtest 1.15.2 2025-01-22 14:29:03 -05:00
Fedora Release Engineering
0811c7d5b0 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 15:07:06 +00:00
Benjamin A. Beasley
9177e66353 Add a SourceLicense field 2024-12-15 11:33:21 -05:00
Benjamin A. Beasley
04eccb325e Invoke %cmake in %conf rather than in %build 2024-11-03 07:11:11 -05:00
Fedora Release Engineering
bad98f764e Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 09:25:39 +00:00
Benjamin A. Beasley
4ae221bf8e Add an rpmlintrc file
[skip changelog]
2024-04-05 10:26:38 -04:00
Fedora Release Engineering
fce43b7315 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 08:56:22 +00:00
Benjamin A. Beasley
b99314c591 Update to 1.7.0 (close RHBZ#2254812) 2023-12-20 10:54:05 -05:00
Benjamin A. Beasley
8885432e1d Rebuild for gtest 1.14.0 2023-10-30 18:07:52 -04:00
Benjamin A. Beasley
c9d6fa3946 Update to 1.6.1 (close RHBZ#2243684) 2023-10-17 12:46:30 -04:00
Benjamin A. Beasley
c27c0e50bd Reorganize sanitizer conditionals 2023-10-17 11:59:48 -04:00
Benjamin A. Beasley
a4df2622fa Update to 1.6.0 (close RHBZ#2223843) 2023-07-19 08:51:23 -04:00
Benjamin A. Beasley
400569d310 Use new (rpm 4.17.1+) bcond style 2023-06-18 12:08:33 -04:00
Benjamin A. Beasley
f6d31a0488 Do not number the sole Source
[skip changelog]
2023-05-29 13:11:34 -04:00
Benjamin A. Beasley
25dafba992 Rebuilt for gtest 1.13.0 (close RHBZ#2164017) 2023-01-24 10:11:14 -05:00
Benjamin A. Beasley
e0c91575d5 Update to 1.5.0 (close RHBZ#2162721) 2023-01-20 13:16:32 -05:00
Benjamin A. Beasley
b9379c4b9b Confirm lib*san architectures for GCC 13 2023-01-20 13:10:47 -05:00
Benjamin A. Beasley
a51e8d4600 Indicate dirs. in files list with trailing slashes 2022-12-22 12:45:40 -05:00
Benjamin A. Beasley
79263c839b Update License to SPDX 2022-11-29 14:27:57 -05:00
Benjamin A. Beasley
e70f2e16b2 Update architecture list for libtsan 2022-11-29 14:22:25 -05:00
Fedora Release Engineering
9d7406bf2f Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 12:31:01 +00:00
c0236a4313 Rebuild against new gtest 2022-07-10 22:33:25 +09:00
Benjamin A. Beasley
5351a75a80 Rebuilt for gtest 1.12.0 (close RHBZ#2101750) 2022-06-28 08:03:56 -04:00
Benjamin A. Beasley
f499c43259 Update to 1.4.0 (close RHBZ#2065815) 2022-03-19 09:06:07 -04:00
Fedora Release Engineering
d7b00d8493 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 04:33:33 +00:00

View file

@ -1,14 +1,14 @@
# Lists copied from https://git.centos.org/rpms/gcc/blob/c9/f/SPECS/gcc.spec
# Current as of 11.3.1 (lines 56, 71, and 61, respectively).
# Lists copied from gcc.spec
# Current as of 16.0.1 (lines 83, 103, and 93, respectively).
# Note that asan and ubsan are available on all Fedora primary architectures;
# tsan is missing on i686 and s390x.
%ifarch %{ix86} x86_64 ppc ppc64 ppc64le ppc64p7 s390 s390x %{arm} aarch64
# tsan is missing on i686 only.
%ifarch %{ix86} x86_64 ppc ppc64 ppc64le ppc64p7 s390 s390x %{arm} aarch64 riscv64
%global arch_has_asan 1
%endif
%ifarch %{ix86} x86_64 ppc ppc64 ppc64le ppc64p7 s390 s390x %{arm} aarch64
%ifarch %{ix86} x86_64 ppc ppc64 ppc64le ppc64p7 s390 s390x %{arm} aarch64 riscv64
%global arch_has_ubsan 1
%endif
%ifarch x86_64 ppc64 ppc64le aarch64
%ifarch x86_64 ppc64 ppc64le aarch64 s390x riscv64
%global arch_has_tsan 1
%endif
@ -83,12 +83,22 @@ SourceLicense: %{shrink:
URL: https://github.com/MirServer/wlcs
Source: %{url}/archive/v%{version}/wlcs-%{version}.tar.gz
BuildSystem: cmake
# WLCS_FATAL_COMPILE_WARNINGS: makes sense for upstream CI, but too strict for
# downstream packaging
BuildOption(conf): %{shrink:
-DWLCS_BUILD_ASAN=%{?with_asan:ON}%{?!with_asan:OFF}
-DWLCS_BUILD_TSAN=%{?with_tsan:ON}%{?!with_tsan:OFF}
-DWLCS_BUILD_UBSAN=%{?with_ubsan:ON}%{?!with_ubsan:OFF}
-DWLCS_FATAL_COMPILE_WARNINGS:BOOL=OFF
}
# We have built a test suite for compositors, but we have no tests for the test
# suite, i.e., %%ctest would find no tests and there is nothing useful we could
# do in %%check.
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: ninja-build
BuildRequires: boost-devel
BuildRequires: cmake(GTest)
BuildRequires: gmock-devel
@ -135,31 +145,6 @@ The wlcs-devel package contains libraries and header files for developing
Wayland compositor tests that use wlcs.
%prep
%autosetup
%build
# WLCS_FATAL_COMPILE_WARNINGS: makes sense for upstream CI, but too strict for
# downstream packaging
%cmake \
-DWLCS_BUILD_ASAN=%{?with_asan:ON}%{?!with_asan:OFF} \
-DWLCS_BUILD_TSAN=%{?with_tsan:ON}%{?!with_tsan:OFF} \
-DWLCS_BUILD_UBSAN=%{?with_ubsan:ON}%{?!with_ubsan:OFF} \
-DWLCS_FATAL_COMPILE_WARNINGS:BOOL=OFF \
-GNinja
%cmake_build
%install
%cmake_install
# We have built a test suite for compositors, but we have no tests for the test
# suite, i.e., %%ctest would find no tests and there is nothing useful we could
# do in %%check.
%files
%license COPYING.*
%doc README.rst