From 9f8030753029fddcdd7768ebaabb3ca46d098fb3 Mon Sep 17 00:00:00 2001 From: alessio Date: Aug 11 2020 14:19:20 +0000 Subject: Using %cmake_build macro to solve F33 FTBFS --- diff --git a/dicomanonymizer.spec b/dicomanonymizer.spec index 72894f1..82b6455 100644 --- a/dicomanonymizer.spec +++ b/dicomanonymizer.spec @@ -4,7 +4,7 @@ %global snap 20191125git%{shortcommit} Name: dicomanonymizer -Version: 0 +Version: 1 Release: 0.4.%{?snap}%{?dist} Summary: A multi-threaded anonymizer for DICOM files @@ -40,12 +40,12 @@ operation performed is a de-identification (permits a later re-identification). %autosetup -n %{real_name}-%{commit} %build -%cmake . -%make_build +%cmake +%cmake_build %install mkdir -p %{buildroot}%{_bindir} -install -pm 0755 anonymize %{buildroot}%{_bindir}/dicomanonymize +install -pm 0755 %{_target_platform}/anonymize %{buildroot}%{_bindir}/dicomanonymize %files %license LICENSE @@ -53,6 +53,9 @@ install -pm 0755 anonymize %{buildroot}%{_bindir}/dicomanonymize %{_bindir}/dicomanonymize %changelog +* Tue Aug 11 2020 Alessio - 1-0.1.20191125gited06792 +- Using %cmake_build macro + * Sat Aug 01 2020 Fedora Release Engineering - 0-0.4.20191125gited06792 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild