s/_builddir/RPM_BUILD_DIR/
This commit is contained in:
parent
a65b281bee
commit
22f958a6d2
@ -52,7 +52,7 @@ cat << \EOF > %{name}-prov
|
||||
%{__perl_provides} `perl -p -e 's|\S+%{_docdir}/%{name}-doc-%{version}\S+||'`
|
||||
EOF
|
||||
|
||||
%define __perl_provides %{_builddir}/%{name}-%{version}/%{name}-prov
|
||||
%define __perl_provides $RPM_BUILD_DIR/%{name}-%{version}/%{name}-prov
|
||||
chmod +x %{__perl_provides}
|
||||
|
||||
cat << \EOF > %{name}-req
|
||||
@ -60,7 +60,7 @@ cat << \EOF > %{name}-req
|
||||
%{__perl_requires} `perl -p -e 's|\S+%{_docdir}/%{name}-doc-%{version}\S+||'`
|
||||
EOF
|
||||
|
||||
%define __perl_requires %{_builddir}/%{name}-%{version}/%{name}-req
|
||||
%define __perl_requires $RPM_BUILD_DIR/%{name}-%{version}/%{name}-req
|
||||
chmod +x %{__perl_requires}
|
||||
|
||||
for all in CHANGES README; do
|
||||
|
Loading…
Reference in New Issue
Block a user