- Disable _service and run manually

OBS-URL: https://build.opensuse.org/package/show/hardware/rasdaemon?expand=0&rev=2
This commit is contained in:
Fabian Vogt 2015-11-06 10:29:01 +00:00 committed by Git OBS Bridge
parent f962fdd06b
commit 296203b030
5 changed files with 11 additions and 98 deletions

View File

@ -1,14 +1,14 @@
<services>
<service name="tar_scm">
<service name="tar_scm" mode="disabled">
<param name="url">https://git.fedorahosted.org/git/rasdaemon.git</param>
<param name="scm">git</param>
<param name="filename">rasdaemon</param>
<param name="version">0.5.6</param>
<param name="revision">refs/tags/v0.5.6</param>
</service>
<service name="recompress">
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" />
<service name="set_version" mode="disabled" />
</services>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7d00c2ffcffb63d9d79a541e04477f3c1985a82c98b63e78eda9dd98a390f682
size 94408

View File

@ -1,92 +0,0 @@
#
# spec file for package rasdaemon
#
# Copyright (c) 2015 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: rasdaemon
Version: 0.5.6
Release: 0
Summary: Utility to receive RAS error tracings
License: GPL-2.0
Group: Development/Hardware
Url: https://git.fedorahosted.org/cgit/rasdaemon.git
Source: %{name}-%{version}.tar.xz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc
BuildRequires: gettext-devel
BuildRequires: libtool
BuildRequires: make
BuildRequires: sqlite3-devel
BuildRequires: systemd-rpm-macros
Requires: dmidecode
Requires: perl-dbd-sqlite
Requires(post): systemd
Requires(postun): systemd
Requires(preun): systemd
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
rasdaemon is a RAS (Reliability, Availability and Serviceability) logging tool.
It currently records memory errors, using the EDAC tracing events.
EDAC is drivers in the Linux kernel that handle detection of ECC errors
from memory controllers for most chipsets on i386 and x86_64 architectures.
EDAC drivers for other architectures like arm also exists.
This userspace component consists of an init script which makes sure
EDAC drivers and DIMM labels are loaded at system startup, as well as
an utility for reporting current error counts from the EDAC sysfs files.
%prep
%setup -q
%build
autoreconf -fvi
%configure --enable-mce --enable-aer --enable-sqlite3 --enable-extlog --enable-abrt-report
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
install -D -p -m 0644 misc/rasdaemon.service %{buildroot}%{_unitdir}/rasdaemon.service
ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rcrasdaemon
install -D -p -m 0644 misc/ras-mc-ctl.service %{buildroot}%{_unitdir}/ras-mc-ctl.service
ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rcras-mc-ctl
rm %{buildroot}%{_includedir}/*.h
%pre
%service_add_pre rasdaemon.service ras-mc-ctl.service
%post
%service_add_post rasdaemon.service ras-mc-ctl.service
%preun
%service_del_preun rasdaemon.service ras-mc-ctl.service
%postun
%service_del_postun rasdaemon.service ras-mc-ctl.service
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING README TODO
%{_sbindir}/rasdaemon
%{_sbindir}/ras-mc-ctl
%{_sbindir}/rcrasdaemon
%{_sbindir}/rcras-mc-ctl
%{_mandir}/*/*
%{_unitdir}/*.service
%dir %{_sysconfdir}/ras
%{_sysconfdir}/ras/dimm_labels.d
%changelog

3
rasdaemon-0.5.6.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7de0a10b8fdcd98413704379c35d32c4cfa30cb9fa59d0ea7117210a2e63d8cd
size 93652

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Nov 6 10:28:49 UTC 2015 - fvogt@suse.com
- Disable _service and run manually
-------------------------------------------------------------------
Tue Nov 3 09:36:41 UTC 2015 - fvogt@suse.com