Compare commits

...
Sign in to create a new pull request.

10 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
2 changed files with 22 additions and 44 deletions

View file

@ -1,6 +1,2 @@
# Not a real spelling error:
addFilter(r" spelling-error \('(implementors?)',")
# Use the latest GPLv2 license text
# https://github.com/canonical/wlcs/pull/352
# We will not patch this until/unless upstream merges the PR.
addFilter(r" incorrect-fsf-address ")

View file

@ -1,5 +1,5 @@
# Lists copied from gcc.spec
# Current as of 15.2.1 (lines 74, 94, and 84, respectively).
# 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 only.
%ifarch %{ix86} x86_64 ppc ppc64 ppc64le ppc64p7 s390 s390x %{arm} aarch64 riscv64
@ -63,8 +63,8 @@ Summary: Wayland Conformance Test Suite
# - tests/xdg_surface_v6.cpp
# - tests/xdg_toplevel_stable.cpp
# - tests/xdg_toplevel_v6.cpp
# > Files in tests/ are all test code that is not installed (so does not
# contribute to the licenses of the binary RPMs). Files in src/protocol/ are
# > Files in tests/ are included in the test-suite executables and do
# contribute to the licenses of the binary RPMs. Files in src/protocol/ are
# used as inputs to “wayland-scanner” to generate C source files and headers,
# and are not directly included in the binary RPMs.
#
@ -73,23 +73,32 @@ Summary: Wayland Conformance Test Suite
# > Files in src/protocol/ are used as inputs to “wayland-scanner” to generate
# C source files and headers, and are not directly included in the binary
# RPMs.
License: GPL-3.0-only AND (LGPL-2.0-only OR LGPL-3.0-only)
License: GPL-3.0-only AND (LGPL-2.0-only OR LGPL-3.0-only) AND MIT
SourceLicense: %{shrink:
%{license} AND
(GPL-2.0-only OR GPL-3.0-only) AND
GPL-2.0-or-later AND
HPND-sell-variant AND
MIT
}
%{license} AND
(GPL-2.0-only OR GPL-3.0-only) AND
GPL-2.0-or-later AND
HPND-sell-variant
}
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
@ -136,33 +145,6 @@ The wlcs-devel package contains libraries and header files for developing
Wayland compositor tests that use wlcs.
%prep
%autosetup
%conf
# 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
%build
%cmake_build
%install
%cmake_install
%check
%ctest
%files
%license COPYING.*
%doc README.rst