mirror of
https://github.com/clearlinux/common.git
synced 2026-06-16 02:56:00 +00:00
Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1368df937f | |||
| 4668b03fdd | |||
| d612ea1d6d | |||
| 36d49108a6 | |||
| cbfa62d79e | |||
| 312f6398a9 | |||
| ee431ed33f | |||
| 349d8c6645 | |||
| 1aecb3dcf5 | |||
| be88b856de | |||
| e610c46517 | |||
| f78b8dad99 | |||
| 19e7a08dee |
+57
-3
@@ -217,14 +217,24 @@ autospecnostate:
|
||||
scanlicense:
|
||||
python3 $(TOPLVL)/projects/autospec/autospec/autospec.py -t . --config $(AUTOSPEC_CONF) --license-only $(firstword $(NEWURL) $(URL)) --name $(PKG_NAME)
|
||||
|
||||
#help bump: Increments the release file by one.
|
||||
#help bump: Increments the package release number by one and commits the result. If
|
||||
#help the variable BUMP_MSG is set, its value is used as the commit summary.
|
||||
#help Otherwise a generic commit summary is used.
|
||||
bump:
|
||||
git pull --rebase
|
||||
$(MAKE) bumpnogit
|
||||
git add $(SPECFILE) release
|
||||
git commit -a -m "version bump from $(shell $(call queryspec,%{VERSION}-%{RELEASE}\n,$(SPECFILE))) to `$(call queryspec,%{VERSION}-%{RELEASE}\n,$(SPECFILE))`"
|
||||
fromver=$(shell $(call queryspec,%{VERSION}-%{RELEASE}\n,$(SPECFILE))); \
|
||||
tover=`$(call queryspec,%{VERSION}-%{RELEASE}\n,$(SPECFILE))`; \
|
||||
if [[ -n "$(BUMP_MSG)" ]]; then \
|
||||
bumpmsg="$(BUMP_MSG)"; \
|
||||
else \
|
||||
bumpmsg="version bump from $$fromver to $$tover"; \
|
||||
fi; \
|
||||
git commit -a -m "$$bumpmsg"
|
||||
|
||||
#help bumpnogit: Increments the release file by one and does not commit changes.
|
||||
#help bumpnogit: Increments the package release number by one and does not commit
|
||||
#help changes.
|
||||
bumpnogit:
|
||||
@$(MAKE) spdxcheck
|
||||
oldrel=$(shell $(call queryspec,%{RELEASE}\n,$(SPECFILE))); \
|
||||
@@ -329,6 +339,12 @@ koji: prekoji-checks kojidef
|
||||
git tag $(SRPMVERS)
|
||||
git push origin $(CURRENT_BRANCH):main refs/tags/$(SRPMVERS)
|
||||
$(KOJI_CMD) build $$KOJI_NOWAIT $(KOJI_TAG) $(PKG_BASE_URL)/$(PKG_NAME)?#$(SRPMVERS)
|
||||
@if [ -f bump.list ]; then \
|
||||
$(MAKE) koji-waitrepo; \
|
||||
for bump_dep in $$(cat bump.list); do \
|
||||
(cd ../"$$bump_dep" && $(MAKE) bump && $(MAKE) koji-nowait) \
|
||||
done \
|
||||
fi
|
||||
|
||||
#help rekoji: In case a previous 'make koji' failed, trigger a rebuild for the
|
||||
#help same tag.
|
||||
@@ -352,6 +368,44 @@ koji-nowait:
|
||||
rekoji-nowait:
|
||||
$(MAKE) KOJI_NOWAIT="--nowait --background" rekoji
|
||||
|
||||
#help koji-waitrepo: Wait for current package changes to become available in the
|
||||
#help koji repo. If PKG_NAME is overridden on the command line, wait on changes for
|
||||
#help that package instead. This capability allows the developer to "chain" builds
|
||||
#help for submission to koji according to the state of the package repos on their
|
||||
#help system. Additional options for `koji wait-repo` can be specified via the
|
||||
#help WAIT_OPTS variable.
|
||||
koji-waitrepo: kojidef
|
||||
@if [[ ! "${PKG_NAME}" =~ ^[A-Za-z0-9._+-]+$$ ]]; then \
|
||||
echo "[ERROR] Invalid package name \"${PKG_NAME}\""; \
|
||||
exit 1; \
|
||||
fi; \
|
||||
if [[ "${PKG_NAME}" != "$(notdir ${CURDIR})" ]]; then \
|
||||
$(MAKE) -s -C ../${PKG_NAME} koji-waitrepo; \
|
||||
else \
|
||||
koji wait-repo --build=${SRPMVERS} ${WAIT_OPTS} ${KOJI_TAG}-build; \
|
||||
fi
|
||||
|
||||
update-versions:
|
||||
|
||||
.PHONY: update
|
||||
#help update: Tries to run update.sh if it exists. update.sh is expected
|
||||
#help to check for version updates, exit (successfully) if none are found
|
||||
#help or update the package and push the update to koji.
|
||||
#help If no update.sh exists, update the version, autospec and push the
|
||||
#help update to koji (bumping the bump.list if found).
|
||||
update:
|
||||
@if [ -f update.sh ]; then \
|
||||
./update.sh; \
|
||||
else \
|
||||
$(MAKE) -s update-versions && \
|
||||
$(MAKE) autospec CLEANUP=1 && \
|
||||
if [ -f bump.list ]; then \
|
||||
$(MAKE) -s koji; \
|
||||
else \
|
||||
$(MAKE) -s koji-nowait; \
|
||||
fi \
|
||||
fi \
|
||||
|
||||
logcheck:
|
||||
@perl $(TOPLVL)/projects/common/logcheck.pl results/build.log
|
||||
|
||||
|
||||
@@ -56,7 +56,6 @@ R-BB
|
||||
R-BBmisc
|
||||
R-BH
|
||||
R-BMA
|
||||
R-BMS
|
||||
R-BatchJobs
|
||||
R-BayesFactor
|
||||
R-BiasedUrn
|
||||
@@ -166,6 +165,7 @@ R-Rserve
|
||||
R-Rsolnp
|
||||
R-Rtsne
|
||||
R-Rvmmin
|
||||
R-Ryacas
|
||||
R-SDMTools
|
||||
R-SGP
|
||||
R-SGPdata
|
||||
@@ -287,7 +287,6 @@ R-config
|
||||
R-conflicted
|
||||
R-conquer
|
||||
R-contfrac
|
||||
R-conting
|
||||
R-corpcor
|
||||
R-corrgram
|
||||
R-corrplot
|
||||
@@ -371,18 +370,15 @@ R-evd
|
||||
R-expint
|
||||
R-expm
|
||||
R-expsmooth
|
||||
R-fAsianOptions
|
||||
R-fAssets
|
||||
R-fBasics
|
||||
R-fBonds
|
||||
R-fCopulae
|
||||
R-fExoticOptions
|
||||
R-fExtremes
|
||||
R-fGarch
|
||||
R-fImport
|
||||
R-fMultivar
|
||||
R-fNonlinear
|
||||
R-fOptions
|
||||
R-fRegression
|
||||
R-fTrading
|
||||
R-fUnitRoots
|
||||
@@ -508,6 +504,7 @@ R-influenceR
|
||||
R-ini
|
||||
R-inline
|
||||
R-insight
|
||||
R-interp
|
||||
R-inum
|
||||
R-invgamma
|
||||
R-ipred
|
||||
@@ -644,7 +641,6 @@ R-nnls
|
||||
R-nortest
|
||||
R-npsurv
|
||||
R-numDeriv
|
||||
R-nws
|
||||
R-nycflights13
|
||||
R-officer
|
||||
R-openssl
|
||||
@@ -719,9 +715,9 @@ R-princurve
|
||||
R-processx
|
||||
R-procmaps
|
||||
R-prodlim
|
||||
R-profdpm
|
||||
R-profileModel
|
||||
R-profmem
|
||||
R-profvis
|
||||
R-progress
|
||||
R-progressr
|
||||
R-projpred
|
||||
@@ -836,7 +832,6 @@ R-runjags
|
||||
R-rversions
|
||||
R-rvest
|
||||
R-s2
|
||||
R-sROC
|
||||
R-sampling
|
||||
R-sandwich
|
||||
R-sass
|
||||
@@ -958,6 +953,7 @@ R-unbalanced
|
||||
R-units
|
||||
R-unix
|
||||
R-urca
|
||||
R-urlchecker
|
||||
R-urltools
|
||||
R-uroot
|
||||
R-usethis
|
||||
@@ -1185,7 +1181,6 @@ byobu
|
||||
bz2file
|
||||
bzip2
|
||||
c-ares
|
||||
c-basic-meta
|
||||
cJSON
|
||||
c_rehash
|
||||
ca-certs
|
||||
@@ -1294,17 +1289,13 @@ compat-libpng-soname12
|
||||
compat-libsigc++-soname20
|
||||
compat-libsoup-soname-24
|
||||
compat-libva-soname1
|
||||
compat-libvpx-soname6
|
||||
compat-lua-52
|
||||
compat-lua-53
|
||||
compat-nettle-soname7
|
||||
compat-pangomm-soname14
|
||||
compat-poppler-soname112
|
||||
compat-poppler-soname117
|
||||
compat-protobuf-soname23
|
||||
compat-readline-soname5
|
||||
compat-rest-soname07
|
||||
compat-tbb-soname12
|
||||
compat-tracker-soname2.0
|
||||
compat-webkitgtk-soname40
|
||||
component
|
||||
@@ -1373,6 +1364,7 @@ diffutils
|
||||
digikam
|
||||
ding-libs
|
||||
dino
|
||||
directx-headers
|
||||
direwolf
|
||||
dist-pam-configs
|
||||
distro
|
||||
@@ -1407,6 +1399,7 @@ dropwatch
|
||||
dssi
|
||||
dstat
|
||||
dtc
|
||||
duktape
|
||||
dunst
|
||||
duperemove
|
||||
dvisvgm
|
||||
@@ -2406,6 +2399,11 @@ mesa
|
||||
mesa-demos
|
||||
meson
|
||||
messagelib
|
||||
meta-c-basic
|
||||
meta-desktop-gnome
|
||||
meta-desktop-kde
|
||||
meta-os-core
|
||||
meta-os-core-plus
|
||||
metacity
|
||||
metis
|
||||
metrics-discovery
|
||||
@@ -2446,7 +2444,6 @@ mosh
|
||||
mosquitto
|
||||
motd-update
|
||||
motif
|
||||
mozjs78
|
||||
mozjs91
|
||||
mpc
|
||||
mpfr
|
||||
@@ -3640,8 +3637,10 @@ pypi-async_timeout
|
||||
pypi-asyncssh
|
||||
pypi-asynctest
|
||||
pypi-atomicwrites
|
||||
pypi-atomicwrites_homeassistant
|
||||
pypi-atpublic
|
||||
pypi-attrs
|
||||
pypi-automat
|
||||
pypi-awesomeversion
|
||||
pypi-awscrt
|
||||
pypi-awxkit
|
||||
@@ -3729,6 +3728,7 @@ pypi-compreffor
|
||||
pypi-configargparse
|
||||
pypi-configparser
|
||||
pypi-cons
|
||||
pypi-constantly
|
||||
pypi-contextlib2
|
||||
pypi-contextvars
|
||||
pypi-cookiecutter
|
||||
@@ -3769,7 +3769,6 @@ pypi-django_appconf
|
||||
pypi-django_compressor
|
||||
pypi-django_discover_runner
|
||||
pypi-django_nose
|
||||
pypi-django_pyscss
|
||||
pypi-dnacentersdk
|
||||
pypi-dns_lexicon
|
||||
pypi-dnspython
|
||||
@@ -3868,6 +3867,7 @@ pypi-hug
|
||||
pypi-humanfriendly
|
||||
pypi-humanize
|
||||
pypi-hyperframe
|
||||
pypi-hyperlink
|
||||
pypi-hypothesis
|
||||
pypi-icalendar
|
||||
pypi-identify
|
||||
@@ -3880,6 +3880,7 @@ pypi-imagesize
|
||||
pypi-immutables
|
||||
pypi-importlib_metadata
|
||||
pypi-importlib_resources
|
||||
pypi-incremental
|
||||
pypi-infi.dtypes.iqn
|
||||
pypi-infi.dtypes.wwn
|
||||
pypi-inflect
|
||||
@@ -4148,6 +4149,7 @@ pypi-pyopenssl
|
||||
pypi-pyparsing
|
||||
pypi-pyperclip
|
||||
pypi-pyperf
|
||||
pypi-pyproject_metadata
|
||||
pypi-pyprojectx
|
||||
pypi-pypsrp
|
||||
pypi-pyqrcode
|
||||
@@ -4208,6 +4210,7 @@ pypi-pyu2f
|
||||
pypi-pyusb
|
||||
pypi-pywavelets
|
||||
pypi-pywbem
|
||||
pypi-pywinrm
|
||||
pypi-pyxattr
|
||||
pypi-pyxdameraulevenshtein
|
||||
pypi-pyxdg
|
||||
@@ -4363,6 +4366,7 @@ pypi-tox
|
||||
pypi-tqdm
|
||||
pypi-traitlets
|
||||
pypi-trampolim
|
||||
pypi-trimesh
|
||||
pypi-trio
|
||||
pypi-trio_websocket
|
||||
pypi-ttp
|
||||
@@ -4609,6 +4613,7 @@ sddm-kcm
|
||||
seahorse
|
||||
seatd
|
||||
sed
|
||||
seer
|
||||
serf
|
||||
setserial
|
||||
setxkbmap
|
||||
@@ -4748,7 +4753,6 @@ trace-cmd
|
||||
traceroute
|
||||
tracker
|
||||
tracker-miners
|
||||
traefik
|
||||
tree
|
||||
tree-sitter
|
||||
tzdata
|
||||
@@ -4815,6 +4819,7 @@ which
|
||||
whois
|
||||
wine
|
||||
wireless-regdb-master
|
||||
wireplumber
|
||||
wireshark
|
||||
wlroots
|
||||
wmctrl
|
||||
|
||||
Reference in New Issue
Block a user