aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* rpmrc: remove -fstack-clash-protection from armv7 default flagsJani Välimaa2024-02-292-4/+6
|
* Add patches to .gitignoreJani Välimaa2024-02-261-0/+1
|
* 2.74.12.74.1Jani Välimaa2024-02-232-2/+3
|
* rpmrc: remove -fcf-protection=full from i586 default flags (needs i686 or newer)Jani Välimaa2024-02-232-1/+3
| | | | | | | According to gcc manual [1] fcf-protection relies on Intel Control-flow Enforcement Technology (CET) which works for i686 processor or newer. [1] https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.html#index-fcf-protection
* 2.742.74Jani Välimaa2024-02-232-1/+2
|
* rpmeval: fix build with gcc13Jani Välimaa2024-02-222-0/+2
| | | | | | | | | Fixes the following build error with gcc >= 13. rpmeval.c: In function 'main': rpmeval.c:22:14: error: implicit declaration of function 'rpmReadConfigFiles' [-Wimplicit-function-declaration] 22 | if (rc = rpmReadConfigFiles(NULL, NULL)) { | ^~~~~~~~~~~~~~~~~~
* rpmrc: add -fcf-protection=full to x86 default flagsJani Välimaa2023-12-052-3/+4
| | | | Recommended in https://best.openssf.org/Compiler-Hardening-Guides/Compiler-Options-Hardening-Guide-for-C-and-C++.html
* 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