update to 2.1.1 [release 2.1.1-1mamba;Sat Nov 26 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 18:17:44 +01:00
parent f2b490584c
commit bea5cccf19

View File

@ -1,24 +1,22 @@
Name: sysfsutils
Version: 2.1.0
Release: 5mamba
Version: 2.1.1
Release: 1mamba
Summary: System utilities based on sysfs
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://linux-diag.sourceforge.net/Sysfsutils.html
Source: http://downloads.sourceforge.net/sourceforge/linux-diag/sysfsutils-%{version}.tar.gz
Source1: http://downloads.sourceforge.net/sourceforge/linux-diag/sysfsutils-1.3.0.tar.gz
URL: https://linux-diag.sourceforge.net/Sysfsutils.html
Source: https://github.com/linux-ras/sysfsutils.git/v%{version}/sysfsutils-%{version}.tar.bz2
#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
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
## AUTOBUILDREQ-END
Provides: sysfs
Obsoletes: sysfs
Obsoletes: sysfs < 2.1.1
Requires: libsysfs = %{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A consistant and stable interface for querying system device information exposed through sysfs.
@ -26,7 +24,7 @@ A consistant and stable interface for querying system device information exposed
%package -n libsysfs
Group: System/Libraries
Summary: System library for accessing sysfs
Obsoletes: libsysfs1
Obsoletes: libsysfs1 < 2.1.1
%description -n libsysfs
A consistant and stable interface for querying system device information exposed through sysfs.
@ -39,14 +37,15 @@ Requires: libsysfs = %{version}-%{release}
%description -n libsysfs-devel
A consistant and stable interface for querying system device information exposed through sysfs.
This package contains static libraries and header files need for development.
This package contains static libraries and header files needed for development.
%debug_package
%prep
%setup -q -a1
%patch0 -p1
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
%setup -q
#%patch0 -p1
#sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
./autogen
%build
%configure
@ -64,27 +63,26 @@ sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
%files
%defattr(-,root,root)
%{_bindir}/dlist_test
%{_bindir}/get_device
%{_bindir}/get_driver
%{_bindir}/get_module
%{_bindir}/systool
%{_mandir}/man1/systool.*
%{_mandir}/man1/systool.1*
%files -n libsysfs
%defattr(-,root,root)
%{_libdir}/libsysfs.so.*
%doc AUTHORS COPYING
%doc AUTHORS COPYING CREDITS
%files -n libsysfs-devel
%defattr(-,root,root)
%{_includedir}/sysfs/*.h
%{_libdir}/libsysfs.a
%{_libdir}/libsysfs.la
%{_libdir}/libsysfs.so
%doc CREDITS ChangeLog INSTALL NEWS README TODO
%{_libdir}/pkgconfig/libsysfs.pc
%doc README TODO
%changelog
* Sat Nov 26 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.1-1mamba
- update to 2.1.1
* Mon Nov 30 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0-5mamba
- added debug package and build fix for aarch64