[packages/libdnf] - make rpmio.h happy - rel 4

baggins baggins at pld-linux.org
Sat Nov 2 21:25:26 CET 2019


commit 0c360926cc164a9d4389cbb80948f20f10f80aa2
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Nov 2 21:23:52 2019 +0100

    - make rpmio.h happy
    - rel 4

 libdnf.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/libdnf.spec b/libdnf.spec
index c4e1f0c..3438af4 100644
--- a/libdnf.spec
+++ b/libdnf.spec
@@ -8,7 +8,7 @@ Summary:	Library providing simplified C and Python API to libsolv
 Summary(pl.UTF-8):	Biblioteka zapewniająca uproszczone API C i Pythona do libsolv
 Name:		libdnf
 Version:	0.11.1
-Release:	3
+Release:	4
 License:	LGPL v2.1+
 Group:		Libraries
 #Source0Download: https://github.com/rpm-software-management/libdnf/releases
@@ -141,6 +141,7 @@ Dokumentacja API modułu Pythona hawkey.
 %patch0 -p1
 
 %build
+export CFLAGS="%{rpmcflags} -D_GNU_SOURCE}"
 install -d build %{?with_python3:build-py3}
 cd build
 %cmake .. \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libdnf.git/commitdiff/0c360926cc164a9d4389cbb80948f20f10f80aa2



More information about the pld-cvs-commit mailing list