[packages/libsmbios] - updated to 2.3.3 - removed obsolete gcc patch - libsmbios cxx library is deprecated, but keep it f
qboosh
qboosh at pld-linux.org
Tue Nov 21 21:24:48 CET 2017
commit 0f62aff79feb770741a499d8bb3aaaff4b341b96
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Nov 21 21:25:47 2017 +0100
- updated to 2.3.3
- removed obsolete gcc patch
- libsmbios cxx library is deprecated, but keep it for now
libsmbios-gcc.patch | 11 -----------
libsmbios.spec | 13 ++++++-------
2 files changed, 6 insertions(+), 18 deletions(-)
---
diff --git a/libsmbios.spec b/libsmbios.spec
index bc25e09..cc954e5 100644
--- a/libsmbios.spec
+++ b/libsmbios.spec
@@ -1,16 +1,15 @@
Summary: Open BIOS parsing library
Summary(pl.UTF-8): Biblioteka analizująca Open BIOS
Name: libsmbios
-Version: 2.3.2
-Release: 2
+Version: 2.3.3
+Release: 1
License: OSL v2.1 or GPL v2+
Group: Libraries
#Source0Download: https://github.com/dell/libsmbios/releases
Source0: https://github.com/dell/libsmbios/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: b91d51b7c4d2257cdcde0f7f5e2b55db
+# Source0-md5: 8abcce9e2024b9ff393db7d1fdcc3989
Patch0: %{name}-sh.patch
Patch1: %{name}-link.patch
-Patch2: %{name}-gcc.patch
URL: https://github.com/dell/libsmbios
BuildRequires: autoconf >= 2.61
BuildRequires: automake >= 1.6
@@ -124,7 +123,6 @@ firmy Dell.
%setup -q
%patch0 -p1
%patch1 -p1
-%patch2 -p1
# prepare to re-gettextize
%{__sed} -i -e '/AC_CONFIG_FILES(\[po\/Makefile\.in\])/d' configure.ac
@@ -137,7 +135,8 @@ firmy Dell.
%{__autoheader}
%{__automake}
CPPFLAGS="%{rpmcppflags} -DLIBSMBIOS_ASSERT_CONFIG=1"
-%configure
+%configure \
+ --enable-libsmbios_cxx
%{__make}
%install
@@ -165,7 +164,7 @@ rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc COPYING COPYING-OSL NEWS README TODO
+%doc COPYING COPYING-OSL NEWS README.md TODO
%attr(755,root,root) %{_libdir}/libsmbios.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libsmbios.so.2
%attr(755,root,root) %{_libdir}/libsmbios_c.so.*.*.*
diff --git a/libsmbios-gcc.patch b/libsmbios-gcc.patch
deleted file mode 100644
index e34b278..0000000
--- a/libsmbios-gcc.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- libsmbios-2.3.2/src/include/smbios/config/compiler/gcc.hpp.orig 2016-08-23 20:47:22.000000000 +0200
-+++ libsmbios-2.3.2/src/include/smbios/config/compiler/gcc.hpp 2017-03-05 07:28:34.080882550 +0100
-@@ -113,7 +113,7 @@
- # error "Compiler too old. GCC > 3.0 required"
- #endif
- //
--#if (__GNUC__ > 5)
-+#if (__GNUC__ > 6)
- # if defined(LIBSMBIOS_ASSERT_CONFIG)
- # error "Unknown compiler version - please run the configure tests and report the results"
- # else
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libsmbios.git/commitdiff/0f62aff79feb770741a499d8bb3aaaff4b341b96
More information about the pld-cvs-commit
mailing list