]>
git.pld-linux.org Git - packages/rpm-pld-macros.git/log
Jan Palus [Wed, 20 Dec 2023 19:51:13 +0000 (20:51 +0100)]
fix CC=%{__cc} not being part of make command line in kernel macros
caused by missing \ after ARCH=
ie from last kernel module build on builders (lin_tape for 6.6.7 on x86_64):
+ /usr/bin/make -Otarget -j28 -C /usr/src/linux-4.19 clean 'RCS_FIND_IGNORE=-name '\''*.[ks]o'\'' -o' 'M=/tmp/B.a91ebdxq/BUILD/lin_tape-3.0.60' 'HOSTCC=x86_64-pld-linux-gcc' 'SYSSRC=/usr/src/linux-4.19' 'SYSOUT=/tmp/B.a91ebdxq/BUILD/lin_tape-3.0.60/o' 'ARCH=x86_64'
+ CC=x86_64-pld-linux-gcc
+ /usr/bin/make -Otarget -j28 -C /usr/src/linux-4.19 modules 'M=/tmp/B.a91ebdxq/BUILD/lin_tape-3.0.60' 'CONSTIFY_PLUGIN=' 'HOSTCC=x86_64-pld-linux-gcc' 'SYSSRC=/usr/src/linux-4.19' 'SYSOUT=/tmp/B.a91ebdxq/BUILD/lin_tape-3.0.60/o' 'ARCH=x86_64'
CC [M] /tmp/B.a91ebdxq/BUILD/lin_tape-3.0.60/fo_util.o
...
LD [M] /tmp/B.a91ebdxq/BUILD/lin_tape-3.0.60/lin_tape.ko
+ CC=x86_64-pld-linux-gcc
...
Jan Palus [Wed, 20 Dec 2023 19:28:23 +0000 (20:28 +0100)]
extract %_kernel_arch macro; 2.030
Jan Palus [Wed, 1 Nov 2023 01:13:44 +0000 (02:13 +0100)]
exclude debug sources when searching for binaries to strip; rel 2
Jakub Bogusz [Wed, 27 Sep 2023 16:19:43 +0000 (18:19 +0200)]
- provide rpmbuild(macros) version information in more macros comments
Jakub Bogusz [Wed, 27 Sep 2023 16:17:07 +0000 (18:17 +0200)]
- provide _gidocdir macro for gi-docgen generated apidocs; release as 2.029
Jakub Bogusz [Sat, 16 Sep 2023 15:17:01 +0000 (17:17 +0200)]
- release 2
Jakub Bogusz [Sat, 16 Sep 2023 14:36:05 +0000 (16:36 +0200)]
- find_lang 1.42: allow three-letter language codes for *.qm
Jakub Bogusz [Sun, 3 Sep 2023 14:50:27 +0000 (16:50 +0200)]
- 2.028: if setting CMAKE_SYSTEM_NAME, set also CMAKE_SYSTEM_VERSION, or it will be empty
(confusing some packages cmake scripts)
Jan Rękorajski [Mon, 31 Jul 2023 18:19:58 +0000 (20:19 +0200)]
- set default JDK to 11, ver 2.027
Jan Palus [Mon, 24 Jul 2023 22:17:16 +0000 (00:17 +0200)]
add %arch_with_atomics128; 2.026
defines list of architectures with support for 16-byte (128-bit) atomics
Jan Palus [Mon, 10 Apr 2023 12:20:52 +0000 (14:20 +0200)]
add %arch_with_atomics64; 2.025
defines list of architectures with support for 8-byte (64-bit) atomics
Jan Palus [Thu, 2 Mar 2023 20:58:50 +0000 (21:58 +0100)]
in %cmake set processor x86_64 for x32; rel 3
this should be the default for _target_cpu AFAIC but at this point it's
easier to change just %cmake
Jan Palus [Thu, 23 Feb 2023 23:00:38 +0000 (00:00 +0100)]
explicitly set CMAKE_SYSTEM_{NAME,PROCESSOR} in %cmake; rel 2
don't rely on host's uname results. note that CMAKE_SYSTEM* values are
for target, host values are still availabie in CMAKE_HOST_SYSTEM*
equivalents.
CMAKE_CROSSCOMPILING also set since it's part of
CMAKE_SYSTEM_NAME/CMAKE_SYSTEM_PROCESSOR determination if not set
explicitly.
Elan Ruusamäe [Wed, 22 Feb 2023 21:19:52 +0000 (23:19 +0200)]
Change _metainfodir to metainfo; rev 2.024
- https://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2023-February/026581.html
- https://freedesktop.org/software/appstream/docs/chap-Metadata.html#spec-component-location
Elan Ruusamäe [Wed, 22 Feb 2023 18:54:40 +0000 (20:54 +0200)]
Add _metainfodir, rev 2.023
- https://src.fedoraproject.org/rpms/redhat-rpm-config/c/
67e46b630d5d0bc74188b2ea5aa36eff5117ddc9 ?branch=f27
Jan Palus [Wed, 8 Feb 2023 10:35:49 +0000 (11:35 +0100)]
allow using %use_default_jdk in argless fasion; 2.022
Jan Palus [Tue, 7 Feb 2023 22:17:33 +0000 (23:17 +0100)]
add macros for default jdk provider/version; 2.021
benefits:
- utilizes %use_jdk hence requires only *-base-* subpackages avoiding
conflicts in %{_bindir}
- ensures packages are built with minimal ClassDataVersion so they can
be run on broader set of JVMs
- easy to modify without modifying spec files
usage:
%use_default_jdk
Summary: ...
...
%buildrequires_jdk
...
%build
export JAVA_HOME="%{java_home}"
defaults to openjdk8. if package requires specific minimal version of
java pass version as argument ie %{use_default_jdk 11}
Jan Palus [Mon, 5 Dec 2022 23:23:10 +0000 (00:23 +0100)]
handle --target independently for each rust build tool; rel 2
let's see which direction cargo issue is gonna take:
https://github.com/rust-lang/cargo/issues/11452
Jan Palus [Thu, 1 Dec 2022 12:02:55 +0000 (13:02 +0100)]
2.020: rust macros improvements
- add %__rustc macro
- move --target %rust_target from %cargo* to %rpmrustflags so it applies
more broadly (specifing --target more than once is forbidden so it
cannot stay in %cargo*)
- add RUSTC env var to %cargo* macros
- add RUSTC/RUSTFLAGS env vars to %meson macro
Jan Palus [Fri, 28 Oct 2022 19:58:28 +0000 (21:58 +0200)]
don't consider /usr/bin to be valid %{_topdir}; rel 5
Elan Ruusamäe [Tue, 27 Sep 2022 20:31:38 +0000 (23:31 +0300)]
Release 4
Elan Ruusamäe [Tue, 27 Sep 2022 20:31:25 +0000 (23:31 +0300)]
Bump find lang to 1.41
Elan Ruusamäe [Tue, 27 Sep 2022 20:31:14 +0000 (23:31 +0300)]
Add --with-dokuwiki to find lang
Jan Rękorajski [Sun, 11 Sep 2022 10:55:10 +0000 (12:55 +0200)]
- egrep: warning: egrep is obsolescent; using grep -E, rel 3
Jan Palus [Sat, 3 Sep 2022 19:13:38 +0000 (21:13 +0200)]
handle new %rustc_wrapper macro; rel 2
if set runs cargo with RUSTC_WRAPPER env var
Jan Rękorajski [Sun, 14 Aug 2022 15:40:26 +0000 (17:40 +0200)]
- use more strict glob *.ko for compressing kernel modules, ver 2.019
'*o' picks up random other files ending with 'o', ex. modules.builtin.modinfo
Jan Rękorajski [Wed, 27 Jul 2022 20:05:07 +0000 (22:05 +0200)]
- 2.018, add qt6 macros
Jakub Bogusz [Fri, 20 May 2022 14:35:19 +0000 (16:35 +0200)]
- 2.017: adjusted __noautodep_helper to use stdin to compensate mawk vs gawk argument escaping differences
Jan Palus [Thu, 12 May 2022 10:43:49 +0000 (12:43 +0200)]
basic qt macros (2.016)
provide %{qmake_qt5} macro which respects %__cc, %__cxx and %rpm*flags
instead of using those used during build of qt5-qtbase
Jakub Bogusz [Sun, 24 Apr 2022 20:32:04 +0000 (22:32 +0200)]
- version 2.015: added attr.mono to reenable mono dependency generators
Jakub Bogusz [Sun, 24 Apr 2022 20:15:45 +0000 (22:15 +0200)]
- versioned Obsoletes for old macros packages
Jan Palus [Sat, 23 Apr 2022 14:27:58 +0000 (16:27 +0200)]
disable stripping globally in rust macros; rel 2
Jan Rękorajski [Fri, 8 Apr 2022 08:08:38 +0000 (10:08 +0200)]
- rpm4 needs --whatprovides to resolve virtual required deps
Jan Rękorajski [Fri, 25 Mar 2022 22:01:36 +0000 (23:01 +0100)]
- fix py3_ver macro for python 3.10, bump ver to 2.013
Jan Palus [Mon, 7 Mar 2022 22:53:02 +0000 (23:53 +0100)]
add possibility to customize linker with %use_ld
Jan Palus [Tue, 1 Mar 2022 20:40:22 +0000 (21:40 +0100)]
use %rust_target instead of %cargo_targtet
Jan Palus [Tue, 1 Mar 2022 16:27:51 +0000 (17:27 +0100)]
rename %cargo_target->%rust_target (2.012)
target is defined by rust not by cargo so it's bound more to the former.
keep compatiblity macro for some time though.
Jan Palus [Tue, 1 Mar 2022 11:12:27 +0000 (12:12 +0100)]
rel 8
Jan Palus [Mon, 28 Feb 2022 18:09:04 +0000 (19:09 +0100)]
don't use sse2 on i686
Jan Palus [Mon, 28 Feb 2022 18:08:31 +0000 (19:08 +0100)]
don't override GOCACHE if it's already set
Jan Palus [Wed, 23 Feb 2022 19:23:13 +0000 (20:23 +0100)]
rel 7
Jan Palus [Wed, 23 Feb 2022 18:19:24 +0000 (19:19 +0100)]
set GOCACHE by default
Jan Palus [Wed, 23 Feb 2022 18:15:20 +0000 (19:15 +0100)]
define GOMAXPROCS to control parallel go build
Jan Palus [Tue, 1 Feb 2022 20:53:22 +0000 (21:53 +0100)]
use thumb mode on %{armv7}; rel 6
Jan Palus [Mon, 24 Jan 2022 10:33:13 +0000 (11:33 +0100)]
use %cargo_target/%cargo_targetdir in %cargo_install; rel 5
Jan Palus [Mon, 24 Jan 2022 10:12:14 +0000 (11:12 +0100)]
pass c/cxx/ld flags in rust macros; rel 4
Jan Palus [Mon, 10 Jan 2022 20:43:22 +0000 (21:43 +0100)]
use thumbv7neon as cargo_target on armv7hnl; rel 3
Jan Palus [Mon, 10 Jan 2022 19:29:41 +0000 (20:29 +0100)]
set CC/CXX in %cargo_{build,install}; rel 2
Jan Palus [Mon, 10 Jan 2022 19:27:57 +0000 (20:27 +0100)]
unconditionally set PKG_CONFIG_ALLOW_CROSS in cargo macros
Jan Palus [Wed, 5 Jan 2022 12:30:12 +0000 (13:30 +0100)]
add %cargo_target/%cargo_targetdir/%cargo_objdir (2.011)
pass %cargo_target explicitly on all archs
Jan Rękorajski [Tue, 4 Jan 2022 21:39:45 +0000 (22:39 +0100)]
- 2.010, use upstream systemd macros
Jan Palus [Tue, 28 Dec 2021 09:27:12 +0000 (10:27 +0100)]
allow overriding GOARCH/GOARM/GOOS
Jan Palus [Mon, 27 Dec 2021 23:07:31 +0000 (00:07 +0100)]
initial basic go macros (2.009)
Jan Palus [Sun, 29 Aug 2021 22:54:09 +0000 (00:54 +0200)]
reduce fpu requirement to vfpv3 on armv7hnl
armv7 cores use either vfpv3 or vfpv4 if fpu is present. for broader
compatiblity use vfpv3 instead of vfpv4.
Elan Ruusamäe [Sun, 29 Aug 2021 17:03:42 +0000 (20:03 +0300)]
Update macros version to 2.008
Elan Ruusamäe [Sun, 29 Aug 2021 16:56:26 +0000 (19:56 +0300)]
Revert "- 1.738, supress useless noise from cmake"
This reverts commit
fa16fde167d1b497af44abdfdad5458e567f1837 .
Unclear what is the useless noise, but having this defined for __cmake
breaks cmake --build and cmake --install commands.
Jan Palus [Wed, 30 Jun 2021 14:44:05 +0000 (16:44 +0200)]
allow cross compilation in pkg_config crate on x32; rel 2
Jan Palus [Wed, 30 Jun 2021 08:31:48 +0000 (10:31 +0200)]
package arch macros (2.007)
Jan Palus [Thu, 17 Jun 2021 16:34:49 +0000 (18:34 +0200)]
start prototyping arch specific macros
comments welcome. to be installed once it stays for a w while.
Jan Rękorajski [Thu, 15 Apr 2021 07:05:51 +0000 (09:05 +0200)]
- really move build-id links to debug packages, ver 2.006
Jan Palus [Wed, 14 Apr 2021 16:27:21 +0000 (18:27 +0200)]
rel 2
Jan Palus [Wed, 14 Apr 2021 15:10:30 +0000 (17:10 +0200)]
explicitly disable rust debuginfo if debug packages are disabled
Jan Rękorajski [Fri, 2 Apr 2021 20:44:33 +0000 (22:44 +0200)]
- make debugssource packages disablable
- 2.005
Jan Rękorajski [Wed, 31 Mar 2021 20:49:58 +0000 (22:49 +0200)]
- revert debugsource macro change after comparing with upstream
- rel 3
Jan Rękorajski [Wed, 31 Mar 2021 19:32:32 +0000 (21:32 +0200)]
- fix typo in debugsource packages macro
- rel 2
Jan Palus [Tue, 30 Mar 2021 22:16:26 +0000 (00:16 +0200)]
add %rust_arches (2.004)
Jan Palus [Tue, 30 Mar 2021 22:08:49 +0000 (00:08 +0200)]
explicitly handle x32 in %cargo macros
appears to be cross-compiled so needs special treatment
Jan Palus [Tue, 30 Mar 2021 22:06:52 +0000 (00:06 +0200)]
move rust macros to dedicated file
Jan Palus [Tue, 30 Mar 2021 10:59:03 +0000 (12:59 +0200)]
initial basic rust/cargo macros (2.003)
Jan Rękorajski [Wed, 24 Mar 2021 09:08:07 +0000 (10:08 +0100)]
- fix debug_package definition, add missing debugsource package
- 2.002
Jan Rękorajski [Mon, 1 Mar 2021 19:42:42 +0000 (20:42 +0100)]
- rel 3
Jan Rękorajski [Mon, 1 Mar 2021 19:41:47 +0000 (20:41 +0100)]
- fix tcl_version macro expanding to nothing if tclsh is not present
Jan Rękorajski [Thu, 25 Feb 2021 20:28:31 +0000 (21:28 +0100)]
- use bogus number instead of a bare word for numeric kernel version
- rel 2
Jan Rękorajski [Thu, 25 Feb 2021 19:15:34 +0000 (20:15 +0100)]
- 2.001
- add kmod-deps.sh script from rpm5
Jan Rękorajski [Tue, 23 Feb 2021 12:24:09 +0000 (13:24 +0100)]
- rel 3, post merge rebuild
Jan Rękorajski [Tue, 23 Feb 2021 12:19:48 +0000 (13:19 +0100)]
Merge branch 'rpm.org'
Jan Rękorajski [Tue, 23 Feb 2021 01:04:46 +0000 (02:04 +0100)]
- do not create build-id links if debug packages are disabled
- rel 2
Jan Rękorajski [Mon, 22 Feb 2021 07:46:23 +0000 (08:46 +0100)]
- bump version to 2.000
Jan Palus [Mon, 15 Feb 2021 23:52:01 +0000 (00:52 +0100)]
fix cmake's verbose makefile flag
Jan Rękorajski [Sat, 13 Feb 2021 17:11:43 +0000 (18:11 +0100)]
- avoid creating empty macros
Jan Palus [Fri, 12 Feb 2021 18:18:12 +0000 (19:18 +0100)]
avoid autodep pattern '()' on empty input
matches everything otherwise and results in no autoreqs/autodeps
whatsoever
Jan Palus [Tue, 9 Feb 2021 17:42:21 +0000 (18:42 +0100)]
remove pydebuginfo patch never included in spec
Jan Palus [Tue, 9 Feb 2021 17:39:20 +0000 (18:39 +0100)]
enable PAC and BTI on aarch64
Jan Rękorajski [Sun, 31 Jan 2021 19:50:47 +0000 (20:50 +0100)]
- add conversion from PLD rich noauto deps to poor rpm.org implementation
Jan Palus [Sun, 3 Jan 2021 15:44:49 +0000 (16:44 +0100)]
always explicitly define ARCH in %build_kernel_modules
Marcin Krol [Fri, 1 Jan 2021 21:11:38 +0000 (22:11 +0100)]
- added enabled_disabled and enabled_disabled_not for use with meson
Jakub Bogusz [Sat, 21 Nov 2020 16:33:07 +0000 (17:33 +0100)]
- this branch is targeted for rpm5, so short circuit noarchpackage to just BA: noarch
Jakub Bogusz [Sat, 21 Nov 2020 16:28:36 +0000 (17:28 +0100)]
- spacing cleanup
Jakub Bogusz [Sat, 21 Nov 2020 15:57:50 +0000 (16:57 +0100)]
- macros 1.754: added ruby_arch and ruby_rubyhdrdir macros
Jan Rękorajski [Sun, 18 Oct 2020 15:20:59 +0000 (17:20 +0200)]
- short-circuit noarchpackage macros to 'BuildArch: noarch', condition is always true
Jan Rękorajski [Sat, 17 Oct 2020 08:02:30 +0000 (10:02 +0200)]
- disable php pear dependency generators
- ver 1.753
Jan Rękorajski [Sat, 17 Oct 2020 08:02:30 +0000 (10:02 +0200)]
- disable php pear dependency generators
- ver 1.753
Jakub Bogusz [Sat, 17 Oct 2020 07:23:10 +0000 (09:23 +0200)]
- updated version for fixed _ver_lt/_ver_ge macros
Jan Rękorajski [Wed, 14 Oct 2020 08:26:38 +0000 (10:26 +0200)]
- fix typo and add dir macros not covered by rpm 4.x
Jan Rękorajski [Sun, 11 Oct 2020 22:54:31 +0000 (00:54 +0200)]
- drop -flto, it's too brittle and breaks building rpm
Jakub Bogusz [Fri, 2 Oct 2020 15:11:47 +0000 (17:11 +0200)]
- version 1.752: "noarchpackage" macro to cut down boilerplate
Jakub Bogusz [Tue, 29 Sep 2020 20:00:13 +0000 (22:00 +0200)]
- version 1.751: texhash macro
Jakub Bogusz [Mon, 28 Sep 2020 19:21:34 +0000 (21:21 +0200)]
- version 1.750: fixed reversed _rpm_lt/_rpm_ge logic
Jakub Bogusz [Sun, 27 Sep 2020 18:20:03 +0000 (20:20 +0200)]
- version 1.749: fixed _ver_* macros
Jakub Bogusz [Sat, 26 Sep 2020 14:17:09 +0000 (16:17 +0200)]
- version 1.748: added %_ver_lt, %_ver_ge
This page took 0.518308 seconds and 4 git commands to generate.