Hello community,

here is the log from the commit of package device-mapper for openSUSE:Factory 
checked in at 2014-07-19 08:16:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/device-mapper (Old)
 and      /work/SRC/openSUSE:Factory/.device-mapper.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "device-mapper"

Changes:
--------
--- /work/SRC/openSUSE:Factory/device-mapper/device-mapper.changes      
2014-05-27 07:09:13.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.device-mapper.new/device-mapper.changes 
2014-07-19 08:16:22.000000000 +0200
@@ -1,0 +2,23 @@
+Mon Jul 14 09:38:05 UTC 2014 - [email protected]
+
+- bnc#885999, device-mapper %posttrans script, unary operator expected 
+
+-------------------------------------------------------------------
+Thu Jul  3 08:11:40 UTC 2014 - [email protected]
+
+- use rpm macros to only trigger one initrd rebuild per install/update
+  remove mkinitrd* 
+
+-------------------------------------------------------------------
+Tue Jul  1 07:02:04 UTC 2014 - [email protected]
+
+- bnc#884489, remove unreferenced boot.device-mapper
+-------------------------------------------------------------------
+Sat Jun 21 00:21:27 UTC 2014 - [email protected]
+
+- Build succeeds with as-needed nowadays, remove SUSE_ASNEEDED 
+  hack from the spec file.
+- package needs explicit libsepol-devel buildrequires, currently
+  libselinux-devel pulls it as a dependency, but that is wrong.
+
+-------------------------------------------------------------------

Old:
----
  boot.device-mapper
  mkinitrd-devmapper-boot.sh
  mkinitrd-devmapper-setup.sh

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

Other differences:
------------------
++++++ device-mapper.spec ++++++
--- /var/tmp/diff_new_pack.gh24ZL/_old  2014-07-19 08:16:23.000000000 +0200
+++ /var/tmp/diff_new_pack.gh24ZL/_new  2014-07-19 08:16:23.000000000 +0200
@@ -29,8 +29,6 @@
 Group:          System/Base
 Source:         ftp://sources.redhat.com/pub/lvm2/LVM2.2.02.98.tgz
 Source42:       ftp://sources.redhat.com/pub/lvm2/LVM2.2.02.98.tgz.asc
-Source2:        mkinitrd-devmapper-setup.sh
-Source3:        mkinitrd-devmapper-boot.sh
 Source50:       thin-provisioning-tools-v0.2.4.tar.gz
 Source99:       baselibs.conf
 Patch1:         %{name}-dmsetup-export.patch
@@ -57,7 +55,9 @@
 BuildRequires:  gcc-c++
 BuildRequires:  libexpat-devel
 BuildRequires:  libselinux-devel
+BuildRequires:  libsepol-devel
 BuildRequires:  libstdc++-devel
+BuildRequires:  suse-module-tools
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  pkgconfig(libudev)
 Requires:       expat
@@ -115,7 +115,6 @@
             --with-default-dm-run-dir=/run --with-default-run-dir=/run/lvm \
             --with-default-locking-dir=/run/lock/lvm
 
-export SUSE_ASNEEDED=0
 make -j1 device-mapper # symlinks are generated in parallel! %{?_smp_mflags}
 sed s/1.03.01/%{version}/g < VERSION_DM > VERSION_DM.new
 mv VERSION_DM.new VERSION_DM
@@ -141,9 +140,6 @@
 install -d  $RPM_BUILD_ROOT%{_unitdir}
 install -m 0644 scripts/dm_event_systemd_red_hat.socket 
$RPM_BUILD_ROOT%{_unitdir}/dm-event.socket
 install -m 0644 scripts/dm_event_systemd_red_hat.service 
$RPM_BUILD_ROOT%{_unitdir}/dm-event.service
-install -d $RPM_BUILD_ROOT/lib/mkinitrd/scripts
-install -m 755 %{SOURCE2} $RPM_BUILD_ROOT/lib/mkinitrd/scripts/setup-dm.sh
-install -m 755 %{SOURCE3} $RPM_BUILD_ROOT/lib/mkinitrd/scripts/boot-dm.sh
 [ %_libdir != "/usr/lib" ] && mv $RPM_BUILD_ROOT/usr/lib/libdevmapper.so 
$RPM_BUILD_ROOT/%_libdir/libdevmapper.so
 [ %_libdir != "/usr/lib" ] && mv $RPM_BUILD_ROOT/usr/lib/libdevmapper-event.so 
$RPM_BUILD_ROOT/%_libdir/libdevmapper-event.so
 [ %_libdir != "/usr/lib" ] && mv $RPM_BUILD_ROOT/usr/lib/libdevmapper.a 
$RPM_BUILD_ROOT/%_libdir/libdevmapper.a
@@ -154,9 +150,12 @@
 popd
 
 %post
-[ -x /sbin/mkinitrd ] && /sbin/mkinitrd
 %service_add_post dm-event.service dm-event.socket
 /sbin/ldconfig
+%{?regenerate_initrd_post}
+
+%posttrans
+%{?regenerate_initrd_posttrans}
 
 %pre
 %service_add_pre dm-event.service dm-event.socket
@@ -165,7 +164,6 @@
 %service_del_preun dm-event.service dm-event.socket
 
 %postun
-[ -x /sbin/mkinitrd ] && /sbin/mkinitrd
 %service_del_postun dm-event.service dm-event.socket
 /sbin/ldconfig
 
@@ -193,10 +191,6 @@
 %{_mandir}/man8/thin_metadata_size.8.gz
 %{_mandir}/man8/thin_repair.8.gz
 %{_mandir}/man8/thin_rmap.8.gz
-%dir /lib/mkinitrd
-%dir /lib/mkinitrd/scripts
-/lib/mkinitrd/scripts/setup-dm.sh
-/lib/mkinitrd/scripts/boot-dm.sh
 %{_udevrulesdir}/10-dm.rules
 %{_udevrulesdir}/13-dm-disk.rules
 %{_udevrulesdir}/95-dm-notify.rules


-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to