[lapack] clean out non-free example files from source tarball

Tom Callaway spot at fedoraproject.org
Mon Mar 25 20:13:36 UTC 2013


commit 25418cf1856b22a76fb5e7918c73bb55c2c3192c
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Mon Mar 25 16:16:44 2013 -0400

    clean out non-free example files from source tarball

 .gitignore  |    1 +
 lapack.spec |   12 ++++++++++--
 sources     |    2 +-
 3 files changed, 12 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ea18aa3..8929c4d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@ lapack-3.2.2.tgz
 /lapack-3.4.0.tgz
 /lapack-3.4.1.tgz
 /lapack-3.4.2.tgz
+/lapack-3.4.2-clean.tgz
diff --git a/lapack.spec b/lapack.spec
index 6183901..ef568b9 100644
--- a/lapack.spec
+++ b/lapack.spec
@@ -10,11 +10,16 @@
 Summary: Numerical linear algebra package libraries
 Name: lapack
 Version: %{mediumver}.2
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: BSD
 Group: Development/Libraries
 URL: http://www.netlib.org/lapack/
-Source0: http://www.netlib.org/lapack/lapack-%{version}.tgz
+# Upstream contains two non-free files with no permission to redistribute
+# lapacke/examples/example_DGESV_rowmajor.c and
+# lapacke/examples/example_ZGESV_rowmajor.c.
+# They have been removed from the source tarball.
+# Source0: http://www.netlib.org/lapack/lapack-%{version}.tgz
+Source0: lapack-%{version}-clean.tgz
 Source1: http://www.netlib.org/lapack/manpages.tgz
 Source2: Makefile.blas
 Source3: Makefile.lapack
@@ -445,6 +450,9 @@ ln -sf libblas64.so.%{version} libblas64.so.%{mediumver}
 %endif
 
 %changelog
+* Mon Mar 25 2013 Tom Callaway <spot at fedoraproject.org> - 3.4.2-2
+- clean out non-free example files from source tarball
+
 * Thu Feb 21 2013 Tom Callaway <spot at fedoraproject.org> - 3.4.2-1
 - update to 3.4.2
 
diff --git a/sources b/sources
index a25f293..e51da8e 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
 5e6b576f13115f653ecd4526bfdbb78f  manpages.tgz
-61bf1a8a4469d4bdb7604f5897179478  lapack-3.4.2.tgz
+c0e92e1f977c3390666900e8093c5dc7  lapack-3.4.2-clean.tgz


More information about the scm-commits mailing list