Sophie

Sophie

distrib > Mageia > cauldron > x86_64 > by-pkgid > 9eeaaa23e61f9e81df65492b3748e68c > files > 1

erlang-rpm-macros-0.2.9-5.mga7.src.rpm

diff -up ./macros.erlang.mga ./macros.erlang
--- ./macros.erlang.mga	2018-09-19 20:15:11.046590377 +0300
+++ ./macros.erlang	2018-09-19 20:16:19.647917399 +0300
@@ -10,7 +10,7 @@
 	CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
 	FFLAGS="${FFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" ; export FFLAGS ; \
 	FCFLAGS="${FCFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" ; export FCFLAGS ; \
-	%{?__global_ldflags:LDFLAGS="${LDFLAGS:-%__global_ldflags}" ; export LDFLAGS ;} \
+	LDFLAGS="${LDFLAGS:-%ldflags}" ; export LDFLAGS ; \
 	VSN="%{version}" ; export VSN ; \
 	REBAR_VSN_CACHE_FILE="%{_builddir}/%{buildsubdir}/vsn.cache" ; export REBAR_VSN_CACHE_FILE ; \
 	echo "{{git, \\\"%{_builddir}/%{buildsubdir}\\\"}, \\\"%{version}\\\"}." > %{_builddir}/%{buildsubdir}/vsn.cache ; \
@@ -28,7 +28,7 @@
 	CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
 	FFLAGS="${FFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" ; export FFLAGS ; \
 	FCFLAGS="${FCFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" ; export FCFLAGS ; \
-	%{?__global_ldflags:LDFLAGS="${LDFLAGS:-%__global_ldflags}" ; export LDFLAGS ;} \
+	LDFLAGS="${LDFLAGS:-%ldflags}" ; export LDFLAGS ; \
 	VSN="%{version}" ; export VSN ; \
 	REBAR_VSN_CACHE_FILE="%{_builddir}/%{buildsubdir}/vsn.cache" ; export REBAR_VSN_CACHE_FILE ; \
 	REBAR_DEPS_PREFER_LIBS="TRUE" ; export REBAR_DEPS_PREFER_LIBS ; \
@@ -48,7 +48,7 @@
 	CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
 	FFLAGS="${FFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" ; export FFLAGS ; \
 	FCFLAGS="${FCFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" ; export FCFLAGS ; \
-	%{?__global_ldflags:LDFLAGS="${LDFLAGS:-%__global_ldflags}" ; export LDFLAGS ;} \
+	LDFLAGS="${LDFLAGS:-%ldflags}" ; export LDFLAGS ; \
 	VSN="%{version}" ; export VSN ; \
 	REBAR_VSN_CACHE_FILE="%{_builddir}/%{buildsubdir}/vsn.cache" ; export REBAR_VSN_CACHE_FILE ; \
 	REBAR_DEPS_PREFER_LIBS="TRUE" ; export REBAR_DEPS_PREFER_LIBS ; \