commit mk-configure for openSUSE:Factory

2024-05-23 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mk-configure for openSUSE:Factory 
checked in at 2024-05-23 15:36:12

Comparing /work/SRC/openSUSE:Factory/mk-configure (Old)
 and  /work/SRC/openSUSE:Factory/.mk-configure.new.24587 (New)


Package is "mk-configure"

Thu May 23 15:36:12 2024 rev:18 rq:1176480 version:0.39.0

Changes:

--- /work/SRC/openSUSE:Factory/mk-configure/mk-configure.changes
2023-12-04 23:02:18.145370108 +0100
+++ /work/SRC/openSUSE:Factory/.mk-configure.new.24587/mk-configure.changes 
2024-05-23 15:36:53.115153593 +0200
@@ -1,0 +2,55 @@
+Thu May 23 10:42:00 UTC 2024 - v...@gmx.net
+
+- Update to 0.39.0
+
+  Invent new MKDEPEND variable for automatically generate dependency
+  files while compiling.
+
+  mkc_imp.{prog,lib}.mk:
+ - while linking place objects after LDFLAGS* options and before
+   LDADD* ones.
+
+  MKC_FEATURE:
+ - macro: add documentation for __UNCONST macro
+
+  mkc.subprj.mk:
+ - takes into account top-level "obj" directory
+
+  mkc_check_custom, mkc_check_decl, mkc_check_funclib,
+  mkc_check_header, mkc_check_prog:
+ - add option -D for deleting only cache files
+
+  Variables C{,XX}FLAGS.warns.. was
+  removed. Switch to using C{,XX}FLAGS.warns..
+
+  Output "ERROR:" message generated by MKC_REQUIRE_* to stderr
+
+  Keep temporary _mkc_* files if MKC_REQUIRE_* check fails.  This
+  allow easier debugging. Result files (*.res) are still removed.
+
+  fixes:
+ - mkc_check_compiler: problems seen on buggy /bin/sh on Solaris-10 :-/
+ - Fix troubles with MKC_CHECK_HEADER_FILES with SunC.  The
+   problem is that Sun C compiler outputs garbage to stdout.  So,
+   we redirect output of 'cc -E' to stderr.
+ - fix parallel work of target "linkinstall"
+ - fix support for gcc-14. Thanks to
+   carlosrodrifernan...@gmail.com for patches.
+ - avoid double running of tests on Darwin caused by
+   case-insensitive file system
+
+  tests:
+ - improvements and fixes
+ - adapt helpers/mkc_test_nm for Solaris
+ - fix examples/RBTREE for Sun C compiler
+
+  Add USE_{CC,CXX,CPP} configuration variables for building
+  mk-configure, appropriate variables CC, CXX and CPP will be a part
+  of sys.mk.  Run "bmake help" for details.
+
+  Introduce automatically detected configuration variables
+  {C,CXX}FLAGS.{md,mmd}
+
+  Introduce variable MKCMAKE which is always 1
+
+---

Old:

  mk-configure-0.38.3.tar.gz

New:

  mk-configure-0.39.0.tar.gz



Other differences:
--
++ mk-configure.spec ++
--- /var/tmp/diff_new_pack.3ssdEO/_old  2024-05-23 15:36:54.019186398 +0200
+++ /var/tmp/diff_new_pack.3ssdEO/_new  2024-05-23 15:36:54.019186398 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   mk-configure
-Version:0.38.3
+Version:0.39.0
 Release:0
 Summary:A build system on top of bmake
 License:BSD-2-Clause AND MIT AND ISC

++ mk-configure-0.38.3.tar.gz -> mk-configure-0.39.0.tar.gz ++
 6768 lines of diff (skipped)


commit mk-configure for openSUSE:Factory

2022-12-07 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mk-configure for openSUSE:Factory 
checked in at 2022-12-07 17:35:17

Comparing /work/SRC/openSUSE:Factory/mk-configure (Old)
 and  /work/SRC/openSUSE:Factory/.mk-configure.new.1835 (New)


Package is "mk-configure"

Wed Dec  7 17:35:17 2022 rev:16 rq:1040791 version:0.38.2

Changes:

--- /work/SRC/openSUSE:Factory/mk-configure/mk-configure.changes
2021-06-11 22:31:30.054216177 +0200
+++ /work/SRC/openSUSE:Factory/.mk-configure.new.1835/mk-configure.changes  
2022-12-07 17:36:36.581079457 +0100
@@ -1,0 +2,23 @@
+Tue Nov 29 20:00:00 UTC 2022 - v...@gmx.net
+
+- Update to 0.38.2
+
+  Fixes in tests
+
+---
+Sun Nov 17 19:53:00 UTC 2022 - v...@gmx.net
+
+- Update to 0.38.1
+
+  Add support for .c++ extension for C++ sources
+
+  Fix some tests failures seen with bmake-20220418
+
+  Fix tests failures on tests/mkc_install seen on Darwin-21.6.0
+
+  Fix some tests ("mkcmake configure" does not support parallel
+  execution)
+
+  Fix examples/hello_lua test failure
+
+---

Old:

  mk-configure-0.37.0.tar.gz

New:

  mk-configure-0.38.2.tar.gz



Other differences:
--
++ mk-configure.spec ++
--- /var/tmp/diff_new_pack.rpj72y/_old  2022-12-07 17:36:37.061082085 +0100
+++ /var/tmp/diff_new_pack.rpj72y/_new  2022-12-07 17:36:37.065082107 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   mk-configure
-Version:0.37.0
+Version:0.38.2
 Release:0
 Summary:A build system on top of bmake
 License:BSD-2-Clause AND MIT AND ISC
@@ -102,8 +102,8 @@
 %check
 unset MAKEFLAGS
 env bmake test
-bmake -k cleandir-examples
-bmake -k cleandir-tests
+bmake nodeps-cleandir-examples
+bmake nodeps-cleandir-tests
 
 %files
 %doc README.md doc/FAQ doc/NEWS doc/TODO

++ mk-configure-0.37.0.tar.gz -> mk-configure-0.38.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mk-configure-0.37.0/Makefile.inc 
new/mk-configure-0.38.2/Makefile.inc
--- old/mk-configure-0.37.0/Makefile.inc2021-04-08 20:00:18.0 
+0200
+++ new/mk-configure-0.38.2/Makefile.inc2022-11-29 19:09:00.0 
+0100
@@ -1,4 +1,4 @@
-VERSION   =0.37.0
+VERSION   =0.38.2
 
 BIRTHDATE =2009-02-21
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mk-configure-0.37.0/doc/NEWS 
new/mk-configure-0.38.2/doc/NEWS
--- old/mk-configure-0.37.0/doc/NEWS2021-04-08 20:00:18.0 +0200
+++ new/mk-configure-0.38.2/doc/NEWS2022-11-29 19:09:00.0 +0100
@@ -1,4 +1,23 @@
 ==
+Version 0.38.2, by Aleksey Cheusov, Tue, 29 Nov 2022 22:04:54 +0400
+
+  Fixes in tests
+
+==
+Version 0.38.1, by Aleksey Cheusov, Sun, 27 Nov 2022 23:49:17 +0400
+
+  Add support for .c++ extension for C++ sources
+
+  Fix some tests failures seen with bmake-20220418
+
+  Fix tests failures on tests/mkc_install seen on Darwin-21.6.0
+
+  Fix some tests ("mkcmake configure" does not support parallel
+  execution)
+
+  Fix examples/hello_lua test failure
+
+==
 Version 0.37.0, by Aleksey Cheusov, Thu,  8 Apr 2021 09:07:48 +0300
 
   Features:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mk-configure-0.37.0/doc/TODO 
new/mk-configure-0.38.2/doc/TODO
--- old/mk-configure-0.37.0/doc/TODO2021-04-08 20:00:18.0 +0200
+++ new/mk-configure-0.38.2/doc/TODO2022-11-29 19:09:00.0 +0100
@@ -1,7 +1,42 @@
+
+Linker options like -rdynamic, -Wl,-E --version-script etc.
+should be checked as a part of mk-configure compilation time.
+tcc, for example, does not have --version-script on gnuld
+systems.
+
+
+export.sym:
+ * cpp-preprocessing
+
+
+If MKC_REQUIRE_* fails, remove only .res file and keep
+.c and .err in order to allow debugging!
+
+
+It seems that MKC_REQUIRE_PKGCONFIG does not remove _mkc.*.res
+and therefore requires to remove them manually
+
+
+New feature reallocarr from nbase800
+
+
+feature efun: n

commit mk-configure for openSUSE:Factory

2021-06-14 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mk-configure for openSUSE:Factory 
checked in at 2021-06-11 22:30:51

Comparing /work/SRC/openSUSE:Factory/mk-configure (Old)
 and  /work/SRC/openSUSE:Factory/.mk-configure.new.32437 (New)


Package is "mk-configure"

Fri Jun 11 22:30:51 2021 rev:15 rq:899481 version:0.37.0

Changes:

--- /work/SRC/openSUSE:Factory/mk-configure/mk-configure.changes
2021-05-12 19:32:23.075001082 +0200
+++ /work/SRC/openSUSE:Factory/.mk-configure.new.32437/mk-configure.changes 
2021-06-11 22:31:30.054216177 +0200
@@ -1,0 +2,6 @@
+Fri Jun 11 11:52:29 UTC 2021 - Dominique Leuenberger 
+
+- Move macros.mkcmake from /etc/rpm to %{_rpmmacrodir}
+  (boo#1185657).
+
+---



Other differences:
--
++ mk-configure.spec ++
--- /var/tmp/diff_new_pack.0D4Q9F/_old  2021-06-11 22:31:30.586217100 +0200
+++ /var/tmp/diff_new_pack.0D4Q9F/_new  2021-06-11 22:31:30.586217100 +0200
@@ -97,7 +97,7 @@
 cp -r examples %{buildroot}%{_docdir}/%{name}-doc
 %fdupes -s %{buildroot}%{_docdir}/%{name}-doc
 # rpm macros
-install -m644 %{SOURCE1} -D %{buildroot}%{_sysconfdir}/rpm/macros.mkcmake
+install -m644 %{SOURCE1} -D %{buildroot}%{_rpmmacrodir}/macros.mkcmake
 
 %check
 unset MAKEFLAGS
@@ -112,7 +112,7 @@
 %{_datadir}/mk-configure/
 %{_mandir}/man1/*
 %{_mandir}/man7/*
-%config %{_sysconfdir}/rpm/macros.mkcmake
+%{_rpmmacrodir}/macros.mkcmake
 %{_libexecdir}/mk-configure
 
 %files doc


commit mk-configure for openSUSE:Factory

2021-05-12 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mk-configure for openSUSE:Factory 
checked in at 2021-05-12 19:31:55

Comparing /work/SRC/openSUSE:Factory/mk-configure (Old)
 and  /work/SRC/openSUSE:Factory/.mk-configure.new.2988 (New)


Package is "mk-configure"

Wed May 12 19:31:55 2021 rev:14 rq:892335 version:0.37.0

Changes:

--- /work/SRC/openSUSE:Factory/mk-configure/mk-configure.changes
2021-04-12 15:49:51.549271735 +0200
+++ /work/SRC/openSUSE:Factory/.mk-configure.new.2988/mk-configure.changes  
2021-05-12 19:32:23.075001082 +0200
@@ -1,0 +2,5 @@
+Tue May 11 07:48:44 UTC 2021 - Dirk M??ller 
+
+- modernize spec file stop owning libexecdir (provided by filesystem rpm 
(bsc#1184786) 
+
+---



Other differences:
--
++ mk-configure.spec ++
--- /var/tmp/diff_new_pack.EZEzUM/_old  2021-05-12 19:32:23.526999276 +0200
+++ /var/tmp/diff_new_pack.EZEzUM/_new  2021-05-12 19:32:23.530999261 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package mk-configure
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -22,11 +22,10 @@
 Summary:A build system on top of bmake
 License:BSD-2-Clause AND MIT AND ISC
 Group:  Development/Tools/Building
-Url:https://github.com/cheusov/mk-configure/
+URL:https://github.com/cheusov/mk-configure/
 Source: 
https://sourceforge.net/projects/mk-configure/files/mk-configure/mk-configure-%{version}/%{name}-%{version}.tar.gz
 Source1:mkcmake.macros
 Source9:mk-configure-rpmlintrc
-
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  bison
@@ -39,8 +38,8 @@
 BuildRequires:  glib2-devel
 BuildRequires:  groff
 BuildRequires:  info
-BuildRequires:  lua-devel
 BuildRequires:  libbsd-devel
+BuildRequires:  lua-devel
 BuildRequires:  makeinfo
 BuildRequires:  pkgconfig
 BuildRequires:  zlib-devel
@@ -68,10 +67,10 @@
 
 %define env \
 unset MAKEFLAGS \
-export USE_NM=/usr/bin/nm \
-export USE_INSTALL=/usr/bin/install \
-export USE_AWK=/usr/bin/awk \
-export USE_ID=/usr/bin/id \
+export USE_NM=%{_bindir}/nm \
+export USE_INSTALL=%{_bindir}/install \
+export USE_AWK=%{_bindir}/awk \
+export USE_ID=%{_bindir}/id \
 export USE_CC_COMPILERS='gcc clang' \
 export USE_CXX_COMPILERS='g++ clang++' \
 export PREFIX=%{_prefix} \
@@ -107,7 +106,6 @@
 bmake -k cleandir-tests
 
 %files
-%defattr(-,root,root)
 %doc README.md doc/FAQ doc/NEWS doc/TODO
 %license doc/LICENSE
 %{_bindir}/mkc*
@@ -115,11 +113,9 @@
 %{_mandir}/man1/*
 %{_mandir}/man7/*
 %config %{_sysconfdir}/rpm/macros.mkcmake
-%dir %{_prefix}/libexec
-%{_prefix}/libexec/mk-configure
+%{_libexecdir}/mk-configure
 
 %files doc
-%defattr(-,root,root)
 %doc %{_docdir}/%{name}-doc/examples
 %doc presentation/presentation.pdf
 


commit mk-configure for openSUSE:Factory

2021-04-12 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mk-configure for openSUSE:Factory 
checked in at 2021-04-12 15:49:37

Comparing /work/SRC/openSUSE:Factory/mk-configure (Old)
 and  /work/SRC/openSUSE:Factory/.mk-configure.new.2401 (New)


Package is "mk-configure"

Mon Apr 12 15:49:37 2021 rev:13 rq:884613 version:0.37.0

Changes:

--- /work/SRC/openSUSE:Factory/mk-configure/mk-configure.changes
2021-01-07 21:25:39.941681058 +0100
+++ /work/SRC/openSUSE:Factory/.mk-configure.new.2401/mk-configure.changes  
2021-04-12 15:49:51.549271735 +0200
@@ -1,0 +2,42 @@
+Thu Apr 8 19:15:11 UTC 2021 - v...@gmx.net
+
+- Update to mk-configure-0.37.0
+
+  Features:
+* new feature "strtoi" for NetBSD function with the same name
+* new feature "strtou" for NetBSD function with the same name
+* new feature "reallocarr" for NetBSD function with the same name
+* new feature "macro". It provides NetBSD-style macro __dead, __pure,
+  __UNCONST, __printflike, __constfunc, __always_inline, __aligned,
+  __arraycount, MAX and MIN
+* "efun": add support for ereallocarr(3), estrtoi(3) and estrtou(3)
+
+  Fixes:
+* imp.foreign_autotools.mk: add MAKE=${AT_MAKE} to environment
+  This fixes ./configure when "make" executable is not available
+* CXXSTD: appropriate option is passed to the linker.  This fixes
+  failures with Sun C++ compiler.
+* examples/shquote/prog.c: fix segfault seen on Solaris-10
+  (incorrect use of getline(3))
+
+  mk-configure.7:
+* add missing documentation for features "reallocarray", "fparseln"
+  and "vis"
+* minor fixes
+* CXXSTD: fix incorrect description
+
+  Exit with error if generated config under ~/.mkcmake is older than
+  system mk files.  This situation potentially means that generated
+  configs do not contain all required information about compiler.
+
+  System-wide mk file for compiler settings has higher priority
+  than files under ~/.mkcmake
+
+  EXPORT_SYMBOLS: empty lines and comments started with '#' are ignored
+
+  mkc_install: do not remove "$dst" before renaming "$dsttmp" to
+  "$dst", it is just useless.
+
+  Simplify the target "installdirs".
+
+---

Old:

  mk-configure-0.36.0.tar.gz

New:

  mk-configure-0.37.0.tar.gz



Other differences:
--
++ mk-configure.spec ++
--- /var/tmp/diff_new_pack.941pt0/_old  2021-04-12 15:49:52.005272288 +0200
+++ /var/tmp/diff_new_pack.941pt0/_new  2021-04-12 15:49:52.005272288 +0200
@@ -17,13 +17,13 @@
 
 
 Name:   mk-configure
-Version:0.36.0
+Version:0.37.0
 Release:0
 Summary:A build system on top of bmake
 License:BSD-2-Clause AND MIT AND ISC
 Group:  Development/Tools/Building
-Url:http://sourceforge.net/projects/mk-configure/
-Source: http://prdownloads.sf.net/%{name}/%{name}-%{version}.tar.gz
+Url:https://github.com/cheusov/mk-configure/
+Source: 
https://sourceforge.net/projects/mk-configure/files/mk-configure/mk-configure-%{version}/%{name}-%{version}.tar.gz
 Source1:mkcmake.macros
 Source9:mk-configure-rpmlintrc
 

++ mk-configure-0.36.0.tar.gz -> mk-configure-0.37.0.tar.gz ++
 2169 lines of diff (skipped)


commit mk-configure for openSUSE:Factory

2020-12-02 Thread User for buildservice source handling
Hello community,

here is the log from the commit of package mk-configure for openSUSE:Factory 
checked in at 2020-12-02 13:58:06

Comparing /work/SRC/openSUSE:Factory/mk-configure (Old)
 and  /work/SRC/openSUSE:Factory/.mk-configure.new.5913 (New)


Package is "mk-configure"

Wed Dec  2 13:58:06 2020 rev:11 rq:852333 version:0.35.0

Changes:

--- /work/SRC/openSUSE:Factory/mk-configure/mk-configure.changes
2020-04-22 20:56:37.859820079 +0200
+++ /work/SRC/openSUSE:Factory/.mk-configure.new.5913/mk-configure.changes  
2020-12-02 13:58:07.673795228 +0100
@@ -1,0 +2,58 @@
+Mon Nov 30 08:25:23 UTC 2020 - v...@gmx.net
+
+- Update to mk-configure-0.35.0
+
+  Add the following new features: arc4random, bswap, dprintf, efun,
+  errc, fparseln, fts, posix_getopt, raise_default_signals,
+  reallocarray, strsep and vis.
+  See mk-configure.7 for details.
+
+  Fixes: 
+* mkc_check_decl: fix "prototype" mode. Extraction of function name
+  was incorrect.  Add one more regression test for this case in
+  tests/os_NetBSD.
+* Avoid multiple repetition of MKC_COMMON_DEFINES in CPPFLAGS
+* Fix target "depend" that failed if SRCS contains full path to
+  source code.
+
+  Move -Wreturn-type from CFLAGS.warns.{clang,gcc}.2 to
+  CFLAGS.warns.{clang,gcc}.1 and make it an error for C++
+
+  CC_TYPE and CXX_TYPE are correctly set if MKC_CHECK_CUSTOM is set.
+
+  Use .error bmake command for checking MKC_REQD.  Also, move
+  appropriate check to mkc_imp.preinit.mk, so it is checked in the
+  very beginning.  Documentation and error message are slightly
+  updated.
+
+  Rename variable DISTCLEANFILES to CLEANDIRFILES, DISTCLEANFILES is
+  considered deprecated.
+
+  Rename variable DISTCLEANDIRS to CLEANDIRDIRS, DISTCLEANDIRS is
+  considered deprecated.
+
+  Add support for latest Intel C/C++ compiler.  We have to always add
+  -we10006 option to it in order it fail when invalid option is used.
+
+  Adapt some features for using functions implementation from
+  libnbcompat and libbsd libraries.
+
+  Use .depend_${.CURDIR:T} instead .depend to support MAKEOBJDIR.
+
+  New tests and examples.
+
+- Update to mk-configure-0.34.2
+
+  Do not pass *all* CFLAGS flags to CXXFLAGS.  This fixes builds
+  where, for example, clang is used as a C compile and gcc is used as
+  a C++ compiler. Also, MKC_CHECK_* variables update MKC_CPPFLAGS
+  instead of MKC_CFLAGS.
+
+  Avoid "install -d /" if there is nothing to install.  This fixes
+  some failures on some systems/conditions and improves support for
+  foreign install(1) programs, e.g., (UCB install on Solaris)
+
+  Fixes for CFLAGS containing -O2 and -D_FORTIFY_SOURCE=n
+
+  main.mk: clean-ups for target "cleandir" and "clean"
+---

Old:

  mk-configure-0.34.1.tar.gz

New:

  mk-configure-0.35.0.tar.gz



Other differences:
--
++ mk-configure.spec ++
--- /var/tmp/diff_new_pack.xxZZMn/_old  2020-12-02 13:58:08.377795970 +0100
+++ /var/tmp/diff_new_pack.xxZZMn/_new  2020-12-02 13:58:08.381795974 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   mk-configure
-Version:0.34.1
+Version:0.35.0
 Release:0
 Summary:A build system on top of bmake
 License:BSD-2-Clause AND MIT AND ISC
@@ -40,6 +40,7 @@
 BuildRequires:  groff
 BuildRequires:  info
 BuildRequires:  lua-devel
+BuildRequires:  libbsd-devel
 BuildRequires:  makeinfo
 BuildRequires:  pkgconfig
 BuildRequires:  zlib-devel
@@ -102,8 +103,8 @@
 %check
 unset MAKEFLAGS
 env bmake test
-bmake cleandir-examples
-bmake cleandir-tests
+bmake -k cleandir-examples
+bmake -k cleandir-tests
 
 %files
 %defattr(-,root,root)

++ mk-configure-0.34.1.tar.gz -> mk-configure-0.35.0.tar.gz ++
 24059 lines of diff (skipped)

++ mkcmake.macros ++
--- /var/tmp/diff_new_pack.xxZZMn/_old  2020-12-02 13:58:08.661796269 +0100
+++ /var/tmp/diff_new_pack.xxZZMn/_new  2020-12-02 13:58:08.661796269 +0100
@@ -3,12 +3,22 @@
 #
 
 %mkcmake \
-export CFLAGS="%{optflags}" \
-export PREFIX=%{_prefix} \
-export DOCDIR=%{_docdir} \
-export LIBDIR=%{_libdir} \
-export MANDIR=%{_mandir} \
-export SYSCONFDIR=%{_sysconfdir} \
-export DESTDIR=%{buildroot} \
+: ${BINDIR=%{_bindir}}; export BINDIR; \
+: ${SBINDIR=%{_sbindir}}; export SBINDIR; \
+: ${CC=%{__cc}}; export CC; \
+: ${CFLAGS=%{optflags}}; export CFLAGS; \
+: ${CPP=%{__cpp}}; export CPP; \
+: ${CXX=%{__cxx}}; export CXX; \
+: ${CXXFLAGS=%{optflags}}; export CXXFLAGS; \
+: ${DATADIR=%{_datadir}}; export DATADIR; \
+: ${DESTDIR=%{buildroot}}; export DESTDIR; \
+: ${DOCDIR=%{_docdir}}; export DOCDIR; \
+: ${INCLUDEDIR=%{_includedir}}; export INCLU