Do-not-use-pkgdocdir-it-is-not-defined

epel9
Oliver Haessler 9 years ago
parent c77a19b1d1
commit 55bbbd95b5

@ -38,7 +38,7 @@ rm create_wajig_completions.py
%build %build
%configure --docdir=%{_pkgdocdir} %configure --docdir=%{_docdir}/%{name}
make %{?_smp_mflags} all fish_tests make %{?_smp_mflags} all fish_tests
@ -55,8 +55,8 @@ gzip %{buildroot}%{_datadir}/fish/man/man1/*.1
rm %{buildroot}/usr/share/pkgconfig/fish.pc rm %{buildroot}/usr/share/pkgconfig/fish.pc
# Install docs from tarball root # Install docs from tarball root
cp README.md %{buildroot}%{_pkgdocdir} cp README.md %{buildroot}%{_docdir}/%{name}
cp CONTRIBUTING.md %{buildroot}%{_pkgdocdir} cp CONTRIBUTING.md %{buildroot}%{_docdir}/%{name}
%check %check
@ -90,7 +90,7 @@ fi
%{_bindir}/* %{_bindir}/*
%config(noreplace) %{_sysconfdir}/fish %config(noreplace) %{_sysconfdir}/fish
%{_datadir}/fish/ %{_datadir}/fish/
%{_pkgdocdir} %{_docdir}/%{name}
%changelog %changelog

Loading…
Cancel
Save