[libint] Update to 1.1.6.
Susi Lehtola
jussilehtola at fedoraproject.org
Sun Mar 9 11:10:01 UTC 2014
commit d99389d77818ae5a30c536149fed378ff3534ba4
Author: Susi Lehtola <jussilehtola at fedoraproject.org>
Date: Sun Mar 9 13:09:49 2014 +0200
Update to 1.1.6.
.gitignore | 1 +
libint-1.1.5-printf.patch | 36 ------------------------------------
libint.spec | 24 +++++++++++++++++-------
sources | 2 +-
4 files changed, 19 insertions(+), 44 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1ae1d12..166bc94 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
libint-1.1.4.tar.gz
/libint-1.1.5.tar.gz
+/libint-0e0ffa7887e74e6ab1fb07c89be55f776c733731.tar.gz
diff --git a/libint.spec b/libint.spec
index 2a8c5fc..ce7f8ff 100644
--- a/libint.spec
+++ b/libint.spec
@@ -4,21 +4,27 @@
# RPM macro directory
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
+# Commit hash
+%global commit 0e0ffa7887e74e6ab1fb07c89be55f776c733731
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
Name: libint
-Version: 1.1.5
-Release: 4%{?dist}
+Version: 1.1.6
+Release: 1%{?dist}
Summary: A library for computing electron repulsion integrals efficiently
Group: System Environment/Libraries
License: GPLv2+
URL: http://sourceforge.net/p/libint
-Source0: http://downloads.sourceforge.net/libint/v1-releases/libint-%{version}.tar.gz
-# Proper arguments for printf
-Patch0: libint-1.1.5-printf.patch
+Source0: https://github.com/evaleev/libint/archive/%{commit}/libint-%{commit}.tar.gz
+
# Increase maxnode
Patch1: libint-1.1.5-maxnode.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+BuildRequires: automake
+BuildRequires: autoconf
+
%if 0%{?rhel} == 5
# g++ crashes on pcc when trying to build in EPEL-5
ExcludeArch: ppc
@@ -93,9 +99,10 @@ expressions. The derivatives are typically used in the calculation of forces.
%prep
-%setup -q
-%patch0 -p1 -b .printf
+%setup -q -n %{name}-%{commit}
%patch1 -p1 -b .maxnode
+aclocal -I lib/autoconf
+autoconf
%build
# Disable stack size limit due to static allocation of arrays
@@ -167,6 +174,9 @@ rm -rf %{buildroot}
%changelog
+* Sun Mar 09 2014 Susi Lehtola <jussilehtola at fedoraproject.org> - 1.1.6-1
+- Update to 1.1.6.
+
* Mon Feb 03 2014 Susi Lehtola <jussilehtola at fedoraproject.org> - 1.1.5-4
- Use proper macro for rpm macro dir.
diff --git a/sources b/sources
index ae05906..3d74c8b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-bc6a4d1945ed215155e7674774711884 libint-1.1.5.tar.gz
+ea31830c2c4105511a60a4526f5a9b29 libint-0e0ffa7887e74e6ab1fb07c89be55f776c733731.tar.gz
More information about the scm-commits
mailing list