]> git.pld-linux.org Git - packages/rpm-build-tools.git/log
packages/rpm-build-tools.git
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

3 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

3 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

6 years ago- cleanup, python3
Witold Filipczyk [Wed, 25 Oct 2017 11:34:03 +0000 (13:34 +0200)]
- cleanup, python3

6 years agobuilder: install deps with -g -R as well auto/th/rpm-build-tools-4.9-4
Elan Ruusamäe [Tue, 17 Oct 2017 17:52:12 +0000 (20:52 +0300)]
builder: install deps with -g -R as well

required for cleanbuild to separate installing deps and building package

7 years agorpmchangelog: use SPECFILE to get accurate link to .spec
Elan Ruusamäe [Wed, 21 Dec 2016 19:09:32 +0000 (21:09 +0200)]
rpmchangelog: use SPECFILE to get accurate link to .spec

7 years agobash-prompt: skip if configured remote is not fetched
Elan Ruusamäe [Sun, 20 Nov 2016 18:49:58 +0000 (20:49 +0200)]
bash-prompt: skip if configured remote is not fetched

7 years agobash-prompt: skip comparing with remote if upstream not defined for branch
Elan Ruusamäe [Sun, 20 Nov 2016 18:10:37 +0000 (20:10 +0200)]
bash-prompt: skip comparing with remote if upstream not defined for branch

7 years agobash-prompt: rewritten not to rely on git status output text
Elan Ruusamäe [Sun, 20 Nov 2016 17:39:56 +0000 (19:39 +0200)]
bash-prompt: rewritten not to rely on git status output text

to be error prone to changes in git status command output

7 years ago- release 3 (by relup.sh) auto/th/rpm-build-tools-4.9-3
Elan Ruusamäe [Sun, 20 Nov 2016 17:10:56 +0000 (19:10 +0200)]
- release 3 (by relup.sh)

7 years agobash-prompt: do not use wide unicode
Elan Ruusamäe [Sun, 20 Nov 2016 17:09:21 +0000 (19:09 +0200)]
bash-prompt: do not use wide unicode

seems readline 7.0 causing random breakage in random apps with wide
uncode. bash is one of them, byoby (tmux) is broken as well.

https://bugs.launchpad.net/byobu/+bug/1641819

7 years ago- release 2 (by relup.sh) auto/th/rpm-build-tools-4.9-2
Elan Ruusamäe [Thu, 20 Oct 2016 21:23:55 +0000 (00:23 +0300)]
- release 2 (by relup.sh)

7 years agounset GIT_*_{NAME,EMAIL}
Elan Ruusamäe [Mon, 17 Oct 2016 11:00:29 +0000 (14:00 +0300)]
unset GIT_*_{NAME,EMAIL}

7 years agoshrc: always enable code that does not require $dist
Elan Ruusamäe [Thu, 29 Sep 2016 11:08:36 +0000 (14:08 +0300)]
shrc: always enable code that does not require $dist

reorganize to have always initialized functions/aliases first
and then the ones requiring $dist at the bottom

7 years agobuilder: unset GIT_SSH
Elan Ruusamäe [Tue, 13 Sep 2016 11:42:40 +0000 (14:42 +0300)]
builder: unset GIT_SSH

7 years agov4.9: adapter moved to separate package auto/th/rpm-build-tools-4.9-1
Elan Ruusamäe [Mon, 12 Sep 2016 17:36:59 +0000 (20:36 +0300)]
v4.9: adapter moved to separate package

7 years agodrop duplicate Group definition
Elan Ruusamäe [Mon, 12 Sep 2016 15:34:49 +0000 (18:34 +0300)]
drop duplicate Group definition

7 years agobuilder: showspec name that was tried but not found
Elan Ruusamäe [Mon, 12 Sep 2016 08:31:04 +0000 (11:31 +0300)]
builder: showspec name that was tried but not found

7 years agoadapter: some qt5 replacements
Elan Ruusamäe [Mon, 12 Sep 2016 08:28:44 +0000 (11:28 +0300)]
adapter: some qt5 replacements

7 years ago- release 6 (by relup.sh) auto/th/rpm-build-tools-4.8-6
Elan Ruusamäe [Mon, 29 Aug 2016 13:11:20 +0000 (16:11 +0300)]
- release 6 (by relup.sh)

7 years ago$RPMOPTS need to be processed via eval
Elan Ruusamäe [Mon, 29 Aug 2016 11:50:46 +0000 (14:50 +0300)]
$RPMOPTS need to be processed via eval

7 years agopass RPMOPTS to rpm when checking package deps
Elan Ruusamäe [Mon, 29 Aug 2016 11:47:01 +0000 (14:47 +0300)]
pass RPMOPTS to rpm when checking package deps

this ensures all omitting --define do not cause parse errors

7 years agoRevert "separater parameters and locals"
Elan Ruusamäe [Mon, 22 Aug 2016 19:09:41 +0000 (22:09 +0300)]
Revert "separater parameters and locals"

gawk doesn't actually like such comments

This reverts commit ab517c2dbad11b5bc0a9604761f2165e94a71b50.

7 years agoseparater parameters and locals
Elan Ruusamäe [Mon, 22 Aug 2016 12:22:15 +0000 (15:22 +0300)]
separater parameters and locals

7 years agofish_compdir, zsh_compdir
Elan Ruusamäe [Mon, 22 Aug 2016 12:16:42 +0000 (15:16 +0300)]
fish_compdir, zsh_compdir

7 years agorel 5 auto/th/rpm-build-tools-4.8-5
Elan Ruusamäe [Sun, 31 Jul 2016 11:54:20 +0000 (14:54 +0300)]
rel 5

7 years agoshrc: try lsb_release first to determine distro
Elan Ruusamäe [Sun, 31 Jul 2016 11:53:55 +0000 (14:53 +0300)]
shrc: try lsb_release first to determine distro

7 years agopear: pear.installed stamp
Elan Ruusamäe [Sun, 31 Jul 2016 11:53:37 +0000 (14:53 +0300)]
pear: pear.installed stamp

7 years agoadapter updates
Elan Ruusamäe [Sun, 31 Jul 2016 11:53:18 +0000 (14:53 +0300)]
adapter updates

7 years agoadapter: chop # from urls
Elan Ruusamäe [Fri, 20 May 2016 14:24:32 +0000 (17:24 +0300)]
adapter: chop # from urls

7 years agobuilder: push also notes
Elan Ruusamäe [Tue, 3 May 2016 21:02:36 +0000 (00:02 +0300)]
builder: push also notes

seems to be working, having tested this few weeks
http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2016-April/024797.html

if this still breaks, then you should had responded in mailing list...

7 years agoadapter: vim folding marks; update package renames
Elan Ruusamäe [Tue, 3 May 2016 21:01:25 +0000 (00:01 +0300)]
adapter: vim folding marks; update package renames

8 years agodrop outdated todo
Elan Ruusamäe [Tue, 12 Apr 2016 16:47:38 +0000 (19:47 +0300)]
drop outdated todo

8 years agouse local gitignore not one in repo
Elan Ruusamäe [Tue, 12 Apr 2016 16:46:03 +0000 (19:46 +0300)]
use local gitignore not one in repo

8 years agoreturn false
Elan Ruusamäe [Wed, 30 Mar 2016 20:28:38 +0000 (23:28 +0300)]
return false

so could conditionally setup the prompt:

. ~/rpm/packages/rpm-build-tools/bash-prompt.sh && PROMPT_COMMAND=__bash_prompt_command

8 years agopclean: cleaning git diffs
Elan Ruusamäe [Wed, 30 Mar 2016 20:25:23 +0000 (23:25 +0300)]
pclean: cleaning git diffs

8 years agopython docker renames
Elan Ruusamäe [Wed, 30 Mar 2016 20:25:11 +0000 (23:25 +0300)]
python docker renames

8 years agobash 4 check (for ac)
Elan Ruusamäe [Wed, 30 Mar 2016 20:24:58 +0000 (23:24 +0300)]
bash 4 check (for ac)

8 years agoreset cache when reloading
Elan Ruusamäe [Sat, 19 Mar 2016 09:55:42 +0000 (11:55 +0200)]
reset cache when reloading

8 years agoprevent filenames globbing in
Elan Ruusamäe [Sat, 19 Mar 2016 09:55:28 +0000 (11:55 +0200)]
prevent filenames globbing in

8 years agosubst _pkgdocdir
Elan Ruusamäe [Sat, 19 Mar 2016 09:54:35 +0000 (11:54 +0200)]
subst _pkgdocdir

8 years agomove bash prompt to separate file auto/th/rpm-build-tools-4.8-4
Elan Ruusamäe [Wed, 16 Mar 2016 11:12:52 +0000 (13:12 +0200)]
move bash prompt to separate file

causes issues when sourced from mksh
http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2016-March/024742.html

8 years agosubst python2_version
Elan Ruusamäe [Wed, 16 Mar 2016 11:05:53 +0000 (13:05 +0200)]
subst python2_version

8 years agospelling
Elan Ruusamäe [Sun, 6 Mar 2016 22:26:05 +0000 (00:26 +0200)]
spelling

8 years agorel 3; GIT_DIR fix auto/th/rpm-build-tools-4.8-3
Elan Ruusamäe [Sun, 6 Mar 2016 22:24:04 +0000 (00:24 +0200)]
rel 3; GIT_DIR fix

make release to include fix for:
http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2016-March/024736.html

8 years agoadapter: subst php_extdir
Elan Ruusamäe [Sun, 6 Mar 2016 22:23:23 +0000 (00:23 +0200)]
adapter: subst php_extdir

8 years agoupdate geoip: also push
Elan Ruusamäe [Mon, 18 Jan 2016 12:44:47 +0000 (14:44 +0200)]
update geoip: also push

8 years agodo not corrupt cache if version parse failed
Elan Ruusamäe [Sun, 10 Jan 2016 00:04:23 +0000 (02:04 +0200)]
do not corrupt cache if version parse failed

8 years agorpm query is slow, cache it
Elan Ruusamäe [Sat, 9 Jan 2016 17:26:17 +0000 (19:26 +0200)]
rpm query is slow, cache it

8 years agofix function name
Elan Ruusamäe [Sat, 9 Jan 2016 17:09:45 +0000 (19:09 +0200)]
fix function name

8 years agodefine specdir
Elan Ruusamäe [Sat, 9 Jan 2016 16:31:13 +0000 (18:31 +0200)]
define specdir

this solves issues that rpm tries to access every source
and it does that in wrong dir in packages like php.spec (tries php53
dir)

really rpm should check the files if only want to parse simple things
like version

similar issue in the past:
http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2015-November/024529.html

8 years agouse ls to expand spec count
Elan Ruusamäe [Sat, 9 Jan 2016 16:01:45 +0000 (18:01 +0200)]
use ls to expand spec count

8 years agoinclude current VERSION from spec in PS1
Elan Ruusamäe [Sat, 9 Jan 2016 15:54:55 +0000 (17:54 +0200)]
include current VERSION from spec in PS1

8 years agoinclude my bash prompt customization
Elan Ruusamäe [Sat, 9 Jan 2016 15:52:20 +0000 (17:52 +0200)]
include my bash prompt customization

optional, can be enabled if you set in your ~/.bashrc:
PROMPT_COMMAND=__bash_prompt_command

8 years agonodejs_sitelib subst
Elan Ruusamäe [Sat, 9 Jan 2016 15:46:21 +0000 (17:46 +0200)]
nodejs_sitelib subst

8 years agooxygen name
Elan Ruusamäe [Thu, 31 Dec 2015 22:20:17 +0000 (00:20 +0200)]
oxygen name

8 years agomove unknown repos to stashed dir
Elan Ruusamäe [Sat, 19 Dec 2015 00:55:25 +0000 (02:55 +0200)]
move unknown repos to stashed dir

8 years agocleanup GIT_ vars before invoking build
Elan Ruusamäe [Sat, 19 Dec 2015 00:54:47 +0000 (02:54 +0200)]
cleanup GIT_ vars before invoking build

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