Red Hat specific rpm configuration files
Go to file
Miro Hrončok faf5c36887 brp-mangle-shebangs: also mangle shebangs of JavaScript executables
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1998924

Unfortunately, the MIME type of JavaScript executables is not text/... but
application/javascript. See RFC 4329.

After considering various approaches to fix this problem, including:

 1) limiting the number of characters `file` reads
 2) using `eu-elfclassify` instead of `file`

This seems like the most sensible approach to fix this one particular problem.
If more instances are found problematic in the future, we'll keep adding the
MIME types.

See the linked bugzilla, the eu-elfclassify pull request [1],
and the devel mailing list thread [2] for details about this problem and
the considered solutions.

[1]: https://src.fedoraproject.org/rpms/redhat-rpm-config/pull-request/145
[2]: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/K3QCBUXYR6ZA34I777X6F2RYJKKECJLM/
2021-12-08 15:19:35 +00:00
tests Fedora CI: Test that no unexpected dependency was added 2021-11-16 19:37:24 +01:00
.gitignore Add .gitignore file. 2016-10-03 17:03:08 -05:00
brp-implant-ident-static add brp-implant-ident-static, which requires mktemp 2003-01-20 20:06:50 +00:00
brp-java-repack-jars Trim trailing whitespace 2014-04-27 11:58:46 +03:00
brp-ldconfig Silence the annoying warning from ldconfig brp-script (#1540971) 2018-12-17 16:16:25 +02:00
brp-llvm-compile-lto-elf Revert "Add llvm-lto-elf-check script" to avoid a dependency on Python 2021-11-16 22:28:14 +01:00
brp-mangle-shebangs brp-mangle-shebangs: also mangle shebangs of JavaScript executables 2021-12-08 15:19:35 +00:00
brp-strip-lto - Use eu-elfclassify to only run strip on ELF relocatables 2020-02-20 13:40:19 -07:00
buildflags.md buildflags.md: Fix formatting issue in %build_fflags documentation 2021-12-07 21:25:40 +01:00
common.lua explicitset has not been renamed to set yet 2020-05-31 16:08:44 +02:00
config.guess Update config.guess, config.sub to the latest versions from upstream. 2016-10-13 16:28:32 +01:00
config.sub Update config.guess, config.sub to the latest versions from upstream. 2016-10-13 16:28:32 +01:00
dist.sh dist.sh: use grep -E instead of egrep 2021-11-13 15:16:45 +02:00
find-provides The attached patch kills a bogus comment in redhat-rpm-config 2014-09-16 09:31:34 +03:00
find-requires - Drop most of the script-based dependency generation bits 2014-04-10 15:20:54 +03:00
forge.lua forge: add gitea driver 2020-05-23 16:53:03 +02:00
gating.yaml Add some gating CI tests 2021-01-19 22:17:21 +00:00
gpgverify Added gpgverify. 2019-05-30 19:54:13 +02:00
libsymlink.attr Use %__libsymlink_path instead of %__libsymlink_exclude_path in libsymlink.attr 2015-07-15 10:39:19 +02:00
macros Revert "Add llvm-lto-elf-check script" to avoid a dependency on Python 2021-11-16 22:28:14 +01:00
macros.build-constraints Add better error checking to %constrain_build 2021-11-01 16:35:33 -05:00
macros.dwz - require dwz, enable dwarf compression for debuginfo packages (#833311) 2014-01-25 00:11:43 +02:00
macros.fedora-misc clean up macro and lua function documentation 2020-05-29 08:47:28 +02:00
macros.fedora-misc-srpm clean up macro and lua function documentation 2020-05-29 08:47:28 +02:00
macros.forge clean up macro and lua function documentation 2020-05-29 08:47:28 +02:00
macros.ldc-srpm Add aarch64 to ldc arches 2018-08-20 22:33:04 +02:00
macros.ldconfig ldconfig: make %ldconfig_post/%ldconfig_postun parameterized 2018-02-25 07:11:46 +01:00
macros.mono-srpm Enable aarch64 for mono arches 2016-10-12 12:44:52 +01:00
macros.nodejs-srpm Add s390x build target for Node.js packages (#1391999) 2016-11-07 15:30:35 +02:00
macros.valgrind-srpm Add valgrind_arches macro for BuildRequires of valgrind (#1334599) 2016-11-07 15:50:01 +02:00
macros.vpath Make vpath builddir not include arch-specific info 2021-07-10 09:43:26 -04:00
redhat-annobin-cc1 Enable binary annotations in compiler flags 2017-11-22 12:41:44 +01:00
redhat-hardened-cc1 Fix cc1 specs mishandling of incremental linking 2015-07-08 13:49:53 -04:00
redhat-hardened-clang.cfg Add support for selecting a clang as a toolchain 2020-06-03 21:30:21 +02:00
redhat-hardened-ld Remove -z now from GCC specs file, now on command line (#1548397) 2018-02-24 21:37:06 +01:00
redhat-rpm-config.spec brp-mangle-shebangs: also mangle shebangs of JavaScript executables 2021-12-08 15:19:35 +00:00
rpmlint.cf Add %_configure_disable_silent_rules 2016-10-03 12:55:00 -05:00
rpmrc x86_64: Enable -march=x86-64-v2 for ELN, following GCC. 2021-01-19 20:10:22 +01:00
sources - Remember to update lookaside-source status (there aren't any) 2014-04-02 13:21:15 +03:00
STAGE2-redhat-rpm-config Adding STAGE2 bootstrap recipe 2015-11-04 16:43:28 +01:00