OBS User unknown 2007-06-04 22:44:31 +00:00 committed by Git OBS Bridge
parent 92cdf06ede
commit 012c411d60
2 changed files with 17 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jun 4 14:40:12 CEST 2007 - lrupp@suse.de
- clean builddir after build is finished
- own /var/log/acpid (#280469)
-------------------------------------------------------------------
Tue Apr 24 14:27:55 CEST 2007 - trenn@suse.de

View File

@ -13,7 +13,7 @@
Name: acpid
URL: http://acpid.sourceforge.net/
Version: 1.0.4
Release: 68
Release: 77
%define acpi_version 0.09
License: GNU General Public License (GPL)
Group: System/Daemons
@ -72,7 +72,6 @@ make CFLAGS="$RPM_OPT_FLAGS"
popd
%install
[ "%{buildroot}" != "/" ] && [ -d %{buildroot} ] && rm -rf %{buildroot}
make install INSTPREFIX=%{buildroot} SBINDIR=%{buildroot}/sbin
install -Dm 744 rcacpid %{buildroot}/etc/init.d/acpid
install -Dm 644 ibm_acpi.modprobe %{buildroot}/etc/modprobe.d/ibm_acpi
@ -85,6 +84,12 @@ make prefix=%{buildroot}/usr install
install -Dm 644 acpi.1 %{buildroot}/%{_mandir}/man1/acpi.1
popd
mkdir -p %{buildroot}/var/lib/acpi
# keep the logfile
install -dm 755 %buildroot%_var/log
touch %buildroot%_var/log/acpid
%clean
rm -rf %{buildroot}
%post
%{fillup_and_insserv -Y -f acpid}
@ -113,9 +118,13 @@ rm -f -- var/lib/acpi/*
/usr/share/man/man8/acpi_listen.8.gz
/usr/bin/acpi
/usr/share/man/man1/acpi.1.gz
%ghost %config(noreplace,missingok) %_var/log/acpid
%dir %attr(0750, root, root) /var/lib/acpi
%changelog
* Mon Jun 04 2007 - lrupp@suse.de
- clean builddir after build is finished
- own /var/log/acpid (#280469)
* Tue Apr 24 2007 - trenn@suse.de
- compile some more files with rpm_opt flags
- remove/fix: