aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2.472.47Jani Välimaa2019-12-262-1/+2
|
* Replace setup_compile_flags rpm macro with upstream set_build_flags macroJani Välimaa2019-12-262-5/+6
| | | | Deprecation warning is output is %setup_compile_flags is used.
* 2.462.46Jani Välimaa2019-12-242-1/+3
|
* brp-mangle-shebangs: do not exit if read has a non-zero statusJani Välimaa2019-12-242-1/+4
| | | | | | | | | At least building texlive-texmf fails without this because brp-mangle-shebangs has -e in its shebang. -e Exit immediately if a command exits with a non-zero status. $ read shebang_line < BUILD/texlive-20190410-texmf/texmf-dist/doc/generic/pst-mirror/createEPS/test.sh $ echo $? 1
* 2.452.45Thierry Vignaud2019-12-232-1/+3
|
* Switch binary payload compression to Zstandard level 19Thierry Vignaud2019-12-232-2/+5
| | | | | for faster installations, as discussed with tmb See https://fedoraproject.org/wiki/Changes/Switch_RPMs_to_zstd_compression
* brp-mangle-shebangs: do not stat / touch files needlesslyDenys Vlasenko2019-12-232-3/+11
| | | | | | | Run "stat" to get mtime, and "touch -d $saved_mtime" only if we indeed modify file's shebang. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* brp-mangle-shebangs: fix unsafe/incorrect command expansionDenys Vlasenko2019-12-231-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 Vlasenko2019-12-231-3/+12
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Make ambiguous python shebangs errorThierry Vignaud2019-12-231-0/+1
|
* Try harder to have armv7hl chroots working2.44Pascal Terjan2019-10-153-4/+9
|
* Make armv7hl chroots on aarch64 work on all armv8 flavours2.43Pascal Terjan2019-10-153-1/+8
|
* Actually make armv7hl chroots on armv8 work2.42Pascal Terjan2019-10-153-1/+6
|
* 2.412.41Thierry Vignaud2019-09-192-1/+3
|
* fix %__libtoolize disapearing in rpm-4.15 (mga#25440)Thierry Vignaud2019-09-192-0/+3
|
* 2.402.40Thierry Vignaud2019-08-292-1/+3
|
* move macros files into /usr/lib/rpm/macros.dThierry Vignaud2019-08-293-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.39Pascal Terjan2019-05-042-1/+3
|
* Make armv7hl chroots on aarch64 work as expectedPascal Terjan2019-05-043-0/+9
| | | | | set arch_compat so that urpmi accepts to install armv7hl packages and set canonical architecture to be armv7hl
* 2.382.38Thierry Vignaud2019-03-112-1/+3
|
* log previous changesThierry Vignaud2019-03-111-0/+4
|
* use File::Find insted of external find commandGuillaume Rousse2019-03-031-1/+11
|
* no need to cache php files listGuillaume Rousse2019-03-031-8/+1
| | | | | Producing the list isn't expensive enough to justify caching the result, especially if handled incorrectly
* Add %_metainfodir macro for appdata metainfo dirJani Välimaa2019-01-192-0/+5
|
* add spec-helper merging to TODOThierry Vignaud2018-10-301-0/+1
|
* kill code that's dead for 11 yearsThierry Vignaud2018-10-302-11/+0
|
* one item offThierry Vignaud2018-10-301-2/+0
|
* Remove empty AUTHORS and ChangeLogJani Välimaa2018-10-213-1/+1
|
* 2.372.37Jani Välimaa2018-10-212-1/+3
|
* Strip binaries and libraries in __os_install_post if __debug_package isn't ↵Jani Välimaa2018-10-212-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 rpmThierry Vignaud2018-09-242-11/+0
|
* those macros are used at build timeThierry Vignaud2018-09-242-4/+6
|
* remove sparc lists unused for yearsThierry Vignaud2018-09-241-3/+0
|
* sync comment with FCThierry Vignaud2018-09-241-2/+7
|
* 2.36,2.36Thierry Vignaud2018-09-242-1/+3
|
* Automatically compile python filesThierry Vignaud2018-09-242-0/+5
|
* do not fail when python call is ambiguousThierry Vignaud2018-09-241-1/+0
|
* fix shebang (found by mangling shebang)Thierry Vignaud2018-09-242-2/+2
| | | | actually rpmlint was complaining too...
* add __brp_mangle_shebangs from FC in order to:Thierry Vignaud2018-09-244-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.35Thierry Vignaud2018-09-242-1/+3
|
* split %__brp_python_hardlink tooThierry Vignaud2018-09-241-1/+2
|
* split&sync %__brp_python_bytecompile with upstreamThierry Vignaud2018-09-242-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 macroThierry Vignaud2018-09-241-3/+0
|
* terminate build when missing buildids by defaultThierry Vignaud2018-09-242-0/+5
|
* move %__spec_install_pre tooThierry Vignaud2018-09-241-12/+14
| | | | it's now easier to compare with FC
* move %__os_install_postThierry Vignaud2018-09-241-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 timeThierry Vignaud2018-09-242-3/+3
|
* reorder for easier comp with FCThierry Vignaud2018-09-241-13/+15
|
* remove duplicated systemd macrosThierry Vignaud2018-09-242-3/+1
|
* triming changelog is done at build time, also reduce it to 2 yearsThierry Vignaud2018-09-243-2/+5
|