[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r8394 - in trunk/packages/rpm: redhat-7.x redhat-8+

From: Ben Reser <ben_at_reser.org>
Date: 2004-01-21 20:17:00 CET

On Tue, Jan 20, 2004 at 10:39:44AM -0600, david@tigris.org wrote:
> +%if %{perl_bindings}
> +%files perl
> +%defattr(-,root,root)
> +/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/SVN
> +/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/SVN
> +/usr/lib/libsvn_swig_perl*so*
> +/usr/share/man/man3/SVN*
> +%endif

Don't hardcode the paths that the perl stuff gets installed in. You'll
want to use %{perl_vendorarch} otherwise this RPM will break if they
have a different version of perl installed than 5.8.0 or build on an
arch other than i386.

If you don't have %{perl_vendorarch} on RedHat it can be defined as
follows:
%(eval "`perl -V:installvendorarch`"; echo $installvendorarch)

-- 
Ben Reser <ben@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jan 21 20:17:37 2004

This is an archived mail posted to the Subversion Dev mailing list.