Hello community,

here is the log from the commit of package hdparm for openSUSE:Factory checked 
in at 2016-08-12 15:37:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hdparm (Old)
 and      /work/SRC/openSUSE:Factory/.hdparm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hdparm"

Changes:
--------
--- /work/SRC/openSUSE:Factory/hdparm/hdparm.changes    2015-06-30 
10:15:15.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.hdparm.new/hdparm.changes       2016-08-12 
15:37:39.000000000 +0200
@@ -1,0 +2,8 @@
+Thu Aug  4 13:44:34 UTC 2016 - [email protected]
+
+- remove 56-idedma.rules and idedma.sh as none of these scripts
+  have any function whatsoever. They rely on the obsolete IDE
+  drivers [bsc#991898] 
+- remove /etc/sysconfig/ide file [bsc#922659]
+
+-------------------------------------------------------------------

Old:
----
  56-idedma.rules
  sysconfig.ide
  udev.idedma.sh

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

Other differences:
------------------
++++++ hdparm.spec ++++++
--- /var/tmp/diff_new_pack.FSi1cc/_old  2016-08-12 15:37:40.000000000 +0200
+++ /var/tmp/diff_new_pack.FSi1cc/_new  2016-08-12 15:37:40.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package hdparm
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -16,8 +16,6 @@
 #
 
 
-%{!?_udevdir: %global _udevdir %(pkg-config --variable=udevdir udev) }
-%{!?_udevrulesdir: %global _udevrulesdir %(pkg-config --variable=udevdir 
udev)/rules.d }
 Name:           hdparm
 Version:        9.48
 Release:        0
@@ -26,16 +24,13 @@
 Group:          Hardware/Other
 Url:            http://sourceforge.net/projects/hdparm/
 Source:         http://downloads.sf.net/hdparm/%{name}-%{version}.tar.gz
-Source1:        56-idedma.rules
-Source2:        sysconfig.ide
-Source3:        udev.idedma.sh
 Patch1:         hdparm-nostrip.patch
 Patch2:         hdparm-wiper-warn.patch
 Patch3:         hdparm-leak-fix.patch
 Patch4:         hdparm-9.43-fix-bashisms.patch
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(udev)
-Requires(post): %fillup_prereq coreutils
+Requires(post): coreutils
 Provides:       base:/sbin/hdparm
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
@@ -59,11 +54,6 @@
 install -d "%{buildroot}/%{_sbindir}"
 %make_install binprefix="%{_prefix}"
 mv contrib/README contrib/README.contrib
-install -d "%{buildroot}/%{_udevrulesdir}"
-install -m 644 %{SOURCE1} "%{buildroot}/%{_udevrulesdir}"
-install -d "%{buildroot}%{_localstatedir}/adm/fillup-templates"
-install -m 644 %{SOURCE2} "%{buildroot}%{_localstatedir}/adm/fillup-templates"
-install -m 755 %{SOURCE3} "%{buildroot}/%{_udevdir}/idedma.sh"
 install -d "%{buildroot}%{_libexecdir}/hdparm"
 install -m 755 contrib/idectl "%{buildroot}%{_libexecdir}/hdparm"
 install -m 755 contrib/ultrabayd "%{buildroot}%{_libexecdir}/hdparm"
@@ -74,49 +64,16 @@
 ln -sf %{_sbindir}/hdparm "%{buildroot}/sbin"
 #EndUsrMerge
 
-%post
-if [ -f etc/sysconfig/hardware ] ; then
-  mv etc/sysconfig/hardware etc/sysconfig/ide
-fi
-%{remove_and_set -n ide DEVICES_FORCE_IDE_DMA_ON DEVICES_FORCE_IDE_DMA_OFF}
-%{fillup_only -n ide}
-# new settings
-NEW_DMA=""
-# convert old settings
-if [ "$DEVICES_FORCE_IDE_DMA_ON" != "" -a "$DEVICES_FORCE_IDE_DMA_ON" != "no" 
] ; then
-  for dev in $DEVICES_FORCE_IDE_DMA_ON; do
-    NEW_DMA="${NEW_DMA:+$NEW_DMA }/dev/$dev:on"
-  done
-fi
-if [ "$DEVICES_FORCE_IDE_DMA_OFF" != "" -a "$DEVICES_FORCE_IDE_DMA_OFF" != 
"no" ] ; then
-  for dev in $DEVICES_FORCE_IDE_DMA_OFF; do
-    NEW_DMA="${NEW_DMA:+$NEW_DMA }/dev/$dev:off"
-  done
-fi
-# update sysconfig file
-if [ "$NEW_DMA" != "" ] ; then
-    echo "Updating etc/sysconfig/ide"
-    # remove old values, update new variable
-    sed -e 
"s|^DEVICES_FORCE_IDE_DMA=\"\\(.*\\)\"|DEVICES_FORCE_IDE_DMA=\"$NEW_DMA \\1\"|" 
\
-        etc/sysconfig/ide > etc/sysconfig/ide.new \
-      && mv etc/sysconfig/ide.new etc/sysconfig/ide
-    rm -f etc/sysconfig/ide.new
-fi
-%{?udev_rules_update:%udev_rules_update}
-
 %files
 %defattr(-,root,root)
 %doc Changelog README.acoustic contrib/README.contrib README.wiper
-%{_mandir}/man8/hdparm.8.gz
+%{_mandir}/man8/hdparm.8%{ext_man}
 #UsrMerge
 /sbin/hdparm
 /sbin/wiper.sh
 #EndUserMerge
 %{_sbindir}/hdparm
 %{_sbindir}/wiper.sh
-%{_udevdir}/idedma.sh
-%{_udevrulesdir}/56-idedma.rules
 %{_libexecdir}/hdparm
-%{_localstatedir}/adm/fillup-templates/sysconfig.ide
 
 %changelog


Reply via email to