You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Ben Reser <be...@reser.org> on 2004/01/21 19:17:00 UTC

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

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 <be...@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