#1 Use make macros
Merged 3 years ago by nforro. Opened 3 years ago by tstellar.
rpms/ tstellar/exempi make-macros  into  master

file modified
+7 -3
@@ -1,7 +1,7 @@ 

  Summary:	Library for easy parsing of XMP metadata

  Name:		exempi

  Version:	2.5.1

- Release:	2%{?dist}

+ Release:	3%{?dist}

  License:	BSD

  URL:		http://libopenraw.freedesktop.org/wiki/Exempi

  Source0:	http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.bz2
@@ -38,13 +38,13 @@ 

  sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool

  sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool

  

- make %{?_smp_mflags} V=1

+ %make_build

  

  %check

  make check

  

  %install

- make DESTDIR=%{buildroot} install

+ %make_install

  

  rm -rf %{buildroot}%{_libdir}/*.la

  rm -rf %{buildroot}%{_libdir}/*.a
@@ -61,6 +61,10 @@ 

  %{_libdir}/pkgconfig/*.pc

  

  %changelog

+ * Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 2.5.1-3

+ - Use make macros

+ - https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro

+ 

  * Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.1-2

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

  

This pull request was create automatically for the f33 change:
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro

Please review the patch and if you approve the changes, merge it after the simple-koji-ci test passes.

This pull request will be automatically merged in 1 week if there are not objections.

Pull-Request has been merged by nforro

3 years ago