Hello community, here is the log from the commit of package suspend for openSUSE:Factory checked in at 2015-03-16 06:58:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/suspend (Old) and /work/SRC/openSUSE:Factory/.suspend.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "suspend" Changes: -------- --- /work/SRC/openSUSE:Factory/suspend/suspend.changes 2015-02-27 11:07:55.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.suspend.new/suspend.changes 2015-03-16 06:58:17.000000000 +0100 @@ -1,0 +2,5 @@ +Wed Mar 11 14:35:10 UTC 2015 - bwiedem...@suse.com + +- use initrd macros to not run on each package update (bnc#881780) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ suspend.spec ++++++ --- /var/tmp/diff_new_pack.48gARZ/_old 2015-03-16 06:58:18.000000000 +0100 +++ /var/tmp/diff_new_pack.48gARZ/_new 2015-03-16 06:58:18.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package suspend # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2013 B1 Systems GmbH, Vohburg, Germany # # All modifications and additions to the file contributed by third parties @@ -30,6 +30,7 @@ BuildRequires: libtool BuildRequires: pciutils-devel BuildRequires: pkgconfig +BuildRequires: suse-module-tools %if 0%{?mandriva_version} BuildRequires: liblzo-devel %else @@ -153,10 +154,8 @@ fi if [ "$YAST_IS_RUNNING" != "instsys" -a \ ! -e /.buildenv -a \ - -x /sbin/update-bootloader -a \ - -x /sbin/mkinitrd ]; then - /sbin/mkinitrd - /sbin/update-bootloader --refresh + -x /sbin/update-bootloader ]; then + %{?regenerate_initrd_post} fi %if 0%{?suse_version} > 1310 if [ "`grep "^[[:blank:]]*encrypt[[:blank:]]*=[[:blank:]]*y" /etc/suspend.conf`" ]; then @@ -170,6 +169,9 @@ fi %endif +%posttrans +%{?regenerate_initrd_posttrans} + %postun if [ -e /var/lib/no_initrd_recreation_by_suspend ]; then echo "Skipping recreation of existing initial ramdisks, due" -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org