Skip to content
Browse files

Try to get rpm building to work again with forced install roots

  • Loading branch information...
1 parent d529596 commit fbc3f6b2fb101086805a520fd41b4b3102076973 rjray committed Jan 30, 2003
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec.in
View
4 spec.in
@@ -24,14 +24,14 @@ and LWP CPAN modules for operation.
%setup -q -n ${DISTNAME}-%{version}
%build
-CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
+CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr
%clean
rm -rf $RPM_BUILD_ROOT
%install
rm -rf $RPM_BUILD_ROOT
-install_dir=/usr/lib/perl5/site_perl/5.005/i386-linux
+install_dir=${INSTALLSITELIB}
mkdir -p $RPM_BUILD_ROOT/$installdir
make PREFIX=$RPM_BUILD_ROOT/usr install

0 comments on commit fbc3f6b

Please sign in to comment.
Something went wrong with that request. Please try again.