commit cram for openSUSE:Factory

2017-07-12 Thread root
Hello community,

here is the log from the commit of package cram for openSUSE:Factory checked in 
at 2017-07-12 19:36:01

Comparing /work/SRC/openSUSE:Factory/cram (Old)
 and  /work/SRC/openSUSE:Factory/.cram.new (New)


Package is "cram"

Wed Jul 12 19:36:01 2017 rev:9 rq:509508 version:0.7

Changes:

--- /work/SRC/openSUSE:Factory/cram/cram.changes2017-06-28 
10:37:20.422430561 +0200
+++ /work/SRC/openSUSE:Factory/.cram.new/cram.changes   2017-07-12 
19:36:02.180091331 +0200
@@ -1,0 +2,5 @@
+Mon Jul 10 14:43:24 UTC 2017 - toddrme2...@gmail.com
+
+- Add singlespec macro backwards compatibility shims.
+
+---



Other differences:
--
++ cram.spec ++
--- /var/tmp/diff_new_pack.wTQPaZ/_old  2017-07-12 19:36:03.171951221 +0200
+++ /var/tmp/diff_new_pack.wTQPaZ/_new  2017-07-12 19:36:03.175950657 +0200
@@ -16,6 +16,7 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   cram
 Version:0.7
 Release:0




commit cram for openSUSE:Factory

2017-06-28 Thread root
Hello community,

here is the log from the commit of package cram for openSUSE:Factory checked in 
at 2017-06-28 10:36:58

Comparing /work/SRC/openSUSE:Factory/cram (Old)
 and  /work/SRC/openSUSE:Factory/.cram.new (New)


Package is "cram"

Wed Jun 28 10:36:58 2017 rev:8 rq:506489 version:0.7

Changes:

--- /work/SRC/openSUSE:Factory/cram/cram.changes2017-06-23 
09:18:43.163428960 +0200
+++ /work/SRC/openSUSE:Factory/.cram.new/cram.changes   2017-06-28 
10:37:20.422430561 +0200
@@ -1,0 +2,5 @@
+Tue Jun 27 14:12:06 UTC 2017 - mplus...@suse.com
+
+- Provide/obsolete old cram 
+
+---



Other differences:
--
++ cram.spec ++
--- /var/tmp/diff_new_pack.NYrxjl/_old  2017-06-28 10:37:21.298306649 +0200
+++ /var/tmp/diff_new_pack.NYrxjl/_new  2017-06-28 10:37:21.298306649 +0200
@@ -40,6 +40,10 @@
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
 BuildArch:  noarch
+%ifpython3
+Provides:   cram = %{version}
+Obsoletes:  cram < %{version}
+%endif
 %python_subpackages
 
 %description




commit cram for openSUSE:Factory

2017-06-23 Thread root
Hello community,

here is the log from the commit of package cram for openSUSE:Factory checked in 
at 2017-06-23 09:18:10

Comparing /work/SRC/openSUSE:Factory/cram (Old)
 and  /work/SRC/openSUSE:Factory/.cram.new (New)


Package is "cram"

Fri Jun 23 09:18:10 2017 rev:7 rq:505589 version:0.7

Changes:

--- /work/SRC/openSUSE:Factory/cram/cram.changes2016-09-25 
14:45:27.0 +0200
+++ /work/SRC/openSUSE:Factory/.cram.new/cram.changes   2017-06-23 
09:18:43.163428960 +0200
@@ -1,0 +2,5 @@
+Wed Jun 14 22:19:22 UTC 2017 - mplus...@suse.com
+
+- Convert to singlespec
+
+---



Other differences:
--
++ cram.spec ++
--- /var/tmp/diff_new_pack.A09t1o/_old  2017-06-23 09:18:43.883327236 +0200
+++ /var/tmp/diff_new_pack.A09t1o/_new  2017-06-23 09:18:43.887326671 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package cram
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,18 +24,23 @@
 Group:  Development/Languages/Python
 Url:https://bitheap.org/cram/
 Source: https://bitheap.org/cram/cram-%{version}.tar.gz
-BuildRequires:  python3-coverage
-BuildRequires:  python3-devel
-BuildRequires:  python3-nose
-BuildRequires:  python3-pep8
-BuildRequires:  python3-pyflakes
-BuildRequires:  python3-setuptools
-Requires:   python3-coverage
-Requires:   python3-nose
-Requires:   python3-pep8
-Requires:   python3-pyflakes
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  %{python_module base}
+BuildRequires:  %{python_module coverage}
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module nose}
+BuildRequires:  %{python_module pep8}
+BuildRequires:  %{python_module pyflakes}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+Requires:   python-coverage
+Requires:   python-nose
+Requires:   python-pep8
+Requires:   python-pyflakes
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:  noarch
+%python_subpackages
 
 %description
 Cram is a functional testing framework for command line applications
@@ -45,30 +50,53 @@
 each command and compares the command output in the test with the
 command's actual output.
 
+%package -n %{name}-common
+Summary:Common files for %{name}
+Group:  Development/Languages/Python
+Supplements:python2-%{name}
+Supplements:python3-%{name}
+
+%description -n %{name}-common
+Cram is a functional testing framework for command line applications
+based on Mercurial's `unified test format'.
+
+Cram tests look like snippets of interactive shell sessions. Cram runs
+each command and compares the command output in the test with the
+command's actual output.
+
+This package contains common files for %{name}.
+
 %prep
 %setup -q
-sed -i 's/python$/python3/' scripts/cram
 
 %build
-python3 setup.py build
+%python_build
 
 %install
-python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_clone -a %{buildroot}%{_bindir}/cram
+%fdupes %{buildroot}
 install -D -p -m 0644 contrib/cram.vim \
   %{buildroot}%{_datadir}/vim/site/syntax/cram.vim
 
+%post
+%python_install_alternative cram
+
+%postun
+%python_uninstall_alternative cram
+
 %check
+make %{?_smp_mflags} PYTHON=python2 test
 make %{?_smp_mflags} PYTHON=python3 test
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc COPYING.txt NEWS.rst README.rst
-%{_bindir}/cram
-%dir %{python3_sitelib}/%{name}/
-%dir %{python3_sitelib}/%{name}/__pycache__/
-%{python3_sitelib}/%{name}/*.py
-%{python3_sitelib}/%{name}/__pycache__/*.cpython-*.pyc
-%{python3_sitelib}/%{name}-%{version}-py%{py3_ver}.egg-info
+%python_alternative %{_bindir}/cram
+%{python_sitelib}/*
+
+%files -n %{name}-common
+%defattr(-,root,root)
 %dir %{_datadir}/vim
 %dir %{_datadir}/vim/site
 %dir %{_datadir}/vim/site/syntax




commit cram for openSUSE:Factory

2016-09-25 Thread h_root
Hello community,

here is the log from the commit of package cram for openSUSE:Factory checked in 
at 2016-09-25 14:45:24

Comparing /work/SRC/openSUSE:Factory/cram (Old)
 and  /work/SRC/openSUSE:Factory/.cram.new (New)


Package is "cram"

Changes:

--- /work/SRC/openSUSE:Factory/cram/cram.changes2016-08-25 
09:56:26.0 +0200
+++ /work/SRC/openSUSE:Factory/.cram.new/cram.changes   2016-09-25 
14:45:27.0 +0200
@@ -1,0 +2,8 @@
+Sun Sep 25 08:50:11 UTC 2016 - mplus...@suse.com
+
+- Use upstream download url instead of pypi
+- Install vim syntax plugin
+- Finally correct dependencies
+- Drop SLE conditions
+
+---



Other differences:
--
++ cram.spec ++
--- /var/tmp/diff_new_pack.PFHKtL/_old  2016-09-25 14:45:28.0 +0200
+++ /var/tmp/diff_new_pack.PFHKtL/_new  2016-09-25 14:45:28.0 +0200
@@ -23,14 +23,17 @@
 License:GPL-2.0
 Group:  Development/Languages/Python
 Url:https://bitheap.org/cram/
-Source: 
https://pypi.python.org/packages/source/c/cram/cram-%{version}.tar.gz
-%if 0%{?is_opensuse}
+Source: https://bitheap.org/cram/cram-%{version}.tar.gz
 BuildRequires:  python3-coverage
-BuildRequires:  python3-nose
-%endif
 BuildRequires:  python3-devel
+BuildRequires:  python3-nose
+BuildRequires:  python3-pep8
+BuildRequires:  python3-pyflakes
 BuildRequires:  python3-setuptools
-Requires:   python3
+Requires:   python3-coverage
+Requires:   python3-nose
+Requires:   python3-pep8
+Requires:   python3-pyflakes
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
 
@@ -51,20 +54,24 @@
 
 %install
 python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
+install -D -p -m 0644 contrib/cram.vim \
+  %{buildroot}%{_datadir}/vim/site/syntax/cram.vim
 
 %check
-%if 0%{?is_opensuse}
 make %{?_smp_mflags} PYTHON=python3 test
-%endif
 
 %files
 %defattr(-,root,root,-)
-%doc COPYING.txt README.rst
+%doc COPYING.txt NEWS.rst README.rst
 %{_bindir}/cram
 %dir %{python3_sitelib}/%{name}/
 %dir %{python3_sitelib}/%{name}/__pycache__/
 %{python3_sitelib}/%{name}/*.py
 %{python3_sitelib}/%{name}/__pycache__/*.cpython-*.pyc
 %{python3_sitelib}/%{name}-%{version}-py%{py3_ver}.egg-info
+%dir %{_datadir}/vim
+%dir %{_datadir}/vim/site
+%dir %{_datadir}/vim/site/syntax
+%{_datadir}/vim/site/syntax/cram.vim
 
 %changelog




commit cram for openSUSE:Factory

2016-08-25 Thread h_root
Hello community,

here is the log from the commit of package cram for openSUSE:Factory checked in 
at 2016-08-25 09:56:23

Comparing /work/SRC/openSUSE:Factory/cram (Old)
 and  /work/SRC/openSUSE:Factory/.cram.new (New)


Package is "cram"

Changes:

--- /work/SRC/openSUSE:Factory/cram/cram.changes2016-06-25 
02:24:44.0 +0200
+++ /work/SRC/openSUSE:Factory/.cram.new/cram.changes   2016-08-25 
09:56:26.0 +0200
@@ -1,0 +2,5 @@
+Mon Aug 22 07:08:38 UTC 2016 - mplus...@suse.com
+
+- Disable tests and its dependencies for SLE
+
+---



Other differences:
--
++ cram.spec ++
--- /var/tmp/diff_new_pack.7r1r9x/_old  2016-08-25 09:56:26.0 +0200
+++ /var/tmp/diff_new_pack.7r1r9x/_new  2016-08-25 09:56:26.0 +0200
@@ -24,9 +24,11 @@
 Group:  Development/Languages/Python
 Url:https://bitheap.org/cram/
 Source: 
https://pypi.python.org/packages/source/c/cram/cram-%{version}.tar.gz
+%if 0%{?is_opensuse}
 BuildRequires:  python3-coverage
-BuildRequires:  python3-devel
 BuildRequires:  python3-nose
+%endif
+BuildRequires:  python3-devel
 BuildRequires:  python3-setuptools
 Requires:   python3
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -51,7 +53,9 @@
 python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
 %check
+%if 0%{?is_opensuse}
 make %{?_smp_mflags} PYTHON=python3 test
+%endif
 
 %files
 %defattr(-,root,root,-)




commit cram for openSUSE:Factory

2016-06-24 Thread h_root
Hello community,

here is the log from the commit of package cram for openSUSE:Factory checked in 
at 2016-06-25 02:24:43

Comparing /work/SRC/openSUSE:Factory/cram (Old)
 and  /work/SRC/openSUSE:Factory/.cram.new (New)


Package is "cram"

Changes:

--- /work/SRC/openSUSE:Factory/cram/cram.changes2016-05-02 
10:44:12.0 +0200
+++ /work/SRC/openSUSE:Factory/.cram.new/cram.changes   2016-06-25 
02:24:44.0 +0200
@@ -1,0 +2,5 @@
+Fri Jun 17 08:37:24 UTC 2016 - mplus...@suse.com
+
+- Update testsuite dependencies and enable all tests
+
+---



Other differences:
--
++ cram.spec ++
--- /var/tmp/diff_new_pack.lNunyy/_old  2016-06-25 02:24:44.0 +0200
+++ /var/tmp/diff_new_pack.lNunyy/_new  2016-06-25 02:24:44.0 +0200
@@ -24,6 +24,7 @@
 Group:  Development/Languages/Python
 Url:https://bitheap.org/cram/
 Source: 
https://pypi.python.org/packages/source/c/cram/cram-%{version}.tar.gz
+BuildRequires:  python3-coverage
 BuildRequires:  python3-devel
 BuildRequires:  python3-nose
 BuildRequires:  python3-setuptools
@@ -50,7 +51,7 @@
 python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
 %check
-make PYTHON="python3" quicktest 
+make %{?_smp_mflags} PYTHON=python3 test
 
 %files
 %defattr(-,root,root,-)




commit cram for openSUSE:Factory

2016-05-02 Thread h_root
Hello community,

here is the log from the commit of package cram for openSUSE:Factory checked in 
at 2016-05-02 10:44:11

Comparing /work/SRC/openSUSE:Factory/cram (Old)
 and  /work/SRC/openSUSE:Factory/.cram.new (New)


Package is "cram"

Changes:

--- /work/SRC/openSUSE:Factory/cram/cram.changes2016-02-23 
16:59:16.0 +0100
+++ /work/SRC/openSUSE:Factory/.cram.new/cram.changes   2016-05-02 
10:44:12.0 +0200
@@ -1,0 +2,25 @@
+Thu Apr 28 19:50:01 UTC 2016 - mimi...@gmail.com
+
+- update to 0.7
+* Added the -d/--debug flag that disables diffing of expected/actual output and
+instead passes through script output to stdout/stderr.
+* Added the --shell-opts flag for specifying flags to invoke the shell with. By
+setting --shell-opts='-x' and --debug together, this can be used to see 
shell 
+commands as they're run and their output in real time which can be useful 
for
+debugging slow or hanging tests.
+* Added xUnit XML output support (for better integration of test results with 
Bamboo
+and other continuous integration tools).
+* Added support for using (esc) on expected out lines that aren't 
automatically 
+escaped in actual output.
+* Added the $TESTSHELL environment variable. This allows a test to portably 
check
+what shell it was invoked with.
+* Added an error message for when no tests are found in a directory.
+* Changed Makefile to install into /usr/local by default.
+* Simplified the Makefile's targets. The targets available now are all, build, 
+check/test, clean, dist, install, and quicktest (for running the test suite
+without checking test coverage).
+* Fixed non-ASCII strings not being escaped with (esc) on Python 3.
+* Fixed a crash on tests that don't have a trailing newline.
+* Fixed a crash when using set -x with zsh.
+
+---

Old:

  cram-0.6.tar.gz

New:

  cram-0.7.tar.gz



Other differences:
--
++ cram.spec ++
--- /var/tmp/diff_new_pack.ZepEFq/_old  2016-05-02 10:44:13.0 +0200
+++ /var/tmp/diff_new_pack.ZepEFq/_new  2016-05-02 10:44:13.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   cram
-Version:0.6
+Version:0.7
 Release:0
 Summary:A simple testing framework for command line applications
 License:GPL-2.0
@@ -41,6 +41,7 @@
 
 %prep
 %setup -q
+sed -i 's/python$/python3/' scripts/cram
 
 %build
 python3 setup.py build
@@ -49,14 +50,16 @@
 python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
 %check
-python3 setup.py -q test
+make PYTHON="python3" quicktest 
 
 %files
 %defattr(-,root,root,-)
-%doc COPYING.txt README.txt
+%doc COPYING.txt README.rst
 %{_bindir}/cram
-%{python3_sitelib}/%{name}.py
-%{python3_sitelib}/__pycache__/%{name}.cpython-*.pyc
+%dir %{python3_sitelib}/%{name}/
+%dir %{python3_sitelib}/%{name}/__pycache__/
+%{python3_sitelib}/%{name}/*.py
+%{python3_sitelib}/%{name}/__pycache__/*.cpython-*.pyc
 %{python3_sitelib}/%{name}-%{version}-py%{py3_ver}.egg-info
 
 %changelog

++ cram-0.6.tar.gz -> cram-0.7.tar.gz ++
 4850 lines of diff (skipped)




commit cram for openSUSE:Factory

2016-02-23 Thread h_root
Hello community,

here is the log from the commit of package cram for openSUSE:Factory checked in 
at 2016-02-23 16:57:21

Comparing /work/SRC/openSUSE:Factory/cram (Old)
 and  /work/SRC/openSUSE:Factory/.cram.new (New)


Package is "cram"

Changes:

--- /work/SRC/openSUSE:Factory/cram/cram.changes2015-09-30 
05:52:49.0 +0200
+++ /work/SRC/openSUSE:Factory/.cram.new/cram.changes   2016-02-23 
16:59:16.0 +0100
@@ -1,0 +2,6 @@
+Sat Feb 20 14:08:50 UTC 2016 - mplus...@suse.com
+
+- Switch to python3
+- Minor spec file cleanups
+
+---



Other differences:
--
++ cram.spec ++
--- /var/tmp/diff_new_pack.35tqjR/_old  2016-02-23 16:59:16.0 +0100
+++ /var/tmp/diff_new_pack.35tqjR/_new  2016-02-23 16:59:16.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cram
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,16 +24,12 @@
 Group:  Development/Languages/Python
 Url:https://bitheap.org/cram/
 Source: 
https://pypi.python.org/packages/source/c/cram/cram-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-nose
-Requires:   python
+BuildRequires:  python3-devel
+BuildRequires:  python3-nose
+BuildRequires:  python3-setuptools
+Requires:   python3
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%py_requires
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %define python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
 BuildArch:  noarch
-%endif
 
 %description
 Cram is a functional testing framework for command line applications
@@ -47,18 +43,20 @@
 %setup -q
 
 %build
-python setup.py build
+python3 setup.py build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
 %check
-python setup.py -q test
+python3 setup.py -q test
 
 %files
 %defattr(-,root,root,-)
 %doc COPYING.txt README.txt
 %{_bindir}/cram
-%{python_sitelib}/*
+%{python3_sitelib}/%{name}.py
+%{python3_sitelib}/__pycache__/%{name}.cpython-*.pyc
+%{python3_sitelib}/%{name}-%{version}-py%{py3_ver}.egg-info
 
 %changelog