Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | build.macros: use -Wl,--build-id=sha1 with %build_ldflags | Jani Välimaa | 2022-06-19 | 1 | -1/+5 |
| | |||||
* | build.macros: remove macro definitions living in python-rpm-macros | Jani Välimaa | 2022-04-10 | 1 | -12/+0 |
| | | | | | | - py_auto_byte_compile - _python_bytecompile_errors_terminate_build - _python_bytecompile_extra | ||||
* | build.macros: use %__os_install_post_python in %__os_install_post | Jani Välimaa | 2022-04-10 | 1 | -1/+1 |
| | |||||
* | build.macros: remove %__brp_python_bytecompile as it lives now in ↵ | Jani Välimaa | 2022-04-10 | 1 | -1/+0 |
| | | | | python-rpm-macros | ||||
* | build.macros: export LT_SYS_LIBRARY_PATH with %set_build_flags | Jani Välimaa | 2021-10-17 | 1 | -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 shebangs | Jani Välimaa | 2021-09-07 | 1 | -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 %install | Jani Välimaa | 2021-09-07 | 1 | -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 %install | Jani Välimaa | 2021-09-07 | 1 | -0/+2 |
| | |||||
* | Drop __brp_python_hardlink for rpm-4.17beta1 | Thierry Vignaud | 2021-06-22 | 1 | -2/+0 |
| | |||||
* | Drop __brp_strip_shared b/c of rpm-4.17 | Thierry Vignaud | 2021-06-01 | 1 | -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älimaa | 2021-02-28 | 1 | -2/+2 |
| | | | | (set _python_bytecompile_extra to 0) | ||||
* | %rename: take a 2nd arg to set the VR to obsolete | Thierry Vignaud | 2020-06-23 | 1 | -2/+2 |
| | | | | See mga#26801 too | ||||
* | %rename: don't obsolete what is provided (mga#26801) | Thierry Vignaud | 2020-06-22 | 1 | -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älimaa | 2020-06-01 | 1 | -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älimaa | 2020-05-21 | 1 | -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älimaa | 2020-05-09 | 1 | -0/+2 |
| | | | | via __arch_install_post | ||||
* | Revert "build.macros: remove '--without <section>' rpmbuild functionality" | Thierry Vignaud | 2020-02-12 | 1 | -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 Vignaud | 2020-02-12 | 1 | -0/+5 |
| | | | | | | to RPM 4.4" This reverts commit c77511f05f13b1d568a6f04a1a9cf2625f40666e. | ||||
* | build.macros: add __spec_install_post | Jani Välimaa | 2020-02-04 | 1 | -0/+6 |
| | |||||
* | build.macros: remove '--without <section>' rpmbuild functionality | Jani Välimaa | 2020-02-04 | 1 | -25/+1 |
| | | | | It was the only leftover using _with(). | ||||
* | build.macros: drop unused _with() and _without() macros originating to RPM 4.4 | Jani Välimaa | 2020-02-02 | 1 | -5/+0 |
| | |||||
* | build.macros: drop old perl compatibility macros | Jani Välimaa | 2020-02-01 | 1 | -4/+0 |
| | | | | | | Nothing in SVN uses these macros anymore: %perl_sitearch %perl_archlib | ||||
* | build.macros: drop old python py_* compatibility macros | Jani Välimaa | 2020-02-01 | 1 | -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älimaa | 2020-02-01 | 1 | -4/+0 |
| | |||||
* | build.macros: drop unused _package_i18n() macro | Jani Välimaa | 2020-01-22 | 1 | -13/+0 |
| | |||||
* | build.macros: add mistakenly removed --prefix= back to configure macro | Jani Välimaa | 2020-01-16 | 1 | -0/+1 |
| | | | | --prefix was removed by a mistake in commit f8280d3cd69710d5f6e5bf80bb44900a8ebe46de | ||||
* | build.macros: fix tabs vs. spaces | Jani Välimaa | 2020-01-16 | 1 | -1/+1 |
| | |||||
* | build macros: fix configure macro continuation | Jani Välimaa | 2020-01-16 | 1 | -1/+1 |
| | |||||
* | build.macros: sync configure macro with rpm upstream | Jani Välimaa | 2020-01-16 | 1 | -5/+6 |
| | |||||
* | build.macros: replace configure2_5x with configure macro | Jani Välimaa | 2020-01-16 | 1 | -6/+3 |
| | |||||
* | build.macros: drop legacy libtoolize calls from configure macros | Jani Välimaa | 2020-01-16 | 1 | -9/+1 |
| | |||||
* | build.macros: drop deprecated and unused __cputoolize macor | Jani Välimaa | 2020-01-16 | 1 | -1/+0 |
| | |||||
* | build.macros: drop legacy --x-includes= and --x-libraries= from configure macros | Jani Välimaa | 2020-01-16 | 1 | -3/+1 |
| | |||||
* | Clean build.macros.in a bit | Jani Välimaa | 2019-12-28 | 1 | -6/+4 |
| | |||||
* | build.macros: add build_* flags and set_build_flags macro from upstream rpm | Jani Välimaa | 2019-12-28 | 1 | -6/+34 |
| | | | | | | | %build_cflags %build_cxxflags %build_fflags %build_ldflags | ||||
* | build.macros: add __global_* flags for compatibility with Fedora | Jani Välimaa | 2019-12-28 | 1 | -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_session | Jani Välimaa | 2019-12-28 | 1 | -6/+0 |
| | |||||
* | build.macros: drop more unused macros | Jani Välimaa | 2019-12-27 | 1 | -3/+0 |
| | |||||
* | build.macros: drop unused _update_menus_bin macro | Jani Välimaa | 2019-12-27 | 1 | -3/+1 |
| | |||||
* | build.macros: drop unused __chkconfig and __service macros | Jani Välimaa | 2019-12-27 | 1 | -3/+0 |
| | |||||
* | build.macros: drop deprecated and unused post_install_gconf_schemas | Jani Välimaa | 2019-12-27 | 1 | -3/+1 |
| | |||||
* | build.macros: drop deprecated and unused macros | Jani Välimaa | 2019-12-27 | 1 | -10/+0 |
| | |||||
* | build.macros: use %{warn:...} macro for deprecation warnings | Jani Välimaa | 2019-12-27 | 1 | -3/+3 |
| | |||||
* | build.macros: remove %_after_setup leftovers | Jani Välimaa | 2019-12-26 | 1 | -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 macro | Jani Välimaa | 2019-12-26 | 1 | -5/+3 |
| | | | | Deprecation warning is output is %setup_compile_flags is used. | ||||
* | Switch binary payload compression to Zstandard level 19 | Thierry Vignaud | 2019-12-23 | 1 | -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 Vignaud | 2019-09-19 | 1 | -0/+1 |
| | |||||
* | Add %_metainfodir macro for appdata metainfo dir | Jani Välimaa | 2019-01-19 | 1 | -0/+3 |
| | |||||
* | Strip binaries and libraries in __os_install_post if __debug_package isn't ↵ | Jani Välimaa | 2018-10-21 | 1 | -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 rpm | Thierry Vignaud | 2018-09-24 | 1 | -2/+0 |
| |