diff --git a/.gitignore b/.gitignore index 09c567f..7e441d1 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,6 @@ /wlcs-1.2.0.tar.xz /wlcs-1.3.0.tar.xz /wlcs-1.4.0.tar.xz +/wlcs-1.5.0.tar.gz +/wlcs-1.6.0.tar.gz +/wlcs-1.6.1.tar.gz diff --git a/sources b/sources index b90c256..dbf128a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wlcs-1.4.0.tar.xz) = a6707f730b499cb1927ad9b3acbdb561e0788f201ffde472fafd7d427b8ee7195b9b0adc14b7c621c87afc0c13056e3ed69d53dd347178e302dc58b9bbb87b6e +SHA512 (wlcs-1.6.1.tar.gz) = 136bee6ac1d55e55cbeb65e20cc6e6b1912c5b050bef63d16a869dc90b6e287dddb21d8861f3847811aa804d1e5edbe1de0616ebef888fce335399e249f60bce diff --git a/wlcs.spec b/wlcs.spec index 112fbdc..9288405 100644 --- a/wlcs.spec +++ b/wlcs.spec @@ -1,31 +1,24 @@ -# List copied from gcc.spec -# Current as of 12.2.1 (line 60) -# Note that this covers all Fedora primary architectures. +# Lists copied from gcc.spec +# Current as of 13.2.1 (lines 66, 86, and 76, 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 -%bcond_without asan -%else -%bcond_with asan +%global arch_has_asan 1 %endif - -# List copied from gcc.spec -# Current as of 12.2.1 (line 75) -# Note that this covers all Fedora primary architectures. %ifarch %{ix86} x86_64 ppc ppc64 ppc64le ppc64p7 s390 s390x %{arm} aarch64 -%bcond_without ubsan -%else -%bcond_with ubsan +%global arch_has_ubsan 1 %endif - -# List copied from gcc.spec -# Current as of 12.2.1 (line 65) %ifarch x86_64 ppc64 ppc64le aarch64 s390x -%bcond_without tsan -%else -%bcond_with tsan +%global arch_has_tsan 1 %endif +# By default, enable sanitizers whenever they are available on the architecture. +%bcond asan 0%{?arch_has_asan:1} +%bcond ubsan 0%{?arch_has_ubsan:1} +%bcond tsan 0%{?arch_has_tsan:1} + Name: wlcs -Version: 1.4.0 +Version: 1.6.1 Release: %autorelease Summary: Wayland Conformance Test Suite @@ -37,6 +30,7 @@ Summary: Wayland Conformance Test Suite # RPMs # # (LGPL-2.0-only OR LGPL-3.0-only): +# - include/geometry/* # - include/mutex.h # - include/shared_library.h # - src/helpers.cpp @@ -51,16 +45,19 @@ Summary: Wayland Conformance Test Suite # # MIT: # - src/protocol/gtk-primary-selection.xml +# - src/protocol/input-method-unstable-v1.xml # - src/protocol/pointer-constraints-unstable-v1.xml # - src/protocol/primary-selection-unstable-v1.xml # - src/protocol/relative-pointer-unstable-v1.xml # - src/protocol/wayland.xml +# - src/protocol/wlr-virtual-pointer-unstable-v1.xml # - src/protocol/xdg-output-unstable-v1.xml # - src/protocol/xdg-shell-unstable-v6.xml # - src/protocol/xdg-shell.xml # - tests/test_bad_buffer.cpp # - tests/test_surface_events.cpp # - tests/text_input_v3_with_input_method_v2.cpp +# - tests/wlr_virtual_pointer_v1.cpp # - tests/xdg_popup_v6.cpp # - tests/xdg_surface_stable.cpp # - tests/xdg_surface_v6.cpp @@ -70,9 +67,15 @@ Summary: Wayland Conformance Test Suite # 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. +# +# HPND-sell-variant: +# - src/protocol/text-input-unstable-v2.xml +# > 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) URL: https://github.com/MirServer/wlcs -Source0: %{url}/releases/download/v%{version}/wlcs-%{version}.tar.xz +Source: %{url}/archive/v%{version}/wlcs-%{version}.tar.gz BuildRequires: gcc BuildRequires: gcc-c++ @@ -145,6 +148,10 @@ sed -r -i 's/-Werror //' CMakeLists.txt %cmake_install +%check +%ctest + + %files %license COPYING.* %doc README.rst