Go to file
Panu Matilainen 122bb4ffae Add parsed and expanded spec to src.rpm header (#1241)
The trend of packaging is to hide more and more of what actually happens
behind helper macros and other dynamically generated constructs. While
this is mostly a good thing, it makes understanding and postmortem
analysis harder than it should be. Add the spec in its parsed and
expanded form into the src.rpm header to make the actual contents of the
build more trackable.

It can be argued this does not belong in the header and should be in
payload instead, my rationale for the placement is that this way the
payload remains effectively arch independent, whereas the header already
heavily reflects the particular environment where it was built.

Probably worth noting that %setup and %patch built-in macros are not
properly expanded in the stored spec, but that's a separate issue
related the special way %prep is processed.

Fixes: #1241
2022-05-09 14:03:03 +02:00
build Add parsed and expanded spec to src.rpm header (#1241) 2022-05-09 14:03:03 +02:00
ci Drag our CI to this decade 2021-10-18 13:25:20 +03:00
docs Add parsed and expanded spec to src.rpm header (#1241) 2022-05-09 14:03:03 +02:00
fileattrs Add a rpm_macro() provides generator 2022-01-25 08:07:01 +01:00
include/rpm Add parsed and expanded spec to src.rpm header (#1241) 2022-05-09 14:03:03 +02:00
lib Clean up canonical dirname calculation 2022-05-06 11:34:23 +03:00
misc Drop now redundant bundled copies of stpcpy() and stpncpy() 2022-05-04 14:11:22 +03:00
plugins Eliminate the strange include pre-build install machinery 2022-03-10 08:40:07 +02:00
po Translated using Weblate (Breton) 2022-05-02 12:34:01 +02:00
python Fix missed rpmfi-py.c reference when removing 2022-04-13 12:10:10 +03:00
rpmio Kick out 21 year old commented-out debugging fprintf()'s 2022-05-06 10:14:09 +03:00
scripts check-buildroot script: use export to set LANG 2022-05-02 12:55:01 +02:00
sign Remove NSS references 2022-03-18 16:35:11 +02:00
tests Add parsed and expanded spec to src.rpm header (#1241) 2022-05-09 14:03:03 +02:00
tools Fix regression in rubygem unpacking (#2040) 2022-04-28 10:23:40 +03:00
.gitignore Add now gone preinstall.am to .gitignore to smoothen bisecting 2022-03-14 09:21:36 +02:00
.mailmap Update credits for a change 2021-03-18 09:37:17 +02:00
CHANGES Spelling fixes 2017-06-27 14:42:21 +02:00
CONTRIBUTING.md Fix capitalization in CONTRIBUTING.md 2022-03-25 15:56:32 +02:00
COPYING Explicitly mention that the rpmio/ sub dir is under LGPL 2020-01-29 14:48:38 +02:00
CREDITS Update credits for a change 2021-03-18 09:37:17 +02:00
INSTALL Axe our internal and buggy glob() and fnmatch() copies 2022-05-04 09:17:35 +03:00
Makefile.am Merge Lua posix extension into librpmio 2022-04-08 14:11:44 +03:00
Makefile.maint Fix "make dist" work out of the box again 2016-11-04 11:02:50 +02:00
README Update community link in README 2017-04-05 11:57:00 +03:00
autogen.sh
cliutils.c Stop NSPR from messing with our signals 2017-05-10 13:59:58 +03:00
cliutils.h add short summaries to headers that miss one 2016-01-28 14:42:47 +01:00
configure.ac Drop now redundant bundled copies of stpcpy() and stpncpy() 2022-05-04 14:11:22 +03:00
debug.h Drop support for dmalloc 2020-03-27 15:49:18 +02:00
installplatform Add support for loongarch64 2022-01-18 17:16:54 +01:00
macros.in Properly escape %__gpg_sign_cmd 2022-04-13 09:26:49 +03:00
mkinstalldirs update mkinstalldirs to latest version (2009) 2017-07-27 13:59:01 +02:00
platform.in Add brp-remove-la-files script 2021-06-11 08:49:26 +03:00
rpm.am Update library version info before release 2022-04-07 13:48:29 +03:00
rpm.c Set program name centrally from rpmcliInit() 2022-03-25 10:23:37 +02:00
rpm.pc.in Add a Sequoia-based OpenPGP backend 2022-04-29 14:36:44 +03:00
rpm2archive.c Include rpmpgp.h only where it is actually needed 2021-11-17 14:21:06 +02:00
rpm2cpio.c Include rpmpgp.h only where it is actually needed 2021-11-17 14:21:06 +02:00
rpmbuild.c Fix regressions on dynamic buildrequires cli switches (RhBug:2078744) 2022-05-02 13:52:53 +03:00
rpmdb.c Set program name centrally from rpmcliInit() 2022-03-25 10:23:37 +02:00
rpmkeys.c Set program name centrally from rpmcliInit() 2022-03-25 10:23:37 +02:00
rpmpopt.in Reimplement --restore as a transaction element, obsolete --setperms & co 2022-02-03 13:47:28 +02:00
rpmrc.in Add support for loongarch64 2022-01-18 17:16:54 +01:00
rpmsign.c Set program name centrally from rpmcliInit() 2022-03-25 10:23:37 +02:00
rpmspec.c Set program name centrally from rpmcliInit() 2022-03-25 10:23:37 +02:00
system.h Drop now redundant bundled copies of stpcpy() and stpncpy() 2022-05-04 14:11:22 +03:00

README

This is RPM, the RPM Package Manager.

The latest releases are always available at:

	http://rpm.org/releases/

Additional RPM documentation (papers, slides, HOWTOs) can also be
found at the same site: http://rpm.org.

http://rpm.org/community all rpm releated mailing lists.

RPM was originally written by:

    Erik Troan <ewt@redhat.com>
    Marc Ewing <marc@redhat.com>

See the CREDITS file for a list of folks who have helped us out
tremendously.  RPM is Copyright (c) 1998 by Red Hat Software, Inc.,
and may be distributed under the terms of the GPL and LGPL (see  the
file COPYING for details).