commit libstorage for openSUSE:13.1:Update
Hello community, here is the log from the commit of package libstorage for openSUSE:13.1:Update checked in at 2014-02-13 10:40:54 Comparing /work/SRC/openSUSE:13.1:Update/libstorage (Old) and /work/SRC/openSUSE:13.1:Update/.libstorage.new (New) Package is libstorage Changes: New Changes file: NO CHANGES FILE!!! New: _link Other differences: -- ++ _link ++ link package='libstorage.2540' cicount='copy' / -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libstorage for openSUSE:13.1
Hello community, here is the log from the commit of package libstorage for openSUSE:13.1 checked in at 2013-11-05 10:19:32 Comparing /work/SRC/openSUSE:13.1/libstorage (Old) and /work/SRC/openSUSE:13.1/.libstorage.new (New) Package is libstorage Changes: --- /work/SRC/openSUSE:13.1/libstorage/libstorage.changes 2013-10-29 10:17:30.0 +0100 +++ /work/SRC/openSUSE:13.1/.libstorage.new/libstorage.changes 2013-11-05 10:19:33.0 +0100 @@ -1,0 +2,6 @@ +Mon Nov 04 16:49:15 CET 2013 - aschn...@suse.de + +- removed storage_utf8.rb (bnc#848812) +- version 2.24.8 + +--- Old: libstorage-2.24.7.tar.bz2 New: libstorage-2.24.8.tar.bz2 Other differences: -- ++ libstorage.spec ++ --- /var/tmp/diff_new_pack.xVrrs2/_old 2013-11-05 10:19:33.0 +0100 +++ /var/tmp/diff_new_pack.xVrrs2/_new 2013-11-05 10:19:33.0 +0100 @@ -17,7 +17,7 @@ Name: libstorage -Version:2.24.7 +Version:2.24.8 Release:0 License:GPL-2.0 Group: System/Libraries @@ -215,7 +215,6 @@ %else %{rb_vendorarch}/storage.so %endif -%{rb_vendordir}/storage_utf8.rb %endif %if 0%{?mandriva_version} %{ruby_sitearchdir}/storage.so ++ libstorage-2.24.7.tar.bz2 - libstorage-2.24.8.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.24.7/VERSION new/libstorage-2.24.8/VERSION --- old/libstorage-2.24.7/VERSION 2013-10-23 14:15:36.0 +0200 +++ new/libstorage-2.24.8/VERSION 2013-11-04 17:07:21.0 +0100 @@ -1 +1 @@ -2.24.7 +2.24.8 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.24.7/bindings/ruby/Makefile.am new/libstorage-2.24.8/bindings/ruby/Makefile.am --- old/libstorage-2.24.7/bindings/ruby/Makefile.am 2013-09-30 17:10:18.0 +0200 +++ new/libstorage-2.24.8/bindings/ruby/Makefile.am 2013-11-04 17:05:17.0 +0100 @@ -4,7 +4,7 @@ SUBDIRS = examples -EXTRA_DIST = storage.i enum_ref.i storage_utf8.rb +EXTRA_DIST = storage.i enum_ref.i MAINTAINERCLEANFILES = storage_wrap.cxx @@ -35,7 +35,4 @@ storage_wrap.cxx: storage.i $(DEPENDENCIES) swig -o storage_wrap.cxx -c++ -ruby ${INCLUDES} storage.i -install-data-hook: - $(INSTALL) storage_utf8.rb $(DESTDIR)/$(RUBY_VENDOR_DIR) - CLEANFILES = storage.so storage_wrap.cxx diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.24.7/bindings/ruby/Makefile.in new/libstorage-2.24.8/bindings/ruby/Makefile.in --- old/libstorage-2.24.7/bindings/ruby/Makefile.in 2013-10-25 12:52:25.0 +0200 +++ new/libstorage-2.24.8/bindings/ruby/Makefile.in 2013-11-04 17:08:08.0 +0100 @@ -321,7 +321,7 @@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = examples -EXTRA_DIST = storage.i enum_ref.i storage_utf8.rb +EXTRA_DIST = storage.i enum_ref.i MAINTAINERCLEANFILES = storage_wrap.cxx BUILT_SOURCES = storage_wrap.cxx rubyextensiondirdir = $(RUBY_EXTENSION_DIR) @@ -726,8 +726,7 @@ info-am: install-data-am: install-rubyextensiondirLTLIBRARIES - @$(NORMAL_INSTALL) - $(MAKE) $(AM_MAKEFLAGS) install-data-hook + install-dvi: install-dvi-recursive install-dvi-am: @@ -776,7 +775,7 @@ .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \ cscopelist-recursive ctags-recursive install install-am \ - install-data-am install-strip tags-recursive + install-strip tags-recursive .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am check check-am clean clean-generic clean-libtool \ @@ -784,24 +783,21 @@ cscopelist-recursive ctags ctags-recursive distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ - install install-am install-data install-data-am \ - install-data-hook install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-man install-pdf install-pdf-am \ - install-ps install-ps-am install-rubyextensiondirLTLIBRARIES \ - install-strip installcheck installcheck-am installdirs \ - installdirs-am maintainer-clean maintainer-clean-generic \ - mostlyclean mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ - uninstall uninstall-am uninstall-rubyextensiondirLTLIBRARIES + install install-am install-data install-data-am install-dvi \ + install-dvi-am
commit libstorage for openSUSE:13.1
Hello community, here is the log from the commit of package libstorage for openSUSE:13.1 checked in at 2013-10-29 10:17:29 Comparing /work/SRC/openSUSE:13.1/libstorage (Old) and /work/SRC/openSUSE:13.1/.libstorage.new (New) Package is libstorage Changes: --- /work/SRC/openSUSE:13.1/libstorage/libstorage.changes 2013-10-09 08:50:28.0 +0200 +++ /work/SRC/openSUSE:13.1/.libstorage.new/libstorage.changes 2013-10-29 10:17:30.0 +0100 @@ -1,0 +2,11 @@ +Tue Oct 15 10:23:49 CEST 2013 - aschn...@suse.de + +- fixed calculation of free physical extents (bnc#844534) +- version 2.24.7 + +--- +Fri Oct 11 14:26:18 CEST 2013 - aschn...@suse.de + +- adapted to device-mapper device name changes (bnc#810840) + +--- Old: libstorage-2.24.6.tar.bz2 New: libstorage-2.24.7.tar.bz2 Other differences: -- ++ libstorage.spec ++ --- /var/tmp/diff_new_pack.858YMY/_old 2013-10-29 10:17:30.0 +0100 +++ /var/tmp/diff_new_pack.858YMY/_new 2013-10-29 10:17:30.0 +0100 @@ -17,7 +17,7 @@ Name: libstorage -Version:2.24.6 +Version:2.24.7 Release:0 License:GPL-2.0 Group: System/Libraries ++ libstorage-2.24.6.tar.bz2 - libstorage-2.24.7.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.24.6/VERSION new/libstorage-2.24.7/VERSION --- old/libstorage-2.24.6/VERSION 2013-10-08 14:03:08.0 +0200 +++ new/libstorage-2.24.7/VERSION 2013-10-23 14:15:36.0 +0200 @@ -1 +1 @@ -2.24.6 +2.24.7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.24.6/storage/Disk.cc new/libstorage-2.24.7/storage/Disk.cc --- old/libstorage-2.24.6/storage/Disk.cc 2013-09-30 17:01:55.0 +0200 +++ new/libstorage-2.24.7/storage/Disk.cc 2013-10-10 17:54:17.0 +0200 @@ -754,7 +754,7 @@ { // TODO: this is hackish if (boost::starts_with(disk, /dev/mapper/)) - return _part; + return -part; else if (needP(disk)) return p; else diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.24.6/storage/DmPartCo.cc new/libstorage-2.24.7/storage/DmPartCo.cc --- old/libstorage-2.24.6/storage/DmPartCo.cc 2013-09-30 17:01:55.0 +0200 +++ new/libstorage-2.24.7/storage/DmPartCo.cc 2013-10-10 17:54:17.0 +0200 @@ -72,7 +72,7 @@ { int ret = 0; y2mil(device: device dev: dev); -string::size_type pos = device.rfind(_part); +string::size_type pos = device.rfind(-part); if (pos == string::npos) ret = DMPART_PARTITION_NOT_FOUND; else @@ -472,7 +472,7 @@ string ret = nm; if( num0 ) { - ret += _part; + ret += -part; ret += decString(num); } y2mil( num: num ret: ret ); @@ -486,7 +486,7 @@ string ret = dev; if( num0 ) { - ret += _part; + ret += -part; ret += decString(num); } y2mil( num: num ret: ret ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.24.6/storage/DmraidCo.cc new/libstorage-2.24.7/storage/DmraidCo.cc --- old/libstorage-2.24.6/storage/DmraidCo.cc 2013-09-30 17:01:55.0 +0200 +++ new/libstorage-2.24.7/storage/DmraidCo.cc 2013-10-10 17:54:17.0 +0200 @@ -209,7 +209,7 @@ } else { - c.execute(DMRAIDBIN -an -P _part); + c.execute(DMRAIDBIN -an); } active = val; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.24.6/storage/LvmVg.cc new/libstorage-2.24.7/storage/LvmVg.cc --- old/libstorage-2.24.6/storage/LvmVg.cc 2013-09-30 17:01:55.0 +0200 +++ new/libstorage-2.24.7/storage/LvmVg.cc 2013-10-15 10:27:56.0 +0200 @@ -215,7 +215,7 @@ { Pv pvn; unsigned long long s = getStorage()-deviceSize( d ); - pe = (s - 500)/pe_size; + pe = (s - 4000)/pe_size; pvn.num_pe = pvn.free_pe = pe; pvn.device = d; @@ -992,7 +992,7 @@ if( addLvPeDistribution( i-getLe(), i-stripes(), pv, pv_add, pe_map ) == 0 ) i-setPeMap( pe_map ); - free_pe -= i-getLe(); + free_pe -= min((unsigned long long) free_pe, i-getLe()); } } p=lvmLvPair(lvResized); diff -urN
commit libstorage for openSUSE:13.1
Hello community, here is the log from the commit of package libstorage for openSUSE:13.1 checked in at 2013-10-09 08:50:27 Comparing /work/SRC/openSUSE:13.1/libstorage (Old) and /work/SRC/openSUSE:13.1/.libstorage.new (New) Package is libstorage Changes: --- /work/SRC/openSUSE:13.1/libstorage/libstorage.changes 2013-10-08 13:56:44.0 +0200 +++ /work/SRC/openSUSE:13.1/.libstorage.new/libstorage.changes 2013-10-09 08:50:28.0 +0200 @@ -2,5 +1,0 @@ -Tue Oct 8 11:54:26 UTC 2013 - tchva...@suse.com - -- Revert to 2.24.5 as 2.25 was ment only for factory. - @@ -10 +5 @@ -- version 2.25.0 +- version 2.24.6 Old: libstorage-2.24.5.tar.bz2 New: libstorage-2.24.6.tar.bz2 Other differences: -- ++ libstorage.spec ++ --- /var/tmp/diff_new_pack.AIxomy/_old 2013-10-09 08:50:28.0 +0200 +++ /var/tmp/diff_new_pack.AIxomy/_new 2013-10-09 08:50:28.0 +0200 @@ -17,27 +17,19 @@ Name: libstorage -Version:2.24.5 +Version:2.24.6 Release:0 +License:GPL-2.0 +Group: System/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: libstorage-%{version}.tar.bz2 Prefix: /usr -BuildRequires: boost-devel -BuildRequires: dejagnu -BuildRequires: doxygen -BuildRequires: gcc-c++ -BuildRequires: libtool -BuildRequires: libxml2-devel -BuildRequires: python-devel -BuildRequires: ruby -BuildRequires: ruby-devel -BuildRequires: swig +BuildRequires: boost-devel dejagnu doxygen gcc-c++ libtool libxml2-devel python-devel swig +BuildRequires: ruby ruby-devel Summary:Library for storage management -License:GPL-2.0 -Group: System/Libraries Url:http://en.opensuse.org/Portal:Libstorage %description @@ -51,6 +43,7 @@ %if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel} %{!?ruby_sitelib: %global ruby_sitelib %(ruby -r rbconfig -e 'vd = Config::CONFIG[vendorlibdir]; print(vd ? vd : Config::CONFIG[sitelibdir])')} %{!?ruby_sitearch: %global ruby_sitearch %(ruby -r rbconfig -e 'vad = Config::CONFIG[vendorarchdir]; print(vad ? vad : Config::CONFIG[sitearchdir])')} +%{!?ruby_vendor: %global ruby_vendor %(ruby -r rbconfig -e 'vad = Config::CONFIG[vendor]; print(vad ? vad : Config::CONFIG[vendor])')} %endif %endif @@ -115,18 +108,8 @@ %package -n libstorage4 -Requires: coreutils -Requires: cryptsetup -Requires: device-mapper -Requires: dmraid -Requires: grep -Requires: lsscsi -Requires: lvm2 -Requires: mdadm -Requires: multipath-tools -Requires: parted = 2.2 -Requires: udev -Requires: util-linux = 2.16 +Requires: parted = 2.2 mdadm device-mapper lvm2 dmraid multipath-tools cryptsetup +Requires: coreutils udev util-linux = 2.16 grep lsscsi %ifarch s390 s390x Requires: s390-tools %endif @@ -169,10 +152,8 @@ %package -n libstorage-devel -Requires: gcc-c++ -Requires: libstdc++-devel Requires: libstorage4 = %version -Requires: libxml2-devel +Requires: gcc-c++ libstdc++-devel libxml2-devel Summary:Header files and documentation for libstorage Group: Development/Languages/C and C++ @@ -234,6 +215,7 @@ %else %{rb_vendorarch}/storage.so %endif +%{rb_vendordir}/storage_utf8.rb %endif %if 0%{?mandriva_version} %{ruby_sitearchdir}/storage.so ++ libstorage-2.24.5.tar.bz2 - libstorage-2.24.6.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.24.5/Makefile.in new/libstorage-2.24.6/Makefile.in --- old/libstorage-2.24.5/Makefile.in 2013-09-26 11:20:08.0 +0200 +++ new/libstorage-2.24.6/Makefile.in 2013-10-08 14:03:49.0 +0200 @@ -246,8 +246,10 @@ RUBY_BIN_DIR = @RUBY_BIN_DIR@ RUBY_EXTENSION_DIR = @RUBY_EXTENSION_DIR@ RUBY_INCLUDE_DIR = @RUBY_INCLUDE_DIR@ +RUBY_LIB_DIR = @RUBY_LIB_DIR@ RUBY_SHARED_LIB = @RUBY_SHARED_LIB@ RUBY_SO_NAME = @RUBY_SO_NAME@ +RUBY_VENDOR_DIR = @RUBY_VENDOR_DIR@ RUBY_VERSION = @RUBY_VERSION@ SED = @SED@ SET_MAKE = @SET_MAKE@ @@ -681,7 +683,7 @@ *.zip*) \ unzip $(distdir).zip ;;\ esac - chmod -R a-w $(distdir); chmod u+w $(distdir) + chmod -R a-w $(distdir); chmod a+w $(distdir) mkdir $(distdir)/_build mkdir $(distdir)/_inst chmod a-w $(distdir) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.24.5/VERSION new/libstorage-2.24.6/VERSION --- old/libstorage-2.24.5/VERSION 2013-09-25
commit libstorage for openSUSE:13.1
Hello community, here is the log from the commit of package libstorage for openSUSE:13.1 checked in at 2013-10-08 13:56:42 Comparing /work/SRC/openSUSE:13.1/libstorage (Old) and /work/SRC/openSUSE:13.1/.libstorage.new (New) Package is libstorage Changes: --- /work/SRC/openSUSE:13.1/libstorage/libstorage.changes 2013-10-03 07:25:48.0 +0200 +++ /work/SRC/openSUSE:13.1/.libstorage.new/libstorage.changes 2013-10-08 13:56:44.0 +0200 @@ -1,0 +2,5 @@ +Tue Oct 8 11:54:26 UTC 2013 - tchva...@suse.com + +- Revert to 2.24.5 as 2.25 was ment only for factory. + +--- Old: libstorage-2.25.0.tar.bz2 New: libstorage-2.24.5.tar.bz2 Other differences: -- ++ libstorage.spec ++ --- /var/tmp/diff_new_pack.q3uFDF/_old 2013-10-08 13:56:44.0 +0200 +++ /var/tmp/diff_new_pack.q3uFDF/_new 2013-10-08 13:56:44.0 +0200 @@ -17,7 +17,7 @@ Name: libstorage -Version:2.25.0 +Version:2.24.5 Release:0 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: libstorage-%{version}.tar.bz2 @@ -51,7 +51,6 @@ %if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel} %{!?ruby_sitelib: %global ruby_sitelib %(ruby -r rbconfig -e 'vd = Config::CONFIG[vendorlibdir]; print(vd ? vd : Config::CONFIG[sitelibdir])')} %{!?ruby_sitearch: %global ruby_sitearch %(ruby -r rbconfig -e 'vad = Config::CONFIG[vendorarchdir]; print(vad ? vad : Config::CONFIG[sitearchdir])')} -%{!?ruby_vendor: %global ruby_vendor %(ruby -r rbconfig -e 'vad = Config::CONFIG[vendor]; print(vad ? vad : Config::CONFIG[vendor])')} %endif %endif @@ -235,7 +234,6 @@ %else %{rb_vendorarch}/storage.so %endif -%{rb_vendordir}/storage_utf8.rb %endif %if 0%{?mandriva_version} %{ruby_sitearchdir}/storage.so ++ libstorage-2.25.0.tar.bz2 - libstorage-2.24.5.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.25.0/Makefile.in new/libstorage-2.24.5/Makefile.in --- old/libstorage-2.25.0/Makefile.in 2013-09-30 18:05:01.0 +0200 +++ new/libstorage-2.24.5/Makefile.in 2013-09-26 11:20:08.0 +0200 @@ -246,10 +246,8 @@ RUBY_BIN_DIR = @RUBY_BIN_DIR@ RUBY_EXTENSION_DIR = @RUBY_EXTENSION_DIR@ RUBY_INCLUDE_DIR = @RUBY_INCLUDE_DIR@ -RUBY_LIB_DIR = @RUBY_LIB_DIR@ RUBY_SHARED_LIB = @RUBY_SHARED_LIB@ RUBY_SO_NAME = @RUBY_SO_NAME@ -RUBY_VENDOR_DIR = @RUBY_VENDOR_DIR@ RUBY_VERSION = @RUBY_VERSION@ SED = @SED@ SET_MAKE = @SET_MAKE@ @@ -683,7 +681,7 @@ *.zip*) \ unzip $(distdir).zip ;;\ esac - chmod -R a-w $(distdir); chmod a+w $(distdir) + chmod -R a-w $(distdir); chmod u+w $(distdir) mkdir $(distdir)/_build mkdir $(distdir)/_inst chmod a-w $(distdir) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.25.0/VERSION new/libstorage-2.24.5/VERSION --- old/libstorage-2.25.0/VERSION 2013-09-30 17:06:15.0 +0200 +++ new/libstorage-2.24.5/VERSION 2013-09-25 17:06:50.0 +0200 @@ -1 +1 @@ -2.25.0 +2.24.5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.25.0/bindings/Makefile.in new/libstorage-2.24.5/bindings/Makefile.in --- old/libstorage-2.25.0/bindings/Makefile.in 2013-09-30 18:05:01.0 +0200 +++ new/libstorage-2.24.5/bindings/Makefile.in 2013-09-26 11:20:08.0 +0200 @@ -193,10 +193,8 @@ RUBY_BIN_DIR = @RUBY_BIN_DIR@ RUBY_EXTENSION_DIR = @RUBY_EXTENSION_DIR@ RUBY_INCLUDE_DIR = @RUBY_INCLUDE_DIR@ -RUBY_LIB_DIR = @RUBY_LIB_DIR@ RUBY_SHARED_LIB = @RUBY_SHARED_LIB@ RUBY_SO_NAME = @RUBY_SO_NAME@ -RUBY_VENDOR_DIR = @RUBY_VENDOR_DIR@ RUBY_VERSION = @RUBY_VERSION@ SED = @SED@ SET_MAKE = @SET_MAKE@ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.25.0/bindings/python/Makefile.in new/libstorage-2.24.5/bindings/python/Makefile.in --- old/libstorage-2.25.0/bindings/python/Makefile.in 2013-09-30 18:05:01.0 +0200 +++ new/libstorage-2.24.5/bindings/python/Makefile.in 2013-09-26 11:20:08.0 +0200 @@ -257,10 +257,8 @@ RUBY_BIN_DIR = @RUBY_BIN_DIR@ RUBY_EXTENSION_DIR = @RUBY_EXTENSION_DIR@ RUBY_INCLUDE_DIR = @RUBY_INCLUDE_DIR@ -RUBY_LIB_DIR = @RUBY_LIB_DIR@ RUBY_SHARED_LIB = @RUBY_SHARED_LIB@ RUBY_SO_NAME = @RUBY_SO_NAME@ -RUBY_VENDOR_DIR = @RUBY_VENDOR_DIR@ RUBY_VERSION = @RUBY_VERSION@ SED = @SED@ SET_MAKE = @SET_MAKE@ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore'
commit libstorage for openSUSE:13.1
Hello community, here is the log from the commit of package libstorage for openSUSE:13.1 checked in at 2013-09-29 17:49:43 Comparing /work/SRC/openSUSE:13.1/libstorage (Old) and /work/SRC/openSUSE:13.1/.libstorage.new (New) Package is libstorage Changes: --- /work/SRC/openSUSE:13.1/libstorage/libstorage.changes 2013-09-23 10:58:58.0 +0200 +++ /work/SRC/openSUSE:13.1/.libstorage.new/libstorage.changes 2013-09-29 17:49:47.0 +0200 @@ -1,0 +2,6 @@ +Wed Sep 25 15:06:46 CEST 2013 - f...@suse.de + +- version 2.24.5 +- add code to support named raids (fate#315590) + +--- Old: libstorage-2.24.4.tar.bz2 New: libstorage-2.24.5.tar.bz2 Other differences: -- ++ libstorage.spec ++ --- /var/tmp/diff_new_pack.bBEvrh/_old 2013-09-29 17:49:47.0 +0200 +++ /var/tmp/diff_new_pack.bBEvrh/_new 2013-09-29 17:49:47.0 +0200 @@ -17,7 +17,7 @@ Name: libstorage -Version:2.24.4 +Version:2.24.5 Release:0 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: libstorage-%{version}.tar.bz2 ++ libstorage-2.24.4.tar.bz2 - libstorage-2.24.5.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.24.4/VERSION new/libstorage-2.24.5/VERSION --- old/libstorage-2.24.4/VERSION 2013-09-13 11:11:49.0 +0200 +++ new/libstorage-2.24.5/VERSION 2013-09-25 17:06:50.0 +0200 @@ -1 +1 @@ -2.24.4 +2.24.5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.24.4/bindings/python/libstorage.py new/libstorage-2.24.5/bindings/python/libstorage.py --- old/libstorage-2.24.4/bindings/python/libstorage.py 2013-09-13 11:25:30.0 +0200 +++ new/libstorage-2.24.5/bindings/python/libstorage.py 2013-09-26 11:32:28.0 +0200 @@ -1432,6 +1432,7 @@ MD_INVALID_PARITY = _libstorage.MD_INVALID_PARITY MD_TOO_MANY_SPARES = _libstorage.MD_TOO_MANY_SPARES MD_GET_STATE_FAILED = _libstorage.MD_GET_STATE_FAILED +MD_DUPLICATE_NAME = _libstorage.MD_DUPLICATE_NAME MDPART_CHANGE_READONLY = _libstorage.MDPART_CHANGE_READONLY MDPART_INTERNAL_ERR = _libstorage.MDPART_INTERNAL_ERR MDPART_INVALID_VOLUME = _libstorage.MDPART_INVALID_VOLUME diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.24.4/storage/LvmVg.cc new/libstorage-2.24.5/storage/LvmVg.cc --- old/libstorage-2.24.4/storage/LvmVg.cc 2013-08-12 15:16:51.0 +0200 +++ new/libstorage-2.24.5/storage/LvmVg.cc 2013-09-23 13:21:50.0 +0200 @@ -974,7 +974,7 @@ LvmLvPair p=lvmLvPair(lvDeleted); for( LvmLvIter i=p.begin(); i!=p.end(); ++i ) { - cout Deleted: *i endl; + //cout Deleted: *i endl; if( !i-isThin() ) { mapstring,unsigned long pe_map = i-getPeMap(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.24.4/storage/Md.cc new/libstorage-2.24.5/storage/Md.cc --- old/libstorage-2.24.4/storage/Md.cc 2013-08-12 15:16:51.0 +0200 +++ new/libstorage-2.24.5/storage/Md.cc 2013-09-25 17:06:50.0 +0200 @@ -45,12 +45,18 @@ : Volume(c, name, device), md_type(Type), md_parity(PAR_DEFAULT), chunk_k(0), sb_ver(01.00.00), destrSb(false), devs(devices), spare(spares), has_container(false), inactive(false) { - y2deb(constructed Md dev on cont-device()); + y2mil(constructed Md dev on cont-device()); assert(c.type() == MD); - numeric = true; - mdStringNum(name, num); + numeric = !boost::starts_with( device, /dev/md/ ); + if( !numeric ) + { + nm = device.substr(8); + num = 0; + } + else + mdStringNum(name, num); getStorage()-addUsedBy(devs, UB_MD, dev); getStorage()-addUsedBy(spares, UB_MD, dev); @@ -63,7 +69,7 @@ : Volume(c, name, device, systeminfo), md_type(RAID_UNK), md_parity(PAR_DEFAULT), chunk_k(0), sb_ver(01.00.00), destrSb(false), has_container(false), inactive(false) { - y2deb(constructed Md device on cont-device()); + y2mil(constructed Md device on cont-device()); assert(c.type() == MD); @@ -120,6 +126,14 @@ { md_uuid = details.uuid; md_name = details.devname; + if( !md_name.empty() ) + { + numeric=false; + nm = md_name; + dev = /dev/md/+md_name; + alt_names.remove(dev); +