openSUSE Commits
Threads by month
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
July 2014
- 1 participants
- 1416 discussions
Hello community,
here is the log from the commit of package php5-pear-phpunit-DbUnit for openSUSE:Factory checked in at 2014-07-31 21:54:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/php5-pear-phpunit-DbUnit (Old)
and /work/SRC/openSUSE:Factory/.php5-pear-phpunit-DbUnit.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "php5-pear-phpunit-DbUnit"
Changes:
--------
--- /work/SRC/openSUSE:Factory/php5-pear-phpunit-DbUnit/php5-pear-phpunit-DbUnit.changes 2014-03-21 19:28:43.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.php5-pear-phpunit-DbUnit.new/php5-pear-phpunit-DbUnit.changes 2014-07-31 21:54:38.000000000 +0200
@@ -1,0 +2,18 @@
+Sat Jul 5 09:36:39 UTC 2014 - gerrit.beine(a)gmx.de
+
+- update to version 1.3.1
+ * `CompositeDataSet` now behaves in a way consistent with its documentation
+ when handling several data sets with the same table
+ * Multiple corrections have been made to the BankAccountDB sample code
+ * Firebird support is now included in the PEAR package distribution
+ * Database connections using Dblib are now supported
+ * `XmlDataSet` now emits an informative error message in the event of table
+ and row column mismatches
+ * Changes from 1.3.0 to address type checking of column values in `matches()`
+ from `AbstractTable` and `ReplacementTable` were modified to perform loose
+ type checking on numeric values and to typecast `SimpleXMLElement` values
+ to strings before performing comparisons
+ * `TableFilter` now overrides `assertContainsRow()` to invoke `loadData()`
+ before calling the parent implementation
+
+-------------------------------------------------------------------
Old:
----
DbUnit-1.3.0.tgz
New:
----
DbUnit-1.3.1.tgz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ php5-pear-phpunit-DbUnit.spec ++++++
--- /var/tmp/diff_new_pack.KkMXk3/_old 2014-07-31 21:54:38.000000000 +0200
+++ /var/tmp/diff_new_pack.KkMXk3/_new 2014-07-31 21:54:38.000000000 +0200
@@ -22,7 +22,7 @@
Summary: DbUnit port for PHP/PHPUnit to support database interaction testing
License: BSD-3-Clause
Group: Development/Libraries/PHP
-Version: 1.3.0
+Version: 1.3.1
Release: 0
Source0: http://pear.phpunit.de/get/DbUnit-%{version}.tgz
Url: http://pear.phpunit.de/
++++++ DbUnit-1.3.0.tgz -> DbUnit-1.3.1.tgz ++++++
++++ 25844 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package telepathy-qt5 for openSUSE:Factory checked in at 2014-07-31 21:50:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/telepathy-qt5 (Old)
and /work/SRC/openSUSE:Factory/.telepathy-qt5.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "telepathy-qt5"
Changes:
--------
--- /work/SRC/openSUSE:Factory/telepathy-qt5/telepathy-qt5.changes 2014-06-18 07:52:54.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.telepathy-qt5.new/telepathy-qt5.changes 2014-07-31 21:51:10.000000000 +0200
@@ -1,0 +2,9 @@
+Thu Jul 31 16:39:40 UTC 2014 - hrvoje.senjan(a)gmail.com
+
+- Move to gstreamer 1.0 API for Factory
+- Drop search-for-telepathy-farstream-0.4.diff (support for older
+ openSUSE versions is dropped)
+- Adjust baselibs.conf for new subpackage
+- Update descriptions
+
+-------------------------------------------------------------------
Old:
----
search-for-telepathy-farstream-0.4.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ telepathy-qt5.spec ++++++
--- /var/tmp/diff_new_pack.b8K9Qd/_old 2014-07-31 21:51:11.000000000 +0200
+++ /var/tmp/diff_new_pack.b8K9Qd/_new 2014-07-31 21:51:11.000000000 +0200
@@ -18,9 +18,6 @@
%define libname libtelepathy-qt5
%define major 0
-# farstream and gstreamer are disabled at the moment - until we get qtgstreamer with gst1.0 API support
-%define farstream 0
-%define gstreamer1 0
Name: telepathy-qt5
Version: 0.9.4
@@ -32,11 +29,9 @@
Source: http://telepathy.freedesktop.org/releases/telepathy-qt/telepathy-qt-%{versi…
Source1: baselibs.conf
# PATCH-FIX-UPSTREAM search-for-farstream0.2.diff -- searches for farstream0.2, instead of deprecated 0.1
-Patch1: search-for-farstream0.2.diff
+Patch0: search-for-farstream0.2.diff
# PATCH-FIX-UPSTREAM search-for-gstreamer1.0.diff -- searches for gstreamer1.0, which is only required for includes
-Patch2: search-for-gstreamer1.0.diff
-# PATCH-FIX-UPSTREAM search-for-telepathy-farstream-0.4.diff -- searches for telepathy-farstream-0.4
-Patch3: search-for-telepathy-farstream-0.4.diff
+Patch1: search-for-gstreamer1.0.diff
BuildRequires: cmake
BuildRequires: dbus-1-python
BuildRequires: fdupes
@@ -52,71 +47,45 @@
BuildRequires: pkgconfig(Qt5Test)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5Xml)
-BuildRequires: pkgconfig(telepathy-glib)
-%if %farstream
-%if %gstreamer1
BuildRequires: pkgconfig(farstream-0.2)
BuildRequires: pkgconfig(gstreamer-1.0)
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
BuildRequires: pkgconfig(telepathy-farstream)
-%else
-BuildRequires: pkgconfig(farstream-0.1)
-BuildRequires: pkgconfig(gstreamer-0.10)
-BuildRequires: pkgconfig(gstreamer-plugins-base-0.10)
-BuildRequires: pkgconfig(telepathy-farstream-0.4)
-%endif
-%endif
+BuildRequires: pkgconfig(telepathy-glib)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
-Telepathy-Qt4 is a high-level binding for Telepathy, similar to telepathy-glib but for Qt 4.
+Telepathy-Qt5 is a high-level binding for Telepathy, similar to telepathy-glib but for Qt 5.
%package -n %{libname}-%{major}
Summary: Library for performing syntax highlighting in Qt documents
Group: Development/Tools/Other
%description -n %{libname}-%{major}
-Telepathy-Qt4 is a high-level binding for Telepathy, similar to telepathy-glib but for Qt 4.
+Telepathy-Qt5 is a high-level binding for Telepathy, similar to telepathy-glib but for Qt 5.
-%if %farstream
%package -n %{libname}-farstream%{major}
Summary: Library for performing syntax highlighting in Qt documents
Group: Development/Tools/Other
-Obsoletes: %{libname}-farsight%{major}
%description -n %{libname}-farstream%{major}
-Telepathy-farstream-Qt4 is a high-level binding for Telepathy, similar to telepathy-glib but for Qt 4.
-%endif
+Telepathy-farstream-Qt4 is a high-level binding for Telepathy, similar to telepathy-glib but for Qt 5.
%package devel
Summary: Header files, libraries and development documentation for %{name}
Group: Development/Libraries/C and C++
Requires: %{libname}-%{major} = %{version}
-%if %farstream
Requires: %{libname}-farstream%{major} = %{version}
-%if %gstreamer1
Requires: pkgconfig(gstreamer-1.0)
Requires: pkgconfig(gstreamer-plugins-base-1.0)
-%else
-Requires: pkgconfig(gstreamer-0.10)
-Requires: pkgconfig(gstreamer-plugins-base-0.10)
-%endif
-%endif
%description devel
This package contains the header files, static libraries and development documentation for %{name}. If you like to develop programs using %{name}, you will need to install %{name}-devel.
%prep
%setup -q -n telepathy-qt-%{version}
-%if %farstream
-%if %gstreamer1
%patch0 -p1
%patch1 -p1
-%else
-%patch2 -p1
-%endif
-%endif
-%patch3 -p1
%build
if [ %{_lib} = lib64 ]; then
@@ -145,21 +114,17 @@
%postun -n %{libname}-%{major} -p /sbin/ldconfig
-%if %farstream
%post -n %{libname}-farstream%{major} -p /sbin/ldconfig
%postun -n %{libname}-farstream%{major} -p /sbin/ldconfig
-%endif
%files -n %{libname}-%{major}
%defattr(-,root,root)
%{_libdir}/libtelepathy-qt5.so.*
-%if %farstream
%files -n %{libname}-farstream%{major}
%defattr(-,root,root)
%{_libdir}/libtelepathy-qt5-farstream.so.*
-%endif
%files devel
%defattr(-,root,root)
++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.b8K9Qd/_old 2014-07-31 21:51:11.000000000 +0200
+++ /var/tmp/diff_new_pack.b8K9Qd/_new 2014-07-31 21:51:11.000000000 +0200
@@ -1,3 +1,5 @@
libtelepathy-qt5-0
+libtelepathy-qt5-farstream0
telepathy-qt5-devel
+ requires "libtelepathy-qt5-farstream0-<targettype> = <version>"
requires "libtelepathy-qt5-0-<targettype> = <version>"
\ No newline at end of file
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package python-httpretty for openSUSE:Factory checked in at 2014-07-31 21:50:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-httpretty (Old)
and /work/SRC/openSUSE:Factory/.python-httpretty.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-httpretty"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-httpretty/python-httpretty.changes 2014-04-03 17:14:29.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-httpretty.new/python-httpretty.changes 2014-07-31 21:51:10.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Jul 23 10:58:55 UTC 2014 - mcihar(a)suse.cz
+
+- Upgrate to 0.8.3:
+ * various minor fixes
+
+-------------------------------------------------------------------
Old:
----
httpretty-0.8.0.tar.gz
New:
----
httpretty-0.8.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-httpretty.spec ++++++
--- /var/tmp/diff_new_pack.uRDv0M/_old 2014-07-31 21:51:10.000000000 +0200
+++ /var/tmp/diff_new_pack.uRDv0M/_new 2014-07-31 21:51:10.000000000 +0200
@@ -17,7 +17,7 @@
Name: python-httpretty
-Version: 0.8.0
+Version: 0.8.3
Release: 0
Summary: HTTP client mock for Python
License: MIT
++++++ httpretty-0.8.0.tar.gz -> httpretty-0.8.3.tar.gz ++++++
++++ 2151 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package release-notes-openSUSE for openSUSE:Factory checked in at 2014-07-31 21:50:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/release-notes-openSUSE (Old)
and /work/SRC/openSUSE:Factory/.release-notes-openSUSE.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "release-notes-openSUSE"
Changes:
--------
--- /work/SRC/openSUSE:Factory/release-notes-openSUSE/release-notes-openSUSE.changes 2014-07-24 10:06:28.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.release-notes-openSUSE.new/release-notes-openSUSE.changes 2014-07-31 21:51:07.000000000 +0200
@@ -1,0 +2,7 @@
+Thu Jul 24 14:33:12 UTC 2014 - rsalevsky(a)suse.com
+
+- 13.2.20140724
+ * fix Desktop File DocPath
+ * dynamic Date
+
+-------------------------------------------------------------------
Old:
----
release-notes-openSUSE-13.2.20140722.tar.bz2
New:
----
release-notes-openSUSE-13.2.20140724.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ release-notes-openSUSE.spec ++++++
--- /var/tmp/diff_new_pack.toKUoU/_old 2014-07-31 21:51:08.000000000 +0200
+++ /var/tmp/diff_new_pack.toKUoU/_new 2014-07-31 21:51:08.000000000 +0200
@@ -17,7 +17,7 @@
Name: release-notes-openSUSE
-Version: 13.2.20140722
+Version: 13.2.20140724
Release: 0
Summary: Release Notes for openSUSE
License: GFDL-1.3
@@ -55,10 +55,11 @@
%install
rnpath=%{buildroot}%{_datadir}/doc/release-notes/%{SUSE_PROD}
+%{__install} -m 0644 -D LICENSE ${rnpath}/LICENSE
%{__install} -m 0644 -D "%{_sourcedir}/%{name}.desktop" "%{buildroot}%{_datadir}/susehelp/meta/%{name}.desktop"
for file in build/release-notes.*; do
lang=$(echo "$file" | awk -F '.' '{print $2}')
- echo "DocPath[${lang}]=${rnpath}/RELEASE-NOTES.${lang}.html"
+ echo "DocPath[${lang}]={_datadir}/doc/release-notes/%{SUSE_PROD}/RELEASE-NOTES.${lang}.html" > "%{buildroot}%{_datadir}/susehelp/meta/%{name}.desktop"
%{__install} -m 0644 -D "${file}/single-html/release-notes.${lang}/release-notes.${lang}.html" "${rnpath}/RELEASE-NOTES.${lang}.html"
%{__cp} -R "${file}/single-html/release-notes.${lang}/static/" "${rnpath}"
%{__install} -m 0644 -D "${file}/yast-html/release-notes.${lang}.html" "${rnpath}/RELEASE-NOTES.${lang}.rtf"
@@ -69,7 +70,6 @@
%files
%defattr(-,root,root)
-%doc LICENSE
%doc %{_datadir}/doc/release-notes/
%dir %{_datadir}/susehelp/
%dir %{_datadir}/susehelp/meta/
++++++ release-notes-openSUSE-13.2.20140722.tar.bz2 -> release-notes-openSUSE-13.2.20140724.tar.bz2 ++++++
++++ 8392 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package quassel for openSUSE:Factory checked in at 2014-07-31 21:50:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/quassel (Old)
and /work/SRC/openSUSE:Factory/.quassel.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "quassel"
Changes:
--------
--- /work/SRC/openSUSE:Factory/quassel/quassel.changes 2014-03-28 12:12:59.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.quassel.new/quassel.changes 2014-07-31 21:51:09.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Jul 31 14:16:32 UTC 2014 - dimstar(a)opensuse.org
+
+- Rename rpmlintrc to %{name}-rpmlintrc.
+ Follow the packaging guidelines.
+
+-------------------------------------------------------------------
Old:
----
rpmlintrc
New:
----
quassel-rpmlintrc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ quassel.spec ++++++
--- /var/tmp/diff_new_pack.WRJDbU/_old 2014-07-31 21:51:09.000000000 +0200
+++ /var/tmp/diff_new_pack.WRJDbU/_new 2014-07-31 21:51:09.000000000 +0200
@@ -28,6 +28,7 @@
Source2: sysconfig.%{name}core
Source3: logrotate.%{name}core
Source4: %{name}.SuSEfirewall2
+Source5: quassel-rpmlintrc
BuildRequires: fdupes
BuildRequires: libQtWebKit-devel
BuildRequires: libdbusmenu-qt-devel
++++++ quassel-rpmlintrc ++++++
addFilter("incoherent-init-script-name quasselcore")
addFilter("incoherent-logrotate-file /etc/logrotate.d/quasselcore")
addFilter("non-conffile-in-etc /etc/sysconfig/SuSEfirewall2.d/services/quassel")
addFilter("useless-explicit-requires kdebase4-runtime")
addFilter("explicit-lib-dependency libqt4_sql_backend")
addFilter("non-standard-uid /var/log/quassel quasslecore")
addFilter("non-standard-uid /var/lib/quasselcore quasslecore")
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package libguestfs for openSUSE:Factory checked in at 2014-07-31 21:50:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libguestfs (Old)
and /work/SRC/openSUSE:Factory/.libguestfs.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libguestfs"
Changes:
--------
--- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes 2014-07-28 16:21:25.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes 2014-07-31 21:51:02.000000000 +0200
@@ -1,0 +2,20 @@
+Thu Jul 31 15:53:57 CEST 2014 - ohering(a)suse.de
+
+- Fix build without ocaml
+
+-------------------------------------------------------------------
+Thu Jul 31 15:11:49 CEST 2014 - ohering(a)suse.de
+
+- Update to version 1.26.7
+ * launch: Close file descriptors after fork (RHBZ#1123007).
+ * Revert "launch: Close file descriptors after fork (RHBZ#1123007)."
+ * launch: direct: check for null paths in make_uri
+ * make-fs: do not leak the fd from mkstemp
+ * make-fs: respect libguestfs' temporary dir
+
+-------------------------------------------------------------------
+Thu Jul 31 14:56:52 CEST 2014 - ohering(a)suse.de
+
+- define kernel_binary on aarch64
+
+-------------------------------------------------------------------
Old:
----
libguestfs-1.26.6.tar.xz
New:
----
libguestfs-1.26.7.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libguestfs.spec ++++++
--- /var/tmp/diff_new_pack.xOoCE6/_old 2014-07-31 21:51:04.000000000 +0200
+++ /var/tmp/diff_new_pack.xOoCE6/_new 2014-07-31 21:51:04.000000000 +0200
@@ -17,7 +17,7 @@
#
-Version: 1.26.6
+Version: 1.26.7
Release: 0
%define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
@@ -94,6 +94,9 @@
%ifarch %arm
%define kernel_binary /boot/uImage
%endif
+%ifarch aarch64
+%define kernel_binary /boot/Image
+%endif
#
# use 'env LIBGUESTFS_HV=/path/to/kvm libguestfs-test-tool' to verify
%define kvm_binary /bin/false
@@ -870,10 +873,12 @@
%doc COPYING
%{_bindir}/*
%config(noreplace) /etc/libguestfs-tools.conf
+%if %{with ocaml_bindings}
/etc/virt-builder
%dir /etc/xdg/virt-builder
%dir /etc/xdg/virt-builder/repos.d
%config /etc/xdg/virt-builder/repos.d/*
+%endif
%if %{with bash_completion}
%{_datadir}/bash-completion
%endif
++++++ libguestfs-1.26.6.tar.xz -> libguestfs-1.26.7.tar.xz ++++++
++++ 2672 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package python3-pytest-cov for openSUSE:Factory checked in at 2014-07-31 21:50:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-pytest-cov (Old)
and /work/SRC/openSUSE:Factory/.python3-pytest-cov.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-pytest-cov"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-pytest-cov/python3-pytest-cov.changes 2014-02-12 07:08:02.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python3-pytest-cov.new/python3-pytest-cov.changes 2014-07-31 21:51:00.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Jul 30 07:27:46 UTC 2014 - toddrme2178(a)gmail.com
+
+- Update to 1.7.0
+ * No upstream changelog
+
+-------------------------------------------------------------------
Old:
----
pytest-cov-1.6.tar.gz
New:
----
pytest-cov-1.7.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-pytest-cov.spec ++++++
--- /var/tmp/diff_new_pack.BNWwDG/_old 2014-07-31 21:51:01.000000000 +0200
+++ /var/tmp/diff_new_pack.BNWwDG/_new 2014-07-31 21:51:01.000000000 +0200
@@ -16,7 +16,7 @@
Name: python3-pytest-cov
-Version: 1.6
+Version: 1.7.0
Release: 0
License: MIT
Summary: Pytest plugin for coverage reporting
@@ -25,9 +25,13 @@
Source: https://pypi.python.org/packages/source/p/pytest-cov/pytest-cov-%{version}.…
BuildRequires: python3-devel
BuildRequires: python3-setuptools
+BuildRequires: python3-cov-core >= 1.12
+BuildRequires: python3-pytest >= 2.2.3
# Test requirements:
BuildRequires: python3-py
+BuildRequires: python3-virtualenv
Requires: python3-pytest >= 2.2.3
+Requires: python3-cov-core >= 1.12
BuildArch: noarch
%description
@@ -51,7 +55,7 @@
%files
%defattr(-,root,root,-)
-%doc LICENSE.txt README.txt
+%doc LICENSE.txt README.rst
%{python3_sitelib}/*
%changelog
++++++ pytest-cov-1.6.tar.gz -> pytest-cov-1.7.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-cov-1.6/MANIFEST.in new/pytest-cov-1.7.0/MANIFEST.in
--- old/pytest-cov-1.6/MANIFEST.in 2010-08-02 15:27:37.000000000 +0200
+++ new/pytest-cov-1.7.0/MANIFEST.in 2014-04-24 21:56:06.000000000 +0200
@@ -1,4 +1,4 @@
-include README.txt
+include README.rst
include LICENSE.txt
include setup.py
include pytest_cov.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-cov-1.6/PKG-INFO new/pytest-cov-1.7.0/PKG-INFO
--- old/pytest-cov-1.6/PKG-INFO 2012-05-12 02:03:20.000000000 +0200
+++ new/pytest-cov-1.7.0/PKG-INFO 2014-06-12 20:24:03.000000000 +0200
@@ -1,14 +1,30 @@
-Metadata-Version: 1.0
+Metadata-Version: 1.1
Name: pytest-cov
-Version: 1.6
+Version: 1.7.0
Summary: py.test plugin for coverage reporting with support for both centralised and distributed testing, including subprocesses and multiprocessing
-Home-page: http://bitbucket.org/memedough/pytest-cov/overview
-Author: Meme Dough
-Author-email: memedough(a)gmail.com
+Home-page: https://github.com/schlamar/pytest-cov
+Author: Marc Schlaich
+Author-email: marc.schlaich(a)gmail.com
License: MIT License
Description: pytest-cov
==========
+ .. image:: https://travis-ci.org/schlamar/pytest-cov.svg?branch=master
+ :target: https://travis-ci.org/schlamar/pytest-cov
+ :alt: Build status
+
+ .. image:: https://pypip.in/download/pytest-cov/badge.png
+ :target: https://pypi.python.org/pypi//pytest-cov/
+ :alt: Downloads
+
+ .. image:: https://pypip.in/version/pytest-cov/badge.png
+ :target: https://pypi.python.org/pypi/pytest-cov/
+ :alt: Latest Version
+
+ .. image:: https://pypip.in/license/pytest-cov/badge.png
+ :target: https://pypi.python.org/pypi/pytest-cov/
+ :alt: License
+
This plugin produces coverage reports. It supports centralised testing and distributed testing in
both load and each modes. It also supports coverage of subprocesses.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-cov-1.6/README.rst new/pytest-cov-1.7.0/README.rst
--- old/pytest-cov-1.6/README.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/pytest-cov-1.7.0/README.rst 2014-06-12 19:58:28.000000000 +0200
@@ -0,0 +1,266 @@
+pytest-cov
+==========
+
+.. image:: https://travis-ci.org/schlamar/pytest-cov.svg?branch=master
+ :target: https://travis-ci.org/schlamar/pytest-cov
+ :alt: Build status
+
+.. image:: https://pypip.in/download/pytest-cov/badge.png
+ :target: https://pypi.python.org/pypi//pytest-cov/
+ :alt: Downloads
+
+.. image:: https://pypip.in/version/pytest-cov/badge.png
+ :target: https://pypi.python.org/pypi/pytest-cov/
+ :alt: Latest Version
+
+.. image:: https://pypip.in/license/pytest-cov/badge.png
+ :target: https://pypi.python.org/pypi/pytest-cov/
+ :alt: License
+
+This plugin produces coverage reports. It supports centralised testing and distributed testing in
+both load and each modes. It also supports coverage of subprocesses.
+
+All features offered by the coverage package should be available, either through pytest-cov or
+through coverage's config file.
+
+
+Installation
+------------
+
+Install with pip::
+
+ pip install pytest-cov
+
+For distributed testing support install pytest-xdist::
+
+ pip install pytest-xdist
+
+.. NOTE::
+
+ Ensure you use pip instead of easy_install as the latter does not correctly install the
+ init_cov_core.pth file needed for subprocess measurement.
+
+
+Uninstallation
+--------------
+
+Uninstall with pip::
+
+ pip uninstall pytest-cov
+ pip uninstall cov-core
+
+.. NOTE::
+
+ Ensure that you manually delete the init_cov_core.pth file in your site-packages directory.
+
+ This file starts coverage collection of subprocesses if appropriate during site initialisation
+ at python startup.
+
+
+Usage
+-----
+
+Centralised Testing
+~~~~~~~~~~~~~~~~~~~
+
+Centralised testing will report on the combined coverage of the main process and all of it's
+subprocesses.
+
+Running centralised testing::
+
+ py.test --cov myproj tests/
+
+Shows a terminal report::
+
+ -------------------- coverage: platform linux2, python 2.6.4-final-0 ---------------------
+ Name Stmts Miss Cover
+ ----------------------------------------
+ myproj/__init__ 2 0 100%
+ myproj/myproj 257 13 94%
+ myproj/feature4286 94 7 92%
+ ----------------------------------------
+ TOTAL 353 20 94%
+
+
+Distributed Testing: Load
+~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Distributed testing with dist mode set to load will report on the combined coverage of all slaves.
+The slaves may be spread out over any number of hosts and each slave may be located anywhere on the
+file system. Each slave will have it's subprocesses measured.
+
+Running distributed testing with dist mode set to load::
+
+ py.test --cov myproj -n 2 tests/
+
+Shows a terminal report::
+
+ -------------------- coverage: platform linux2, python 2.6.4-final-0 ---------------------
+ Name Stmts Miss Cover
+ ----------------------------------------
+ myproj/__init__ 2 0 100%
+ myproj/myproj 257 13 94%
+ myproj/feature4286 94 7 92%
+ ----------------------------------------
+ TOTAL 353 20 94%
+
+
+Again but spread over different hosts and different directories::
+
+ py.test --cov myproj --dist load
+ --tx ssh=memedough@host1//chdir=testenv1
+ --tx ssh=memedough@host2//chdir=/tmp/testenv2//python=/tmp/env1/bin/python
+ --rsyncdir myproj --rsyncdir tests --rsync examples
+ tests/
+
+Shows a terminal report::
+
+ -------------------- coverage: platform linux2, python 2.6.4-final-0 ---------------------
+ Name Stmts Miss Cover
+ ----------------------------------------
+ myproj/__init__ 2 0 100%
+ myproj/myproj 257 13 94%
+ myproj/feature4286 94 7 92%
+ ----------------------------------------
+ TOTAL 353 20 94%
+
+
+Distributed Testing: Each
+~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Distributed testing with dist mode set to each will report on the combined coverage of all slaves.
+Since each slave is running all tests this allows generating a combined coverage report for multiple
+environments.
+
+Running distributed testing with dist mode set to each::
+
+ py.test --cov myproj --dist each
+ --tx popen//chdir=/tmp/testenv3//python=/usr/local/python27/bin/python
+ --tx ssh=memedough@host2//chdir=/tmp/testenv4//python=/tmp/env2/bin/python
+ --rsyncdir myproj --rsyncdir tests --rsync examples
+ tests/
+
+Shows a terminal report::
+
+ ---------------------------------------- coverage ----------------------------------------
+ platform linux2, python 2.6.5-final-0
+ platform linux2, python 2.7.0-final-0
+ Name Stmts Miss Cover
+ ----------------------------------------
+ myproj/__init__ 2 0 100%
+ myproj/myproj 257 13 94%
+ myproj/feature4286 94 7 92%
+ ----------------------------------------
+ TOTAL 353 20 94%
+
+
+Reporting
+---------
+
+It is possible to generate any combination of the reports for a single test run.
+
+The available reports are terminal (with or without missing line numbers shown), HTML, XML and
+annotated source code.
+
+The terminal report without line numbers (default)::
+
+ py.test --cov-report term --cov myproj tests/
+
+ -------------------- coverage: platform linux2, python 2.6.4-final-0 ---------------------
+ Name Stmts Miss Cover
+ ----------------------------------------
+ myproj/__init__ 2 0 100%
+ myproj/myproj 257 13 94%
+ myproj/feature4286 94 7 92%
+ ----------------------------------------
+ TOTAL 353 20 94%
+
+
+The terminal report with line numbers::
+
+ py.test --cov-report term-missing --cov myproj tests/
+
+ -------------------- coverage: platform linux2, python 2.6.4-final-0 ---------------------
+ Name Stmts Miss Cover Missing
+ --------------------------------------------------
+ myproj/__init__ 2 0 100%
+ myproj/myproj 257 13 94% 24-26, 99, 149, 233-236, 297-298, 369-370
+ myproj/feature4286 94 7 92% 183-188, 197
+ --------------------------------------------------
+ TOTAL 353 20 94%
+
+
+The remaining three reports output to files without showing anything on the terminal (useful for
+when the output is going to a continuous integration server)::
+
+ py.test --cov-report html
+ --cov-report xml
+ --cov-report annotate
+ --cov myproj tests/
+
+
+Coverage Data File
+------------------
+
+The data file is erased at the beginning of testing to ensure clean data for each test run.
+
+The data file is left at the end of testing so that it is possible to use normal coverage tools to
+examine it.
+
+
+Coverage Config File
+--------------------
+
+This plugin provides a clean minimal set of command line options that are added to pytest. For
+further control of coverage use a coverage config file.
+
+For example if tests are contained within the directory tree being measured the tests may be
+excluded if desired by using a .coveragerc file with the omit option set::
+
+ py.test --cov-config .coveragerc
+ --cov myproj
+ myproj/tests/
+
+Where the .coveragerc file contains file globs::
+
+ [run]
+ omit = tests/*
+
+For full details refer to the `coverage config file`_ documentation.
+
+.. _`coverage config file`: http://nedbatchelder.com/code/coverage/config.html
+
+Note that this plugin controls some options and setting the option in the config file will have no
+effect. These include specifying source to be measured (source option) and all data file handling
+(data_file and parallel options).
+
+
+Limitations
+-----------
+
+For distributed testing the slaves must have the pytest-cov package installed. This is needed since
+the plugin must be registered through setuptools / distribute for pytest to start the plugin on the
+slave.
+
+For subprocess measurement environment variables must make it from the main process to the
+subprocess. The python used by the subprocess must have pytest-cov installed. The subprocess must
+do normal site initialisation so that the environment variables can be detected and coverage
+started.
+
+
+Acknowledgements
+----------------
+
+Whilst this plugin has been built fresh from the ground up it has been influenced by the work done
+on pytest-coverage (Ross Lawley, James Mills, Holger Krekel) and nose-cover (Jason Pellerin) which are
+other coverage plugins.
+
+Ned Batchelder for coverage and its ability to combine the coverage results of parallel runs.
+
+Holger Krekel for pytest with its distributed testing support.
+
+Jason Pellerin for nose.
+
+Michael Foord for unittest2.
+
+No doubt others have contributed to these tools as well.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-cov-1.6/README.txt new/pytest-cov-1.7.0/README.txt
--- old/pytest-cov-1.6/README.txt 2012-05-12 01:54:33.000000000 +0200
+++ new/pytest-cov-1.7.0/README.txt 1970-01-01 01:00:00.000000000 +0100
@@ -1,250 +0,0 @@
-pytest-cov
-==========
-
-This plugin produces coverage reports. It supports centralised testing and distributed testing in
-both load and each modes. It also supports coverage of subprocesses.
-
-All features offered by the coverage package should be available, either through pytest-cov or
-through coverage's config file.
-
-
-Installation
-------------
-
-Install with pip::
-
- pip install pytest-cov
-
-For distributed testing support install pytest-xdist::
-
- pip install pytest-xdist
-
-.. NOTE::
-
- Ensure you use pip instead of easy_install as the latter does not correctly install the
- init_cov_core.pth file needed for subprocess measurement.
-
-
-Uninstallation
---------------
-
-Uninstall with pip::
-
- pip uninstall pytest-cov
- pip uninstall cov-core
-
-.. NOTE::
-
- Ensure that you manually delete the init_cov_core.pth file in your site-packages directory.
-
- This file starts coverage collection of subprocesses if appropriate during site initialisation
- at python startup.
-
-
-Usage
------
-
-Centralised Testing
-~~~~~~~~~~~~~~~~~~~
-
-Centralised testing will report on the combined coverage of the main process and all of it's
-subprocesses.
-
-Running centralised testing::
-
- py.test --cov myproj tests/
-
-Shows a terminal report::
-
- -------------------- coverage: platform linux2, python 2.6.4-final-0 ---------------------
- Name Stmts Miss Cover
- ----------------------------------------
- myproj/__init__ 2 0 100%
- myproj/myproj 257 13 94%
- myproj/feature4286 94 7 92%
- ----------------------------------------
- TOTAL 353 20 94%
-
-
-Distributed Testing: Load
-~~~~~~~~~~~~~~~~~~~~~~~~~
-
-Distributed testing with dist mode set to load will report on the combined coverage of all slaves.
-The slaves may be spread out over any number of hosts and each slave may be located anywhere on the
-file system. Each slave will have it's subprocesses measured.
-
-Running distributed testing with dist mode set to load::
-
- py.test --cov myproj -n 2 tests/
-
-Shows a terminal report::
-
- -------------------- coverage: platform linux2, python 2.6.4-final-0 ---------------------
- Name Stmts Miss Cover
- ----------------------------------------
- myproj/__init__ 2 0 100%
- myproj/myproj 257 13 94%
- myproj/feature4286 94 7 92%
- ----------------------------------------
- TOTAL 353 20 94%
-
-
-Again but spread over different hosts and different directories::
-
- py.test --cov myproj --dist load
- --tx ssh=memedough@host1//chdir=testenv1
- --tx ssh=memedough@host2//chdir=/tmp/testenv2//python=/tmp/env1/bin/python
- --rsyncdir myproj --rsyncdir tests --rsync examples
- tests/
-
-Shows a terminal report::
-
- -------------------- coverage: platform linux2, python 2.6.4-final-0 ---------------------
- Name Stmts Miss Cover
- ----------------------------------------
- myproj/__init__ 2 0 100%
- myproj/myproj 257 13 94%
- myproj/feature4286 94 7 92%
- ----------------------------------------
- TOTAL 353 20 94%
-
-
-Distributed Testing: Each
-~~~~~~~~~~~~~~~~~~~~~~~~~
-
-Distributed testing with dist mode set to each will report on the combined coverage of all slaves.
-Since each slave is running all tests this allows generating a combined coverage report for multiple
-environments.
-
-Running distributed testing with dist mode set to each::
-
- py.test --cov myproj --dist each
- --tx popen//chdir=/tmp/testenv3//python=/usr/local/python27/bin/python
- --tx ssh=memedough@host2//chdir=/tmp/testenv4//python=/tmp/env2/bin/python
- --rsyncdir myproj --rsyncdir tests --rsync examples
- tests/
-
-Shows a terminal report::
-
- ---------------------------------------- coverage ----------------------------------------
- platform linux2, python 2.6.5-final-0
- platform linux2, python 2.7.0-final-0
- Name Stmts Miss Cover
- ----------------------------------------
- myproj/__init__ 2 0 100%
- myproj/myproj 257 13 94%
- myproj/feature4286 94 7 92%
- ----------------------------------------
- TOTAL 353 20 94%
-
-
-Reporting
----------
-
-It is possible to generate any combination of the reports for a single test run.
-
-The available reports are terminal (with or without missing line numbers shown), HTML, XML and
-annotated source code.
-
-The terminal report without line numbers (default)::
-
- py.test --cov-report term --cov myproj tests/
-
- -------------------- coverage: platform linux2, python 2.6.4-final-0 ---------------------
- Name Stmts Miss Cover
- ----------------------------------------
- myproj/__init__ 2 0 100%
- myproj/myproj 257 13 94%
- myproj/feature4286 94 7 92%
- ----------------------------------------
- TOTAL 353 20 94%
-
-
-The terminal report with line numbers::
-
- py.test --cov-report term-missing --cov myproj tests/
-
- -------------------- coverage: platform linux2, python 2.6.4-final-0 ---------------------
- Name Stmts Miss Cover Missing
- --------------------------------------------------
- myproj/__init__ 2 0 100%
- myproj/myproj 257 13 94% 24-26, 99, 149, 233-236, 297-298, 369-370
- myproj/feature4286 94 7 92% 183-188, 197
- --------------------------------------------------
- TOTAL 353 20 94%
-
-
-The remaining three reports output to files without showing anything on the terminal (useful for
-when the output is going to a continuous integration server)::
-
- py.test --cov-report html
- --cov-report xml
- --cov-report annotate
- --cov myproj tests/
-
-
-Coverage Data File
-------------------
-
-The data file is erased at the beginning of testing to ensure clean data for each test run.
-
-The data file is left at the end of testing so that it is possible to use normal coverage tools to
-examine it.
-
-
-Coverage Config File
---------------------
-
-This plugin provides a clean minimal set of command line options that are added to pytest. For
-further control of coverage use a coverage config file.
-
-For example if tests are contained within the directory tree being measured the tests may be
-excluded if desired by using a .coveragerc file with the omit option set::
-
- py.test --cov-config .coveragerc
- --cov myproj
- myproj/tests/
-
-Where the .coveragerc file contains file globs::
-
- [run]
- omit = tests/*
-
-For full details refer to the `coverage config file`_ documentation.
-
-.. _`coverage config file`: http://nedbatchelder.com/code/coverage/config.html
-
-Note that this plugin controls some options and setting the option in the config file will have no
-effect. These include specifying source to be measured (source option) and all data file handling
-(data_file and parallel options).
-
-
-Limitations
------------
-
-For distributed testing the slaves must have the pytest-cov package installed. This is needed since
-the plugin must be registered through setuptools / distribute for pytest to start the plugin on the
-slave.
-
-For subprocess measurement environment variables must make it from the main process to the
-subprocess. The python used by the subprocess must have pytest-cov installed. The subprocess must
-do normal site initialisation so that the environment variables can be detected and coverage
-started.
-
-
-Acknowledgements
-----------------
-
-Whilst this plugin has been built fresh from the ground up it has been influenced by the work done
-on pytest-coverage (Ross Lawley, James Mills, Holger Krekel) and nose-cover (Jason Pellerin) which are
-other coverage plugins.
-
-Ned Batchelder for coverage and its ability to combine the coverage results of parallel runs.
-
-Holger Krekel for pytest with its distributed testing support.
-
-Jason Pellerin for nose.
-
-Michael Foord for unittest2.
-
-No doubt others have contributed to these tools as well.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-cov-1.6/pytest_cov.egg-info/PKG-INFO new/pytest-cov-1.7.0/pytest_cov.egg-info/PKG-INFO
--- old/pytest-cov-1.6/pytest_cov.egg-info/PKG-INFO 2012-05-12 02:03:20.000000000 +0200
+++ new/pytest-cov-1.7.0/pytest_cov.egg-info/PKG-INFO 2014-06-12 20:24:03.000000000 +0200
@@ -1,14 +1,30 @@
-Metadata-Version: 1.0
+Metadata-Version: 1.1
Name: pytest-cov
-Version: 1.6
+Version: 1.7.0
Summary: py.test plugin for coverage reporting with support for both centralised and distributed testing, including subprocesses and multiprocessing
-Home-page: http://bitbucket.org/memedough/pytest-cov/overview
-Author: Meme Dough
-Author-email: memedough(a)gmail.com
+Home-page: https://github.com/schlamar/pytest-cov
+Author: Marc Schlaich
+Author-email: marc.schlaich(a)gmail.com
License: MIT License
Description: pytest-cov
==========
+ .. image:: https://travis-ci.org/schlamar/pytest-cov.svg?branch=master
+ :target: https://travis-ci.org/schlamar/pytest-cov
+ :alt: Build status
+
+ .. image:: https://pypip.in/download/pytest-cov/badge.png
+ :target: https://pypi.python.org/pypi//pytest-cov/
+ :alt: Downloads
+
+ .. image:: https://pypip.in/version/pytest-cov/badge.png
+ :target: https://pypi.python.org/pypi/pytest-cov/
+ :alt: Latest Version
+
+ .. image:: https://pypip.in/license/pytest-cov/badge.png
+ :target: https://pypi.python.org/pypi/pytest-cov/
+ :alt: License
+
This plugin produces coverage reports. It supports centralised testing and distributed testing in
both load and each modes. It also supports coverage of subprocesses.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-cov-1.6/pytest_cov.egg-info/SOURCES.txt new/pytest-cov-1.7.0/pytest_cov.egg-info/SOURCES.txt
--- old/pytest-cov-1.6/pytest_cov.egg-info/SOURCES.txt 2012-05-12 02:03:20.000000000 +0200
+++ new/pytest-cov-1.7.0/pytest_cov.egg-info/SOURCES.txt 2014-06-12 20:24:03.000000000 +0200
@@ -1,6 +1,6 @@
LICENSE.txt
MANIFEST.in
-README.txt
+README.rst
pytest_cov.py
setup.py
test_pytest_cov.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-cov-1.6/pytest_cov.egg-info/requires.txt new/pytest-cov-1.7.0/pytest_cov.egg-info/requires.txt
--- old/pytest-cov-1.6/pytest_cov.egg-info/requires.txt 2012-05-12 02:03:20.000000000 +0200
+++ new/pytest-cov-1.7.0/pytest_cov.egg-info/requires.txt 2014-06-12 20:24:03.000000000 +0200
@@ -1,2 +1,2 @@
-pytest>=2.2.3
-cov-core>=1.6
\ No newline at end of file
+pytest>=2.5.2
+cov-core>=1.12
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-cov-1.6/pytest_cov.py new/pytest-cov-1.7.0/pytest_cov.py
--- old/pytest-cov-1.6/pytest_cov.py 2011-07-25 11:12:24.000000000 +0200
+++ new/pytest-cov-1.7.0/pytest_cov.py 2014-04-26 17:27:42.000000000 +0200
@@ -1,26 +1,50 @@
"""Coverage plugin for pytest."""
+
+import pytest
+
+import cov_core
+
+
def pytest_addoption(parser):
"""Add options to control coverage."""
- group = parser.getgroup('coverage reporting with distributed testing support')
+ group = parser.getgroup('coverage reporting with distributed testing '
+ 'support')
group.addoption('--cov', action='append', default=[], metavar='path',
dest='cov_source',
- help='measure coverage for filesystem path (multi-allowed)')
- group.addoption('--cov-report', action='append', default=[], metavar='type',
- choices=['term', 'term-missing', 'annotate', 'html', 'xml'],
- dest='cov_report',
- help='type of report to generate: term, term-missing, annotate, html, xml (multi-allowed)')
- group.addoption('--cov-config', action='store', default='.coveragerc', metavar='path',
- dest='cov_config',
+ help='measure coverage for filesystem path '
+ '(multi-allowed)')
+ group.addoption('--cov-report', action='append', default=[],
+ metavar='type', dest='cov_report',
+ choices=['term', 'term-missing', 'annotate', 'html',
+ 'xml'],
+ help='type of report to generate: term, term-missing, '
+ 'annotate, html, xml (multi-allowed)')
+ group.addoption('--cov-config', action='store', default='.coveragerc',
+ metavar='path', dest='cov_config',
help='config file for coverage, default: .coveragerc')
+ group.addoption('--no-cov-on-fail', action='store_true', default=False,
+ dest='no_cov_on_fail',
+ help='do not report coverage if test run fails, '
+ 'default: False')
+
+
+(a)pytest.mark.try_last
+def pytest_load_initial_conftests(early_config, parser, args):
+ ns = parser.parse_known_args(args)
+ if ns.cov_source:
+ plugin = CovPlugin(ns, early_config.pluginmanager)
+ early_config.pluginmanager.register(plugin, '_cov')
def pytest_configure(config):
"""Activate coverage plugin if appropriate."""
-
if config.getvalue('cov_source'):
- config.pluginmanager.register(CovPlugin(), '_cov')
+ if not config.pluginmanager.hasplugin('_cov'):
+ plugin = CovPlugin(config.option, config.pluginmanager,
+ start=False)
+ config.pluginmanager.register(plugin, '_cov')
class CovPlugin(object):
@@ -31,7 +55,7 @@
distributed slave.
"""
- def __init__(self):
+ def __init__(self, options, pluginmanager, start=True):
"""Creates a coverage pytest plugin.
We read the rc file that coverage uses to get the data file
@@ -41,45 +65,49 @@
# Our implementation is unknown at this time.
self.cov_controller = None
+ self.failed = False
+ self.options = options
+
+ is_dist = (getattr(options, 'numprocesses', False) or
+ getattr(options, 'distload', False) or
+ getattr(options, 'dist', 'no') != 'no')
+ if is_dist and start:
+ self.start(cov_core.DistMaster)
+ elif start:
+ self.start(cov_core.Central)
+
+ # slave is started in pytest hook
+
+ def start(self, controller_cls, config=None, nodeid=None):
+ if config is None:
+ # fake config option for cov_core
+ class Config(object):
+ option = self.options
+
+ config = Config()
+
+ self.cov_controller = controller_cls(
+ self.options.cov_source,
+ self.options.cov_report or ['term'],
+ self.options.cov_config,
+ config,
+ nodeid
+ )
+ self.cov_controller.start()
def pytest_sessionstart(self, session):
"""At session start determine our implementation and delegate to it."""
-
- import cov_core
-
- cov_source = session.config.getvalue('cov_source')
- cov_report = session.config.getvalue('cov_report') or ['term']
- cov_config = session.config.getvalue('cov_config')
-
- session_name = session.__class__.__name__
- is_master = (session.config.pluginmanager.hasplugin('dsession') or
- session_name == 'DSession')
- is_slave = (hasattr(session.config, 'slaveinput') or
- session_name == 'SlaveSession')
- nodeid = None
-
- if is_master:
- controller_cls = cov_core.DistMaster
- elif is_slave:
- controller_cls = cov_core.DistSlave
- nodeid = session.config.slaveinput.get('slaveid', getattr(session, 'nodeid'))
- else:
- controller_cls = cov_core.Central
-
- self.cov_controller = controller_cls(cov_source,
- cov_report,
- cov_config,
- session.config,
- nodeid)
-
- self.cov_controller.start()
+ is_slave = hasattr(session.config, 'slaveinput')
+ if is_slave:
+ nodeid = session.config.slaveinput.get('slaveid',
+ getattr(session, 'nodeid'))
+ self.start(cov_core.DistSlave, session.config, nodeid)
def pytest_configure_node(self, node):
"""Delegate to our implementation.
Mark this hook as optional in case xdist is not installed.
"""
-
self.cov_controller.configure_node(node)
pytest_configure_node.optionalhook = True
@@ -88,23 +116,24 @@
Mark this hook as optional in case xdist is not installed.
"""
-
self.cov_controller.testnodedown(node, error)
pytest_testnodedown.optionalhook = True
def pytest_sessionfinish(self, session, exitstatus):
"""Delegate to our implementation."""
-
+ self.failed = exitstatus != 0
self.cov_controller.finish()
def pytest_terminal_summary(self, terminalreporter):
"""Delegate to our implementation."""
-
- self.cov_controller.summary(terminalreporter._tw)
+ if not (self.failed and self.options.no_cov_on_fail):
+ self.cov_controller.summary(terminalreporter._tw)
def pytest_funcarg__cov(request):
- """A pytest funcarg that provides access to the underlying coverage object."""
+ """A pytest funcarg that provides access to the underlying coverage
+ object.
+ """
# Check with hasplugin to avoid getplugin exception in older pytest.
if request.config.pluginmanager.hasplugin('_cov'):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-cov-1.6/setup.py new/pytest-cov-1.7.0/setup.py
--- old/pytest-cov-1.6/setup.py 2012-05-12 01:28:20.000000000 +0200
+++ new/pytest-cov-1.7.0/setup.py 2014-06-12 20:21:48.000000000 +0200
@@ -1,15 +1,17 @@
import setuptools
setuptools.setup(name='pytest-cov',
- version='1.6',
- description='py.test plugin for coverage reporting with support for both centralised and distributed testing, including subprocesses and multiprocessing',
- long_description=open('README.txt').read().strip(),
- author='Meme Dough',
- author_email='memedough(a)gmail.com',
- url='http://bitbucket.org/memedough/pytest-cov/overview',
+ version='1.7.0',
+ description='py.test plugin for coverage reporting with '
+ 'support for both centralised and distributed testing, '
+ 'including subprocesses and multiprocessing',
+ long_description=open('README.rst').read().strip(),
+ author='Marc Schlaich',
+ author_email='marc.schlaich(a)gmail.com',
+ url='https://github.com/schlamar/pytest-cov',
py_modules=['pytest_cov'],
- install_requires=['pytest>=2.2.3',
- 'cov-core>=1.6'],
+ install_requires=['pytest>=2.5.2',
+ 'cov-core>=1.12'],
entry_points={'pytest11': ['pytest_cov = pytest_cov']},
license='MIT License',
zip_safe=False,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-cov-1.6/test_pytest_cov.py new/pytest-cov-1.7.0/test_pytest_cov.py
--- old/pytest-cov-1.6/test_pytest_cov.py 2012-03-12 02:44:09.000000000 +0100
+++ new/pytest-cov-1.7.0/test_pytest_cov.py 2014-05-01 23:50:06.000000000 +0200
@@ -14,10 +14,14 @@
is fine with simple assignment statement.
"""
-import py
import os
import sys
+import virtualenv
+
+import py
+
+
pytest_plugins = 'pytester', 'cov'
SCRIPT = '''
@@ -28,21 +32,9 @@
metafunc.addcall()
def test_foo():
- version = sys.version_info[:2]
- if version == (2, 4):
- a = True
- if version == (2, 5):
- a = True
- if version == (2, 6):
- a = True
- if version == (2, 7):
- a = True
- if version == (3, 0):
- a = True
- if version == (3, 1):
- a = True
- if version == (3, 2):
- a = True
+ assert True
+ if sys.version_info[0] > 5:
+ assert False
'''
SCRIPT_CHILD = '''
@@ -65,7 +57,14 @@
metafunc.addcall(funcargs=dict(idx=i))
def test_foo(idx):
- out, err = subprocess.Popen([sys.executable, 'child_script.py', str(idx)], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()
+ out, err = subprocess.Popen(
+ [sys.executable, 'child_script.py', str(idx)],
+ stdout=subprocess.PIPE,
+ stderr=subprocess.PIPE).communicate()
+
+# there is a issue in coverage.py with multiline statements at
+# end of file: https://bitbucket.org/ned/coveragepy/issue/293
+pass
'''
SCRIPT_FUNCARG = '''
@@ -94,6 +93,17 @@
'''
+SCRIPT_FAIL = '''
+def test_fail():
+ assert False
+
+'''
+
+SCRIPT_RESULT = '8 * 88%'
+CHILD_SCRIPT_RESULT = '6 * 100%'
+PARENT_SCRIPT_RESULT = '8 * 100%'
+
+
def test_central(testdir):
script = testdir.makepyfile(SCRIPT)
@@ -103,13 +113,26 @@
script)
result.stdout.fnmatch_lines([
- '*- coverage: platform *, python * -*',
- 'test_central * 20 * 70%*',
- '*10 passed*'
- ])
+ '*- coverage: platform *, python * -*',
+ 'test_central * %s *' % SCRIPT_RESULT,
+ '*10 passed*'
+ ])
assert result.ret == 0
+def test_no_cov_on_fail(testdir):
+ script = testdir.makepyfile(SCRIPT_FAIL)
+
+ result = testdir.runpytest('-v',
+ '--cov=%s' % script.dirpath(),
+ '--cov-report=term-missing',
+ '--no-cov-on-fail',
+ script)
+
+ assert 'coverage: platform' not in result.stdout.str()
+ result.stdout.fnmatch_lines(['*1 failed*'])
+
+
def test_dist_collocated(testdir):
script = testdir.makepyfile(SCRIPT)
@@ -121,10 +144,10 @@
script)
result.stdout.fnmatch_lines([
- '*- coverage: platform *, python * -*',
- 'test_dist_collocated * 20 * 70%*',
- '*10 passed*'
- ])
+ '*- coverage: platform *, python * -*',
+ 'test_dist_collocated * %s *' % SCRIPT_RESULT,
+ '*10 passed*'
+ ])
assert result.ret == 0
@@ -143,15 +166,16 @@
script)
result.stdout.fnmatch_lines([
- '*- coverage: platform *, python * -*',
- 'test_dist_not_collocated * 20 * 70%*',
- '*10 passed*'
- ])
+ '*- coverage: platform *, python * -*',
+ 'test_dist_not_collocated * %s *' % SCRIPT_RESULT,
+ '*10 passed*'
+ ])
assert result.ret == 0
def test_central_subprocess(testdir):
- scripts = testdir.makepyfile(parent_script=SCRIPT_PARENT, child_script=SCRIPT_CHILD)
+ scripts = testdir.makepyfile(parent_script=SCRIPT_PARENT,
+ child_script=SCRIPT_CHILD)
parent_script = scripts.dirpath().join('parent_script.py')
result = testdir.runpytest('-v',
@@ -160,15 +184,16 @@
parent_script)
result.stdout.fnmatch_lines([
- '*- coverage: platform *, python * -*',
- 'child_script * 6 * 100%*',
- 'parent_script * 7 * 100%*',
- ])
+ '*- coverage: platform *, python * -*',
+ 'child_script * %s *' % CHILD_SCRIPT_RESULT,
+ 'parent_script * %s *' % PARENT_SCRIPT_RESULT,
+ ])
assert result.ret == 0
def test_dist_subprocess_collocated(testdir):
- scripts = testdir.makepyfile(parent_script=SCRIPT_PARENT, child_script=SCRIPT_CHILD)
+ scripts = testdir.makepyfile(parent_script=SCRIPT_PARENT,
+ child_script=SCRIPT_CHILD)
parent_script = scripts.dirpath().join('parent_script.py')
result = testdir.runpytest('-v',
@@ -179,15 +204,16 @@
parent_script)
result.stdout.fnmatch_lines([
- '*- coverage: platform *, python * -*',
- 'child_script * 6 * 100%*',
- 'parent_script * 7 * 100%*',
- ])
+ '*- coverage: platform *, python * -*',
+ 'child_script * %s *' % CHILD_SCRIPT_RESULT,
+ 'parent_script * %s *' % PARENT_SCRIPT_RESULT,
+ ])
assert result.ret == 0
def test_dist_subprocess_not_collocated(testdir, tmpdir):
- scripts = testdir.makepyfile(parent_script=SCRIPT_PARENT, child_script=SCRIPT_CHILD)
+ scripts = testdir.makepyfile(parent_script=SCRIPT_PARENT,
+ child_script=SCRIPT_CHILD)
parent_script = scripts.dirpath().join('parent_script.py')
child_script = scripts.dirpath().join('child_script.py')
@@ -205,10 +231,10 @@
parent_script)
result.stdout.fnmatch_lines([
- '*- coverage: platform *, python * -*',
- 'child_script * 6 * 100%*',
- 'parent_script * 7 * 100%*',
- ])
+ '*- coverage: platform *, python * -*',
+ 'child_script * %s *' % CHILD_SCRIPT_RESULT,
+ 'parent_script * %s *' % PARENT_SCRIPT_RESULT,
+ ])
assert result.ret == 0
@@ -221,31 +247,21 @@
script)
result.stdout.fnmatch_lines([
- '*- coverage: platform *, python * -*',
- '*10 passed*'
- ])
+ '*- coverage: platform *, python * -*',
+ '*10 passed*'
+ ])
assert result.ret == 0
matching_lines = [line for line in result.outlines if '%' in line]
assert not matching_lines
def test_dist_missing_data(testdir):
- version = sys.version_info[:2]
- if version == (2, 4):
- exe = '/usr/local/py24/bin/python'
- if version == (2, 5):
- exe = '/usr/local/py25/bin/python'
- if version == (2, 6):
- exe = '/usr/local/py26/bin/python'
- if version == (2, 7):
- exe = '/usr/local/py27/bin/python'
- if version == (3, 0):
- exe = '/usr/local/py30/bin/python3.0'
- if version == (3, 1):
- exe = '/usr/local/py31/bin/python3.1'
- if version == (3, 2):
- exe = '/usr/local/py32/bin/python3.2'
-
+ venv_path = os.path.join(str(testdir.tmpdir), 'venv')
+ virtualenv.create_environment(venv_path)
+ if sys.platform == 'win32':
+ exe = os.path.join(venv_path, 'Scripts', 'python.exe')
+ else:
+ exe = os.path.join(venv_path, 'bin', 'python')
script = testdir.makepyfile(SCRIPT)
result = testdir.runpytest('-v',
@@ -256,8 +272,8 @@
script)
result.stdout.fnmatch_lines([
- '*- coverage: failed slaves -*'
- ])
+ '*- coverage: failed slaves -*'
+ ])
assert result.ret == 0
@@ -270,10 +286,10 @@
script)
result.stdout.fnmatch_lines([
- '*- coverage: platform *, python * -*',
- 'test_funcarg * 3 * 100%*',
- '*1 passed*'
- ])
+ '*- coverage: platform *, python * -*',
+ 'test_funcarg * 3 * 100%*',
+ '*1 passed*'
+ ])
assert result.ret == 0
@@ -284,8 +300,8 @@
script)
result.stdout.fnmatch_lines([
- '*1 passed*'
- ])
+ '*1 passed*'
+ ])
assert result.ret == 0
@@ -300,8 +316,123 @@
script)
result.stdout.fnmatch_lines([
- '*- coverage: platform *, python * -*',
- 'test_multiprocessing_subprocess * 8 * 100%*',
- '*1 passed*'
- ])
+ '*- coverage: platform *, python * -*',
+ 'test_multiprocessing_subprocess * 8 * 100%*',
+ '*1 passed*'
+ ])
+ assert result.ret == 0
+
+
+MODULE = '''
+def func():
+ return 1
+
+'''
+
+CONFTEST = '''
+
+import mod
+mod.func()
+
+'''
+
+BASIC_TEST = '''
+
+def test_basic():
+ assert True
+
+'''
+
+CONF_RESULT = 'mod * 2 * 100% *'
+
+
+def test_cover_conftest(testdir):
+ testdir.makepyfile(mod=MODULE)
+ testdir.makeconftest(CONFTEST)
+ script = testdir.makepyfile(BASIC_TEST)
+ result = testdir.runpytest('-v',
+ '--cov=%s' % script.dirpath(),
+ '--cov-report=term-missing',
+ script)
+ assert result.ret == 0
+ result.stdout.fnmatch_lines([CONF_RESULT])
+
+
+def test_cover_conftest_dist(testdir):
+ testdir.makepyfile(mod=MODULE)
+ testdir.makeconftest(CONFTEST)
+ script = testdir.makepyfile(BASIC_TEST)
+ result = testdir.runpytest('-v',
+ '--cov=%s' % script.dirpath(),
+ '--cov-report=term-missing',
+ '--dist=load',
+ '--tx=2*popen',
+ script)
+ assert result.ret == 0
+ result.stdout.fnmatch_lines([CONF_RESULT])
+
+
+COVERAGERC = '''
+[report]
+# Regexes for lines to exclude from consideration
+exclude_lines =
+ raise NotImplementedError
+
+'''
+
+EXCLUDED_TEST = '''
+
+def func():
+ raise NotImplementedError
+
+def test_basic():
+ assert True
+
+'''
+
+EXCLUDED_RESULT = '3 * 100% *'
+
+
+def test_coveragerc(testdir):
+ testdir.makefile('', coveragerc=COVERAGERC)
+ script = testdir.makepyfile(EXCLUDED_TEST)
+ result = testdir.runpytest('-v',
+ '--cov-config=coveragerc',
+ '--cov=%s' % script.dirpath(),
+ '--cov-report=term-missing',
+ script)
+ assert result.ret == 0
+ result.stdout.fnmatch_lines(['test_coveragerc * %s' % EXCLUDED_RESULT])
+
+
+def test_coveragerc_dist(testdir):
+ testdir.makefile('', coveragerc=COVERAGERC)
+ script = testdir.makepyfile(EXCLUDED_TEST)
+ result = testdir.runpytest('-v',
+ '--cov-config=coveragerc',
+ '--cov=%s' % script.dirpath(),
+ '--cov-report=term-missing',
+ '-n', '2',
+ script)
+ assert result.ret == 0
+ result.stdout.fnmatch_lines(
+ ['test_coveragerc_dist * %s' % EXCLUDED_RESULT])
+
+
+CLEAR_ENVIRON_TEST = '''
+
+import os
+
+def test_basic():
+ os.environ.clear()
+
+'''
+
+
+def test_clear_environ(testdir):
+ script = testdir.makepyfile(CLEAR_ENVIRON_TEST)
+ result = testdir.runpytest('-v',
+ '--cov=%s' % script.dirpath(),
+ '--cov-report=term-missing',
+ script)
assert result.ret == 0
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package radvd for openSUSE:Factory checked in at 2014-07-31 21:50:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/radvd (Old)
and /work/SRC/openSUSE:Factory/.radvd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "radvd"
Changes:
--------
--- /work/SRC/openSUSE:Factory/radvd/radvd.changes 2014-03-14 15:17:57.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.radvd.new/radvd.changes 2014-07-31 21:50:58.000000000 +0200
@@ -1,0 +2,39 @@
+Wed Jul 30 17:09:01 UTC 2014 - sfalken(a)opensuse.org
+
+- Update to version 2.2
+ minor fixes:
+ Netlink: set setup_iface fix for down interface coming up
+ split send_ra into smaller function
+ orgainize struct Interface with nested structures
+ time: Use clock_gettime and monotonic clock
+ add disable_ipv6_autoconfig function so an interface radvd
+ is using won't autoconfig itself using its own advert
+ improved netlink message processing to *only* reinit an
+ interface that changed.
+ build fixes:
+ Revert bison locations in order to support byacc
+ Amend DIST_EXTRA with the make check files
+ Add command line option parsing to the check unit test application
+ Add make check target based on the check unit testing framework
+ Add check in configure.ac for clock_gettime
+ Makefile.am: Fix out of tree builds
+ disable struct-overflow warning
+ Add compiler attributes to type check format strings
+
+-------------------------------------------------------------------
+Wed Jul 30 02:28:13 UTC 2014 - sfalken(a)opensuse.org
+
+- Update to version 2.2
+ * Updated specfile to change /var/run to /run, in order to fix rpmlint check failures
+ * Added:
+ radvd-2.2.tar.xz
+ radvd-2.2.tar.xz.asc
+ * Removed:
+ radvd-1.9.7.tar.xz
+ radvd-1.9.7.tar.xz.asc
+ * Updated:
+ 0001-run-as-user-radvd-by-default.diff
+ radvd-configure.patch
+ radvd.spec
+
+-------------------------------------------------------------------
Old:
----
radvd-1.9.7.tar.xz
radvd-1.9.7.tar.xz.asc
New:
----
radvd-2.2.tar.xz
radvd-2.2.tar.xz.asc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ radvd.spec ++++++
--- /var/tmp/diff_new_pack.1pyZCB/_old 2014-07-31 21:50:59.000000000 +0200
+++ /var/tmp/diff_new_pack.1pyZCB/_new 2014-07-31 21:50:59.000000000 +0200
@@ -17,7 +17,7 @@
Name: radvd
-Version: 1.9.7
+Version: 2.2
Release: 0
Summary: Router ADVertisement Daemon for IPv6
License: BSD-3-Clause
@@ -38,6 +38,7 @@
BuildRequires: libdaemon-devel
BuildRequires: pkgconfig
BuildRequires: xz
+BuildRequires: pkgconfig(check)
PreReq: %fillup_prereq
PreReq: %insserv_prereq
PreReq: /usr/sbin/useradd
@@ -60,13 +61,13 @@
%build
autoreconf -fiv
-%configure --disable-silent-rules --with-configfile=%{_sysconfdir}/radvd.conf --with-pidfile=/var/run/radvd/radvd.pid
+%configure --disable-silent-rules --with-configfile=%{_sysconfdir}/radvd.conf --with-pidfile=/run/radvd/radvd.pid
make %{?_smp_mflags}
%install
%makeinstall
mkdir -p %{buildroot}%{_sysconfdir}/init.d
-mkdir -p %{buildroot}%{_localstatedir}/run/radvd
+mkdir -p %{buildroot}/run/radvd
install -m 0755 %{SOURCE1} %{buildroot}%{_initddir}/radvd
ln -sf /etc/init.d/radvd %{buildroot}%{_sbindir}/rcradvd
mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
@@ -116,7 +117,7 @@
echo "created /etc/radvd.conf with ULA prefix $prefix"
fi
#
-install -d -m 755 -o radvd /var/run/radvd
+install -d -m 755 -o radvd /run/radvd
%if 0%{?i_can_has_systemd}
%service_add_post %{name}.service
@@ -139,7 +140,7 @@
%files
%defattr(-,root,root)
-%ghost %dir %attr(0755,radvd,root) %{_localstatedir}/run/radvd/
+%ghost %dir %attr(0755,radvd,root) /run/radvd/
%ghost %config(noreplace) %{_sysconfdir}/radvd.conf
%{_localstatedir}/adm/fillup-templates/sysconfig.radvd
%{_sbindir}/radvd
++++++ 0001-run-as-user-radvd-by-default.diff ++++++
--- /var/tmp/diff_new_pack.1pyZCB/_old 2014-07-31 21:50:59.000000000 +0200
+++ /var/tmp/diff_new_pack.1pyZCB/_new 2014-07-31 21:50:59.000000000 +0200
@@ -1,20 +1,15 @@
From 3ff72b5f5bccad1418441485177488f64dc4a135 Mon Sep 17 00:00:00 2001
From: Ludwig Nussel <ludwig.nussel(a)suse.de>
Date: Tue, 3 May 2011 15:42:36 +0200
-Subject: [PATCH 1/2] run as user radvd by default
+Subject: [Patch 1/2] run as user radvd by default
----
- radvd.c | 3 +++
- 1 files changed, 3 insertions(+), 0 deletions(-)
-
-Index: radvd-1.8.3/radvd.c
-===================================================================
---- radvd-1.8.3.orig/radvd.c
-+++ radvd-1.8.3/radvd.c
-@@ -200,6 +200,9 @@ main(int argc, char *argv[])
- }
- }
+diff -rupN radvd-2.2.old/radvd.c radvd-2.2/radvd.c
+--- radvd-2.2.old/radvd.c 2014-07-27 18:16:30.000000000 -0700
++++ radvd-2.2/radvd.c 2014-07-29 19:15:33.711533262 -0700
+@@ -187,6 +187,9 @@ int main(int argc, char *argv[])
+ /* TODO: Seems like this chroot'ing should happen *after* daemonizing for
+ * the sake of the PID file. */
+ if (!username)
+ username = strdup("radvd");
+
++++++ radvd-1.9.7.tar.xz -> radvd-2.2.tar.xz ++++++
++++ 17219 lines of diff (skipped)
++++++ radvd-configure.patch ++++++
--- /var/tmp/diff_new_pack.1pyZCB/_old 2014-07-31 21:51:00.000000000 +0200
+++ /var/tmp/diff_new_pack.1pyZCB/_new 2014-07-31 21:51:00.000000000 +0200
@@ -1,15 +1,14 @@
-diff --git a/configure.ac b/configure.ac
-index 3ab6667..afbdc5a 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -44,7 +44,9 @@ you must specifiy it with --target on the configure command line])
+diff -rupN radvd-2.2.old/configure.ac radvd-2.2/configure.ac
+--- radvd-2.2.old/configure.ac 2014-07-29 08:26:43.000000000 -0700
++++ radvd-2.2/configure.ac 2014-07-29 19:23:38.842918895 -0700
+@@ -47,7 +47,9 @@ you must specifiy it with --target on th
esac
dnl Determine CC and preset CFLAGS
--AC_PROG_CC
+-AC_PROG_CC_C99
+AC_PROG_CC_STDC
+AC_USE_SYSTEM_EXTENSIONS
+AC_SYS_LARGEFILE
+ AC_PROG_RANLIB
+ PKG_CHECK_MODULES([CHECK], [check >= 0.9.4])
- dnl Determine of netlink is available
- AC_MSG_CHECKING(netlink)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package quagga for openSUSE:Factory checked in at 2014-07-31 21:50:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/quagga (Old)
and /work/SRC/openSUSE:Factory/.quagga.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "quagga"
Changes:
--------
--- /work/SRC/openSUSE:Factory/quagga/quagga.changes 2013-07-20 09:03:45.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.quagga.new/quagga.changes 2014-07-31 21:50:55.000000000 +0200
@@ -1,0 +2,164 @@
+Wed Jul 30 15:45:24 UTC 2014 - sfalken(a)opensuse.org
+
+- Update to 0.99.23
+ See http://savannah.spinellicreations.com//quagga/quagga-0.99.23.changelog.txt
+ minor fixes:
+ bgpd: Fix condition allowas-in in rsclient code
+ support TTL-security with iBGP, factor out TTL setting
+ factor out eBGP multihop check
+ fix fast external fallover behavior
+ increase TCP socket buffer size
+ fix O_NONBLOCK on outgoing
+ send notify in OpenSent when stopping manually
+ display multipath status in "show ip bgp"
+ track correct originator-id in reflected routes
+ add 'bgp bestpath as-path multipath-relax'
+ fix crash when allowas-in is done on inactive peer
+ efficient NLRI packing for AFs != ipv4-unicast
+ don't compare next-hop to router-id
+ use ATTR_FLAG_BIT() for BGP_ATTR_ values
+ fix some DEFUN definitions
+ bgpd-set-v4-nexthop-for-v6-peering.patch
+ support NEXTHOP_IPV4_IFINDEX in bgp import check
+ honor PEER_FLAG_DISABLE_CONNECTED_CHECK on bgp_scan
+ write NOTIFY non-blockingly
+ prevent double address delete on shutdown
+ stricter packet handling in OpenSent
+ fix lost passwords of grouped neighbors
+ *: nuke ^L (page feed)
+ isisd: ignore the unrecognized TLVs
+ ripd: fix "show ip rip status" documentation
+ avoid the zero interface metric
+ correctly redistribute ifindex routes (BZ#664)
+ zebra: raise the privileges before calling socket()
+ Change the mechanism for comparing route ID's.
+ fix some DEFUN definitions
+ apply syntactic sugar to rib_dump()
+ set metric for directly connected routes via netlink to 0
+ log routes w/o gateway in rib_delete_ipv4
+ match gateway when deleting NEXTHOP_IPV4_IFINDEX routes
+ make rib_dump() compatible with IPv6 RIB
+ apply route-maps for interface routes
+ fix recursive-routes via ifindex routes
+ implement NEXTHOP_FLAG_ONLINK
+ handle blackholes encountered in recursive resolution
+ rework recursive route resolution
+ improve interface shutdown behaviour
+ don't change connected state from zebra/interface.c
+ add ZEBRA_IFC_QUEUED to keep track of kernel state
+ warn if advertising connected with _REAL unset
+ consolidate connected_implicit_withdraw
+ clear ZEBRA_IFC_CONFIGURED on "no ipv6 addr"
+ make if_subnet_delete a bit more strict
+ process information about new addresses (BZ#486)`
+ support NEXTHOP_IPV4_IFINDEX in bgp import check
+ improve display of NEXTHOP_IPV4_IFINDEX in show ip route
+ don't printf to stdout on ZEBRA_IPV6_NEXTHOP_LOOKU
+ use SO_RCVBUFFORCE for netlink socket
+ ospfd: add debug messages for router lsa-generation
+ For an ABR, ensure the right LSID is MaxAge'd
+ clarify indentation and comments in ospf_lsa_maxage_delete
+ fix a reference counting issue introduced by commit 4de8bf0011
+ check the LS-Ack's recentness instead of only comparing the #seq
+ don't allow to set network type on loopback interfaces
+ run DR election prior to LSA regeneration
+ ospfd/ospf_vty.c: use keyword cmd style
+ fix some DEFUN definitions
+ fixup log message in ospf_zebra_delete
+ refactor some common defines
+ protect vs. VU#229804 (malformed Router-LSA)
+ CVE-2013-2236, stack overrun in apiserver
+ fix flooding procedure
+ make ospf_maxage_lsa_remover actually yield
+ restore nexthop IP for p2p interfaces
+ fix LSA initialization for build without opaque LSA
+ lib: use heap to manage timers
+ remove unused thread_master_debug function
+ lib/command.c: rewrite command matching/parsing
+ fix possible off-by-one in stream_put_prefix()
+ fix for dynamically grown hashes
+ fix backtraces broken by 837d16c...
+ unconditionally include stddef.h
+ register vtysh socket in server socket vector (BZ#754)
+ ospf6d: fix refcounting in ospf6_asbr_lsa_remove
+ add "auto-cost reference-bandwidth" command
+ compute interface cost from its bandwidth
+ solve segfaults with ospf6d on FreeBSD
+ Merge volatile/cumulus_ospf6d
+ fix interface_down() stopping hellos
+ clear lsa->refresh before clearing LSAs
+ handle missing link local address more gracefully
+ improve ordered shutdown
+ clear DR info on interface_down
+ set cmsg size correctly
+ don't run DR election early on "ipv6 ospf6 priority"
+ fix integrated config
+ add SPF logs, statistics, and display of SPF parameters
+ add 'log-adjacency-changes [detail]'
+ don't send LSAck on an interface if we've flooded the LSU out that i/f
+ handle Prefix and Router Options bits correctly
+ add LSA payload to show summary output
+ increment dbdesc seqnum on SeqNumberMismatch/BadLsReq event
+ don't change SeqNum on initial DbDesc message
+ handle seqnum wrapping
+ add overload support
+ fix linkdown handling
+ correct nexthop through directly connected networks
+ don't suppress empty router LSA
+ turn off expensive debugging
+ convert LSDB to use route_node, improve performance
+ fix neighbor state machine (faster lsdb sync, RFC compliance)
+ add p2p interface support
+ fix various bugs in installing and flooding LSAs
+ add more details to show ipv6 ospf6 data
+ enable the commands to support detailed debugging of LSAs.
+ remove older version of LSA from neigbor retx list before prematurely aging it.
+ schedule SPF to run on events rather than directly on each event.
+ refactor some common defines
+ security: Fix some typos and potential NULL-deref
+ tests: Add tests for timers
+ add a test program for lib/command.c
+ DejaGNU libzebra bgpd
+ add DejaGNU framework
+ vtysh: don't append superflous spaces (BZ#750)
+ fix false lib path matching in extract.pl.in
+ doc: Modernize INSTALL.quagga.txt.
+ update TODO for ospf6d work & bgp multipath
+ add OSPFv3 homenet to TODO
+ hash: dynamically grow hash table
+ force size to be a power of 2
+ guile: remove
+
+
+
+ build issues:
+ lib: remove redundant and incorrect sys/fcntl.h include
+ vtysh: fix build against readline 6.3
+ tests: fix build & disable testcommands
+ don't build tests unless make check is run
+ fix Makefile.am so it works with BSD make
+ make --disable-bgpd kill bgpd tests too
+ build: remove now-useless --{en, dis}able-tests
+ improve backtrace support/detection
+ reference libcap from libzebra (BZ#393,626)
+ fix minimal mixup in gitinfo suffix
+ Update supported versions.
+ update quagga.spec.in
+ isisd: use bug-report information from autoconf
+ ospf6d: use bug-report information from autoconf
+ doc: fix makeinfo errors and one warning
+
+
+-------------------------------------------------------------------
+Wed Jul 30 00:54:36 UTC 2014 - sfalken(a)opensuse.org
+
+- Updated to 0.99.23
+ Changed /var/run to /run in .spec file in order to fix rpmlint check failure in Factory
+ Added:
+ quagga-0.99.23.tar.xz
+ quagga-0.99.23.tar.asc
+ Deleted:
+ quagga-0.99.22.1.tar.gz
+ quagga-0.99.22.1.tar.asc
+
+-------------------------------------------------------------------
Old:
----
quagga-0.99.22.1.tar.asc
quagga-0.99.22.1.tar.gz
New:
----
quagga-0.99.23.tar.asc
quagga-0.99.23.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ quagga.spec ++++++
--- /var/tmp/diff_new_pack.ldl80J/_old 2014-07-31 21:50:58.000000000 +0200
+++ /var/tmp/diff_new_pack.ldl80J/_new 2014-07-31 21:50:58.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package quagga
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -23,14 +23,14 @@
%bcond_without pcre
Name: quagga
-Version: 0.99.22.1
+Version: 0.99.23
Release: 0
Summary: Free Routing Software (for BGP, OSPF and RIP, for example)
License: LGPL-2.1+
Group: Productivity/Networking/Routing
Url: http://www.quagga.net
-Source: http://download.savannah.gnu.org/releases/quagga/quagga-0.99.22.1.tar.gz
-Source3: http://download.savannah.gnu.org/releases/quagga/quagga-0.99.22.1.tar.asc
+Source: http://download.savannah.gnu.org/releases/quagga/%{name}-%{version}.tar.xz
+Source3: http://download.savannah.gnu.org/releases/quagga/%{name}-%{version}.tar.asc
# downloaded from: http://download.savannah.gnu.org/releases/quagga/pgp-54CD2E60.asc
Source4: quagga.keyring
Source1: %{name}-SUSE.tar.bz2
@@ -67,7 +67,7 @@
%package devel
Summary: Free Routing Software (for BGP, OSPF and RIP, for example)
-Group: Productivity/Networking/Routing
+Group: Development/Networking/Routing
Requires: %{name} = %{version}
%description devel
@@ -114,7 +114,7 @@
--enable-pcreposix \
%endif
--sysconfdir=%{_sysconfdir}/quagga \
- --localstatedir=%{_localstatedir}/run/quagga \
+ --localstatedir=/run/quagga \
--enable-multipath=0
make %{?_smp_mflags}
@@ -126,7 +126,7 @@
install -m 755 SUSE/* %{buildroot}%{_sysconfdir}/init.d/
install -m 644 %{S:2} %{buildroot}%{_sysconfdir}/pam.d/quagga
install -d -m 750 %{buildroot}%{_localstatedir}/log/quagga
-install -d -m 751 %{buildroot}%{_localstatedir}/run/quagga
+install -d -m 751 %{buildroot}/run/quagga
install -m 644 redhat/quagga.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/quagga
ln -sf %{_sysconfdir}/init.d/zebra %{buildroot}%{_sbindir}/rczebra
ln -sf %{_sysconfdir}/init.d/bgpd %{buildroot}%{_sbindir}/rcbgpd
@@ -147,7 +147,7 @@
%{_sbindir}/groupadd -r quagga 2> /dev/null || :
%{_sbindir}/useradd -r -g quagga -s %{_bindir}/false \
-c "Quagga routing daemon" \
- -d %{_localstatedir}/run/quagga quagga 2> /dev/null || :
+ -d /run/quagga quagga 2> /dev/null || :
%post
/sbin/ldconfig
@@ -176,7 +176,7 @@
%config (noreplace)%{_sysconfdir}/pam.d/*
%{_bindir}/*
%dir %attr(-,quagga,quagga) %{_localstatedir}/log/quagga
-%dir %attr(-,quagga,quagga) %ghost %{_localstatedir}/run/quagga
+%dir %attr(-,quagga,quagga) %ghost /run/quagga
%{_infodir}/quagga.info*
%{_mandir}/man?/*
%attr(755,root,root) %{_libdir}/lib*.so.*
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package dropbear for openSUSE:Factory checked in at 2014-07-31 21:50:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dropbear (Old)
and /work/SRC/openSUSE:Factory/.dropbear.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dropbear"
Changes:
--------
--- /work/SRC/openSUSE:Factory/dropbear/dropbear.changes 2014-02-22 18:09:15.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.dropbear.new/dropbear.changes 2014-07-31 21:50:52.000000000 +0200
@@ -1,0 +2,25 @@
+Mon Jul 28 09:40:02 UTC 2014 - thardeck(a)suse.com
+
+- removed obsolete gpg soure code verifcation workaround
+- added missing systemd entries for dropbear-keygen.service
+- updated to upstream version 2014.64
+ * Fix compiling with ECDSA and DSS disabled
+ * Don't exit abruptly if too many outgoing packets are queued for writev(). Patch
+ thanks to Ronny Meeus
+ * The -K keepalive option now behaves more like OpenSSH's "ServerAliveInterval".
+ If no response is received after 3 keepalives then the session is terminated. This
+ will close connections faster than waiting for a TCP timeout.
+ * Rework TCP priority setting. New settings are
+ if (connecting || ptys || x11) tos = LOWDELAY
+ else if (tcp_forwards) tos = 0
+ else tos = BULK
+ Thanks to Catalin Patulea for the suggestion.
+ * Improve handling of many concurrent new TCP forwarded connections, should now
+ be able to handle as many as MAX_CHANNELS. Thanks to Eduardo Silva for reporting
+ and investigating it.
+ * Make sure that exit messages from the client are printed, regression in 2013.57
+ * Use monotonic clock where available, timeouts won't be affected by system time
+ changes
+ * Add -V for version
+
+-------------------------------------------------------------------
Old:
----
dropbear-2014.63.tar.bz2
New:
----
dropbear-2014.64.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ dropbear.spec ++++++
--- /var/tmp/diff_new_pack.eMOA0h/_old 2014-07-31 21:50:54.000000000 +0200
+++ /var/tmp/diff_new_pack.eMOA0h/_new 2014-07-31 21:50:54.000000000 +0200
@@ -21,7 +21,7 @@
%endif
Name: dropbear
-Version: 2014.63
+Version: 2014.64
Release: 0
Summary: A relatively small SSH 2 server and client
License: MIT
@@ -40,10 +40,9 @@
BuildRequires: gpg-offline
%endif
%if 0%{?using_systemd}
-BuildRequires: systemd
+%{?systemd_requires}
%else
Requires(pre): %insserv_prereq
-%{?systemd_requires}
%endif
Requires(pre): %fillup_prereq
@@ -54,12 +53,7 @@
%prep
%if 0%{?suse_version} >= 1230
-#gpg_verify doesn't work because of dropbear's sha1sum structure
-gpg-offline -f "%{SOURCE2}" --verify "%{SOURCE1}"
-pushd %{_sourcedir}
- grep %{name}-%{version}.tar.bz2 %{SOURCE1} > sha1sum
- sha1sum -c sha1sum
-popd
+ %{?gpg_verify: %gpg_verify "%{SOURCE1}"}
%endif
%setup -q
@@ -76,6 +70,7 @@
install -m 0644 %{SOURCE3} %{buildroot}%{_unitdir}/%{name}.service
install -m 0644 %{SOURCE4} %{buildroot}%{_unitdir}/%{name}-keygen.service
ln -sf /usr/sbin/service %{buildroot}%{_sbindir}/rc%{name}
+ ln -sf /usr/sbin/service %{buildroot}%{_sbindir}/rc%{name}-keygen
%else
install -D -m0755 %{SOURCE6} "%{buildroot}%{_initrddir}/%{name}"
ln -sf ../../%{_initrddir}/%{name} "%{buildroot}%{_sbindir}/rc%{name}"
@@ -84,12 +79,14 @@
%pre
%if 0%{?using_systemd}
%service_add_pre %{name}.service
+ %service_add_pre %{name}-keygen.service
%endif
%post
%if 0%{?using_systemd}
%fillup_only
%service_add_post %{name}.service
+ %service_add_post %{name}-keygen.service
%else
%{fillup_and_insserv %{name}}
%endif
@@ -97,6 +94,7 @@
%preun
%if 0%{?using_systemd}
%service_del_preun %{name}.service
+ %service_del_preun %{name}-keygen.service
%else
%stop_on_removal %{name}
%endif
@@ -104,6 +102,7 @@
%postun
%if 0%{?using_systemd}
%service_del_postun %{name}.service
+ %service_del_postun %{name}-keygen.service
%else
%restart_on_update %{name}
%insserv_cleanup
@@ -119,6 +118,7 @@
%if 0%{?using_systemd}
%{_unitdir}/%{name}.service
%{_unitdir}/dropbear-keygen.service
+ %{_sbindir}/rcdropbear-keygen
%else
%{_initrddir}/%{name}
%endif
++++++ SHA1SUM.asc ++++++
--- /var/tmp/diff_new_pack.eMOA0h/_old 2014-07-31 21:50:54.000000000 +0200
+++ /var/tmp/diff_new_pack.eMOA0h/_new 2014-07-31 21:50:54.000000000 +0200
@@ -1,13 +1,13 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-a99b392e6ed99706b3eb787a75b95651775ca893 CHANGES
-1d0abb6c46206a2c95b26a6f454844855f585403 dropbear-2013.62.tar.bz2
+f88f705e143224974a4c2f1e7faee56a11114918 CHANGES
63bbb967feb1df8bc1a7cb7d96925ed653960078 dropbear-2014.63.tar.bz2
+54e3738a4335a8dbb1e4acb29316b07f3a1fa354 dropbear-2014.64.tar.bz2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (Darwin)
-iEYEARECAAYFAlMEuzkACgkQjPn4sExkf7xLXACg1OOvq8Nw4nc4qJ4ycGS/PKcD
-pvwAn3rTkHcCDTc0hGqCDO3Cqlq7wO4S
-=420e
+iEYEARECAAYFAlPVFogACgkQjPn4sExkf7zPzQCfSNrgesfXcO8EkY1OpBM9XcyI
+2YgAn0xEhRS0xkFtNHWvc8vTNWuQr+MO
+=/Tcr
-----END PGP SIGNATURE-----
++++++ dropbear-2014.63.tar.bz2 -> dropbear-2014.64.tar.bz2 ++++++
++++ 1731 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0