[obnam/f19] Update to 1.8

Michel Alexandre Salim salimma at fedoraproject.org
Wed Dec 3 02:26:39 UTC 2014


commit a70798f943662d5d8de08f5c4f01d227a2dee713
Author: Michel Alexandre Salim <salimma at fedoraproject.org>
Date:   Tue Dec 2 22:27:41 2014 +0700

    Update to 1.8

 .gitignore |    1 +
 obnam.spec |   29 ++++++++++++++++-------------
 sources    |    2 +-
 3 files changed, 18 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index eca8847..3621395 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /obnam_1.5.orig.tar.gz
 /obnam_1.6.1.orig.tar.gz
+/obnam_1.8.orig.tar.gz
diff --git a/obnam.spec b/obnam.spec
index 443fc91..92bbac0 100644
--- a/obnam.spec
+++ b/obnam.spec
@@ -1,15 +1,15 @@
-# lock-dependent tests currently fail
+# lock-dependent tests fail in mock
+# enable them on local builds by using --with lcoktests
 %bcond_with locktests
 
 Name:           obnam
-Version:        1.6.1
+Version:        1.8
 Release:        1%{?dist}
 Summary:        An easy, secure backup program
 
 License:        GPLv3+
 URL:            http://liw.fi/obnam/
 Source0:        http://code.liw.fi/debian/pool/main/o/%{name}/%{name}_%{version}.orig.tar.gz
-#Source0:        http://ftp.debian.org/debian/pool/main/o/%{name}/%{name}_%{version}.orig.tar.gz
 
 # build-time
 BuildRequires:  cmdtest
@@ -17,9 +17,12 @@ BuildRequires:  genbackupdata
 BuildRequires:  libattr-devel
 BuildRequires:  python-coverage-test-runner
 BuildRequires:  python-devel
+# some yarn tests fail due to not expecting SELinux xattrs
+# BuildRequires:  python-markdown
 BuildRequires:  summain
 # build- and run-time dependencies
 BuildRequires:  attr
+BuildRequires:  gnupg
 BuildRequires:  python-cliapp
 BuildRequires:  python-larch
 BuildRequires:  python-paramiko
@@ -27,6 +30,7 @@ BuildRequires:  python-tracing
 BuildRequires:  python-ttystatus
 
 Requires:       attr
+Requires:       gnupg
 Requires:       python-cliapp
 Requires:       python-larch
 Requires:       python-paramiko
@@ -67,7 +71,7 @@ recommended.
 
 
 %prep
-%setup -q #-n %{name}_%{version}.orig
+%setup -q
 
 
 %build
@@ -81,16 +85,12 @@ chmod 755 %{buildroot}%{python_sitearch}/obnamlib/_obnam.so
 
 
 %check
-%if ! %{with locktests}
-# lock-dependent tests currently fails; need to debug
-for t in test-locking crash-test;
-do
-    mv $t{,.off}
-    %{__ln_s} $(which true) $t
-done
+./check \
+       --unit-tests \
+%if %{with locktests}
+       --lock-tests \
 %endif
-
-./check
+       --crash-tests
 
 
 %files
@@ -101,6 +101,9 @@ done
 
 
 %changelog
+* Tue Dec  2 2014 Michel Alexandre Salim <salimma at fedoraproject.org> - 1.8-1
+- Update to 1.8
+
 * Thu Jan 16 2014 Michel Salim <salimma at fedoraproject.org> - 1.6.1-1
 - Update to 1.6.1
 
diff --git a/sources b/sources
index 8babc27..8369f75 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fa6aaf0ad228662a6b73a19c5fae83f5  obnam_1.6.1.orig.tar.gz
+7838a2678f2a0d10d88247450245787f  obnam_1.8.orig.tar.gz


More information about the scm-commits mailing list