Index: src/build-data/makefile/unix.in =================================================================== --- src/build-data/makefile/unix.in.orig 2011-06-21 17:33:59.550471797 +0200 +++ src/build-data/makefile/unix.in 2011-06-21 17:35:52.643901474 +0200 @@ -12,12 +12,12 @@ VERSION = %{version} SERIES = %{version_major}.%{version_minor} # Installation Settings -DESTDIR = %{prefix} +DESTDIR = -BINDIR = $(DESTDIR)/bin -LIBDIR = $(DESTDIR)/%{libdir} -HEADERDIR = $(DESTDIR)/%{includedir}/botan-$(SERIES)/botan -DOCDIR = $(DESTDIR)/%{docdir}/botan-$(VERSION) +BINDIR = $(DESTDIR)%{prefix}/bin +LIBDIR = $(DESTDIR)%{libdir} +HEADERDIR = $(DESTDIR)%{includedir}/botan-$(SERIES)/botan +DOCDIR = $(DESTDIR)%{docdir}/Botan-$(VERSION) PKGCONF_DIR = $(LIBDIR)/pkgconfig CONFIG_SCRIPT = %{botan_config} Index: src/build-data/makefile/unix_shr.in =================================================================== --- src/build-data/makefile/unix_shr.in.orig 2011-06-21 17:33:59.550471797 +0200 +++ src/build-data/makefile/unix_shr.in 2011-06-21 17:35:50.812926900 +0200 @@ -14,12 +14,12 @@ VERSION = %{version} SERIES = %{version_major}.%{version_minor} # Installation Settings -DESTDIR = %{prefix} +DESTDIR = -BINDIR = $(DESTDIR)/bin -LIBDIR = $(DESTDIR)/%{libdir} -HEADERDIR = $(DESTDIR)/%{includedir}/botan-$(SERIES)/botan -DOCDIR = $(DESTDIR)/%{docdir}/botan-$(VERSION) +BINDIR = $(DESTDIR)%{prefix}/bin +LIBDIR = $(DESTDIR)%{libdir} +HEADERDIR = $(DESTDIR)%{includedir}/botan-$(SERIES)/botan +DOCDIR = $(DESTDIR)%{docdir}/Botan-$(VERSION) PKGCONF_DIR = $(LIBDIR)/pkgconfig CONFIG_SCRIPT = %{botan_config}