[packages/lensfun] fix man pages installation path

glen glen at pld-linux.org
Fri Mar 20 21:25:16 CET 2015


commit 0ca736481d88fff3ec4aa3bc25cac3bd95c3cb0d
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Mar 20 20:24:59 2015 +0000

    fix man pages installation path

 FHS.patch    | 9 +++++++++
 lensfun.spec | 2 ++
 2 files changed, 11 insertions(+)
---
diff --git a/lensfun.spec b/lensfun.spec
index e205e56..3560212 100644
--- a/lensfun.spec
+++ b/lensfun.spec
@@ -7,6 +7,7 @@ License:	LGPL v3 (library), CC-BY-SA v3.0 (lens database)
 Group:		Libraries
 Source0:	http://downloads.sourceforge.net/lensfun/%{name}-%{version}.tar.bz2
 # Source0-md5:	c553cb37f1b781d1af05787beacf0193
+Patch0:		FHS.patch
 URL:		http://lensfun.sourceforge.net/
 BuildRequires:	cmake >= 2.8
 BuildRequires:	docutils
@@ -59,6 +60,7 @@ Dokumentacja API biblioteki lensfun.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 install -d build
diff --git a/FHS.patch b/FHS.patch
new file mode 100644
index 0000000..b0b87fa
--- /dev/null
+++ b/FHS.patch
@@ -0,0 +1,9 @@
+--- lensfun-0.3.0/docs/CMakeLists.txt~	2014-09-30 17:37:34.000000000 +0000
++++ lensfun-0.3.0/docs/CMakeLists.txt	2015-03-20 20:24:09.758545114 +0000
+@@ -36,5 +36,5 @@
+     ${CMAKE_CURRENT_BINARY_DIR}/g-lensfun-update-data.1 
+     ${CMAKE_CURRENT_BINARY_DIR}/lensfun-update-data.1 
+     ${CMAKE_CURRENT_BINARY_DIR}/lensfun-add-adapter.1 
+-    DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man1
++    DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man1
+ )
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lensfun.git/commitdiff/0ca736481d88fff3ec4aa3bc25cac3bd95c3cb0d



More information about the pld-cvs-commit mailing list