From 97dc89004936ae6980c3b57bb2e7a1db5eb90a29 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 03:48:53 +0100 Subject: [PATCH] rebuilt with debug package [release 0.19-2mamba;Thu Dec 17 2020] --- README.md | 3 +-- libatasmart.spec | 33 +++++++++++++++++++++++++-------- 2 files changed, 26 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index c9c1435..dc4df96 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ # libatasmart -A small and lightweight parser library for ATA S.M.A.R.T. hard disk -health monitoring. +A small and lightweight parser library for ATA S.M.A.R.T. hard disk health monitoring. diff --git a/libatasmart.spec b/libatasmart.spec index 69f6e0c..da760f1 100644 --- a/libatasmart.spec +++ b/libatasmart.spec @@ -1,6 +1,6 @@ Name: libatasmart Version: 0.19 -Release: 1mamba +Release: 2mamba Summary: ATA S.M.A.R.T. Disk Health Monitoring Library Group: System/Libraries Vendor: openmamba @@ -16,13 +16,13 @@ Patch0: libatasmart-uninitialized-var.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: udev-devel +BuildRequires: ldconfig +BuildRequires: libudev-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description -A small and lightweight parser library for ATA S.M.A.R.T. hard disk -health monitoring. +A small and lightweight parser library for ATA S.M.A.R.T. hard disk health monitoring. %package devel Group: Development/Libraries @@ -32,9 +32,17 @@ Requires: vala %description devel ATA S.M.A.R.T. Disk Health Monitoring Library. - This package contains libraries and header files need for development. +%package tools +Group: System/Tools +Summary: Tools provided with %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tools +ATA S.M.A.R.T. Disk Health Monitoring Library. +This package contains the tools provided with %{name}. + %package static Group: Development/Libraries Summary: Static libraries for %{name} @@ -42,12 +50,15 @@ Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release} %description static ATA S.M.A.R.T. Disk Health Monitoring Library. +This package contains static libraries needed for development. -This package contains static libraries need for development. +%debug_package %prep %setup -q +%define _default_patch_fuzz 2 %patch0 -p1 -b .uninitialized-var.patch +sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," build-aux/config.sub %build %configure @@ -66,8 +77,6 @@ rm -rf %{buildroot}%{_docdir}/libatasmart/README %files %defattr(-,root,root) -%{_sbindir}/skdump -%{_sbindir}/sktest %{_libdir}/libatasmart.so.* %doc LGPL README @@ -86,11 +95,19 @@ rm -rf %{buildroot}%{_docdir}/libatasmart/README %doc blob-examples/TOSHIBA* %doc blob-examples/WDC* +%files tools +%defattr(-,root,root) +%{_sbindir}/skdump +%{_sbindir}/sktest + %files static %defattr(-,root,root) %{_libdir}/libatasmart.*a %changelog +* Thu Dec 17 2020 Silvan Calarco 0.19-2mamba +- rebuilt with debug package + * Wed Aug 08 2012 Automatic Build System 0.19-1mamba - update to 0.19