aledvink pushed to OpenIPMI (master). "Resolves: #1213987"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Apr 22 12:09:42 UTC 2015


>From 26da34ce0086fe652dc20a674f32f870e9732ad3 Mon Sep 17 00:00:00 2001
From: Ales Ledvinka <aledvink at redhat.com>
Date: Wed, 22 Apr 2015 14:07:48 +0200
Subject: Resolves: #1213987


diff --git a/OpenIPMI.spec b/OpenIPMI.spec
index 3362791..cc9c345 100644
--- a/OpenIPMI.spec
+++ b/OpenIPMI.spec
@@ -3,10 +3,9 @@
 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 Summary: IPMI (Intelligent Platform Management Interface) library and tools
 Name: OpenIPMI
-%global once %{_localstatedir}/run/%{name}/first_installation
 
 Version: 2.0.21
-Release: 6%{?dist}
+Release: 7%{?dist}
 License: LGPLv2+ and GPLv2+ or BSD
 Group: System Environment/Base
 URL: http://sourceforge.net/projects/openipmi/
@@ -14,7 +13,6 @@ Source: http://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz
 Source1: openipmi.sysconf
 Source2: openipmi-helper
 Source3: ipmi.service
-Source4: openipmi.modalias
 BuildRequires: gdbm-devel swig glib2-devel net-snmp-devel ncurses-devel
 BuildRequires: openssl-devel python-devel perl-devel tcl-devel tkinter
 BuildRequires: desktop-file-utils
@@ -45,20 +43,9 @@ The Open IPMI project aims to develop an open code base to allow access to
 platform information using Intelligent Platform Management Interface (IPMI).
 This package contains the tools of the OpenIPMI project.
 
-%package modalias
-Group: System Environment/Kernel
-Summary: Module aliases for IPMI subsystem
-Requires: systemd
-Requires: kmod
-
-%description modalias
-The OpenIPMI-modalias provides configuration file with module aliases
-of ACPI and PNP wildcards.
-
 %package libs
 Group: Development/Libraries
 Summary: The OpenIPMI runtime libraries
-Requires:%{name}-modalias = %{version}-%{release}
 
 %description libs
 The OpenIPMI-libs package contains the runtime libraries for shared binaries
@@ -160,22 +147,6 @@ if test -L ${RPM_BUILD_ROOT}/%{_bindir}/ipmish && ! test -a ${RPM_BUILD_ROOT}/%{
     %{__ln_s} openipmish.1.gz ${RPM_BUILD_ROOT}/%{_mandir}/man1/ipmish.1.gz
 fi
 
-%posttrans modalias
-if [ -f "%{once}" ]; then
-    if /usr/bin/udevadm info --export-db | grep -qie 'acpi:IPI0'; then
-        /sbin/modprobe ipmi_si || :;
-        /sbin/modprobe ipmi_devintf || :;
-        /sbin/modprobe ipmi_msghandler || :;
-        %{__rm} -f %{once} || :;
-        /usr/bin/udevadm settle
-    fi
-fi
-
-%post modalias
-if [ "$1" -eq 1 ]; then
-    /bin/touch %{once}
-fi
-
 %post
 %systemd_post ipmi.service
 
@@ -254,11 +225,10 @@ fi
 %doc %{_mandir}/man5/ipmi_lan.5*
 %doc %{_mandir}/man5/ipmi_sim_cmd.5*
 
-%files modalias
-%config(noreplace) %{_sysconfdir}/modprobe.d/OpenIPMI.conf
-%{_localstatedir}/run/%{name}
-
 %changelog
+* Wed Apr 22 2015 Ales Ledvinka <aledvink at redhat.com> - 2.0.21-7
+- Remove modalias subpackage.
+
 * Tue Aug 26 2014 Jitka Plesnikova <jplesnik at redhat.com> - 2.0.21-6
 - Perl 5.20 rebuild
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/OpenIPMI.git/commit/?h=master&id=26da34ce0086fe652dc20a674f32f870e9732ad3


More information about the scm-commits mailing list