Use %{_usr} not %{_prefix} for %_defaultdocdir path.

CVS patchset: 3791
CVS date: 2000/06/01 13:43:05
This commit is contained in:
jbj 2000-06-01 13:43:05 +00:00
parent a12bee781a
commit bd18564430
2 changed files with 3 additions and 3 deletions

View File

@ -8,9 +8,9 @@ MACROS="${2:-macros}"
PLATFORM="${3:-platform}"
if grep /share/ $PLATFORM > /dev/null 2>&1 ; then
DEFAULTDOCDIR='%{_prefix}/share/doc'
DEFAULTDOCDIR='%{_usr}/share/doc'
else
DEFAULTDOCDIR='%{_prefix}/doc'
DEFAULTDOCDIR='%{_usr}/doc'
fi
TEMPRC="/tmp/rpmrc.$$"

View File

@ -5,7 +5,7 @@ Summary: The Red Hat package management system.
Name: rpm
%define version 4.0
Version: %{version}
Release: 0.29
Release: 0.31
Group: System Environment/Base
Source: ftp://ftp.rpm.org/pub/rpm/dist/rpm-3.0.x/rpm-%{version}.tar.gz
Copyright: GPL