summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2014-04-06 18:13:31 +0200
committerJean Delvare <jdelvare@suse.de>2014-04-06 18:13:31 +0200
commitbe4fe458af06bc00094bb0b5ba1db33b209860dd (patch)
tree95fe1514a8eaf06468cd247e416e726ed0c2b165
parent406d529090b8d40eeaafe01dae1bc1dd21854d5a (diff)
downloadquilt-be4fe458af06bc00094bb0b5ba1db33b209860dd.tar.gz
quilt.spec: Configure with the right docdir
We need to pass --docdir to the configure script so that the documentation files are installed where we expect them.
-rw-r--r--quilt.spec.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/quilt.spec.in b/quilt.spec.in
index e00d41a..6f3929d 100644
--- a/quilt.spec.in
+++ b/quilt.spec.in
@@ -30,8 +30,11 @@ Authors:
%setup
%build
-CFLAGS="$RPM_OPT_FLAGS" ./configure --mandir=%_mandir
-make prefix=/usr RELEASE=%release
+CFLAGS="$RPM_OPT_FLAGS" \
+./configure --prefix=/usr \
+ --mandir=%_mandir \
+ --docdir=%_docdir/%{name}-%{version}
+make RELEASE=%release
%install
rm -rf $RPM_BUILD_ROOT