Skip to content

Commit

Permalink
spec: Use CMake build macros
Browse files Browse the repository at this point in the history
Since 3.18.0-1.1, the %cmake RPM macro performs non-srcdir builds, which
means that simply invoking make will run the top-level file, which is no
longer overwritten by CMake and the “run” target will be executed, which
runs things, written by monkeys on crack.
  • Loading branch information
ernestask committed Jul 22, 2020
1 parent 43c2b14 commit 9f16f61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/abrt-java-connector.spec
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ logging.

%build
%cmake -DCMAKE_BUILD_TYPE=Release
%make_build
%cmake_build


%install
%make_install
%cmake_install

%files
%doc README AUTHORS
Expand Down

0 comments on commit 9f16f61

Please sign in to comment.