OBS User unknown
2009-04-24 19:23:51 +00:00
committed by Git OBS Bridge
parent bfb8f008a0
commit 9d607f1e32
5 changed files with 39 additions and 28 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for package acpid (Version 1.0.8)
# spec file for package acpid (Version 1.0.10)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -20,8 +20,8 @@
Name: acpid
Url: http://acpid.sourceforge.net/
Version: 1.0.8
Release: 2
Version: 1.0.10
Release: 1
%define acpi_version 0.09
License: GPL v2 or later
Group: System/Daemons
@@ -29,7 +29,6 @@ AutoReqProv: on
PreReq: %insserv_prereq %fillup_prereq
Summary: Executes Actions at ACPI Events
Source: %{name}-%{version}.tar.gz
Patch: %{name}-%{version}.dif
Source1: acpi-%{acpi_version}.tar.bz2
Source2: rcacpid
Source3: README.SuSE
@@ -60,14 +59,12 @@ Authors:
%prep
%setup -b 0 -a 1
%patch -p1
%patch1
pushd acpi-%{acpi_version}
popd
cp %{S:2} %{S:3} %{S:4} %{S:5} %{S:6} %{S:7} %{S:9} .
%build
make EXTRA_CFLAGS="$RPM_OPT_FLAGS -DUSE_SYSLOG"
pushd acpi-%{acpi_version}
ln -sf /usr/share/automake*/install-sh install-sh
./configure
@@ -77,7 +74,7 @@ popd
%install
make install INSTPREFIX=%{buildroot} SBINDIR=%{buildroot}/sbin
install -Dm 744 rcacpid %{buildroot}/etc/init.d/acpid
install -Dm 644 thinkpad_acpi.modprobe %{buildroot}/etc/modprobe.d/thinkpad_acpi.conf
install -Dm 644 thinkpad_acpi.modprobe %{buildroot}/etc/modprobe.d/50-thinkpad_acpi.conf
install -Dm 744 thinkpad_handler %{buildroot}/usr/lib/acpid/thinkpad_handler
install -Dm 744 power_button %{buildroot}/usr/lib/acpid/power_button
mkdir -p %{buildroot}/usr/sbin
@@ -117,7 +114,7 @@ rm -rf %{buildroot}
/etc/acpi/events/power_button
/usr/lib/acpid
/etc/init.d/acpid
/etc/modprobe.d/thinkpad_acpi.conf
/etc/modprobe.d/50-thinkpad_acpi.conf
/usr/sbin/rcacpid
/sbin/acpid
/usr/bin/acpi_listen
@@ -129,8 +126,20 @@ rm -rf %{buildroot}
%ghost %config(noreplace,missingok) %_var/log/acpid
%changelog
* Wed Apr 22 2009 seife@suse.de
- update to version 1.0.10
- Add a -C (--clientmax) command line flag to set max number of
non-root socket connections.
- Set the maximum number of socket clients to 256 by default.
- Close clients that have disconnected.
- Give up and exit() if 5 accept() calls fail in a row.
- Open /dev/null O_RDWR, rather than O_RDONLY.
- this fixes bnc#491455
* Wed Apr 15 2009 crrodriguez@suse.de
- fix boot warning about /etc/modprobe.d/thinkpad_acpi
* Mon Mar 09 2009 mmarek@suse.cz
- renamed modprobe config to /etc/modprobe.d/50-thinkpad_acpi.conf
(required by new module-init-tools).
* Wed Feb 04 2009 seife@suse.de
- update to version 1.0.8:
- various code cleanups, enable stricter compiler warnings