Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | macros: simplify %serverbuild macro | Jani Välimaa | 2023-12-05 | 2 | -2/+3 |
| | |||||
* | macros: use -fstack-protector-strong instead of '-fstack-protector ↵ | Jani Välimaa | 2023-12-05 | 2 | -1/+2 |
| | | | | | | --param=ssp-buffer-size=4' in %_ssp_cflags Recommended in https://best.openssf.org/Compiler-Hardening-Guides/Compiler-Options-Hardening-Guide-for-C-and-C++.html | ||||
* | rpmrc: add -fstack-clash-protection to default flags for all supported arches | Jani Välimaa | 2023-12-05 | 2 | -11/+12 |
| | | | | Recommended in https://best.openssf.org/Compiler-Hardening-Guides/Compiler-Options-Hardening-Guide-for-C-and-C++.html | ||||
* | rpmrc: add -mbranch-protection=standard to aarch64 default flags | Jani Välimaa | 2023-12-05 | 2 | -1/+2 |
| | | | | Recommended in https://best.openssf.org/Compiler-Hardening-Guides/Compiler-Options-Hardening-Guide-for-C-and-C++.html | ||||
* | rpmrc: drop arch_compat also available in /usr/lib/rpm/rpmrc | Jani Välimaa | 2023-12-05 | 2 | -5/+1 |
| | |||||
* | rpmrc: drop more arches | Jani Välimaa | 2023-12-05 | 1 | -6/+0 |
| | |||||
* | rpmrc: drop arches we don't really support | Jani Välimaa | 2023-12-05 | 2 | -66/+1 |
| | |||||
* | macros: use -Wl,-z,now with -Wl,-z,relro unless _disable_ld_now is defined | Jani Välimaa | 2023-12-05 | 2 | -1/+2 |
| | |||||
* | Mangle script shebangs | Jani Välimaa | 2023-11-22 | 9 | -8/+10 |
| | |||||
* | 2.732.73 | Jani Välimaa | 2023-11-22 | 2 | -1/+2 |
| | |||||
* | macros: include RUSTFLAGS in %set_build_flags (rhbz#2167183) | Jani Välimaa | 2023-11-21 | 2 | -0/+2 |
| | | | | | | Include RUSTFLAGS in %set_build_flags Resolves: https://bugzilla.redhat.com/2167183 | ||||
* | macros: set -g when building Vala applications | Jani Välimaa | 2023-11-21 | 2 | -1/+6 |
| | | | | | | | | | | | | | | From https://src.fedoraproject.org/rpms/redhat-rpm-config/c/d097058 Set -g when building Vala applications This requires the build system support VALAFLAGS. At least Meson and Automake do. Using -g is desired because it allows us to see Vala source files and line numbers in backtraces when possible, falling back to generated C code otherwise. Line numbers for generated C are almost always less useful when debugging crashes. | ||||
* | - macros: make _FORTIFY_SOURCE flags configurable via %_fortify_level variable | Jani Välimaa | 2023-11-21 | 2 | -1/+5 |
| | | | | and undefine _FORTIFY_SOURCE before defining it to avoid build warnings on some packages defining it already | ||||
* | 2.722.72 | Jani Välimaa | 2023-11-18 | 2 | -1/+2 |
| | |||||
* | macros: define _use_weak_usergroup_deps to only add user() and group() ↵ | Jani Välimaa | 2023-11-18 | 2 | -0/+5 |
| | | | | requires as recommends | ||||
* | 2.712.71distro/mga9 | Jani Välimaa | 2023-01-15 | 2 | -1/+2 |
| | |||||
* | brp-mangle-shebangs: also mangle shebangs of JavaScript executables ↵ | Jani Välimaa | 2023-01-15 | 2 | -1/+2 |
| | | | | (rhbz#1998924) | ||||
* | macros: drop unused %_sys_macros_dir and %build_sysmacrospath() | Jani Välimaa | 2023-01-15 | 2 | -3/+2 |
| | |||||
* | 2.702.70 | Jani Välimaa | 2023-01-07 | 2 | -1/+2 |
| | |||||
* | Macros: drop separate macros.build | Jani Välimaa | 2023-01-07 | 4 | -477/+477 |
| | |||||
* | 2.692.69 | Jani Välimaa | 2023-01-07 | 2 | -1/+2 |
| | |||||
* | Rename build.macros as macros.build | Jani Välimaa | 2023-01-07 | 3 | -1/+2 |
| | |||||
* | macros.gnome: really add to dist | Jani Välimaa | 2023-01-07 | 3 | -1/+4 |
| | |||||
* | 2.682.68 | Jani Välimaa | 2023-01-07 | 2 | -1/+3 |
| | |||||
* | Add macros.gnome | Jani Välimaa | 2023-01-07 | 2 | -0/+23 |
| | | | | Introduce %url_ver and %tarball_version macros | ||||
* | Sync script and tag lists with rpm 4.12.90 | Ville Skyttä | 2022-09-13 | 1 | -4/+10 |
| | |||||
* | Update NEWS for rpm-spec-mode.el update | Jani Välimaa | 2022-09-13 | 1 | -0/+3 |
| | |||||
* | Fix compatibility with Emacs 28.1 | Bhavin Gandhi | 2022-09-13 | 1 | -4/+4 |
| | | | | | | | | | | Functions without WHEN were deprecated in 23.1 https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS.28#n3063 I wasn't able to find any history of rpm-spec-mode prior 0.12, so setting the WHEN to 0.12. Signed-off-by: Bhavin Gandhi <bhavin7392@gmail.com> | ||||
* | 2.672.67 | Jani Välimaa | 2022-09-03 | 2 | -1/+2 |
| | |||||
* | Replace obsolescent egrep with 'grep -E' in devel.prov and devel.req | Jani Välimaa | 2022-09-03 | 3 | -3/+5 |
| | |||||
* | 2.662.66 | Jani Välimaa | 2022-06-19 | 2 | -1/+2 |
| | |||||
* | build.macros: use -Wl,--build-id=sha1 with %build_ldflags | Jani Välimaa | 2022-06-19 | 2 | -1/+7 |
| | |||||
* | 2.652.65 | Jani Välimaa | 2022-04-10 | 2 | -1/+2 |
| | |||||
* | build.macros: remove macro definitions living in python-rpm-macros | Jani Välimaa | 2022-04-10 | 2 | -12/+5 |
| | | | | | | - py_auto_byte_compile - _python_bytecompile_errors_terminate_build - _python_bytecompile_extra | ||||
* | 2.642.64 | Jani Välimaa | 2022-04-10 | 2 | -1/+2 |
| | |||||
* | build.macros: use %__os_install_post_python in %__os_install_post | Jani Välimaa | 2022-04-10 | 2 | -1/+3 |
| | |||||
* | 2.632.63 | Jani Välimaa | 2022-04-10 | 2 | -1/+2 |
| | |||||
* | build.macros: remove %__brp_python_bytecompile as it lives now in ↵ | Jani Välimaa | 2022-04-10 | 2 | -1/+2 |
| | | | | python-rpm-macros | ||||
* | 2.622.62 | Jani Välimaa | 2021-10-17 | 2 | -1/+2 |
| | |||||
* | build.macros: export LT_SYS_LIBRARY_PATH with %set_build_flags | Jani Välimaa | 2021-10-17 | 2 | -1/+4 |
| | | | | | Setting LT_SYS_LIBRARY_PATH prevents libtool from hardcoding %_libdir into the binaries' RPATH (originally from Fedora). | ||||
* | configure.ac: update and modernize with autoconf 2.71 | Jani Välimaa | 2021-09-07 | 2 | -5/+7 |
| | |||||
* | 2.612.61 | Jani Välimaa | 2021-09-07 | 2 | -1/+2 |
| | |||||
* | 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 | ||||
* | Update NEWS | Jani Välimaa | 2021-09-07 | 1 | -0/+1 |
| | |||||
* | Fix handling of files without newlines in brp-mangle-shebang | Lumir Balhar | 2021-09-07 | 1 | -1/+8 |
| | | | | | | | | | | | If the file we are trying to mangle a shebang in has 0 lines (as reported by `wc`) `read` command fails to read the first line and the script fails silently. Text files without newlines should not be executable as there is no way for them to contain a shebang. Signed-off-by: Jani Välimaa <wally@mageia.org> | ||||
* | build.macros: run /usr/lib/rpm/brp-remove-la-files after %install | Jani Välimaa | 2021-09-07 | 2 | -0/+3 |
| | | | | | /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 | 2 | -0/+4 |
| | |||||
* | Add backup files ending with a tilde ~ to .gitignore | Jani Välimaa | 2021-07-28 | 1 | -0/+1 |
| | |||||
* | 2.602.60 | Thierry Vignaud | 2021-06-23 | 2 | -1/+2 |
| | |||||
* | Drop __brp_python_hardlink for rpm-4.17beta1 | Thierry Vignaud | 2021-06-22 | 2 | -3/+3 |
| |