Commit Graph

672 Commits

Author SHA1 Message Date
61e11d51a2 s/fgrep/grep -F/ 2022-04-26 08:00:00 +00:00
cf44c38b35 4.0.4.181-alt1
- lib.req: upgraded "library not found" warnings to errors:
  these warnings are real packaging errors,
  they also cause further ldd errors down the line.
2022-02-06 08:00:00 +00:00
6e809aef69 4.0.4.180-alt1
- platform.in: added %pre_service_stop_posttrans_start and
  %post_service_posttrans_restart.
- README.ALT-ru_RU.UTF-8: updated (by Dmitry V. Levin).
2021-12-15 04:08:41 +00:00
Gleb Fotengauer-Malinovskiy
7290314714 4.0.4.179-alt1
- brp-debuginfo, process-debuginfo: added support of zstd-compressed modules.
- brp-sign-kmodules:
  + added support of zstd-compressed modules;
  + changed to skip and warn about modules compressed with unsupported method.
2021-11-03 03:11:44 +03:00
f852e0e407 4.0.4.178-alt1
- process-lto: enhanced error diagnostics.
2021-09-09 08:00:00 +00:00
8c5c47a2a1 Remove remaining vestiges of python bindings
Build of python bindings was turned off by commit 4.0.4-alt100.97~5 made
about 5 years ago, not it's time to remove the remaining unused bits.
2021-09-08 08:00:00 +00:00
00cd0e2abb 4.0.4-alt177
- Reverted the change introduced in 4.0.4-alt174.
2021-08-25 08:00:00 +00:00
eae4fd7c15 4.0.4-alt176
- platform.in: Added more systemd macros.
2021-08-25 02:58:35 +03:00
4547eecb7c 4.0.4-alt175
- platform.in: Parallelize LTO with -flto=auto.
- process-lto: Fix suggestion text.
2021-08-24 22:35:31 +03:00
e15e40078f 4.0.4-alt174
- Added support for --runstatedir configure option.
2021-08-24 08:00:00 +00:00
25488ec95c 4.0.4-alt173
- platform.in: Enable LTO by default.
- brp: Add brp-strip-lto & process-lto scripts.
2021-08-24 01:39:36 +03:00
715065e999 brp: Add brp-strip-lto script
Strip LTO sections and symbols from objects and archives (static
libraries). %brp_strip_none macro is respected.

Reviewed-by: Dmitry V. Levin <ldv@altlinux.org>
2021-08-24 00:52:22 +03:00
8851274e51 4.0.4-alt172
- Fix regression introduced by forgotten file usage.
2021-08-18 01:21:31 +03:00
ffb8342a16 4.0.4-alt171
- Use file4 instead of file.
2021-08-12 13:23:31 +03:00
5ef5c8ff4a Use file4 instead of file
This will allow upgrading system file to v5, leaving rpmbuild using
stable file v4.
2021-08-12 13:23:31 +03:00
Gleb Fotengauer-Malinovskiy
1d03e6395e 4.0.4-alt170
- rpm-build: do not record directory sizes in packages.
2021-07-06 16:18:08 +03:00
Arseny Maslennikov
1b8549bf5d 4.0.4-alt169
- Introduced %_smp_build_ncpus macro.
2021-06-08 18:40:15 +03:00
46c42b83ee 4.0.4-alt168
- rpm-build: added rpm-macros-python3 to requirements.
2021-05-01 08:00:00 +00:00
62370d58b8 spec: add rpm-macros-python3 to rpm-build requirements
This is required to guarantee that no python3 req/prov are accidentally
lost because python3.{req,prov} are not installed.

Unlike rpm-build-python3, rpm-macros-python3 can be installed without
python3, so no extra dependencies are pulled in.

If rpm-build-python3 is not installed but python3.{req,prov}.files
decide that python3.{req,prov} have to be invoked, the latter will issue
an error.
2021-05-01 08:00:00 +00:00
1a750d8e21 4.0.4-alt167
- Use external debugedit.
2021-04-29 22:39:57 +03:00
3a74c95016 Remove internal debugedit
Do not build internal debugedit and its tests. Debugedit is now external
package.
2021-04-29 22:39:57 +03:00
89e3f8b764 Use system provided debugedit
Debugedit is split into a separate package, use it.

References:
  https://sourceware.org/bugzilla/show_bug.cgi?id=27351
  http://lists.rpm.org/pipermail/rpm-ecosystem/2021-February/000734.html
  https://sourceware.org/debugedit/
2021-04-29 22:39:21 +03:00
4ceb43a3b9 4.0.4-alt166
- Moved brp-bytecompile_python and brp-hardlink_pyo_pyc to rpm-build-python.
2021-04-29 12:00:00 +00:00
efeccf82ff 4.0.4-alt165
- Replaced rpm-build-python with rpm-macros-python in rpm-build requirements.
- Removed python-devel from BuildRequires.
2021-04-28 20:00:00 +00:00
9fd0523dfd spec: apply some specfile hardening
%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict
2021-04-28 20:00:00 +00:00
9299e5cba9 spec: remove python-devel from BR
python-devel is not needed for build.
2021-04-28 20:00:00 +00:00
501ebe3ec0 spec: replace rpm-build-python with rpm-macros-python in rpm-build requirements
The idea is that rpm-macros-python could be installed without python2,
consequently, python2 will no longer be installed by default, but no
python2 req/prov would be lost because of that change because,
if a python2 module package or a package containing a python2 script
would miss to pull in python2, it would fail to build.
2021-04-28 20:00:00 +00:00
0901ca7282 4.0.4-alt164
- ldd.in: fix trace_elf error diagnostics (ldv).
- rpmio: Workaround another liblzma memory allocation failure on armh.
- rpmio+pack: Update rpmio_flags 'T' with actual threads used.
- rpmio: Make xzdio errors more informative.
- rpmio: Fix lzopen_internal mode parsing when 'Tn' is used.
2021-01-16 03:16:55 +03:00
83ce032556 4.0.4-alt163
- Added fixup method: gnuconfig.
2020-12-21 08:00:00 +00:00
c2007ceab8 4.0.4-alt162
- Downgrade XZ->LZMA automatically for small payloads (by Alexey Tourbin).
- Added payload compression string diagnostics.
- Fixed exit status of "rpmbuild --version" command.
2020-12-19 22:43:47 +00:00
ef75eb0b2e 4.0.4-alt161
- debuginfo: strip --reloc-debug-sections for kernel modules.
- rpmio: Lower memory limit on 32-bit arches for xz compression, again.
- brp-debuginfo: Add debug sources check.
- rpmio: Include rpmmacro.h to fix compilation warning.
2020-12-18 06:27:08 +03:00
ac623ad5b7 4.0.4-alt160
- Add a wrapper for install in %install section to skip strip.
2020-12-15 04:05:15 +03:00
a2e3f87824 Add a wrapper for install in %install section to skip strip
`strip' is called by `install -s` that could occur in unpatched
Makefiles, breaking debuginfo generation.

Try to catch `install` invocations via:

- %__install macro used in `make INSTALL=`.
- Prefix PATH with `/usr/libexec/rpm-build` with install and strip
  wrappers.

Suggested-by: Dmitry V. Levin <ldv@altlinux.org>
Reviewed-by: Dmitry V. Levin <ldv@altlinux.org>
2020-12-15 04:05:15 +03:00
bfb4142971 4.0.4-alt159
- rpmio: Lower memory limit on 32-bit systems for xz compression.
- rpmio: Make liblzma errors more verbose.
2020-12-13 02:35:44 +03:00
4d2baaf881 4.0.4-alt158
- Prevent exceeding 32 bit memory limitations with xz compression.
2020-12-10 19:15:42 +03:00
e434333b9a 4.0.4-alt157
- Add support and enable multi-threaded xz payload compression.
- Add affinity aware %getncpus macro.
- platform: change %__nprocs to use %getncpus instead of nproc(1).
2020-12-08 22:49:11 +03:00
459b3bc3f8 4.0.4-alt156
- debugedit: Do not 'edit_dwarf2' when just extracting build-id.
- debuginfo: Fix 'warning: File listed twice' for debug sources.
2020-11-15 17:55:01 +03:00
0993473ed3 4.0.4-alt155
- debugedit: Fix 'Unhandled relocation 0 in .debug_info section' on e2k.
- debuginfo: Fix source paths with `..` by creating appropriate empty dirs
  under `/usr/src/debug` tree (closes: #39175).
2020-11-12 22:24:18 +03:00
a2370b4983 4.0.4-alt154
- addReqProv: issue a warning and ignore self-provides,
  providePackageNVR already does the right thing.
2020-11-11 08:00:00 +00:00
a1f907ca9c 4.0.4-alt153
- debugedit: Copy debugedit with its tests from upstream.
2020-11-10 06:43:20 +03:00
08c5331f48 debugedit: Build newly imported debugedit 2020-11-09 23:07:25 +03:00
32943fad62 4.0.4-alt152
- debuginfo: Allow kbuilds with the output directory.
- debugedit: Fix 'canonicalization unexpectedly shrank by one character'
  (closes: #39184).
- brp-sign-kmodules: Sign kernel modules after kernel build.
2020-11-06 15:16:45 +03:00
0dafa18b37 4.0.4-alt151
- debuginfo: Do not try to use eu-elfcompress if it does not exist.
- debuginfo: Fix adding non-existent files into debuginfo package.
2020-08-28 03:09:00 +03:00
506c6c5e4d 4.0.4-alt150
- Removed obsolete ldconfig, update menu, and install info macros.
- Implemented canonicalization of symlink destinations.
- Backported:
  + added a warning on absolute symlinks;
  + disabled calculation of digests for ghost files.
2020-08-24 19:38:47 +00:00
89f9245180 4.0.4-alt149
- find-debuginfo-files: Fix processing of root directory (closes: #38842).
2020-08-24 22:38:47 +03:00
fe545f319e 4.0.4-alt148
- debuginfo: Warn if stripped ELFs are found.
- debuginfo: Implement %_stripped_files_terminate_build.
- debuginfo: Try to uncompress if debugedit failed to extract sources.
2020-08-23 17:02:24 +03:00
5b7f0b0e50 4.0.4-alt147
- debuginfo: Show warnings if .debug sections are absent.
2020-08-21 23:38:49 +03:00
0175090680 4.0.4-alt146
- brp-debuginfo: Re-enable processing of kernel modules.
- debuginfo.req: Fix 'vmlinux' processing error on ppc64le.
- process-debuginfo: Do not call eu-elfcompress if it doesn't exist.
2020-07-09 19:23:18 +03:00
3d92ea81b8 4.0.4-alt145
- brp-debuginfo: fixed regression (in handling of packages containing
  ELF relocatable objects) introduced in 4.0.4-alt142.
2020-07-08 08:00:00 +00:00
6eb60d94cf 4.0.4-alt144
- debuginfo: Fix processing of hard-linked binaries.
2020-07-07 13:44:54 +03:00