From 1d95370f72334b7e4458b60124a4502df2a22802 Mon Sep 17 00:00:00 2001 From: rsiddall Date: Thu, 8 Nov 2007 02:15:47 +0000 Subject: [PATCH] Fix for bug that prevented RPMs building on x86_64: wrong path to brp-compress. --- install/rpm/freeside.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install/rpm/freeside.spec b/install/rpm/freeside.spec index 57d9e18ab..1e1b91c48 100644 --- a/install/rpm/freeside.spec +++ b/install/rpm/freeside.spec @@ -31,6 +31,8 @@ Requires: tetex-latex %define fs_selfservice_user fs_selfservice %define fs_cron_user fs_daily +%define _rpmlibdir /usr/lib/rpm + %description Freeside is a flexible ISP billing system written by Ivan Kohler @@ -181,7 +183,7 @@ eval `perl '-V:installarchlib'` %makeinstall PREFIX=$RPM_BUILD_ROOT%{_prefix} %{__rm} -f `find $RPM_BUILD_ROOT -type f -name perllocal.pod -o -name .packlist` -[ -x %{_libdir}/rpm/brp-compress ] && %{_libdir}/rpm/brp-compress +[ -x %{_rpmlibdir}/brp-compress ] && %{_rpmlibdir}/brp-compress find $RPM_BUILD_ROOT%{_prefix} -type f -print | \ grep -v '/etc/freeside/conf' | \ @@ -199,7 +201,7 @@ cd fs_selfservice/FS-SelfService %makeinstall PREFIX=$RPM_BUILD_ROOT%{_prefix} %{__rm} -f `find $RPM_BUILD_ROOT -type f -name perllocal.pod -o -name .packlist` -[ -x %{_libdir}/rpm/brp-compress ] && %{_libdir}/rpm/brp-compress +[ -x %{_rpmlibdir}/brp-compress ] && %{_rpmlibdir}/brp-compress find $RPM_BUILD_ROOT%{_prefix} -type f -print | \ grep -v '/etc/freeside/conf' | \ -- 2.11.0