[cp2k] use xz to compress SVN snapshot tarball
Dominik Mierzejewski
rathann at fedoraproject.org
Fri Nov 15 11:10:03 UTC 2013
commit db27dd629f0189b782e2b429aab569b2a6fd652f
Author: Dominik Mierzejewski <rpm at greysector.net>
Date: Fri Nov 15 12:10:05 2013 +0100
use xz to compress SVN snapshot tarball
.gitignore | 1 +
cp2k-snapshot.sh | 2 +-
cp2k.spec | 7 +++++--
sources | 2 +-
4 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 141900a..5193cef 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
/cp2k-2.4-20130220.tar.bz2
/cp2k-2.4-20130418.tar.bz2
/cp2k-2.5-20131112.tar.bz2
+/cp2k-2.5-20131112.tar.xz
diff --git a/cp2k-snapshot.sh b/cp2k-snapshot.sh
index d25d7f0..498faf5 100755
--- a/cp2k-snapshot.sh
+++ b/cp2k-snapshot.sh
@@ -24,5 +24,5 @@ cd $dirname
tools/get_revision_number . >REVISION
find . -type d -name .svn -print0 | xargs -0r rm -rf
cd ..
-tar jcf "$pwd"/$dirname-$svn.tar.bz2 $dirname
+tar Jcf "$pwd"/$dirname-$svn.tar.xz $dirname
cd - >/dev/null
diff --git a/cp2k.spec b/cp2k.spec
index df76e50..635d691 100644
--- a/cp2k.spec
+++ b/cp2k.spec
@@ -3,14 +3,14 @@
Name: cp2k
Version: 2.5
-Release: 0.1.%{snapshot}svn13316%{?dist}
+Release: 0.2.%{snapshot}svn13316%{?dist}
Group: Applications/Engineering
Summary: A molecular dynamics engine capable of classical and Car-Parrinello simulations
License: GPLv2+
URL: http://cp2k.org/
%if %{svn}
# run cp2k-snapshot.sh to produce this
-Source0: cp2k-%{version}-%{snapshot}.tar.bz2
+Source0: cp2k-%{version}-%{snapshot}.tar.xz
%else
Source0: http://downloads.sourceforge.net/project/cp2k/cp2k-%{version}.tar.bz2
%endif
@@ -182,6 +182,9 @@ popd
%{_libdir}/mpich%{?_opt_cc_suffix}/bin/cp2k.psmp_mpich
%changelog
+* Fri Nov 15 2013 Dominik Mierzejewski <rpm at greysector.net> - 2.5-0.2.20131112svn13316
+- use xz to compress SVN snapshot tarball
+
* Wed Nov 13 2013 Dominik Mierzejewski <rpm at greysector.net> - 2.5-0.1.20131112svn13316
- update to current SVN trunk
- fix build against atlas >= 3.10.1
diff --git a/sources b/sources
index f6f6605..42ec85e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f30a71d430288eda0b2a5b77ead9c239 cp2k-2.5-20131112.tar.bz2
+0f70ef0131329f779ae6c7e717b4f920 cp2k-2.5-20131112.tar.xz
More information about the scm-commits
mailing list