Version 2.83 - 24 January 2025, by Jani Välimaa
- generate Recommends from perl META (mga#33945)

Version 2.82 - 28 December 2024, by Jani Välimaa
- macros: automatically use %set_build_flags macro for build, check, and install phases
- brp-mangle-shebangs: restore handling of %__brp_mangle_shebangs_exclude

Version 2.81 - 11 November 2024, by Jani Välimaa
- macros: add redhat-hardened-clang-ld.cfg (from Fedora) to pass -pie when linking with clang
- macros: add %dist_vendor (Mageia) and %dist_name (Mageia Linux) macros

Version 2.80 - 5 July 2024, by Jani Välimaa
- macros: Drop the now obsolete %install debuginfo hack (needs rpm-4.20)

Version 2.79.1 - 21 April 2024, by Jani Välimaa
- Makefile: add hardening configs to source tarball

Version 2.79 - 21 April 2024, by Jani Välimaa
- macros: add %_hardened_build (from Fedora) to build pkgs with position-independent code by default

Version 2.78 - 10 April 2024, by Jani Välimaa
- macros: use -D_FORTIFY_SOURCE=3 by default (mga#30920)

Version 2.77 - 2 April 2024, by Jani Välimaa
- configure: add support for i686 target, and use it as a secondary target for x86_64

Version 2.76.1 - 31 March 2024, by Jani Välimaa
- rpmrc: don't use -fstack-clash-protection on aarch64 with the clang toolchain

Version 2.76 - 30 March 2024, by Jani Välimaa
- macros: add support for toolchain selection (GCC/Clang)

Version 2.75.1 - 24 March 2024, by Jani Välimaa
- configure: force armv7hl target arch when building for armv7hl with armv8l/aarch64 host machine
- macros: make _host_cpu identical with _target_cpu as ATM rpm uses real build
  host's arch and it can be different what we really want (armv8l vs. armv7hl)

Version 2.75 - 23 March 2024, by Jani Välimaa
- Makefile: fix brp-mangle-shebangs install
- rpmrc: use -mtune=generic-armv7-a with armv7hl
- rpmrc: set aapcs-linux ARM ABI for armv7 arches
- rpmrc: explicitly select 32-bit or 64-bit build on ix86 and x86_64 architectures
- rpmrc: update build arch for i686 cabable arches
- rpmrc: add SSE2 support to i686 default flags

Version 2.74.2 - 29 February 2024, by Jani Välimaa
- rpmrc: remove -fstack-clash-protection from armv7 default flags

Version 2.74.1 - 23 February 2024, by Jani Välimaa
- rpmrc: remove -fcf-protection=full from i586 default flags (needs i686 or newer)

Version 2.74 - 23 February 2024, by Jani Välimaa
- rpmeval: fix build with gcc13
- rpmrc: add -fstack-clash-protection to default flags for all supported arches
- rpmrc: add -fcf-protection=full to x86 default flags
- rpmrc: add -mbranch-protection=standard to aarch64 default flags
- rpmrc: drop arches we don't really support
- rpmrc: drop arch_compat also available in /usr/lib/rpm/rpmrc
- macros: use -fstack-protector-strong instead of '-fstack-protector --param=ssp-buffer-size=4' in %_ssp_cflags
- macros: simplify %serverbuild macro
- macros: use -Wl,-z,now with -Wl,-z,relro unless _disable_ld_now is defined
- mangle script shebangs

Version 2.73 - 22 November 2023, by Jani Välimaa
- macros: include RUSTFLAGS in %set_build_flags
- macros: set -g when building Vala applications
- macros: make _FORTIFY_SOURCE flags configurable via %_fortify_level variable
- macros: undefine _FORTIFY_SOURCE before defining it to avoid build warnings on some packages defining it already

Version 2.72 - 18 November 2023, by Jani Välimaa
- macros: define _use_weak_usergroup_deps to only add user() and group() requires as recommends

Version 2.71 - 15 January 2023, by Jani Välimaa
- brp-mangle-shebangs: also mangle shebangs of JavaScript executables (rhbz#1998924)
- macros: drop unused %_sys_macros_dir and %build_sysmacrospath()

Version 2.70 - 7 January 2023, by Jani Välimaa
- macros: drop separate macros.build and combine it with macros

Version 2.69 - 7 January 2023, by Jani Välimaa
- macros.build: rename from build.macros
- macros.gnome: really add to dist

Version 2.68 - 7 January 2023, by Jani Välimaa
- add macros.gnome to introduce %url_ver and %tarball_version macros
- rpm-spec-mode.el: sync script and tag lists with rpm >= 4.12.90
- rpm-spec-mode.el: fix compatibility with Emacs 28.1,
  patch from https://github.com/stigbjorlykke/rpm-spec-mode/pull/17

Version 2.67 - 3 September 2022, by Jani Välimaa
- replace obsolescent egrep with 'grep -E' in devel.prov and devel.req

Version 2.66 - 19 June 2022, by Jani Välimaa
- build.macros: use -Wl,--build-id=sha1 with %build_ldflags

Version 2.65 - 10 April 2022, by Jani Välimaa
- build.macros: remove macro definitions living in python-rpm-macros
    - py_auto_byte_compile
    - _python_bytecompile_errors_terminate_build
    - _python_bytecompile_extra

Version 2.64 - 10 April 2022, by Jani Välimaa
- build.macros: use %__os_install_post_python in %__os_install_post

Version 2.63 - 10 April 2022, by Jani Välimaa
- build.macros: remove %__brp_python_bytecompile as it lives now in python-rpm-macros

Version 2.62 - 17 October 2021, by Jani Välimaa
- configure.ac: update and modernize with autoconf 2.71
- build.macros: export LT_SYS_LIBRARY_PATH with %set_build_flags to prevent libtool hardcoding %_libdir into the binaries' RPATH (originally from Fedora)

Version 2.61 - 7 September 2021, by Jani Välimaa
- brp-mangle-shebang: fix handling of files without newlines (from Fedora)
- build.macros: run /usr/lib/rpm/brp-remove-la-files after %install (available since RPM 4.17.0)
- build.macros: run /usr/lib/rpm/check-rpaths after %install

Version 2.60 - 23 June 2021, by Thierry Vignaud
- Drop __brp_python_hardlink for rpm-4.17beta1

Version 2.59 - 1 June 2021, by Thierry Vignaud
- Drop __brp_strip_shared for rpm-4.17a1

Version 2.58 - 13 March 2021, by Jani Välimaa
- disable python byte compilation outside python dirs by default (set _python_bytecompile_extra to 0)
- rpm-spec-mode.el: update to version 0.16

Version 2.57 - 23 June 2020, by Thierry Vignaud
- %rename:
  o don't obsolete what is provided (mga#26801)
  o take a 2nd arg to set the VR to obsolete

Version 2.56 - 1 June 2020, by Jani Välimaa
- build.macros: add _configure_gnuconfig_hack macro based on one from Fedora to update config.{guess,sub}

Version 2.55 - 21 May 2020, by Jani Välimaa
- build.macros: add _legacy_common_support macro for adding -fcommon to compiler flags
- build.macros: run /usr/lib/rpm/check-buildroot at end of %install scriptlet
  via __arch_install_post

Version 2.54 - 14 April 2020, by Thierry Vignaud
- stop emiting requires(posttrans) on info-install (less container bloat)

Version 2.53 - 1 February 2020, by Thierry Vignaud
- build.macros: restore '--without <section>' rpmbuild functionality
  (which is very useful in order to work on huge packages before submiting them
  to BS)

Version 2.52 - 4 February 2020, by Jani Välimaa
- build.macros: remove '--without <section>' rpmbuild functionality
- build.macros: add __spec_install_post

Version 2.51 - 3 February 2020, by Jani Välimaa
- rpmrc: use _ssp_cflags also with arm optflags
- build.macros: drop pyver macro (moved to python-rpm-macros)
- build.macros: drop unused macros
    - _package_i18n()
    - py_platlibdir
    - py_purelibdir
    - py_platsitedir
    - py_puresitedir
    - perl_sitearch
    - perl_archlib

Version 2.50 - 16 January 2020, by Jani Välimaa
- build.macros: add mistakenly removed --prefix= back to configure macro

Version 2.49 - 16 January 2020, by Jani Välimaa
- build.macros: replace configure2_5x with configure macro
    - sync configure macro with rpm upstream
- build.macros: drop legacy libtoolize calls from configure macros
- build.macros: drop legacy --x-includes= and --x-libraries= from configure macros
- build.macros: drop deprecated and unused macros
    - __cputoolize

Version 2.48 - 2 January 2020, by Jani Välimaa
- build.macros: add build_* flags and set_build_flags macro from upstream rpm
- build.macros: add __global_* macros for compatibility with Fedora
- build.macros: drop deprecated and unused macros
    - __chkconfig
    - __service
    - _update_menus_bin
    - _update_desktop_database_bin
    - _update_mime_database_bin
    - _scrollkeeper_bin
    - make_session
    - make_dm_session
    - post_install_gconf_schemas
    - update_menus
    - clean_menus
    - update_desktop_database
    - clean_desktop_database
    - update_mime_database
    - clean_mime_database
    - update_scrollkeeper
    - clean_scrollkeeper
- build.macros: use rpm built-in %{warn:...} macro for deprecation warnings
- remove unused git-repository--after-tarball and git-repository--apply-patch
- build.macros: remove %_after_setup leftovers after
  introduce-_after_setup-which-is-called-after-setup.patch was removed from rpm
- rpmrc: drop deprecated macrofiles line

Version 2.47 - 25 December 2019, by Jani Välimaa
- replace %setup_compile_flags with upstream %set_build_flags and
  output deprecation warning if %setup_compile_flags is used

Version 2.46 - 24 December 2019, by Jani Välimaa

- make brp-mangle-shebangs to not exit if 'read shebang_line < "$f"'
  exits with a non-zero status.

Version 2.45 - 23 December 2019, by Thierry Vignaud

- switch binary payload compression to Zstandard level 19
  for faster installations
  See https://fedoraproject.org/wiki/Changes/Switch_RPMs_to_zstd_compression
- sync brp-mangle-shebangs with FC:
  o do not stat / touch files needlessly
  o fix unsafe/incorrect command expansion
  o brp-mangle-shebangs: speed up finding of "text executables" (scripts)
  o Make ambiguous python shebangs error

Version 2.44 - 15 October 2019, by Pascal Terjan

- previous change worked manually on my mga7 but doesn't seem to work in cauldron
  chroot in iurt. Try harder.

Version 2.43 - 15 October 2019, by Pascal Terjan

- make armv7hl chroots on aarch64 work on all armv8 flavours

Version 2.42 - 15 October 2019, by Pascal Terjan

- actually make armv7hl chroots on aarch64 work as expected

Version 2.41 - 19 September 2019, by Thierry Vignaud

- fix %__libtoolize disapearing in rpm-4.15 (mga#25440)

Version 2.40 - 29 August 2019, by Thierry Vignaud

- move files from /etc/rpm/macros.d into /usr/lib/rpm/macros.d thus fixing most
  issues with rpm's testsuite (related to not being able to disable debuginfo)

Version 2.39 - 4 May 2019, by Pascal Terjan

- make armv7hl chroots on aarch64 work as expected (urpmi accepts to install armv7hl
  packages and default rpm build target is armv7hl)

Version 2.38 - 11 March 2019, by Thierry Vignaud

- add %_metainfodir macro for appdata metainfo dir
- kill ldd path code in devel.req (unused for 12 years)
- php.req:
  o don't a cache file that we never read back, thus fixing emited deps
  o use Find::File in order to find files

Version 2.37 - 21 October 2018, by Jani Välimaa

- strip binaries and libraries in __os_install_post if __debug_package isn't defined
- add __brp_strip, __brp_strip_comment_note, __brp_strip_static_archive and __brp_strip_shared

Version 2.36 - 24 September 2018, by Thierry Vignaud

- add __brp_mangle_shebangs in order to fix /bin -> /usr/bin & "env foobar"
- automatically compile python files

Version 2.35 - 24 September 2018, by Thierry Vignaud

- reduce triming changelog from 3 to 2 years
- remove duplicated systemd macros
- sync %__brp_python_bytecompile with upstream :
  o "%global __python %{__python3}" enables to properly fix py3 bytecompiling
  o also recognize %_python_bytecompile_extra for compiling outisde python
    specific directories
- terminate build when missing buildids by default

Version 2.34 - 8 September 2018, by Thierry Vignaud

- emits requires(posttrans) on info-install
  (needs newer rpm)

Version 2.33 - 7 September 2018, by Thierry Vignaud

- emits requires on info-install instead of provides for *.info files

Version 2.32 - 4 September 2018, by Thierry Vignaud

- automatically emits requires on info-install for *.info files

Version 2.31 - 9 August 2018, by Thierry Vignaud

- emit perl-base requires for new 32bit perl path

Version 2.30 - 9 August 2018, by Thierry Vignaud

- emit perl-base requires for new perl pathes

Version 2.29 - 05 August 2018, by Jani Välimaa

- fix python bytecompile in __os_instal_post as __brp_python_bytecompile is now defined by rpm upstream
- allow redefinition of __brp_python_hardlink in __os_instal_post

Version 2.28 - 26 May 2018, by Jani Välimaa

- add -fasynchronous-unwind-tables to default optflags for x86_64 and aarch64 (%ix86 has it already)

Version 2.27 - 22 March 2018, by Jani Välimaa

- Add aarch64 config

Version 2.26 - 25 January 2018, by Thierry Vignaud

- define %_pkgdocdir (mga#22444)

Version 2.25 - 6 August 2017, by Neal Gompa

- Remove pythoneggs.py in favor of using upstreamed pythondistdeps.py

Version 2.24 - 3 August 2017, by Thierry Vignaud

- drop now useless brp-java-repack-jars
- generate .gdb_index sections by default
- move _debuginfo_subpackages and _debugsource_packages from rpm

Version 2.23 - 30 July 2017, by Neal Gompa

- Remove leftover definition for find-lang.pl

Version 2.22 - 30 July 2017, by Neal Gompa

- Rename %configure to %main_configure and add shims
  for %configure and %configure2_5x to use it
- Remove redundant %__debug_install_post as it breaks
  split debuginfo and debugsource subpackage generation
- Remove find-lang.pl in favor of using upstream find-lang.sh
- Unify %configure macros into a single %configure macro

Version 2.21 - 26 July 2017, by Thierry Vignaud

- support split debugsources in our macros

Version 2.20 - 4 May 2016, by Neal Gompa

- Mark %make as deprecated for upstream %make_build
- Kill redundant %_smp_mflags logic

Version 2.19 - 12 April 2016, by Pascal Terjan

- use rtp's solution to build for armv5tl on armv5tl distro

Version 2.18 - 12 April 2016, by Pascal Terjan

- add config for armv7hl
- don't append %ldflags to $LDFLAGS forcibly

Version 2.17 - 15 November 2015, by Pascal Terjan

- move rubygem build macros to the rubygems package

Version 2.16 - 7 November 2015, by Neal Gompa

- update %mkrel to use %dist when defined and
  split out dist tag generation logic out of %mkrel

Version 2.15 - 23 October 2015, by Pascal Terjan

- update gem_install macro

Version 2.14 - 21 October 2015, by Pascal Terjan

- do not remove buildroot in %install if install is disabled
  (to make rpmbuild --without install actually useful)
- make python dependency extractor much faster

Version 2.13 - 24 July 2015, by Thierry Vignaud

- kill python macros that are already defined in rpm
- kill unused python macros (py_compile, py_requires)

Version 2.12 - 7 July 2015, by Christiaan Welvaart

- do not add -fPIC to optflags for x86-64

Version 2.11 - 3 July 2015, by Thierry Vignaud

- deprecate %makeinstall_std and advertize upstream %make_install instead
- kill %old_makeinstall (use upstream %makeinstall instead)

Version 2.10 - 28 June 2015, by Thierry Vignaud

- stop emitting perlapi-<version> provides
  now that nothing requires it

Version 2.9 - 24 June 2015, by Thierry Vignaud

- stop emitting perlapi-<version> requires

Version 2.8 - 21 June 2015, by Thierry Vignaud

- change file digests hashing algorithm to SHA-256
- kill obsolete %defaultbuildroot
- kill old %__find_(provides|requires)
- kill redondant/unmainted macro (mga#4927)
- kill unused kmod.* files

Version 2.7 - 26 October 2014, by Pascal Terjan

- add support for limiting parallel builds by defining
  %_smp_ncpus_max in spec file for packages needing it

Version 2.6 - 14 October 2014, by Pascal Terjan

- support being passed the egg-info directory

Version 2.5 - 1 October 2014, by Thierry Vignaud

- do not emit PHP requires for package's own files

Version 2.4 - 24 September 2014, by Thierry Vignaud

- emit pythonegg requires/provides back
- remove kmod.* from git (now SRPMS sources)
- remove dwz.macros from git (now SRPMS sources)
- remove now useless g-ir-extract-deps

Version 2.3 - 18 September 2014, by Pascal Terjan

- generate devel() dependencies for gcc libs

Version 2.2 - 15 September 2014, by Thierry Vignaud

- fix matching META files
- retrieve file name from stdin

Version 2.1 - 15 September 2014, by Thierry Vignaud

- actually package php.attr
- convert kmod provides to internal generator
- convert perl requires from meta to internal generator
- use rpmdeps to generate any "normal" dependencies

Version 2.0 - 12 September 2014, by Thierry Vignaud

- convert devel(foo) deps to internal generator
- convert multiarch deps to internal generator
- convert "perlapi" deps to internal generator
- convert perl-base deps to internal generator
- convert PHP deps to internal generator
- drop gstreamer/haskell/ruby/typelib deps generators
  we backported the needed .(attr|prov|req) files from FC/SuSe in other packages
- drop most of the script-based dependency generation bits
- drop some long dead scripts
- use internal dependency generator instead of "external generator"
  (like all other distros) which is way much faster :-)
  See:
  o http://www.rpm.org/wiki/PackagerDocs/DependencyGenerator
  o http://laiskiainen.org/blog/?p=35
  side effect: we now output lowercase perl provides/requires (eg: "perl(urpm)")
- use upstream pkgconfigdeps.sh as we only have more checks because we were
  still using the external generator

Version 1.198 - 26 May 2014, by Jani Välimaa
- gi-find-deps.sh: improve sed magic to handle special sugar typelib requires

Version 1.197 - 27 Dec 2013, by Pascal Terjan
- Fix gem automated dependancies

Version 1.196 - 27 Dec 2013, by Pascal Terjan
- Use correct macro for gems dir now that rubygems moved

Version 1.195 - 24 Dec 2013, by Pascal Terjan
- Fix mistake in previous version

Version 1.194 - 24 Dec 2013, by Pascal Terjan
- Only install gem .so from paths in require_paths

Version 1.193 - 17 Dec 2013, by Pascal Terjan
- Improve binary gems handling and get more compatible with Fedora

Version 1.192 - 15 Oct 2013, by Pascal Terjan
- Switch to new pythonegg dependencies
- Add -O flag to %make

Version 1.191 - 14 Oct 2013, by Pascal Terjan
- have differrent provides for python2 and python3 egg
  requires will be switched after everything is rebuilt once

Version 1.190 - 28 Sep 2013, by Funda Wang
- add switch -d to gem_install to move headers into vendorarchdir

Version 1.189 - 25 Sep 2013, by Philippe Makowski
- Set valid macros names for Python byte compilation

Version 1.188 - 25 Sep 2013, by Philippe Makowski
- Improve macros for Python byte compilation

Version 1.187 - 24 Sep 2013, by Philippe Makowski
- Add macros for Python byte compilation

Version 1.186 - 20 Sep 2013, by Pascal Terjan
- Support gems with .so not under lib/

Version 1.185 - 20 Sep 2013, by Pascal Terjan
- Fix typo in previous version :(

Version 1.184 - 20 Sep 2013, by Pascal Terjan
- Support empty gems

Version 1.183 - 20 Sep 2013, by Pascal Terjan
- Handle another git ls-files syntax in gem_setup
- Fix dependency generation when ruby_version is empty

Version 1.182 - 10 Sep 2013, by Pascal Terjan
- Fix install of gems with several .so

Version 1.181 - 10 Sep 2013, by Pascal Terjan
- Support gems with the .so in a subdirectory

Version 1.180 - 10 Sep 2013, by Pascal Terjan
- Create a %gem_setup fixing most common problems

Version 1.179 -  8 Sep 2013, by Pascal Terjan
- Remove extra space in __ruby_module_name when oname is not defined

Version 1.178 - 15 Aug 2013, by Funda Wang
- gem_helper.rb: deprecated now, we not rely on plain gem command to build rubygems

Version 1.177 - 15 Aug 2013, by Funda Wang
- gem_helper.rb: deal with rubygems 2.0 changes

- gi-find-deps.sh: don't add pythong-gi requires automatically as we can't be sure if the code was written for python3 (again from SUSE)

Version 1.176 - 31 July 2013, by Jani Välimaa
- gi-find-deps.sh: sync more with SUSE to find typelib requires from Python scripts without .py extension (mga#10863)

Version 1.175 - 29 July 2013, by Jani Välimaa
- gi-find-deps.sh: sync 'find javascript requires' code with SUSE to find versioned requires

Version 1.174 - 6 July 2013, by Jani Välimaa
- gi-find-deps.sh: handle gi.require_version('Gtk', '3.0') type requires in .py files (from SUSE)

Version 1.173 - 5 July 2013, by D.Morgan
- Add auto requires for osgi() mvn()

Version 1.172 - 4 June 2013, by Colin Guthrie
- add pkgconfig package requires for private requires

Version 1.171 - 6 April 2013, by David Walser
- properly fix mga #3697 in find-lang.pl (only exclude man directories)
- own man pages that have a dot in their name (find-lang.pl regexp bug)

Version 1.170 - 4 April 2013, by Luc Menut
- revert change 1.168 because it introduces a regression when --with-man
  is used in combination with another --with-xxxx: all the directories
  found by find-lang are skipped (not only man directories mga #3697c10)

Version 1.169 - 24 March 2013, by Colin Guthrie
- add version macros for systemd/rpm-helper to ease distro upgrades

Version 1.168 - 17 March 2013, by Luc Menut
- fix find-lang.pl : do not own man lang directories with --with-man
  (patch from Thierry Vignaud, mga #3697, #9055)

Version 1.167 - 20 Jan 2013, by Funda Wang
- fix bug#8757, gi-find-deps.sh incorrectly match 'imports.github'

Version 1.166 - 10 Jan 2013, by Arnaud Patard
- remove -fsigned-char on arm, as it should not be needed any more
- fix dwz configuration on arm

Version 1.165 - 31 Dec 2012, by Thomas Baclund
- set libexec dir to /usr/libexec

Version 1.164 - 25 Nov 2012, by Colin Guthrie
- add some macros for udev rules and tmpfiles snippets

Version 1.163 - 23 Nov 2012, by Olivier Blin
- modify arch_tagged macro to use ()(64bit) instead of (lib64), to be
  compatible with the mark64 provides generated by find-provides

Version 1.162 - 2 Nov 2012, by Funda Wang
- set LC_CTYPE as UTF-8 when building gem

Version 1.161 - 24 Oct 2012, by Thierry Vignaud
- set LC_ALL=C in find-{provides,requires} (mga#7883)

Version 1.160 - 12 Sep 2012, by Funda wang
- merge rubygems.rb from Mandriva, so that it works with ruby 1.9.x

Version 1.159 - 10 Sep 2012, by Shlomi Fish
- fix gem_helper.rb with ruby-1.9.x (see bug #7429).
    - patch written by Shlomi Fish with some help from the people on
    Freenode's #ruby-lang.

Version 1.158 - 8 Sep 2012, by Funda Wang
- find-provides, find-requires: only enable rubygems when /usr/bin/ruby is found

Version 1.157 - 24 Aug 2012, by Thierry Vignaud
- find-provides: fix pok's perlapi auto provides

Version 1.156 - 21 Aug 2012, by Thierry Vignaud
- find-provides: ignore fontconfig.prov exit code (mga#7078)

Version 1.155 - 2 Aug 2012, by Thierry Vignaud
- drop very old rpmbuild aliases on rpm which warns about being deprecated for
  quite a long time
- enable including mini debuginfo in binaries

Version 1.154 - 31 Jul 2012, by Thierry Vignaud
- drop unused brp-compress (obsoleted by spec-helper 4 years ago)
- use upstream find-debuginfo.sh as we merged our changes back into rpm package

Version 1.153 - 31 Jul 2012, by Thierry Vignaud
- shrunk debug packages through using dwz
  (https://fedoraproject.org/wiki/Features/DwarfCompressor)

Version 1.152 - 27 Jul 2012, by Thierry Vignaud
- add support for mini debug packages
  (https://fedoraproject.org/wiki/Features/MiniDebugInfo)
- document Mageia divergences with upstream
- fix typo that breaks emiting maven provides
- generate a perlapi-<version> provide when libperl.so is found
  (inspirated from mdv (pok))
- sync brp-compress with upstream rpm.org:
  o add *.xz and *.lzma recompress support
  o avoid some unnecessary command invocations in scripts
  o make sure brp-compress doesn't go interactive in corner cases
- sync find-debuginfo.sh with upstream rpm.org:
  o add -r flag to find-debuginfo.sh to invoke eu-strip --reloc-debug-sections
    (Mark Wielaard, 2011-05-25)
  o create GDB index from find-debuginfo if possible (Tom Tromey, RhBug:617166)
  o drop useless rpm5 bits (less divergence with upstream)
  o generate debug symlinks for all filenames sharing a build-id (RhBug:641377)
  o fix behavior on cross-directory hardlinks (RhBug:618426)
- kill unused find-provides.perl.in
- prevent RPM_BUILD_ROOT to break brp-* scripts if it contains spaces
  (rpm.org#843)
- revert %_libexecdir change in 1.151
- use upstream brp-strip* as we provided older versions of upstream

Version 1.151 - 26 Jul 2012, by Thierry Vignaud
- fix %_libexecdir that changed to %_libdir when mga forked mdv
  (when we merged manbo stuff)
- install g-ir-extract-deps in the right place
- perl.prov: do not keep lower case provides since we do not
  emit lower case requires anyway
- switch from lzma to xz payload by default (like FC & mdv)
  (supported since 2008)

Version 1.150 - 26 Jul 2012, by Thierry Vignaud
- build with -fPIC on x86_64 too (pok, mdv)

Version 1.149.1 - 25 Jul 2012, by Thierry Vignaud
- merge patches from package repository:
  o fix build with rpm-4.9+
  o fix %rename macro
  o have kmod.prov handle .xz compressed modules as well

Version 1.148 - 25 Jul 2012, by Thierry Vignaud
- drop automatically generated dependencies on interpreters we either don't
  need dependencies on or that we have other dedicated dependency generators
  for making them duplicate, reducing ~5K packages' dependencies at
  next rebuild. (Per Oyvind, mdv)
- drop automatically generated rtld(GNU_HASH) dependencies, it's been provided
  by glibc for five years now and can safely be assumed that there's no longer
  any need for it, reducing ~8K packages' dependency on it during next rebuild.
  (Per Oyvind, mdv)
- "resolve" /bin/env foo interpreter to actual path, rather than generating
  dependencies on coreutils, should trim off ~800 dependencies more
  (Per Oyvind, mdv)
- perl.prov: sync with upstream rpm.org:
  o avoid emitting empty perl() module deps
  o filter out incorrect perl(main) provides (rh#177960)
  o fix perl version provide for packages defined in multiple blocks (#rhbz214496)
  o make perl.{req,prov} warn about unreadable files
  o skip new-fangled head[34] while gerenerating deps (#118243)
  o skip over =for ... perlpod construct (RhBug:477516)
- use upstream fonconfig.prov as we had exactly the same file

Version 1.147-12 - 24 Jul 2012, by Colin
- Update location of the %_unitdir macro post-usrmove

Version 1.147-11 - 01 Jul 2012, by D.Morgan
- Fix generation of provides for osgi and maven

- Handle better osgi.prov by only looking at the wanted files ( remove error at rpm building 
- Handle better maven.prov by only looking at the wanted files ( remove error at rpm building )
- Add support for osgi and maven provide
- Use upstream desktop-file.prov as we had exactly the same file

Version 1.147 - 27 Dec 2011, by Anssi Hannula
- disable internal dep generator as we can't use it yet due to our
  external dep generator customizations
- add support for $EXCLUDE_FROM_FULL_STRIP regexp which makes
  find-debuginfo.sh only strip debugging symbols from the matched files
  (from Mandriva)

Version 1.146 - 24 Dec 2011, by D.Morgan
- Enable new internal dep generator ( needed for java packages)
- fix changelog truncation to 3 years to work with rpm.org

Version 1.145 - 08 Nov 2011, by Jerome Quelin
- Add Java macros from JPackage ( %create_jar_links(), %remove_java_binaries, and gcj functions )
- extract perl requires from MYMETA.yml / MYMETA.json when present

Version 1.144 - 19 Sep 2011, by Funda Wang
- Add support for fdo /usr/share/help when find_lang

Version 1.143 - 11 Sept 2011, by Derek Morgan
- Add automatic rm -fr %buildroot in %install
- Add systemd rpm macro

Version 1.142 - 29 Aug 2011, by Jerome Quelin
- keep lower-case perl provides in automatic extraction

Version 1.141 - 23 Aug 2011, by Funda Wang
- gi deps for python: push python-gi req for python introspection callings

Version 1.140 - 6 Aug 2011, by Funda Wang
- gi deps for python: push python-gi req for python introspection callings

Version 1.139 - 15 July 2011, by Christiaan Welvaart
- gi interdependencies: deps offset 0 means no dependencies

Version 1.138 - 7 July 2011, by Christiaan Welvaart
- gi deps for python: accept arbitrary whitespace in dependency lists

Version 1.137 - 7 July 2011, by Christiaan Welvaart
- extract gobject introspection typelib interdependencies using a helper program

Version 1.136 - 6 July 2011, by Nicolas Vigier
- fix typo added in find-requires script

Version 1.135 - 6 July 2011, by Nicolas Vigier
- add script for typelib() gobject-introspection bindings provides/requires

Version 1.134 - 6 June 2011, by Funda Wang
- add mimehandler autoprov for desktop files

Version 1.133 - 30 May 2011, by Pascal Terjan
- default to core section

Version 1.132 - 30 May 2011, by Pascal Terjan
- do not append .%distro_section if section is core

Version 1.131 - 19 May 2011, by Pascal Terjan
- append .%distro_section if set

Version 1.130 - 6 May 2011, by Nicolas Vigier
- set default distsuffix to .mga (after being changed to mga in version
  1.128)

Version 1.129 - 6 May 2011, by Nicolas Vigier
- find-requires.in: fix script file filtering, according to latest
  changes in file command output

Version 1.128 - 5 May 2011, by Pascal Terjan
- allow setting distsuffix at build time

Version 1.127 - 28 April 2011, by Nicolas Vigier
- make mgaversion macro return distro_release
- pkgconfigdeps.sh: run pkg-config only on .pc file in a pkgconfig
  directory

Version 1.126 - 23 March 2011, by Nicolas Vigier
- pkgconfigdeps.sh: check if the list of .pc files is not null before
  running pkg-config on it

Version 1.125 - 23 March 2011, by Nicolas Vigier
- pkgconfigdeps.sh was incorrectly checking for pkg-config output
  (bug #497)
- add more errors on pkg-config failure

Version 1.124 - 16 March 2011, by Arnaud Patard
- fix %_host macro to have full host triplet, to avoid break arm as
  it's using -gnueabi and not -gnu

Version 1.123 - 13 March 2011, by Nicolas Vigier
- add fontconfig.prov provides script

Version 1.122 - 4 March 2011, by Nicolas Vigier
- kmod.prov: exit 0 when there is no error
- check if pkgconfig version is defined, or exit with an error

Version 1.121 - 3 March 2011, by Nicolas Vigier
- filter.sh: return error when the script called generate an error
- find-requires.in: test return value of called require scripts and
  exit with error in case of error
- find-provides.in: test return value of called provide scripts and
  exit with error in case of error

Version 1.120 - 3 March 2011, by Thomas Backlund
- kmod.prov: convert special chars [,],:,- to _ when generating
  kernel module version provides (needed with rpm-4.8.1)

Version 1.119 - 2 March 2011, by Jerome Quelin
- make v1.118 work with perl modules having a number followed by a _ in
  their name, and a fully qualified VERSION (eg $l1_cache::VERSION = ...)

Version 1.118 - 26 February 2011, by Jerome Quelin
- support for _ in perl module version

Version 1.117 - 20 February 2011, by Ahmad Samir
- merge svn rev. 271797 from Mandriva to make the python auto-requires always
  lowercase

Version 1.116 - 5 February 2011, by Thomas Backlund
- merge rpmrc from rpm-manbo-setup
- merge manbo.macros from rpm-manbo-setup
- merge manbo-build.macros from rpm-manbo-setup
- merge under/overlinking scripts from rpm-manbo-setup
- merge rpm -b deprecated warning scripts from rpm-manbo-setup

Version 1.115 - 9 January 2011, by Oliver Blin
- initial Mageia import

Version 1.114 - 9 December 2010, by Rémy Clouard
- only add runtime dependencies in rubygems.rb

Version 1.113 - 2 November 2010, by Funda Wang
- find gstreamer provides

Version 1.112 - 1 November 2010, by Per Øyvind Karlsen
- enable python egg provides/requires.

Version 1.111 - 30 October 2010, by Anssi Hannula
- generate requires on "python(abi) = x.y" instead of "python >= x.y" for
  python modules to properly handle the strict dependency
- remove runtime dependencies from %py_requires as they are now handled
  automatically

Version 1.110 - 18 October 2010, by Per Øyvind Karlsen
- fix warning from rubygems.rb
- drop %gem_unpack, equivalent behaviour has been implemented in %setup now
 
Version 1.109 - 16 October 2010, by Per Øyvind Karlsen
- don't install dependencies for gems when using %gem_install
- fix build with rpm 5.3

Version 1.108 - 16 October 2010, by Per Øyvind Karlsen
- add gem_helper.rb and it's corresponding macros %gem_unpack, %gem_build &
  gem_install for simplifying & streamlining ruby gem packaging.
 
Version 1.107 -  9 September 2010, by Per Øyvind Karlsen
- enable automatic dependency extraction for ruby gems

Version 1.106 - 16 July 2010, by Jerome Quelin
- extract perl module version when $Full::Package::VERSION is set

Version 1.105 - 14 July 2010, by Jerome Quelin
- support to extract perl runtime requires from meta spec 2

Version 1.104 - 27 April 2010, by Christophe Fergeau
- revert previous '-g' addition when stripping shared libraries since it 
  increases shared library sizes by 10 to 20% for no good reason

Version 1.103 - 16 April 2010, by Per Øyvind Karlsen
- strip shared libraries with the '-g' option

Version 1.102 -  8 April 2010, by Michael Scherer
- do not requires python 2.X branch rpm for python 3.X modules, 
  requires instead python 3.X interpreter

Version 1.101 - 26 March 2010, by Jerome Quelin
- fix find-requires to call perl.req-from-meta with the correct meta
  file when there are multiple meta file in the package

Version 1.100 - 14 March 2010, by Jerome Quelin
- fix find-requires to look for correct meta.yml before calling
  perl.req-from-meta
- make perl.prov skip comment lines

Version 1.99 -  9 March 2010, by Per Øyvind Karlsen
- allow for for only stripping files without creating debug package contents by
  setting DISABLE_DEBUG environment variable.

Version 1.98 -  5 March 2010, by Per Øyvind Karlsen
- Update find-debuginfo.sh from upstream
- new script: perl.req-from-meta (jquelin)

Version 1.97 - 12 December 2009, by Anssi Hannula
- fix package build when the debug package is empty (regression introduded in
  1.96)

Version 1.96 - 10 December 2009, by Anssi Hannula
- fix perl.prov to assign versions to provides when the version is declared
  with 'our' or 'my' keyword, or when it is prepended with code
  (Jérôme Quelin)
- replace %sunsparc with %sparc & %sparcx (from rpm5.org, Per Øyvind Karlsen)
- support ELF executables only as a.out has been deprecated since ages
  ago (fixes objdump 'File format not recognized' errors) (Per Øyvind Karlsen)
- don't try finding debug files in buildroot when there's none
  (Per Øyvind Karlsen)

Version 1.95 - 25 September 2009, by Olivier Blin
- MIPS and ARM support (from Arnaud Patard):
  o add mipsel support
  o introduce CANONTARGETGNU, to be able to use -gnueabi for ARM
  o add arm support and use -gnueabi instead of -gnu

Version 1.94 - 8 August 2009, by Anssi Hannula
- update perl_convert_version to keep alphabetic tail in version number
  (Luca Berra)

Version 1.93 - 28 July 2009, by Christophe Fergeau
- update perl_convert_version macro (Jérôme Quelin)

Version 1.92 - 9 July 2009, by Christophe Fergeau 
- making sure automatic provides & requires for perl package are using the
  new macro %perl_convert_version (jquelin)
- rpm5 fixes (peroyvind)

Version 1.91 - 3 February 2009, by Christophe Fergeau
- build.macros.in
  o add new perl_convert_version macro to convert cpan version to rpm version
- git-repository--after-tarball:
  o commit the tarball with user "unknown author <cooker@mandrivalinux.org>"
  o commit the tarball using the tarball's modification time

Version 1.90 - 29 January 2009, by Pixel

- call patch with -U (aka --unified-reject-files)

Version 1.89 - 29 January 2009, by Pixel

- when %_with_git_repository is set, define %_after_setup and %_patch to use
  the new scripts git-repository--after-tarball and git-repository--apply-patch

Version 1.88 - 7 January 2009, by Christophe Fergeau

- fix ugly warning during invocation of php.req
- RPM5 fixes 
