[packages/cereal] - updated to 1.3.2; no longer noarch due to cmake configs path
qboosh
qboosh at pld-linux.org
Sat Mar 9 17:28:27 CET 2024
commit e931569b19d27e854fb389acdbb70a87ded98e1c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Mar 9 16:57:45 2024 +0100
- updated to 1.3.2; no longer noarch due to cmake configs path
cereal.spec | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
---
diff --git a/cereal.spec b/cereal.spec
index 7218425..0c0380b 100644
--- a/cereal.spec
+++ b/cereal.spec
@@ -5,19 +5,20 @@
Summary: A header-only C++11 serialization library
Summary(pl.UTF-8): Składająca się z samych nagłówków biblioteka C++11 do serializacji
Name: cereal
-Version: 1.3.0
+Version: 1.3.2
Release: 1
License: BSD
Group: Libraries
-Source0: https://github.com/USCiLab/cereal/archive/v%{version}.tar.gz
-# Source0-md5: 4342e811f245403646c4175258f413f1
+Source0: https://github.com/USCiLab/cereal/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: ab6070fadc7c50072ef4153fb1c46a87
URL: http://uscilab.github.io/cereal/
BuildRequires: boost-devel
-BuildRequires: cmake >= 3.0
+BuildRequires: cmake >= 3.6
BuildRequires: libstdc++-devel >= 6:4.7
-BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define _enable_debug_packages 0
+
%description
cereal is a header-only C++11 serialization library. cereal takes
arbitrary data types and reversibly turns them into different
@@ -61,10 +62,10 @@ dołączona do innego kodu lub używana samodzielnie.
%build
install -d build
cd build
-%cmake \
+%cmake .. \
-DSKIP_PORTABILITY_TEST=ON \
- -DWITH_WERROR=OFF \
- ..
+ -DWITH_WERROR=OFF
+
%{__make}
%{?with_tests:%{__make} test}
@@ -81,5 +82,5 @@ rm -rf $RPM_BUILD_ROOT
%files devel
%defattr(644,root,root,755)
%doc README.md
-%{_includedir}/%{name}
-%{_datadir}/cmake/%{name}
+%{_includedir}/cereal
+%{_libdir}/cmake/cereal
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cereal.git/commitdiff/e931569b19d27e854fb389acdbb70a87ded98e1c
More information about the pld-cvs-commit
mailing list