Hello community,

here is the log from the commit of package lvm2 for openSUSE:Factory checked in 
at 2017-01-24 10:27:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lvm2 (Old)
 and      /work/SRC/openSUSE:Factory/.lvm2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lvm2"

Changes:
--------
--- /work/SRC/openSUSE:Factory/lvm2/device-mapper.changes       2017-01-10 
10:35:15.340950921 +0100
+++ /work/SRC/openSUSE:Factory/.lvm2.new/device-mapper.changes  2017-01-24 
10:27:54.413148588 +0100
@@ -1,0 +2,6 @@
+Tue Jan 10 09:25:17 UTC 2017 - zl...@suse.com
+
+- add a new test package named lvm2-testsuite bnc#950089
+  * lvm2-testsuite.patch
+
+-------------------------------------------------------------------
lvm2-clvm.changes: same change
lvm2.changes: same change

New:
----
  lvm2-testsuite.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ device-mapper.spec ++++++
--- /var/tmp/diff_new_pack.WMcP3X/_old  2017-01-24 10:27:56.116906929 +0100
+++ /var/tmp/diff_new_pack.WMcP3X/_new  2017-01-24 10:27:56.120906362 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package device-mapper
 #
-# 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
@@ -76,6 +76,8 @@
 Patch2009:      pvcreate-enhance-the-error-message.patch
 # bnc#990538 bnc#986734
 Patch2010:      69-dm-lvm-metad.rules-Do-not-process-rules-for-multi.patch
+#PATCH-FIX-SUSE, bnc#950089
+Patch2011:      lvm2-testsuite.patch
 ### COMMON-PATCH-END ###
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
@@ -151,6 +153,7 @@
 %patch2008 -p1
 %patch2009 -p1
 %patch2010 -p1
+%patch2011 -p1
 ### COMMON-PREP-END ###
 
 %build

lvm2-clvm.spec: same change
++++++ lvm2.spec ++++++
--- /var/tmp/diff_new_pack.WMcP3X/_old  2017-01-24 10:27:56.184897285 +0100
+++ /var/tmp/diff_new_pack.WMcP3X/_new  2017-01-24 10:27:56.188896718 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package lvm2
 #
-# 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
@@ -77,6 +77,8 @@
 Patch2009:      pvcreate-enhance-the-error-message.patch
 # bnc#990538 bnc#986734
 Patch2010:      69-dm-lvm-metad.rules-Do-not-process-rules-for-multi.patch
+#PATCH-FIX-SUSE, bnc#950089
+Patch2011:      lvm2-testsuite.patch
 ### COMMON-PATCH-END ###
 BuildRequires:  gcc-c++
 BuildRequires:  libaio-devel
@@ -128,6 +130,16 @@
 %description devel
 This package provides development files for the LVM2 Logical Volume Manager.
 
+%package testsuite
+Summary:        LVM2 Testsuite
+Group:          Development/Libraries/C and C++
+Requires:       %{applib} = %{version}
+Requires:       %{cmdlib} = %{version}
+Requires:       lvm2 = %{version}
+
+%description testsuite
+An extensive functional testsuite for the LVM2 Logical Volume Manager.
+
 %prep
 %setup -q -n LVM2.%{version}
 ### COMMON-PREP-BEGIN ###
@@ -160,6 +172,7 @@
 %patch2008 -p1
 %patch2009 -p1
 %patch2010 -p1
+%patch2011 -p1
 ### COMMON-PREP-END ###
 
 %build
@@ -206,6 +219,8 @@
 make install_tmpfiles_configuration DESTDIR=%{buildroot}
 # Install configuration file
 install -m 644 %{SOURCE1} "%{buildroot}/%{_sysconfdir}/lvm/"
+# Install testsuite
+make -C test install DESTDIR=%{buildroot}
 
 pushd "%{buildroot}/%{_libdir}"
 ln -sf liblvm2cmd.so.2.02 liblvm2cmd.so
@@ -256,7 +271,7 @@
 %{?regenerate_initrd_post}
 %service_add_post blk-availability.service lvm2-monitor.service 
lvm2-lvmetad.socket lvm2-lvmetad.service
 # Use %%tmpfiles_create when 13.2 is oldest in support scope
-/usr/bin/systemd-tmpfiles --create %{_tmpfilesdir}/lvm2.conf || :
+%{_bindir}/systemd-tmpfiles --create %{_tmpfilesdir}/lvm2.conf || :
 
 %posttrans
 %{?regenerate_initrd_posttrans}
@@ -317,9 +332,9 @@
 %{_libdir}/libdevmapper-event-lvm2*.so
 %{_libdir}/libdevmapper-event-lvm2*.so.2.02
 %{_libdir}/libdevmapper-event-lvm2.so
-%{_mandir}/man5/lvm.conf.5.*
-%{_mandir}/man8/blkdeactivate.8.*
-%{_mandir}/man8/fsadm.8.gz
+%{_mandir}/man5/lvm.conf.5%{ext_man}
+%{_mandir}/man8/blkdeactivate.8%{ext_man}
+%{_mandir}/man8/fsadm.8%{ext_man}
 %{_mandir}/man8/lv*.8*
 %{_mandir}/man8/pv*.8*
 %{_mandir}/man8/vg*.8*
@@ -335,4 +350,10 @@
 %{_libdir}/liblvm2app.so
 %{_libdir}/liblvm2cmd.so
 
+%files testsuite
+%defattr(-,root,root,-)
+%{_datarootdir}/lvm2-testsuite/
+%{_libexecdir}/lvm2-testsuite/
+%{_bindir}/lvm2-testsuite
+
 %changelog


++++++ lvm2-testsuite.patch ++++++
commit 0402acbbb9f8f6066a3f7899e8cc3ae72b84ee20
Author: Zhilong Liu <zl...@suse.com>
Date:   Wed Dec 7 02:43:10 2016 -0500

    add a new test package named lvm2-testsuite(bnc#950089)
      + lvm2-testsuite.patch
    Currently this new package is not enabled by default.
    Please set enable_testsuite to 1 to turn it on in the
     spec file.
    
    Signed-off-by: Zhilong Liu <zl...@suse.com>

diff --git a/test/Makefile.in b/test/Makefile.in
index f152868..f0845d7 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -224,7 +224,7 @@ install: .tests-stamp lib/paths-installed
        $(INSTALL_DATA) shell/*.sh $(DATADIR)/shell
        $(INSTALL_DATA) api/*.sh $(DATADIR)/api
        $(INSTALL_DATA) lib/mke2fs.conf $(DATADIR)/lib
-       $(INSTALL_PROGRAM) api/*.{t,py} $(DATADIR)/api
+       $(INSTALL_PROGRAM) api/*.py $(DATADIR)/api/
        $(INSTALL_PROGRAM) dbus/*.py $(DATADIR)/dbus/
        $(INSTALL_DATA) lib/paths-installed $(DATADIR)/lib/paths
        cd lib && $(INSTALL_DATA) \
@@ -244,6 +244,7 @@ install: .tests-stamp lib/paths-installed
        @cd $(EXECDIR) && for i in $(LIB_LINK_NOT); do \
                echo "$(LN_S) -f not $$i"; \
                $(LN_S) -f not $$i; done
+       $(INSTALL_PROGRAM) api/*.t $(EXECDIR)
        $(INSTALL_PROGRAM) -D lib/runner $(bindir)/lvm2-testsuite
 
 lib/should: lib/not

Reply via email to