#3 Update to cvise-2.8.0
Merged 10 months ago by mpolacek. Opened 10 months ago by vmihalko.

file modified
+1
@@ -6,3 +6,4 @@ 

  /cvise-2.2.0.tar.gz

  /v2.3.0.tar.gz

  /v2.4.0.tar.gz

+ /v2.8.0.tar.gz

file modified
+13 -15
@@ -1,6 +1,6 @@ 

  Name: cvise

- Version: 2.4.0

- Release: 6%{?dist}

+ Version: 2.8.0

+ Release: 1%{?dist}

  Summary: Super-parallel Python port of the C-Reduce

  License: BSD

  URL: https://github.com/marxin/cvise
@@ -12,14 +12,15 @@ 

  BuildRequires: llvm-devel

  BuildRequires: unifdef

  BuildRequires: clang-devel

+ BuildRequires: ninja-build

  BuildRequires: indent

  BuildRequires: gcc-c++

  BuildRequires: python3-pebble

  BuildRequires: python3-pytest

- BuildRequires: python3-pytest-flake8

  BuildRequires: python3-psutil

  BuildRequires: python3-chardet

  BuildRequires: make

+ 

  Requires: astyle

  Requires: clang-tools-extra

  Requires: unifdef
@@ -42,22 +43,15 @@ 

  %setup -q

  

  %build

- # Fedora says we shouldn't put files in /usr/local/.

- mkdir objdir && cd objdir && \

- %cmake .. \

-   -B %{_target_platform} \

-   -DCMAKE_INSTALL_LIBEXECDIR=%{_libexecdir} \

-   -DCMAKE_INSTALL_BINDIR=%{_bindir} \

-   -DCMAKE_INSTALL_DATADIR=%{_datadir} \

-   -DCMAKE_BUILD_TYPE=$BUILD_TYPE \

-   -DCMAKE_SKIP_RPATH=TRUE && \

- %make_build VERBOSE=1 -C %{_target_platform}

+ export CXXFLAGS="$RPM_OPT_FLAGS -Wno-error=restrict"

+ %cmake -DCMAKE_SKIP_RPATH=TRUE -GNinja

+ %cmake_build

  

  %check

- cd objdir && pytest

+ %cmake_build --target test

  

  %install

- %make_install -C objdir/%{_target_platform}

+ %cmake_install

  

  %files

  %license COPYING
@@ -71,6 +65,10 @@ 

  %{_datadir}/cvise

  

  %changelog

+ * Wed Jul 26 2023 Vincent Mihalkovic <vmihalko@redhat.com> - 2.8.0-1

+ - update to cvise-2.8.0 (#2123703)

+   various spec file improvements

+ 

  * Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-6

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild

  

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (v2.4.0.tar.gz) = 073e53039d2b077fed43b948e0c01dc662ef4f75b92d7f49d1786a35c36412fed02e1931c6a39ce902452056fe5c7d70daa35a9cae18b44009778837261cae19

+ SHA512 (v2.8.0.tar.gz) = 7e2dee2001aacb96cf5ffdb62047d229e23273fd26f34648e23ab4374bf6cae149f13db529494ce8d2d16555a0d2143487923c57f4b303b0ab1f678ffcff6f6e

@vmihalko Thanks for the PR! Unfortunately I can't merge it due to "The pull-request cannot be merged due to conflicts".

rebased onto d867953

10 months ago

@mpolacek can you merge and build it? This removes the dependency on pytest-flake8 which I intend to retire in Rawhide, thanks.

Probably should be built for F38 and F37 too since the current package dates back to F36...

Pull-Request has been merged by mpolacek

10 months ago