[packages/createrepo_c] - pass _GNU_SOURCE for off64_t - release 4
adamg
adamg at pld-linux.org
Sun Sep 23 17:03:09 CEST 2018
commit 9d9a1a813eeea0c7ecd98af59a57e61683d86d08
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date: Sun Sep 23 17:02:34 2018 +0200
- pass _GNU_SOURCE for off64_t
- release 4
createrepo_c.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/createrepo_c.spec b/createrepo_c.spec
index d844451..98bf0cf 100644
--- a/createrepo_c.spec
+++ b/createrepo_c.spec
@@ -10,7 +10,7 @@ Summary: Creates a common metadata repository
Summary(pl.UTF-8): Tworzenie wspólnego repozytorium metadanych
Name: createrepo_c
Version: 0.10.0
-Release: 3
+Release: 4
License: GPL v2+
Group: Applications/System
#Source0Download: https://github.com/rpm-software-management/createrepo_c/releases
@@ -155,6 +155,7 @@ mergerepo_c, modifyrepo_c).
install -d build %{?with_python3:build-py3}
cd build
+CFLAGS="%{rpmcflags} -D_GNU_SOURCE=1"
%cmake .. \
-DBASHCOMP_DIR=%{bash_compdir}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/createrepo_c.git/commitdiff/9d9a1a813eeea0c7ecd98af59a57e61683d86d08
More information about the pld-cvs-commit
mailing list