From 79756358932ca0bf7be4cdb798b019ebea0efd1b Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Feb 18 2014 09:45:01 +0000 Subject: import acpid-2.0.19-5.el7.src.rpm --- diff --git a/SPECS/acpid.spec b/SPECS/acpid.spec index fc24d09..7a176ab 100644 --- a/SPECS/acpid.spec +++ b/SPECS/acpid.spec @@ -1,7 +1,7 @@ Summary: ACPI Event Daemon Name: acpid Version: 2.0.19 -Release: 1%{?dist} +Release: 5%{?dist} License: GPLv2+ Group: System Environment/Daemons Source: http://downloads.sourceforge.net/acpid2/%{name}-%{version}.tar.xz @@ -12,8 +12,9 @@ Source4: acpid.power.sh Source5: acpid.service Source6: acpid.sysconfig BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -ExclusiveArch: ia64 x86_64 %{ix86} +ExclusiveArch: ia64 x86_64 %{ix86} aarch64 URL: http://sourceforge.net/projects/acpid2/ +BuildRequires: systemd Requires(post): /sbin/chkconfig Requires(preun): /sbin/chkconfig Requires: systemd @@ -47,14 +48,14 @@ make install DESTDIR=%{buildroot} docdir=%{_docdir}/%{name}-%{version} mkdir -p %{buildroot}%{_sysconfdir}/acpi/events mkdir -p %{buildroot}%{_sysconfdir}/acpi/actions -mkdir -p %{buildroot}/lib/systemd/system +mkdir -p %{buildroot}%{_unitdir} mkdir -p %{buildroot}%{_sysconfdir}/sysconfig chmod 755 %{buildroot}%{_sysconfdir}/acpi/events install -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/acpi/events/videoconf install -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/acpi/events/powerconf install -m 755 %{SOURCE4} %{buildroot}%{_sysconfdir}/acpi/actions/power.sh -install -m 644 %{SOURCE5} %{buildroot}/lib/systemd/system +install -m 644 %{SOURCE5} %{buildroot}%{_unitdir} install -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/sysconfig/acpid mkdir -p %{buildroot}%{_sysconfdir}/rc.d/init.d @@ -68,7 +69,7 @@ rm -rf %{buildroot} %files %defattr(-,root,root) %doc %{_docdir}/%{name}-%{version} -/lib/systemd/system/%{name}.service +%{_unitdir}/%{name}.service %dir %{_sysconfdir}/acpi %dir %{_sysconfdir}/acpi/events %dir %{_sysconfdir}/acpi/actions @@ -116,6 +117,22 @@ fi %changelog +* Tue Feb 18 2014 Jaroslav Škarvada - 2.0.19-5 +- Used unitdir macro instead of the hardcoded systemd paths + Related: rhbz#1057268 +- Fixed bogus date in changelog (best effort) + +* Mon Feb 17 2014 Jaroslav Škarvada - 2.0.19-4 +- Fixed systemd requires + Resolves: rhbz#1057268 + +* Tue Feb 04 2014 Jan Grulich - 2.0.19-3 +- Add aarch64 to ExclusiveArch +- Resolves: rhbz#1055717 + +* Fri Dec 27 2013 Daniel Mach - 2.0.19-2 +- Mass rebuild 2013-12-27 + * Tue May 28 2013 Jaroslav Škarvada - 2.0.19-1 - New version @@ -268,7 +285,7 @@ fi - Fixed socket leak (#394431) - Fixed dumping useless info to log (#389581) -* Thu Oct 23 2007 Zdenek Prikryl - 1.0.6-3.fc9 +* Tue Oct 23 2007 Zdenek Prikryl - 1.0.6-3.fc9 - Silent initscript - Resolves: #345611