aboutsummaryrefslogtreecommitdiffstats
path: root/build.macros.in
Commit message (Collapse)AuthorAgeFilesLines
* Rename build.macros as macros.buildJani Välimaa2023-01-071-475/+0
|
* build.macros: use -Wl,--build-id=sha1 with %build_ldflagsJani Välimaa2022-06-191-1/+5
|
* build.macros: remove macro definitions living in python-rpm-macrosJani Välimaa2022-04-101-12/+0
| | | | | | - py_auto_byte_compile - _python_bytecompile_errors_terminate_build - _python_bytecompile_extra
* build.macros: use %__os_install_post_python in %__os_install_postJani Välimaa2022-04-101-1/+1
|
* build.macros: remove %__brp_python_bytecompile as it lives now in ↵Jani Välimaa2022-04-101-1/+0
| | | | python-rpm-macros
* build.macros: export LT_SYS_LIBRARY_PATH with %set_build_flagsJani Välimaa2021-10-171-1/+3
| | | | | Setting LT_SYS_LIBRARY_PATH prevents libtool from hardcoding %_libdir into the binaries' RPATH (originally from Fedora).
* build.macros: remove .la files before mangling shebangsJani Välimaa2021-09-071-1/+1
| | | | | | | Avoid warnings like: + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/lib64/libfoo.la is executable but has no shebang, removing executable bit + /usr/lib/rpm/brp-remove-la-files
* build.macros: run /usr/lib/rpm/brp-remove-la-files after %installJani Välimaa2021-09-071-0/+2
| | | | | /usr/lib/rpm/brp-remove-la-files was added to RPM 4.17.0 https://github.com/rpm-software-management/rpm/commit/e0de325e1d13fb65066ad09d16cb08ba6e294901
* build.macros: run /usr/lib/rpm/check-rpaths after %installJani Välimaa2021-09-071-0/+2
|
* Drop __brp_python_hardlink for rpm-4.17beta1Thierry Vignaud2021-06-221-2/+0
|
* Drop __brp_strip_shared b/c of rpm-4.17Thierry Vignaud2021-06-011-2/+0
| | | | | It has been removed in rpm-4.17: https://github.com/rpm-software-management/rpm/commit/fd519223ae91f254a913c26f09c1289bf687e277
* build.macros: Disable python byte compilation outside python dirs by default ↵Jani Välimaa2021-02-281-2/+2
| | | | (set _python_bytecompile_extra to 0)
* %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.