diff --git a/exiv2.spec b/exiv2.spec index b0c849e..fb13131 100644 --- a/exiv2.spec +++ b/exiv2.spec @@ -1,9 +1,11 @@ +%undefine __cmake_in_source_build + Summary: Exif and Iptc metadata manipulation library Name: exiv2 Version: 0.27.3 %global internal_ver %{version} -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ URL: http://www.exiv2.org/ @@ -79,19 +81,18 @@ BuildArch: noarch %build - -%{cmake} . \ +%cmake \ -DCMAKE_INSTALL_DOCDIR="%{_pkgdocdir}" \ -DEXIV2_BUILD_DOC:BOOL=ON \ -DEXIV2_ENABLE_NLS:BOOL=ON \ -DEXIV2_BUILD_SAMPLES:BOOL=OFF -%make_build -%make_build doc +%cmake_build +%cmake_build --target doc %install -make install/fast DESTDIR=%{buildroot} +%cmake_install %find_lang exiv2 --with-man @@ -134,6 +135,9 @@ test -x %{buildroot}%{_libdir}/libexiv2.so %changelog +* Wed Aug 26 2020 Rex Dieter - 0.27.3-4 +- support new cmake macro semantics + * Sat Aug 01 2020 Fedora Release Engineering - 0.27.3-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild