[InsightToolkit] Fixed wrong version of software development guide

sebp sebp at fedoraproject.org
Sat Jan 3 09:12:51 UTC 2015


commit 3e210c8cd967fdf8cc4d7085431e8b07b2466585
Author: Sebastian Pölsterl <sebp at k-d-w.org>
Date:   Sat Jan 3 10:12:51 2015 +0100

    Fixed wrong version of software development guide

 InsightToolkit.spec |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/InsightToolkit.spec b/InsightToolkit.spec
index a68fb28..70d79a9 100644
--- a/InsightToolkit.spec
+++ b/InsightToolkit.spec
@@ -1,6 +1,9 @@
 %define _ver_major      4
 %define _ver_minor      7
 %define _ver_release    0
+%define _ver_doc_major    4
+%define _ver_doc_minor    7
+%define _ver_doc_release  0
 
 %if 0%{?rhel} && 0%{?rhel} <= 5
 %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
@@ -14,8 +17,8 @@ Release:        2%{?dist}
 License:        ASL 2.0
 Group:          Applications/Engineering
 Source0:        http://sourceforge.net/projects/itk/files/itk/%{_ver_major}.%{_ver_minor}/%{name}-%{version}.tar.xz
-Source1:        http://downloads.sourceforge.net/project/itk/itk/4.7/InsightSoftwareGuide-Book1-4.7.0.pdf
-Source2:        http://downloads.sourceforge.net/project/itk/itk/4.7/InsightSoftwareGuide-Book2-4.7.0.pdf
+Source1:        http://downloads.sourceforge.net/project/itk/itk/%{_ver_doc_major}.%{_ver_doc_minor}/InsightSoftwareGuide-Book1-%{_ver_doc_major}.%{_ver_doc_minor}.%{_ver_doc_release}.pdf
+Source2:        http://downloads.sourceforge.net/project/itk/itk/%{_ver_doc_major}.%{_ver_doc_minor}/InsightSoftwareGuide-Book2-%{_ver_doc_major}.%{_ver_doc_minor}.%{_ver_doc_release}.pdf
 URL:            http://www.itk.org/
 Patch0:         %{name}-0001-Set-lib-lib64-according-to-the-architecture.patch
 #Patch1:         %{name}-Fix_HDF5_Libraries.patch
@@ -203,13 +206,16 @@ make test -C %{_target_platform} || exit 0
 %files doc
 %dir %{_docdir}/%{name}/
 %{_docdir}/%{name}/*
-%doc InsightSoftwareGuide-Book1-4.6.0.pdf
-%doc InsightSoftwareGuide-Book2-4.6.0.pdf
+%doc InsightSoftwareGuide-Book1-%{_ver_doc_major}.%{_ver_doc_minor}.%{_ver_doc_release}.pdf
+%doc InsightSoftwareGuide-Book2-%{_ver_doc_major}.%{_ver_doc_minor}.%{_ver_doc_release}.pdf
 
 %files vtk
 %{_libdir}/libITKVtkGlue*.so.*
 
 %changelog
+* Sat Jan 03 2015 Sebastian <sebp at k-d-w.org> - 4.7.0-2
+- Fixed wrong version of software development guide
+
 * Fri Jan 02 2015 Sebastian <sebp at k-d-w.org> - 4.7.0-1
 - Update to 4.7.0
 


More information about the scm-commits mailing list