[mlpack] Update spec file to apply no_exclude_build.patch

rcurtin rcurtin at fedoraproject.org
Tue Aug 6 17:37:17 UTC 2013


commit 6d573a3fdd5d5a35881535d1839dbd9644a40ebe
Author: Ryan Curtin <gth671b at mail.gatech.edu>
Date:   Tue Aug 6 13:36:51 2013 -0400

    Update spec file to apply no_exclude_build.patch

 mlpack.spec |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/mlpack.spec b/mlpack.spec
index 60fbe99..41b83f1 100644
--- a/mlpack.spec
+++ b/mlpack.spec
@@ -1,6 +1,6 @@
 Name:           mlpack
 Version:        1.0.6
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Scalable, fast C++ machine learning library
 
 Group:          System Environment/Libraries
@@ -13,6 +13,11 @@ Source0:        http://www.mlpack.org/files/%{name}-%{version}.tar.gz
 # be fixed by mlpack 1.0.2.
 Patch0:         cmake_libdir.patch
 
+# By default the mlpack Doxyfile excludes all files in the directory pattern
+# */build/*.  Well, on Koji, that's everything.  So we need to not exclude
+# that.
+Patch1:		no_exclude_build.patch
+
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 # Use cmake28 package on RHEL.
@@ -104,6 +109,7 @@ margins.  This package provides the Doxygen-generated documentation for mlpack.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 
 %build
@@ -221,6 +227,9 @@ rm -rf $RPM_BUILD_ROOT
 %{our_docdir}
 
 %changelog
+* Tue Aug 06 2013 Ryan Curtin <gth671b at mail.gatech.edu> - 1.0.6-6
+- Add no_exclude_build.patch so that Koji builds don't exclude all the code from Doxygen.
+
 * Tue Aug 06 2013 Ryan Curtin <gth671b at mail.gatech.edu> - 1.0.6-5
 - Require graphviz (dot) for generation of Doxygen graphs.
 


More information about the scm-commits mailing list