summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--install/rpm/freeside.spec6
1 files 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' | \