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