rebuilt with python3 == 3.11 [release 2.4.3-2mamba;Mon Oct 16 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 05:47:49 +01:00
parent 23ef37f7a3
commit df5cf0c6f2

View File

@ -1,23 +1,20 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: libsmbios
Version: 2.4.3
Release: 1mamba
Release: 2mamba
Summary: A library aimed at providing access to as much BIOS information as possible
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://linux.dell.com/libsmbios
URL: https://linux.dell.com/libsmbios/
Source: https://github.com/dell/libsmbios.git/v%{version}/libsmbios-%{version}.tar.bz2
#Source: http://linux.dell.com/libsmbios/download/libsmbios/libsmbios-%{version}/libsmbios-%{version}.tar.gz
License: GPL, Open Software License
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libpython-devel
BuildRequires: libstdc++6-devel
BuildRequires: libpython311-devel
## AUTOBUILDREQ-END
BuildRequires: libpython3-devel >= 3.11
BuildRequires: libcppunit-devel
BuildRequires: libxerces-c-devel
@ -34,17 +31,19 @@ smbios provides a library aimed at accessing to as much BIOS information as poss
%package devel
Summary: Devel package for libsmbios
Group: Development/Libraries
Requires: %{name} = %{version}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
smbios provides a library aimed at accessing to as much BIOS information as possible.
This package contains the static libraries and headers needed for development.
%debug_package
%prep
%setup -q
./autogen.sh
%build
./autogen.sh
%configure
%make
@ -90,13 +89,15 @@ cp -a src/include/* %{buildroot}%{_includedir}
#%{_libdir}/libsmbios.la
#%{_libdir}/libsmbios.so
%{_libdir}/libsmbios_c.a
%{_libdir}/libsmbios_c.la
%{_libdir}/libsmbios_c.so
%{_libdir}/pkgconfig/libsmbios_c.pc
#%{_libdir}/pkgconfig/libsmbios_c++.pc
#%doc ChangeLog NEWS README TODO
%changelog
* Mon Oct 16 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.3-2mamba
- rebuilt with python3 == 3.11
* Sat Feb 08 2020 Automatic Build System <autodist@mambasoft.it> 2.4.3-1mamba
- automatic version update by autodist