#1 Performed SPEC cleanup
Merged 3 years ago by nickblack. Opened 3 years ago by xvitaly.
Unknown source master  into  master

file modified
+5 -6
@@ -30,14 +30,14 @@

  mkdir -p %{_target_platform}

  

  %build

- mkdir build

- cd build

- %cmake \

+ pushd %{_target_platform}

+   %cmake \

    -DCMAKE_BUILD_TYPE=Release \

    -DDOCTEST_WITH_MAIN_IN_STATIC_LIB:BOOL=OFF \

    -DDOCTEST_WITH_TESTS:BOOL=ON \

    ..

- %make_build

+ popd

+ %make_build -C %{_target_platform}

  

  %check

  pushd %{_target_platform}
@@ -45,8 +45,7 @@

  popd

  

  %install

- cd build

- %make_install

+ %make_install -C %{_target_platform}

  

  %files devel

  %doc README.md CHANGELOG.md CONTRIBUTING.md

  • Removed unneeded build directory.
  • Removed dangerous in RPM SPEC file cd command.
  • Fixed tests.

Thanks for the contribution, xvitaly! Committing, and I'll kick off a rebuild.

Metadata Update from @nickblack:
- Request assigned

3 years ago

Pull-Request has been merged by nickblack

3 years ago