commit 17cf0096c5b580d8bfd72cc00f71ab36235c17a9
Author: Jakub Bogusz <[email protected]>
Date:   Sun Dec 3 09:10:32 2023 +0100

    - cleaned up cmake options to build with proper flags and debuginfo; 
release 3

 yajl.spec | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/yajl.spec b/yajl.spec
index 9c6b2b1..1d22c8d 100644
--- a/yajl.spec
+++ b/yajl.spec
@@ -6,7 +6,7 @@ Summary:        Yet Another JSON Library
 Summary(pl.UTF-8):     Yet Another JSON Library - jeszcze jedna biblioteka JSON
 Name:          yajl
 Version:       2.1.0
-Release:       2
+Release:       3
 License:       BSD
 Group:         Libraries
 Source0:       
https://github.com/lloyd/yajl/archive/%{version}/%{name}-%{version}.tar.gz
@@ -16,8 +16,6 @@ URL:          http://lloyd.github.io/yajl/
 BuildRequires: cmake >= 2.6
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _debugsource_packages   0
-
 %description
 YAJL (Yet Another JSON Library) is a JSON parsing library written in
 C.
@@ -66,17 +64,14 @@ install -d build
 cd build
 
 %cmake .. \
-       -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-       -DLIB_INSTALL_DIR=%{_libdir} \
-       -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
-       -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" \
-       -DCMAKE_VERBOSE_MAKEFILE=ON
+       -DLIB_INSTALL_DIR=%{_libdir}
 
 %{__make}
 %{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 %{__make} -C build install \
        DESTDIR=$RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/yajl.git/commitdiff/17cf0096c5b580d8bfd72cc00f71ab36235c17a9

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to