aboutsummaryrefslogtreecommitdiffstats
path: root/build.macros.in
Commit message (Collapse)AuthorAgeFilesLines
* %rename: take a 2nd arg to set the VR to obsoleteThierry Vignaud2020-06-231-2/+2
| | | | See mga#26801 too
* %rename: don't obsolete what is provided (mga#26801)Thierry Vignaud2020-06-221-1/+1
| | | | | It was already done in commit 5172a8d2bcd354f2d0dcaf8d804ac5bdb0932dc9 but then got reversed in commit 73f9d115e69ab000a2fa4fadd3b4bf31f4c94534
* build.macros: add _configure_gnuconfig_hack macro based on one from Fedora ↵Jani Välimaa2020-06-011-0/+8
| | | | | | to update config.{guess,sub} By default _configure_gnuconfig_hack is set to 1 and thus enabled.
* build macros: add _legacy_common_support macro for adding -fcommon to ↵Jani Välimaa2020-05-211-1/+1
| | | | | | | | | | | | | | | compiler flags Since version 10, gcc defaults to '-fno-common': https://gcc.gnu.org/gcc-10/porting_to.html#common Builds may fail with 'multiple definition of ...' errors. As a short term workaround for such failure, it is possible to add '-fcommon' to the flags by defining '%_legacy_common_support'. %define _legacy_common_support 1 Properly fixing the failure is always preferred!
* build.macros: run /usr/lib/rpm/check-buildroot at end of %install scriptlet ↵Jani Välimaa2020-05-091-0/+2
| | | | via __arch_install_post
* Revert "build.macros: remove '--without <section>' rpmbuild functionality"Thierry Vignaud2020-02-121-1/+25
| | | | | | | This reverts commit 5057c7c260790cbe5dffeb823ff186282cdfd7f1. Rationale: it's very useful in order to work on huge packages before submiting them to BS
* Revert "build.macros: drop unused _with() and _without() macros originating ↵Thierry Vignaud2020-02-121-0/+5
| | | | | | to RPM 4.4" This reverts commit c77511f05f13b1d568a6f04a1a9cf2625f40666e.
* build.macros: add __spec_install_postJani Välimaa2020-02-041-0/+6
|
* build.macros: remove '--without <section>' rpmbuild functionalityJani Välimaa2020-02-041-25/+1
| | | | It was the only leftover using _with().
* build.macros: drop unused _with() and _without() macros originating to RPM 4.4Jani Välimaa2020-02-021-5/+0
|
* build.macros: drop old perl compatibility macrosJani Välimaa2020-02-011-4/+0
| | | | | | Nothing in SVN uses these macros anymore: %perl_sitearch %perl_archlib
* build.macros: drop old python py_* compatibility macrosJani Välimaa2020-02-011-11/+0
| | | | | | | | All .specs in SVN were cleaned from usage of: %py_platlibdir %py_purelibdir %py_platsitedir %py_puresitedir
* build.macros: remove old pyver macro (to be added to python-rpm-macros pkg)Jani Välimaa2020-02-011-4/+0
|
* build.macros: drop unused _package_i18n() macroJani Välimaa2020-01-221-13/+0
|
* build.macros: add mistakenly removed --prefix= back to configure macroJani Välimaa2020-01-161-0/+1
| | | | --prefix was removed by a mistake in commit f8280d3cd69710d5f6e5bf80bb44900a8ebe46de
* build.macros: fix tabs vs. spacesJani Välimaa2020-01-161-1/+1
|
* build macros: fix configure macro continuationJani Välimaa2020-01-161-1/+1
|
* build.macros: sync configure macro with rpm upstreamJani Välimaa2020-01-161-5/+6
|
* build.macros: replace configure2_5x with configure macroJani Välimaa2020-01-161-6/+3
|
* build.macros: drop legacy libtoolize calls from configure macrosJani Välimaa2020-01-161-9/+1
|
* build.macros: drop deprecated and unused __cputoolize macorJani Välimaa2020-01-161-1/+0
|
* build.macros: drop legacy --x-includes= and --x-libraries= from configure macrosJani Välimaa2020-01-161-3/+1
|
* Clean build.macros.in a bitJani Välimaa2019-12-281-6/+4
|
* build.macros: add build_* flags and set_build_flags macro from upstream rpmJani Välimaa2019-12-281-6/+34
| | | | | | | %build_cflags %build_cxxflags %build_fflags %build_ldflags
* build.macros: add __global_* flags for compatibility with FedoraJani Välimaa2019-12-281-1/+7
| | | | | | | | %__global_cflags %{build_cflags} %__global_cxxflags %{build_cxxflags} %__global_fflags %{build_fflags} %__global_fcflags %{build_fflags} %__global_ldflags %{build_ldflags}
* build.macros: drop unused make_session and make_dm_sessionJani Välimaa2019-12-281-6/+0
|
* build.macros: drop more unused macrosJani Välimaa2019-12-271-3/+0
|
* build.macros: drop unused _update_menus_bin macroJani Välimaa2019-12-271-3/+1
|
* build.macros: drop unused __chkconfig and __service macrosJani Välimaa2019-12-271-3/+0
|
* build.macros: drop deprecated and unused post_install_gconf_schemasJani Välimaa2019-12-271-3/+1
|
* build.macros: drop deprecated and unused macrosJani Välimaa2019-12-271-10/+0
|
* build.macros: use %{warn:...} macro for deprecation warningsJani Välimaa2019-12-271-3/+3
|
* build.macros: remove %_after_setup leftoversJani Välimaa2019-12-261-8/+0
| | | | Support for it was dropped when introduce-_after_setup-which-is-called-after-setup.patch was removed from rpm
* Replace setup_compile_flags rpm macro with upstream set_build_flags macroJani Välimaa2019-12-261-5/+3
| | | | Deprecation warning is output is %setup_compile_flags is used.
* Switch binary payload compression to Zstandard level 19Thierry Vignaud2019-12-231-2/+2
| | | | | for faster installations, as discussed with tmb See https://fedoraproject.org/wiki/Changes/Switch_RPMs_to_zstd_compression
* fix %__libtoolize disapearing in rpm-4.15 (mga#25440)Thierry Vignaud2019-09-191-0/+1
|
* Add %_metainfodir macro for appdata metainfo dirJani Välimaa2019-01-191-0/+3
|
* Strip binaries and libraries in __os_install_post if __debug_package isn't ↵Jani Välimaa2018-10-211-0/+10
| | | | | | | | | defined Add __brp_strip, __brp_strip_comment_note, __brp_strip_static_archive and __brp_strip_shared for stripping. One can skip stripping by using '%define __strip %{_bindir}/true' in .spec, if needed.
* remove macros duplicated from rpmThierry Vignaud2018-09-241-2/+0
|
* those macros are used at build timeThierry Vignaud2018-09-241-0/+6
|
* remove sparc lists unused for yearsThierry Vignaud2018-09-241-3/+0
|
* sync comment with FCThierry Vignaud2018-09-241-2/+7
|
* Automatically compile python filesThierry Vignaud2018-09-241-0/+4
|
* add __brp_mangle_shebangs from FC in order to:Thierry Vignaud2018-09-241-0/+6
| | | | | | | - fix /bin -> /usr/bin - resolve "env foobar" -> "foobar" install it in /usr/lib/rpm/redhat to make clear from where it comes
* split %__brp_python_hardlink tooThierry Vignaud2018-09-241-1/+2
|
* split&sync %__brp_python_bytecompile with upstreamThierry Vignaud2018-09-241-1/+5
| | | | | | | | Thus using "%global __python %{__python3}" enables to properly fix python3 bytecompiling Also recognize %_python_bytecompile_extra for compiling outisde python specific directories
* kill unusued %_python_bytecompile_build macroThierry Vignaud2018-09-241-3/+0
|
* terminate build when missing buildids by defaultThierry Vignaud2018-09-241-0/+4
|
* move %__spec_install_pre tooThierry Vignaud2018-09-241-12/+14
| | | | it's now easier to compare with FC
* move %__os_install_postThierry Vignaud2018-09-241-6/+6
| | | | | It's run at end of %install, not at beginning Plus it's now easier to compare with FC