Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | brp-mangle-shebangs: fix unsafe/incorrect command expansion | Denys Vlasenko | 2019-12-23 | 1 | -14/+19 | |
| | | | | | | | | | | | | | | | | | | | | | | | | trim() { printf '%s' "$*" } ... read shebang_line < "$f" || : orig_shebang=$(trim $(echo "$shebang_line" | grep -Po "#!\K.*" || echo)) The "trimming", i.e. replacement of multiple spaces and removal of leading and trailing spaces, is achieved because "trim $(cmd)" construct has an unquoted $(), which is subject to word splitting. This works, yes. BUT. It is also subject to glob expansion - any ?s and *s will be attempted to be expanded as well - definitely NOT what we want! This change replaces this trick with code which avoids the expansion issue, and which does not spawn any subprocesses for string manipulations - this is ~3 times faster (fork+execs are expensive). Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com> | |||||
* | brp-mangle-shebangs: speed up finding of "text executables" (scripts) | Denys Vlasenko | 2019-12-23 | 1 | -3/+12 | |
| | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com> | |||||
* | Make ambiguous python shebangs error | Thierry Vignaud | 2019-12-23 | 1 | -0/+1 | |
| | ||||||
* | Try harder to have armv7hl chroots working2.44 | Pascal Terjan | 2019-10-15 | 3 | -4/+9 | |
| | ||||||
* | Make armv7hl chroots on aarch64 work on all armv8 flavours2.43 | Pascal Terjan | 2019-10-15 | 3 | -1/+8 | |
| | ||||||
* | Actually make armv7hl chroots on armv8 work2.42 | Pascal Terjan | 2019-10-15 | 3 | -1/+6 | |
| | ||||||
* | 2.412.41 | Thierry Vignaud | 2019-09-19 | 2 | -1/+3 | |
| | ||||||
* | fix %__libtoolize disapearing in rpm-4.15 (mga#25440) | Thierry Vignaud | 2019-09-19 | 2 | -0/+3 | |
| | ||||||
* | 2.402.40 | Thierry Vignaud | 2019-08-29 | 2 | -1/+3 | |
| | ||||||
* | move macros files into /usr/lib/rpm/macros.d | Thierry Vignaud | 2019-08-29 | 3 | -14/+13 | |
| | | | | | | move them from /etc/rpm/macros.d into /usr/lib/rpm/macros.d thus fixing most failures with rpm's testsuite (related to not being able to disable debuginfo) | |||||
* | Release 2.392.39 | Pascal Terjan | 2019-05-04 | 2 | -1/+3 | |
| | ||||||
* | Make armv7hl chroots on aarch64 work as expected | Pascal Terjan | 2019-05-04 | 3 | -0/+9 | |
| | | | | | set arch_compat so that urpmi accepts to install armv7hl packages and set canonical architecture to be armv7hl | |||||
* | 2.382.38 | Thierry Vignaud | 2019-03-11 | 2 | -1/+3 | |
| | ||||||
* | log previous changes | Thierry Vignaud | 2019-03-11 | 1 | -0/+4 | |
| | ||||||
* | use File::Find insted of external find command | Guillaume Rousse | 2019-03-03 | 1 | -1/+11 | |
| | ||||||
* | no need to cache php files list | Guillaume Rousse | 2019-03-03 | 1 | -8/+1 | |
| | | | | | Producing the list isn't expensive enough to justify caching the result, especially if handled incorrectly | |||||
* | Add %_metainfodir macro for appdata metainfo dir | Jani Välimaa | 2019-01-19 | 2 | -0/+5 | |
| | ||||||
* | add spec-helper merging to TODO | Thierry Vignaud | 2018-10-30 | 1 | -0/+1 | |
| | ||||||
* | kill code that's dead for 11 years | Thierry Vignaud | 2018-10-30 | 2 | -11/+0 | |
| | ||||||
* | one item off | Thierry Vignaud | 2018-10-30 | 1 | -2/+0 | |
| | ||||||
* | Remove empty AUTHORS and ChangeLog | Jani Välimaa | 2018-10-21 | 3 | -1/+1 | |
| | ||||||
* | 2.372.37 | Jani Välimaa | 2018-10-21 | 2 | -1/+3 | |
| | ||||||
* | Strip binaries and libraries in __os_install_post if __debug_package isn't ↵ | Jani Välimaa | 2018-10-21 | 2 | -0/+13 | |
| | | | | | | | | | defined Add __brp_strip, __brp_strip_comment_note, __brp_strip_static_archive and __brp_strip_shared for stripping. One can skip stripping by using '%define __strip %{_bindir}/true' in .spec, if needed. | |||||
* | remove macros duplicated from rpm | Thierry Vignaud | 2018-09-24 | 2 | -11/+0 | |
| | ||||||
* | those macros are used at build time | Thierry Vignaud | 2018-09-24 | 2 | -4/+6 | |
| | ||||||
* | remove sparc lists unused for years | Thierry Vignaud | 2018-09-24 | 1 | -3/+0 | |
| | ||||||
* | sync comment with FC | Thierry Vignaud | 2018-09-24 | 1 | -2/+7 | |
| | ||||||
* | 2.36,2.36 | Thierry Vignaud | 2018-09-24 | 2 | -1/+3 | |
| | ||||||
* | Automatically compile python files | Thierry Vignaud | 2018-09-24 | 2 | -0/+5 | |
| | ||||||
* | do not fail when python call is ambiguous | Thierry Vignaud | 2018-09-24 | 1 | -1/+0 | |
| | ||||||
* | fix shebang (found by mangling shebang) | Thierry Vignaud | 2018-09-24 | 2 | -2/+2 | |
| | | | | actually rpmlint was complaining too... | |||||
* | add __brp_mangle_shebangs from FC in order to: | Thierry Vignaud | 2018-09-24 | 4 | -0/+157 | |
| | | | | | | | - fix /bin -> /usr/bin - resolve "env foobar" -> "foobar" install it in /usr/lib/rpm/redhat to make clear from where it comes | |||||
* | 2.352.35 | Thierry Vignaud | 2018-09-24 | 2 | -1/+3 | |
| | ||||||
* | split %__brp_python_hardlink too | Thierry Vignaud | 2018-09-24 | 1 | -1/+2 | |
| | ||||||
* | split&sync %__brp_python_bytecompile with upstream | Thierry Vignaud | 2018-09-24 | 2 | -1/+9 | |
| | | | | | | | | Thus using "%global __python %{__python3}" enables to properly fix python3 bytecompiling Also recognize %_python_bytecompile_extra for compiling outisde python specific directories | |||||
* | kill unusued %_python_bytecompile_build macro | Thierry Vignaud | 2018-09-24 | 1 | -3/+0 | |
| | ||||||
* | terminate build when missing buildids by default | Thierry Vignaud | 2018-09-24 | 2 | -0/+5 | |
| | ||||||
* | move %__spec_install_pre too | Thierry Vignaud | 2018-09-24 | 1 | -12/+14 | |
| | | | | it's now easier to compare with FC | |||||
* | move %__os_install_post | Thierry Vignaud | 2018-09-24 | 1 | -6/+6 | |
| | | | | | It's run at end of %install, not at beginning Plus it's now easier to compare with FC | |||||
* | binary payload is chosen at build time | Thierry Vignaud | 2018-09-24 | 2 | -3/+3 | |
| | ||||||
* | reorder for easier comp with FC | Thierry Vignaud | 2018-09-24 | 1 | -13/+15 | |
| | ||||||
* | remove duplicated systemd macros | Thierry Vignaud | 2018-09-24 | 2 | -3/+1 | |
| | ||||||
* | triming changelog is done at build time, also reduce it to 2 years | Thierry Vignaud | 2018-09-24 | 3 | -2/+5 | |
| | ||||||
* | 2.342.34 | Thierry Vignaud | 2018-09-08 | 2 | -1/+3 | |
| | ||||||
* | emits requires(posttrans) on info-install | Thierry Vignaud | 2018-09-08 | 2 | -0/+4 | |
| | | | | (needs newer rpm) | |||||
* | 2.332.33 | Thierry Vignaud | 2018-09-07 | 2 | -1/+3 | |
| | ||||||
* | emits requires on info-install instead of provides | Thierry Vignaud | 2018-09-07 | 2 | -1/+3 | |
| | ||||||
* | 2.322.32 | Thierry Vignaud | 2018-09-04 | 2 | -1/+3 | |
| | ||||||
* | remove obsolete $Id: CVS tags | Thierry Vignaud | 2018-09-04 | 11 | -11/+0 | |
| | ||||||
* | Automatically emits requires on info-install for *.info files | Thierry Vignaud | 2018-09-04 | 4 | -0/+11 | |
| |