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.000000000 +0200 +++ /work/SRC/openSUSE:13.1/.libstorage.new/libstorage.changes 2013-10-29 10:17:30.000000000 +0100 @@ -1,0 +2,11 @@ +Tue Oct 15 10:23:49 CEST 2013 - aschnell@suse.de + +- fixed calculation of free physical extents (bnc#844534) +- version 2.24.7 + +------------------------------------------------------------------- +Fri Oct 11 14:26:18 CEST 2013 - aschnell@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.000000000 +0100 +++ /var/tmp/diff_new_pack.858YMY/_new 2013-10-29 10:17:30.000000000 +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.000000000 +0200 +++ new/libstorage-2.24.7/VERSION 2013-10-23 14:15:36.000000000 +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.000000000 +0200 +++ new/libstorage-2.24.7/storage/Disk.cc 2013-10-10 17:54:17.000000000 +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.000000000 +0200 +++ new/libstorage-2.24.7/storage/DmPartCo.cc 2013-10-10 17:54:17.000000000 +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( num>0 ) { - ret += "_part"; + ret += "-part"; ret += decString(num); } y2mil( "num:" << num << " ret:" << ret ); @@ -486,7 +486,7 @@ string ret = dev; if( num>0 ) { - 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.000000000 +0200 +++ new/libstorage-2.24.7/storage/DmraidCo.cc 2013-10-10 17:54:17.000000000 +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.000000000 +0200 +++ new/libstorage-2.24.7/storage/LvmVg.cc 2013-10-15 10:27:56.000000000 +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 '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.24.6/storage/gen_md5sum.cc new/libstorage-2.24.7/storage/gen_md5sum.cc --- old/libstorage-2.24.6/storage/gen_md5sum.cc 2013-10-08 14:03:37.000000000 +0200 +++ new/libstorage-2.24.7/storage/gen_md5sum.cc 2013-10-15 10:29:14.000000000 +0200 @@ -1,5 +1,5 @@ -#define SOURCES_MD5SUM "8fc92097a695b3ea52572b4233dc2390" -#define SOURCES_MD5_DATE " Tue 8 Oct 14:03:37 CEST 2013 " +#define SOURCES_MD5SUM "d68e4c3e668101155b722f71e45374f2" +#define SOURCES_MD5_DATE " Tue 15 Oct 10:29:14 CEST 2013 " namespace storage { const char* GetSourceMd5() { return SOURCES_MD5SUM; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.24.6/testsuite/partitionprefix.cc new/libstorage-2.24.7/testsuite/partitionprefix.cc --- old/libstorage-2.24.6/testsuite/partitionprefix.cc 2013-09-30 17:01:55.000000000 +0200 +++ new/libstorage-2.24.7/testsuite/partitionprefix.cc 2013-10-10 17:54:17.000000000 +0200 @@ -22,7 +22,7 @@ cout << s->getPartitionPrefix("/dev/mmcblk0") << endl; cout << s->getPartitionPrefix("/dev/mmcblk0p3") << endl; cout << s->getPartitionPrefix("/dev/mapper/isw_cfcjajfdfh_test") << endl; - cout << s->getPartitionPrefix("/dev/mapper/isw_cfcjajfdfh_test_part4") << endl; + cout << s->getPartitionPrefix("/dev/mapper/isw_cfcjajfdfh_test-part4") << endl; delete s; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.24.6/testsuite/single.out/partitionname.out new/libstorage-2.24.7/testsuite/single.out/partitionname.out --- old/libstorage-2.24.6/testsuite/single.out/partitionname.out 2013-09-30 17:01:55.000000000 +0200 +++ new/libstorage-2.24.7/testsuite/single.out/partitionname.out 2013-10-10 17:54:17.000000000 +0200 @@ -1,5 +1,5 @@ /dev/sda1 /dev/cciss/c0d1p2 /dev/mmcblk0p3 -/dev/mapper/isw_cfcjajfdfh_test_part4 +/dev/mapper/isw_cfcjajfdfh_test-part4 /dev/md2p5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libstorage-2.24.6/testsuite/single.out/partitionprefix.out new/libstorage-2.24.7/testsuite/single.out/partitionprefix.out --- old/libstorage-2.24.6/testsuite/single.out/partitionprefix.out 2013-09-30 17:01:55.000000000 +0200 +++ new/libstorage-2.24.7/testsuite/single.out/partitionprefix.out 2013-10-10 17:54:17.000000000 +0200 @@ -4,5 +4,5 @@ p p p -_part -_part +-part +-part -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org