aboutsummaryrefslogtreecommitdiffstats
path: root/macros.in
Commit message (Collapse)AuthorAgeFilesLines
* macros: add %dist_vendor (Mageia) and %dist_name (Mageia Linux) macrosJani Välimaa14 days1-0/+3
|
* - macros: make %install override compatible with rpm 4.20.0Jani Välimaa2024-07-051-1/+1
|
* macros: add %_hardened_build (from Fedora) to build pkgs with ↵Jani Välimaa2024-04-211-2/+21
| | | | position-independent code by default
* macros: fix typoJani Välimaa2024-04-181-1/+1
|
* macros: use -D_FORTIFY_SOURCE=3 by default (mga#30920)Jani Välimaa2024-04-101-1/+1
|
* macros: add support for toolchain selection (GCC/Clang)Jani Välimaa2024-03-301-1/+26
|
* macros: make _host_cpu identical with _target_cpuJani Välimaa2024-03-241-0/+1
| | | | | ATM rpm uses real build host's arch and it can be different what we really want (armv8l vs. armv7hl)
* macros: simplify %serverbuild macroJani Välimaa2023-12-051-2/+2
|
* macros: use -fstack-protector-strong instead of '-fstack-protector ↵Jani Välimaa2023-12-051-1/+1
| | | | | | --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
* macros: use -Wl,-z,now with -Wl,-z,relro unless _disable_ld_now is definedJani Välimaa2023-12-051-1/+1
|
* macros: include RUSTFLAGS in %set_build_flags (rhbz#2167183)Jani Välimaa2023-11-211-0/+1
| | | | | | Include RUSTFLAGS in %set_build_flags Resolves: https://bugzilla.redhat.com/2167183
* macros: set -g when building Vala applicationsJani Välimaa2023-11-211-1/+5
| | | | | | | | | | | | | | 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-211-1/+2
| | | | and undefine _FORTIFY_SOURCE before defining it to avoid build warnings on some packages defining it already
* macros: define _use_weak_usergroup_deps to only add user() and group() ↵Jani Välimaa2023-11-181-0/+3
| | | | requires as recommends
* macros: drop unused %_sys_macros_dir and %build_sysmacrospath()Jani Välimaa2023-01-151-3/+0
|
* Macros: drop separate macros.buildJani Välimaa2023-01-071-0/+474
|
* remove macros duplicated from rpmThierry Vignaud2018-09-241-9/+0
|
* those macros are used at build timeThierry Vignaud2018-09-241-4/+0
|
* binary payload is chosen at build timeThierry Vignaud2018-09-241-3/+0
|
* triming changelog is done at build time, also reduce it to 2 yearsThierry Vignaud2018-09-241-2/+0
|
* remove obsolete $Id: CVS tagsThierry Vignaud2018-09-041-1/+0
|
* define %_pkgdocdir (mga#22444)Thierry Vignaud2018-01-251-0/+1
|
* set libexec dir to /usr/libexecThomas Backlund2012-12-061-1/+1
|
* revert %_libexecdir change in 1.151Thierry Vignaud2012-07-271-1/+1
|
* revert some duplicated manbo stuff (all identical to default butThierry Vignaud2012-07-261-1/+1
| | | | %_libexecdir that changed to %_libdir when mga forked mdv)
* switch from lzma to xz payload by default (like FC & mdv)Thierry Vignaud2012-07-261-1/+1
| | | | (supported since 2008)
* fix changelog truncation to 3 years to work with rpm.orgAnssi Hannula2011-12-081-1/+2
|
* - fix _host to have full host triplet, in order to unbreak arm1.124Arnaud Patard2011-03-161-1/+1
|
* merge manbo.macros from rpm-manbo-setupThomas Backlund2011-02-051-0/+13
|
* Synthesized commit during git-svn import combining previous Mandriva history ↵Mageia SVN-Git Migration2011-01-061-2/+4
| | | | | | | | | | | | with Magiea. This commit consitsts of the following subversion commits: ------------------------------------------------------------------------ r231 | boklm | 2011-01-06 17:30:05 +0000 (Thu, 06 Jan 2011) | 1 line import rpm-setup version cleaned by blino ------------------------------------------------------------------------
* drop our own re-definition of %_query_all_fmt in favor of upstream default ↵Per Øyvind Karlsen2010-12-131-2/+0
| | | | to get disttag, distepoch & arch in query results.
* introduce CANONTARGETGNU, to be able to use -gnueabi for ARM (from Arnaud ↵Olivier Blin2009-09-251-1/+1
| | | | Patard)
* use lzma by default to compress binary packages (instead of gzip)Pascal Rigaux2008-06-101-0/+2
|
* activate filetriggers (cf http://wiki.mandriva.com/en/Rpm_filetriggers)Pascal Rigaux2008-06-021-0/+2
|
* 1.74: remove macros needed for Manbo packages (they are now in rpm-manbo-setup)1.74Pascal Rigaux2008-02-151-14/+0
|
* move many macros out of /usr/lib/rpm/<vendor>/macros intoPascal Rigaux2008-01-291-464/+0
| | | | | | new file /etc/rpm/macros.d/build.macros, those macros will not be available anymore if rpm-<vendor>-setup-build is not installed
* %_multilibno is defined in both /usr/lib/rpm/<arch>/macros and ↵Pascal Rigaux2008-01-291-1/+0
| | | | | | | | /usr/lib/rpm/mandriva/<arch>/macros we must not override /usr/lib/rpm/<arch>/macros for the case where we don't provide /usr/lib/rpm/mandriva/<arch>/macros anymore
* s/mandrakesoft/mandriva/Pascal Rigaux2008-01-291-1/+1
|
* remove duplicated entryPascal Rigaux2008-01-281-3/+1
|
* move %_gnu out of perarch macros Pascal Rigaux2008-01-281-0/+1
| | | | | (it could be dropped altogether, keeping for backward compatibility only)
* drop some unused commentsPascal Rigaux2008-01-281-128/+0
|
* - remove some commented macrosPascal Rigaux2008-01-281-25/+9
| | | | | | | - restore %check macro but a different implementation more alike the others. this %checks allows "--without check" - explain the advantage of "--without <section>" (inherited from conectiva)
* remove duplicated %%install (keeping the one which handles %{_with install}Pascal Rigaux2008-01-281-4/+0
| | | | | and which is currently the one that is used)
* Make %serverbuild define CFLAGS, CXXFLAGS and RPM_OPT_FLAGS variablesAnssi Hannula2008-01-221-2/+5
| | | | | as well since some specs are depending on it. Fixes bug #32050.
* 1.68: do not use ssp_flags on archs which do not handle it (thanks to rtp)1.68Pascal Rigaux2008-01-071-1/+2
|
* make %serverbuild modify %optflags instead of shell variables (Anssi) (#32050)Pascal Rigaux2007-12-201-3/+3
|
* define %defaultbuildroot instead of %buildroot (fixes #34705),Pascal Rigaux2007-12-171-1/+1
| | | | | this needs at least rpm 4.4.2.2-2mdv
* add rpm 4.4.6 python macros for compatibility Pascal Rigaux2007-12-171-1/+9
| | | | | (even if it overlaps with py_* macros)
* Handle double slashes in buildroot in filter.sh in new file exception macros,Anssi Hannula2007-09-081-2/+2
| | | | | | in case tmppath contains a trailing slash as in iurt. This also fixes handling of exception macros that contain spaces, which has been broken for a while.
* revert %_host_cpu32 and create /etc/rpm/platform32 insteadPascal Rigaux2007-09-061-5/+0
| | | | | (cf patch rpm-4.4.8-use-etc-platform32-when-linux32.patch in rpm)