diff --git a/borgbackup.spec b/borgbackup.spec index 6dcad9c..a4ad4ee 100644 --- a/borgbackup.spec +++ b/borgbackup.spec @@ -1,11 +1,9 @@ %global srcname borgbackup -%{!?python3_pkgversion:%global python3_pkgversion 3} - Name: %{srcname} Version: 1.0.1 Release: 1%{?dist} -Summary: A deduplicating backup program +Summary: A deduplicating backup program with compression and authenticated encryption License: BSD URL: https://borgbackup.readthedocs.org @@ -14,16 +12,13 @@ Source0: http://pypi.python.org/packages/source/b/%{srcname}/%{srcname}-% # build BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools - -BuildRequires: python%{python3_pkgversion}-msgpack BuildRequires: python%{python3_pkgversion}-setuptools_scm BuildRequires: python%{python3_pkgversion}-Cython BuildRequires: python%{python3_pkgversion}-llfuse # test BuildRequires: python%{python3_pkgversion}-pytest -BuildRequires: python%{python3_pkgversion}-pytest-cov -BuildRequires: python%{python3_pkgversion}-mock +BuildRequires: python%{python3_pkgversion}-msgpack >= 0.4.6 # docs BuildRequires: python%{python3_pkgversion}-sphinx @@ -36,7 +31,7 @@ BuildRequires: lz4-devel BuildRequires: fuse-devel BuildRequires: libacl-devel -Requires: python%{python3_pkgversion}-msgpack +Requires: python%{python3_pkgversion}-msgpack >= 0.4.6 Requires: python%{python3_pkgversion}-llfuse %description @@ -60,13 +55,10 @@ make -C docs SPHINXBUILD=sphinx-build-3 man find . -name *.so -type f -exec chmod 0755 {} \; %py3_install - -mkdir -p %{buildroot}%{_mandir}/man1 -mv docs/_build/man/borg*.1* %{buildroot}%{_mandir}/man1/borg.1 +install -D -m 0644 docs/_build/man/borg*.1* %{buildroot}%{_mandir}/man1/borg.1 %check -rm borg/testsuite/benchmark.py -PYTHONPATH=$PYTHONPATH:$(pwd) py.test-3 --cov=borg --pyargs borg.testsuite -k "not test_non_ascii_acl and not test_fuse_mount" +PYTHONPATH=$(pwd) py.test-3 --pyargs borg.testsuite -vk "not test_non_ascii_acl and not test_fuse_mount and not benchmark" %files %license LICENSE @@ -79,6 +71,10 @@ PYTHONPATH=$PYTHONPATH:$(pwd) py.test-3 --cov=borg --pyargs borg.testsuite -k "n %changelog +* Sat Apr 16 2016 Benjamin Pereto - 1.0.1-2 +- simplified specfile +- removed unneeded dependencies: python3-mock, python3-pytest-cov + * Sun Apr 10 2016 Benjamin Pereto - 1.0.1-1 - Upstream version 1.0.1. see changelog