aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* macros: simplify %serverbuild macroJani Välimaa2023-12-052-2/+3
|
* macros: use -fstack-protector-strong instead of '-fstack-protector ↵Jani Välimaa2023-12-052-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 archesJani Välimaa2023-12-052-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 flagsJani Välimaa2023-12-052-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/rpmrcJani Välimaa2023-12-052-5/+1
|
* rpmrc: drop more archesJani Välimaa2023-12-051-6/+0
|
* rpmrc: drop arches we don't really supportJani Välimaa2023-12-052-66/+1
|
* macros: use -Wl,-z,now with -Wl,-z,relro unless _disable_ld_now is definedJani Välimaa2023-12-052-1/+2
|
* Mangle script shebangsJani Välimaa2023-11-229-8/+10
|
* 2.732.73Jani Välimaa2023-11-222-1/+2
|
* macros: include RUSTFLAGS in %set_build_flags (rhbz#2167183)Jani Välimaa2023-11-212-0/+2
| | | | | | Include RUSTFLAGS in %set_build_flags Resolves: https://bugzilla.redhat.com/2167183
* macros: set -g when building Vala applicationsJani Välimaa2023-11-212-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 variableJani Välimaa2023-11-212-1/+5
| | | | and undefine _FORTIFY_SOURCE before defining it to avoid build warnings on some packages defining it already
* 2.722.72Jani Välimaa2023-11-182-1/+2
|
* macros: define _use_weak_usergroup_deps to only add user() and group() ↵Jani Välimaa2023-11-182-0/+5
| | | | requires as recommends
* 2.712.71distro/mga9Jani Välimaa2023-01-152-1/+2
|
* brp-mangle-shebangs: also mangle shebangs of JavaScript executables ↵Jani Välimaa2023-01-152-1/+2
| | | | (rhbz#1998924)
* macros: drop unused %_sys_macros_dir and %build_sysmacrospath()Jani Välimaa2023-01-152-3/+2
|
* 2.702.70Jani Välimaa2023-01-072-1/+2
|
* Macros: drop separate macros.buildJani Välimaa2023-01-074-477/+477
|
* 2.692.69Jani Välimaa2023-01-072-1/+2
|
* Rename build.macros as macros.buildJani Välimaa2023-01-073-1/+2
|
* macros.gnome: really add to distJani Välimaa2023-01-073-1/+4
|
* 2.682.68Jani Välimaa2023-01-072-1/+3
|
* Add macros.gnomeJani Välimaa2023-01-072-0/+23
| | | | Introduce %url_ver and %tarball_version macros
* Sync script and tag lists with rpm 4.12.90Ville Skyttä2022-09-131-4/+10
|
* Update NEWS for rpm-spec-mode.el updateJani Välimaa2022-09-131-0/+3
|
* Fix compatibility with Emacs 28.1Bhavin Gandhi2022-09-131-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.67Jani Välimaa2022-09-032-1/+2
|
* Replace obsolescent egrep with 'grep -E' in devel.prov and devel.reqJani Välimaa2022-09-033-3/+5
|
* 2.662.66Jani Välimaa2022-06-192-1/+2
|
* build.macros: use -Wl,--build-id=sha1 with %build_ldflagsJani Välimaa2022-06-192-1/+7
|
* 2.652.65Jani Välimaa2022-04-102-1/+2
|
* build.macros: remove macro definitions living in python-rpm-macrosJani Välimaa2022-04-102-12/+5
| | | | | | - py_auto_byte_compile - _python_bytecompile_errors_terminate_build - _python_bytecompile_extra
* 2.642.64Jani Välimaa2022-04-102-1/+2
|
* build.macros: use %__os_install_post_python in %__os_install_postJani Välimaa2022-04-102-1/+3
|
* 2.632.63Jani Välimaa2022-04-102-1/+2
|
* build.macros: remove %__brp_python_bytecompile as it lives now in ↵Jani Välimaa2022-04-102-1/+2
| | | | python-rpm-macros
* 2.622.62Jani Välimaa2021-10-172-1/+2
|
* build.macros: export LT_SYS_LIBRARY_PATH with %set_build_flagsJani Välimaa2021-10-172-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.71Jani Välimaa2021-09-072-5/+7
|
* 2.612.61Jani Välimaa2021-09-072-1/+2
|
* 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
* Update NEWSJani Välimaa2021-09-071-0/+1
|
* Fix handling of files without newlines in brp-mangle-shebangLumir Balhar2021-09-071-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 %installJani Välimaa2021-09-072-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 %installJani Välimaa2021-09-072-0/+4
|
* Add backup files ending with a tilde ~ to .gitignoreJani Välimaa2021-07-281-0/+1
|
* 2.602.60Thierry Vignaud2021-06-232-1/+2
|
* Drop __brp_python_hardlink for rpm-4.17beta1Thierry Vignaud2021-06-222-3/+3
|