]> git.pld-linux.org Git - packages/rpm-build-tools.git/log
packages/rpm-build-tools.git
6 months agouse cargo-vendor-filterer if available master
Jan Palus [Wed, 4 Oct 2023 10:14:10 +0000 (12:14 +0200)]
use cargo-vendor-filterer if available

significantly reduces crates size by including only linux platform
support while excluding ie heavy windows platform support

10 months agobuilder: make default for USE_TEEBOTH depend on perl availability
Jan Palus [Sun, 11 Jun 2023 23:26:15 +0000 (01:26 +0200)]
builder: make default for USE_TEEBOTH depend on perl availability

10 months agoadd --get-spec/-gs for getting just package
Jan Palus [Sun, 11 Jun 2023 22:59:41 +0000 (00:59 +0200)]
add --get-spec/-gs for getting just package

10 months agorewrite builder -5 in sed dropping perl dependency
Jan Palus [Sun, 11 Jun 2023 22:07:26 +0000 (00:07 +0200)]
rewrite builder -5 in sed dropping perl dependency

14 months agobuilder.sh: You do not need cd at the end of the builder script
Elan Ruusamäe [Wed, 22 Feb 2023 18:16:16 +0000 (20:16 +0200)]
builder.sh: You do not need cd at the end of the builder script

14 months agorepackage: Add rpm 4.16 compatibility
Elan Ruusamäe [Mon, 20 Dec 2021 14:58:35 +0000 (16:58 +0200)]
repackage: Add rpm 4.16 compatibility

14 months agoclean-distfiles.sh: Add more files to cleanup, show report
Elan Ruusamäe [Sun, 27 Feb 2022 21:58:41 +0000 (23:58 +0200)]
clean-distfiles.sh: Add more files to cleanup, show report

15 months agosort-pkgs: read packages from stdin if no filename was passed
Jan Palus [Wed, 4 Jan 2023 21:34:38 +0000 (22:34 +0100)]
sort-pkgs: read packages from stdin if no filename was passed

15 months agosort-pkgs: be more lenient about input
Jan Palus [Wed, 4 Jan 2023 20:37:32 +0000 (21:37 +0100)]
sort-pkgs: be more lenient about input

15 months agosort-pkgs: for packages dir try evaluting %_topdir
Jan Palus [Wed, 4 Jan 2023 20:25:56 +0000 (21:25 +0100)]
sort-pkgs: for packages dir try evaluting %_topdir

19 months agorust-crates: add support for non-top level (located in subdir) rust packages
Jan Palus [Sat, 3 Sep 2022 10:56:54 +0000 (12:56 +0200)]
rust-crates: add support for non-top level (located in subdir) rust packages

19 months agorust-crates: fix error message on unknown argument
Jan Palus [Sat, 3 Sep 2022 10:46:12 +0000 (12:46 +0200)]
rust-crates: fix error message on unknown argument

19 months agobuilder: bring back changing directory to original $(pwd) but check for its existence...
Jan Palus [Wed, 31 Aug 2022 09:37:53 +0000 (11:37 +0200)]
builder: bring back changing directory to original $(pwd) but check for its existence first

19 months agobuilder: don't bother going back to original $(pwd) at the end of script
Jan Palus [Tue, 30 Aug 2022 22:55:46 +0000 (00:55 +0200)]
builder: don't bother going back to original $(pwd) at the end of script

no real use for it as far as I can tell and ditching it avoids error if
original working directory does not exist anymore (because ie it
happened to be $RPM_BUILD_ROOT)

23 months ago- script for updating kp5-*
Witold Filipczyk [Sat, 14 May 2022 17:19:49 +0000 (19:19 +0200)]
- script for updating kp5-*

2 years agoinitial generic script for rust crates tarball creation
Jan Palus [Sat, 26 Feb 2022 00:04:52 +0000 (01:04 +0100)]
initial generic script for rust crates tarball creation

2 years agoFeature: Remove "warning" lines from rpm-specdump output
Elan Ruusamäe [Wed, 1 Dec 2021 11:33:38 +0000 (13:33 +0200)]
Feature: Remove "warning" lines from rpm-specdump output

This prevents program stopping on such lines:

warning: line 632: It's not recommended to have unversioned Obsoletes: Obsoletes:       php74-devel

2 years agoRefactor: Extract specdump to a function
Elan Ruusamäe [Wed, 1 Dec 2021 11:28:28 +0000 (13:28 +0200)]
Refactor: Extract specdump to a function

2 years agoRelease 2 (by relup.sh) auto/th/rpm-build-tools-4.10-2
Jan Rękorajski [Thu, 25 Nov 2021 12:39:21 +0000 (13:39 +0100)]
Release 2 (by relup.sh)

2 years agoAdd awk to shebangs that need fixing
Jan Rękorajski [Sun, 3 Oct 2021 20:42:13 +0000 (22:42 +0200)]
Add awk to shebangs that need fixing

2 years agobuilder: use sudo only if not root already
Jan Palus [Tue, 21 Sep 2021 14:56:41 +0000 (16:56 +0200)]
builder: use sudo only if not root already

i'm fine doing builds as root in test containers without sudo

2 years agobuilder: when using rpmspec don't remove runtime conflicts but buildtime conflicts
Jan Palus [Tue, 17 Aug 2021 12:21:18 +0000 (14:21 +0200)]
builder: when using rpmspec don't remove runtime conflicts but buildtime conflicts

2 years agodo db-devel replacement on exact match only
Jan Palus [Wed, 16 Jun 2021 16:05:07 +0000 (18:05 +0200)]
do db-devel replacement on exact match only

...not on any package ending with "db-devel"

2 years ago- 4.10, package more tools auto/th/rpm-build-tools-4.10-1
Jan Rękorajski [Thu, 13 May 2021 20:29:19 +0000 (22:29 +0200)]
- 4.10, package more tools

2 years ago- sort patches
Jan Rękorajski [Thu, 13 May 2021 20:15:38 +0000 (22:15 +0200)]
- sort patches

2 years ago- bump copyright year
Adam Gołębiowski [Tue, 11 May 2021 10:22:08 +0000 (10:22 +0000)]
- bump copyright year

2 years ago- add support for rpmspec tool for fetching buidlrequires/conflict
Adam Gołębiowski [Tue, 11 May 2021 10:20:47 +0000 (10:20 +0000)]
- add support for rpmspec tool for fetching buidlrequires/conflict

3 years agoWhen tripping over a GIT_ var, give a useful error
Paweł Zuzelski [Thu, 8 Apr 2021 20:50:36 +0000 (20:50 +0000)]
When tripping over a GIT_ var, give a useful error

Before the script was failing with "package build failed.  no more
info". That was very unhelpful. Hopefully this message will make it more
clear what is wrong and in worst case it will be easier to find which
call to Exit_error exactly interrupted the execution.

3 years agounset GIT_EDITOR together with other GIT_* vars
Paweł Zuzelski [Thu, 8 Apr 2021 20:40:51 +0000 (20:40 +0000)]
unset GIT_EDITOR together with other GIT_* vars

3 years agoon -j define __jobs instead of _smp_mflags
Jan Palus [Tue, 30 Mar 2021 10:44:04 +0000 (12:44 +0200)]
on -j define __jobs instead of _smp_mflags

not all tools use -j syntax for parallelism so instead of redefining
_smp_mflags define __jobs (the former is expressed with the latter)

3 years agoFallback to /tmp.
Arkadiusz Miśkiewicz [Sun, 14 Mar 2021 08:39:45 +0000 (09:39 +0100)]
Fallback to /tmp.

3 years agoUpdate commit message style to Git not CVS
Elan Ruusamäe [Sat, 6 Mar 2021 07:39:29 +0000 (09:39 +0200)]
Update commit message style to Git not CVS

3 years agorelup: use bash for bashism
Elan Ruusamäe [Sat, 6 Mar 2021 07:32:05 +0000 (09:32 +0200)]
relup: use bash for bashism

[[ is not in posix, so use bash

refs ca4511620637474a7fc900ea68df5ffa4529f1b7

3 years agoBe sure that we got any comment actually.
Arkadiusz Miśkiewicz [Fri, 5 Mar 2021 08:28:33 +0000 (09:28 +0100)]
Be sure that we got any comment actually.

3 years agoKeep comments at beginning of the patch.
Arkadiusz Miśkiewicz [Thu, 4 Mar 2021 20:12:09 +0000 (21:12 +0100)]
Keep comments at beginning of the patch.

3 years agoCheck certificate by default. Override locally.
Arkadiusz Miśkiewicz [Mon, 1 Mar 2021 19:56:29 +0000 (20:56 +0100)]
Check certificate by default. Override locally.

3 years agoUse rpm-specdump if it exists, rpm.org rpm can't do 'rpm dump %prep'
Jan Rękorajski [Fri, 26 Feb 2021 07:58:12 +0000 (08:58 +0100)]
Use rpm-specdump if it exists, rpm.org rpm can't do 'rpm dump %prep'

3 years agoAbility to skip patches.
Arkadiusz Miśkiewicz [Wed, 24 Feb 2021 15:53:45 +0000 (16:53 +0100)]
Ability to skip patches.

3 years agoPrint more when rpmbuild fails. Use known/good source dir instead of relying on ...
Arkadiusz Miśkiewicz [Wed, 24 Feb 2021 14:27:35 +0000 (15:27 +0100)]
Print more when rpmbuild fails. Use known/good source dir instead of relying on (wrong, like kernel.spec:LINUX_4_9) rpm output

3 years agoHide rpmbuild output unless --verbose (rpmbuild default is RPMLOG_WARNING even in...
Arkadiusz Miśkiewicz [Wed, 24 Feb 2021 12:21:11 +0000 (13:21 +0100)]
Hide rpmbuild output unless --verbose (rpmbuild default is RPMLOG_WARNING even in --quiet mode and it is too noisy)

3 years agoGenerate diffstat for each patch, so it's easier to compare if rediff is not broken.
Arkadiusz Miśkiewicz [Wed, 24 Feb 2021 12:13:34 +0000 (13:13 +0100)]
Generate diffstat for each patch, so it's easier to compare if rediff is not broken.

3 years ago- regenerate last patch, too
Arkadiusz Miśkiewicz [Tue, 23 Feb 2021 17:08:51 +0000 (18:08 +0100)]
- regenerate last patch, too

3 years agoArgs parsing and few fixes.
Arkadiusz Miśkiewicz [Tue, 23 Feb 2021 15:09:30 +0000 (16:09 +0100)]
Args parsing and few fixes.

3 years agomain()
Arkadiusz Miśkiewicz [Tue, 23 Feb 2021 13:53:23 +0000 (14:53 +0100)]
main()

3 years ago_default_patch_fuzz 2
Arkadiusz Miśkiewicz [Tue, 23 Feb 2021 11:41:18 +0000 (12:41 +0100)]
_default_patch_fuzz 2

3 years agoUgly, not fully working (see TODO) example of patches rediff tool.
Arkadiusz Miśkiewicz [Tue, 23 Feb 2021 11:32:41 +0000 (12:32 +0100)]
Ugly, not fully working (see TODO) example of patches rediff tool.

3 years ago- rel 10 auto/th/rpm-build-tools-4.9-10
Jan Rękorajski [Tue, 23 Feb 2021 09:55:15 +0000 (10:55 +0100)]
- rel 10

3 years agoLANG=C is not enough to disable translations, add LC_ALL=C everywhere
Jan Rękorajski [Tue, 23 Feb 2021 09:54:50 +0000 (10:54 +0100)]
LANG=C is not enough to disable translations, add LC_ALL=C everywhere

3 years ago- rel 9 auto/th/rpm-build-tools-4.9-9
Jan Rękorajski [Tue, 23 Feb 2021 09:43:07 +0000 (10:43 +0100)]
- rel 9

3 years agoRun rpm in C locale to avoid mismatching on translation
Jan Rękorajski [Tue, 23 Feb 2021 09:42:26 +0000 (10:42 +0100)]
Run rpm in C locale to avoid mismatching on translation

3 years ago- Rebuild with fixed PATH for cleanbuild auto/th/rpm-build-tools-4.9-8
Elan Ruusamäe [Mon, 15 Feb 2021 11:01:12 +0000 (13:01 +0200)]
- Rebuild with fixed PATH for cleanbuild
- release 8 (by relup.sh)

3 years agoPeople have passwords on ssh keys, so drop -B option.
Arkadiusz Miśkiewicz [Wed, 20 Jan 2021 17:04:24 +0000 (18:04 +0100)]
People have passwords on ssh keys, so drop -B option.

3 years agoMove /usr prefixes first for clean PATH
Elan Ruusamäe [Mon, 30 Nov 2020 07:46:15 +0000 (09:46 +0200)]
Move /usr prefixes first for clean PATH

This is to prefer /usr over /bin in case busybox provided /bin

3 years agobuilder: unbreak rpm5 detection
Jan Palus [Sun, 22 Nov 2020 10:50:43 +0000 (11:50 +0100)]
builder: unbreak rpm5 detection

3 years agorelup: adjust for rpm.org
Jan Palus [Fri, 20 Nov 2020 22:29:06 +0000 (23:29 +0100)]
relup: adjust for rpm.org

3 years agodo exact bcond match when reporting active bconds
Jan Palus [Mon, 16 Nov 2020 10:54:42 +0000 (11:54 +0100)]
do exact bcond match when reporting active bconds

`builder --without static_libs bash` reports <static> bcond is active even
though it's not

3 years agoUpdate copyright year
Elan Ruusamäe [Mon, 9 Nov 2020 13:32:28 +0000 (15:32 +0200)]
Update copyright year

3 years agoImprove rpm.org detection
Elan Ruusamäe [Mon, 9 Nov 2020 13:28:28 +0000 (15:28 +0200)]
Improve rpm.org detection

Need to detect rpm 4.5 as non-rpm.org flavor

3 years agobuilder: skip checkout if already on the target branch
Elan Ruusamäe [Sun, 25 Oct 2020 11:16:50 +0000 (13:16 +0200)]
builder: skip checkout if already on the target branch

this avoids poisoning git reflog with entries

3 years agomake lftp usage configurable in env
Jan Palus [Thu, 29 Oct 2020 11:37:38 +0000 (12:37 +0100)]
make lftp usage configurable in env

3 years agorun wget --help once
Jan Palus [Thu, 29 Oct 2020 11:34:36 +0000 (12:34 +0100)]
run wget --help once

3 years agodon't override GETURI when using wget
Jan Palus [Thu, 29 Oct 2020 11:30:52 +0000 (12:30 +0100)]
don't override GETURI when using wget

-O is not passed correctly when fetching second and subsequent sources

3 years agoRestore tab-indenting
Elan Ruusamäe [Tue, 13 Oct 2020 08:50:52 +0000 (11:50 +0300)]
Restore tab-indenting

refs ac1281919568d928bdefe8cbc5436cdf3fa5906d

3 years ago= rel 7 auto/th/rpm-build-tools-4.9-7
Jan Rękorajski [Sun, 11 Oct 2020 22:27:15 +0000 (00:27 +0200)]
= rel 7

3 years ago- drop support for rpm 4.0
Jan Rękorajski [Sun, 11 Oct 2020 22:05:53 +0000 (00:05 +0200)]
- drop support for rpm 4.0
- properly load builder macros on rpm.org 4.x

3 years agocheck for bad bash shebangs
Jan Rękorajski [Wed, 12 Aug 2020 07:24:51 +0000 (09:24 +0200)]
check for bad bash shebangs

3 years ago- updated bconds.txt
Jakub Bogusz [Mon, 11 May 2020 17:16:49 +0000 (19:16 +0200)]
- updated bconds.txt

3 years agoFix documentation of poldek command line
Elan Ruusamäe [Thu, 30 Apr 2020 11:03:59 +0000 (14:03 +0300)]
Fix documentation of poldek command line

Fixup to a390597a5dd311920abfb4b1ee80c41577b57149

4 years ago- rel 6 auto/th/rpm-build-tools-4.9-6
Jan Rękorajski [Wed, 22 Apr 2020 21:23:40 +0000 (23:23 +0200)]
- rel 6

4 years ago- uppercase G(reedy) poldek option is gone
Jan Rękorajski [Wed, 22 Apr 2020 21:22:45 +0000 (23:22 +0200)]
- uppercase G(reedy) poldek option is gone

4 years agoIgnore dangling symlinks (there is no other cause for FileNotFoundError)
Jan Rękorajski [Sun, 5 Apr 2020 08:28:57 +0000 (10:28 +0200)]
Ignore dangling symlinks (there is no other cause for FileNotFoundError)

4 years agocheck-chebang: Add ruby and use sed macro in output
Jan Rękorajski [Tue, 24 Mar 2020 09:31:25 +0000 (10:31 +0100)]
check-chebang: Add ruby and use sed macro in output

4 years ago- shorter rules and don't replace twice
Arkadiusz Miśkiewicz [Thu, 9 Jan 2020 09:24:06 +0000 (10:24 +0100)]
- shorter rules and don't replace twice

4 years agoExtended regex is used.
Arkadiusz Miśkiewicz [Tue, 24 Dec 2019 09:46:31 +0000 (10:46 +0100)]
Extended regex is used.

4 years agoHandle whitespaces in shebang.
Arkadiusz Miśkiewicz [Mon, 23 Dec 2019 10:17:44 +0000 (11:17 +0100)]
Handle whitespaces in shebang.

4 years agoUse file hashes instead of file names (in case of file renames).
Arkadiusz Miśkiewicz [Mon, 23 Dec 2019 09:17:52 +0000 (10:17 +0100)]
Use file hashes instead of file names (in case of file renames).

4 years agoFix option in comment. Don't use stderr.
Arkadiusz Miśkiewicz [Mon, 23 Dec 2019 07:58:35 +0000 (08:58 +0100)]
Fix option in comment. Don't use stderr.

4 years agoShow relpath, so should be easy to just copy & paste into %%build macro
Arkadiusz Miśkiewicz [Sun, 22 Dec 2019 23:22:43 +0000 (00:22 +0100)]
Show relpath, so should be easy to just copy & paste into %%build macro

4 years agoFix only files that get installed
Arkadiusz Miśkiewicz [Sun, 22 Dec 2019 23:14:56 +0000 (00:14 +0100)]
Fix only files that get installed

How to use:
builder -bi kernel
cd ~/rpm/BUILD/kernel*/linux-*
check-shebang.py --buildroot=/home/users/arekm/tmp/kernel-5.3.0-root-arekm/ $(pwd)

4 years agocrude script that generates shebang fixing rules
Arkadiusz Miśkiewicz [Sun, 22 Dec 2019 14:42:09 +0000 (15:42 +0100)]
crude script that generates shebang fixing rules

4 years ago- rel 5; get coredumps by default auto/th/rpm-build-tools-4.9-5
Arkadiusz Miśkiewicz [Wed, 18 Dec 2019 19:00:27 +0000 (20:00 +0100)]
- rel 5; get coredumps by default

4 years ago- helper script for bumping version of ka5*spec
Witold Filipczyk [Mon, 13 May 2019 09:45:06 +0000 (11:45 +0200)]
- helper script for bumping version of ka5*spec

4 years ago- ordering of ka5 packages generated by sort-pkgs
Witold Filipczyk [Mon, 13 May 2019 09:43:20 +0000 (11:43 +0200)]
- ordering of ka5 packages generated  by sort-pkgs

4 years ago- helper script to bump version of a kf5 spec
Witold Filipczyk [Fri, 10 May 2019 17:00:27 +0000 (19:00 +0200)]
- helper script to bump version of a kf5 spec

5 years agobuilder: avoid printing git hash
Elan Ruusamäe [Sat, 2 Feb 2019 21:24:10 +0000 (23:24 +0200)]
builder: avoid printing git hash

5 years ago- update path for mutt mirror on sunsite.icm.edu.pl
Adam Gołębiowski [Sun, 25 Nov 2018 23:24:56 +0000 (00:24 +0100)]
- update path for mutt mirror on sunsite.icm.edu.pl

5 years ago- switch CPAN mirror to AGH because ICM's sunsite reply 403 Forbidden
Adam Osuchowski [Thu, 15 Nov 2018 17:17:55 +0000 (18:17 +0100)]
- switch CPAN mirror to AGH because ICM's sunsite reply 403 Forbidden

5 years agogeoip: handle xtables-geoip having same filename
Elan Ruusamäe [Thu, 1 Nov 2018 09:16:49 +0000 (11:16 +0200)]
geoip: handle xtables-geoip having same filename

url hacking with query string doesn't work, the remote server gives
2015 year version out then.... pff!

5 years agoupdate-geoip: xtables-geoip: extract version from attachment filename
Elan Ruusamäe [Tue, 30 Oct 2018 23:33:24 +0000 (01:33 +0200)]
update-geoip: xtables-geoip: extract version from attachment filename

5 years agopoldek: skip desc when updating idnexes
Elan Ruusamäe [Fri, 13 Apr 2018 20:01:50 +0000 (23:01 +0300)]
poldek: skip desc when updating idnexes

5 years ago- switch sf mirror to vorboss (heanet seems outdated)
Adam Gołębiowski [Tue, 9 Oct 2018 05:03:59 +0000 (07:03 +0200)]
- switch sf mirror to vorboss (heanet seems outdated)

5 years ago- ftp service on ftp.debian is disabled as of 20171101, use http instead
Adam Gołębiowski [Sat, 29 Sep 2018 19:58:47 +0000 (21:58 +0200)]
- ftp service on ftp.debian is disabled as of 20171101, use http instead

5 years ago- unset GIT_TESTING_PORCELAIN_COMMAND_LIST environment variable in builder script
Adam Osuchowski [Tue, 11 Sep 2018 16:17:41 +0000 (18:17 +0200)]
- unset GIT_TESTING_PORCELAIN_COMMAND_LIST environment variable in builder script

5 years agoUse tempfile provided in this script.
Arkadiusz Miśkiewicz [Wed, 27 Jun 2018 17:47:49 +0000 (19:47 +0200)]
Use tempfile provided in this script.

5 years agoSupport -4/-6 options in git and lftp operations.
Arkadiusz Miśkiewicz [Wed, 27 Jun 2018 17:44:46 +0000 (19:44 +0200)]
Support -4/-6 options in git and lftp operations.

6 years agohonor GETLOCAL override in .builderrc
Jan Rękorajski [Fri, 30 Mar 2018 09:44:05 +0000 (11:44 +0200)]
honor GETLOCAL override in .builderrc

6 years agoNo CVS.
Arkadiusz Miśkiewicz [Mon, 26 Feb 2018 12:18:37 +0000 (13:18 +0100)]
No CVS.

6 years ago- /etc/shrc.d/* files as configs
Adam Osuchowski [Tue, 21 Nov 2017 16:04:07 +0000 (17:04 +0100)]
- /etc/shrc.d/* files as configs

6 years ago- typo
Witold Filipczyk [Thu, 26 Oct 2017 16:35:51 +0000 (18:35 +0200)]
- typo

6 years ago- script based on update-kde4.sh
Witold Filipczyk [Thu, 26 Oct 2017 15:36:36 +0000 (17:36 +0200)]
- script based on update-kde4.sh

This page took 0.189628 seconds and 4 git commands to generate.