#1 Use make macros
Closed 3 years ago by mlichvar. Opened 3 years ago by tstellar.
rpms/ tstellar/openbox make-macros  into  master

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

  Name:		openbox

  Version:	3.6.1

- Release:	14%{?dist}

+ Release:	15%{?dist}

  Summary:	A highly configurable and standards-compliant X11 window manager

  

  License:	GPLv2+
@@ -100,12 +100,12 @@ 

  ## Fix RPATH hardcoding.

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

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

- make %{?_smp_mflags}

+ %make_build

  

  gcc $RPM_OPT_FLAGS $RPM_LD_FLAGS -o setlayout %{SOURCE1} -lX11

  

  %install

- make install DESTDIR=%{buildroot}

+ %make_install

  

  install setlayout %{buildroot}%{_bindir}

  install -p %{SOURCE2} %{buildroot}%{_libexecdir}/openbox-xdg-menu
@@ -172,6 +172,10 @@ 

  %ldconfig_scriptlets libs

  

  %changelog

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

+ - Use make macros

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

+ 

  * Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.1-14

  - 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 closed by mlichvar

3 years ago