parent
72582aaa47
commit
bb45ec91fb
@ -1,41 +0,0 @@
|
||||
From 55bbbd95b508114998241a777a22de1dc6e8c05e Mon Sep 17 00:00:00 2001
|
||||
From: Oliver Haessler <oliver@redhat.com>
|
||||
Date: Mon, 21 Dec 2015 11:17:32 +0100
|
||||
Subject: [PATCH 1/1] Do-not-use-pkgdocdir-it-is-not-defined
|
||||
|
||||
diff --git a/fish.spec b/fish.spec
|
||||
index ec7902a..4cdf45e 100644
|
||||
--- a/fish.spec
|
||||
+++ b/fish.spec
|
||||
@@ -38,7 +38,7 @@ rm create_wajig_completions.py
|
||||
|
||||
|
||||
%build
|
||||
-%configure --docdir=%{_pkgdocdir}
|
||||
+%configure --docdir=%{_docdir}/%{name}
|
||||
make %{?_smp_mflags} all fish_tests
|
||||
|
||||
|
||||
@@ -55,8 +55,8 @@ gzip %{buildroot}%{_datadir}/fish/man/man1/*.1
|
||||
rm %{buildroot}/usr/share/pkgconfig/fish.pc
|
||||
|
||||
# Install docs from tarball root
|
||||
-cp README.md %{buildroot}%{_pkgdocdir}
|
||||
-cp CONTRIBUTING.md %{buildroot}%{_pkgdocdir}
|
||||
+cp README.md %{buildroot}%{_docdir}/%{name}
|
||||
+cp CONTRIBUTING.md %{buildroot}%{_docdir}/%{name}
|
||||
|
||||
|
||||
%check
|
||||
@@ -90,7 +90,7 @@ fi
|
||||
%{_bindir}/*
|
||||
%config(noreplace) %{_sysconfdir}/fish
|
||||
%{_datadir}/fish/
|
||||
-%{_pkgdocdir}
|
||||
+%{_docdir}/%{name}
|
||||
|
||||
|
||||
%changelog
|
||||
--
|
||||
1.8.3.1
|
||||
|
Loading…
Reference in new issue