[seqan] Fixed installation of some files

Antonio Trande sagitter at fedoraproject.org
Thu Feb 5 15:56:16 UTC 2015


commit 735ca1ab2d3d25e10bdf07ef7a6b03664abde544
Author: sagitter <sagitterATfedoraprojectDOTorg>
Date:   Thu Feb 5 16:55:55 2015 +0100

    Fixed installation of some files

 seqan.spec                   |    9 +++++++--
 seqan_fix_installation.patch |   13 +++++++++++++
 2 files changed, 20 insertions(+), 2 deletions(-)
---
diff --git a/seqan.spec b/seqan.spec
index 52d0785..9270e13 100644
--- a/seqan.spec
+++ b/seqan.spec
@@ -1,7 +1,7 @@
 Name:      seqan
 Summary:   Open source C++ library of efficient algorithms and data structures
 Version:   2.0.0
-Release:   0.1.rc1%{?dist}
+Release:   0.2.rc1%{?dist}
 License:   BSD and GPLv3+ and LGPLv3+
 URL:       http://www.seqan.de/
 Source0:   https://github.com/seqan/seqan/archive/seqan-v%{version}-rc1.tar.gz#/seqan-seqan-v%{version}-rc1.tar.gz
@@ -9,6 +9,8 @@ Source0:   https://github.com/seqan/seqan/archive/seqan-v%{version}-rc1.tar.gz#/
 ## This patch sets a seqan directory for documentation files
 Patch0: %{name}-docpath.patch
 
+Patch1: %{name}_fix_installation.patch
+
 BuildRequires: qt4-devel >= 4.7
 BuildRequires: cmake >= 2.8 
 BuildRequires: llvm-devel, bzip2-devel, zlib-devel, boost-devel
@@ -52,6 +54,7 @@ Info files of SeqAn's apps.
 %prep
 %setup -q -n seqan-seqan-v%{version}-rc1
 %patch0 -p0
+%patch1 -p0
 
 ## Remove spurious executable permissions
 for i in `find . -perm /111 -type f \( -name "*.h" -o -name "*.cpp" \)`; do
@@ -62,7 +65,6 @@ done
 cp -p apps/rep_sep/LICENSE LGPLv3+.txt
 cp -p apps/rabema/LICENSE GPLv3+.txt
 cp -p LICENSE BSD.txt
-cp -p LICENSE README apps/seqcons2
 
 %build
 mkdir -p build/Release && pushd build/Release
@@ -121,6 +123,9 @@ ctest --force-new-ctest-process -V %{?_smp_mflags}
 %{_includedir}/seqan/
 
 %changelog
+* Thu Feb 05 2015 Antonio Trande <sagitterATfedoraproject.org> - 2.0.0-0.2.rc1
+- Fixed installation of some files
+
 * Tue Feb 03 2015 Antonio Trande <sagitterATfedoraproject.org> - 2.0.0-0.1.rc1
 - Update to 2.0.0-rc1
 
diff --git a/seqan_fix_installation.patch b/seqan_fix_installation.patch
new file mode 100644
index 0000000..baf858b
--- /dev/null
+++ b/seqan_fix_installation.patch
@@ -0,0 +1,13 @@
+--- apps/seqcons2/CMakeLists.orig.txt	2015-02-02 15:51:51.000000000 +0100
++++ apps/seqcons2/CMakeLists.txt	2015-02-05 16:48:51.078646903 +0100
+@@ -64,8 +64,7 @@
+ 
+ # Install non-binary files for the package to "." for app builds and
+ # ${PREFIX}/share/doc/seqcons2 for SeqAn release builds.
+-install (FILES LICENSE
+-               README
++install (FILES INFO
+          DESTINATION ${SEQAN_PREFIX_SHARE_DOC})
+ #install (FILES example/fasta1.fa
+ #               example/fasta2.fa
+


More information about the scm-commits mailing list