[packages/libhif] - make off64_t visible to rpm5 headers - rel 2

baggins baggins at pld-linux.org
Fri Dec 6 00:25:39 CET 2019


commit e2d883eaf0681f1d16a0805ed72dac5b723341a9
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Dec 6 00:25:09 2019 +0100

    - make off64_t visible to rpm5 headers
    - rel 2

 libhif.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/libhif.spec b/libhif.spec
index 0c561dd..4d1b272 100644
--- a/libhif.spec
+++ b/libhif.spec
@@ -2,7 +2,7 @@ Summary:	Simple package library built on top of hawkey and librepo
 Summary(pl.UTF-8):	Prosta biblioteka obsługi pakietów oparta na bibliotekach hawkey i librepo
 Name:		libhif
 Version:	0.2.3
-Release:	1
+Release:	2
 License:	LGPL v2.1+
 Group:		Libraries
 Source0:	https://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
@@ -79,6 +79,7 @@ Dokumentacja API biblioteki libhif.
 %patch0 -p1
 
 %build
+export CFLAGS="%{rpmcflags} -D_GNU_SOURCE"
 %configure \
 	--disable-silent-rules \
 	--with-html-dir=%{_gtkdocdir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libhif.git/commitdiff/e2d883eaf0681f1d16a0805ed72dac5b723341a9



More information about the pld-cvs-commit mailing list