added debug package and build fix for aarch64 [release 2.1.0-5mamba;Mon Nov 30 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 18:17:43 +01:00
parent 806495976b
commit f2b490584c

View File

@ -1,6 +1,6 @@
Name: sysfsutils
Version: 2.1.0
Release: 4mamba
Release: 5mamba
Summary: System utilities based on sysfs
Group: System/Tools
Vendor: openmamba
@ -11,10 +11,15 @@ Source: http://downloads.sourceforge.net/sourceforge/linux-diag/sysfsutil
Source1: http://downloads.sourceforge.net/sourceforge/linux-diag/sysfsutils-1.3.0.tar.gz
Patch0: %{name}-2.1.0-kernel_2.6.25.patch
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
## AUTOBUILDREQ-END
Provides: sysfs
Obsoletes: sysfs
Requires: libsysfs = %{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A consistant and stable interface for querying system device information exposed through sysfs.
@ -36,9 +41,12 @@ Requires: libsysfs = %{version}-%{release}
A consistant and stable interface for querying system device information exposed through sysfs.
This package contains static libraries and header files need for development.
%debug_package
%prep
%setup -q -a1
%patch0 -p1
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
%build
%configure
@ -66,7 +74,7 @@ This package contains static libraries and header files need for development.
%files -n libsysfs
%defattr(-,root,root)
%{_libdir}/libsysfs.so.*
%doc AUTHORS COPYING CREDITS ChangeLog INSTALL NEWS README TODO
%doc AUTHORS COPYING
%files -n libsysfs-devel
%defattr(-,root,root)
@ -74,8 +82,12 @@ This package contains static libraries and header files need for development.
%{_libdir}/libsysfs.a
%{_libdir}/libsysfs.la
%{_libdir}/libsysfs.so
%doc CREDITS ChangeLog INSTALL NEWS README TODO
%changelog
* Mon Nov 30 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0-5mamba
- added debug package and build fix for aarch64
* Mon Jul 15 2013 Automatic Build System <autodist@mambasoft.it> 2.1.0-4mamba
- automatic rebuild by autodist