mirror of
https://github.com/clearlinux/common.git
synced 2026-06-16 11:06:15 +00:00
Compare commits
17 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f62255e8c3 | |||
| 2d1a67d3b0 | |||
| 65c7cc8db6 | |||
| 5c7f52dc15 | |||
| 6d165ea0dd | |||
| c4ce7408a7 | |||
| 2cf46aa5a4 | |||
| a84e3f08e2 | |||
| 5322002ad9 | |||
| ad8fd73cfe | |||
| 347e0e60a5 | |||
| 9fea6124da | |||
| 50711dae29 | |||
| 62dbfd1fa9 | |||
| f20c51b4c7 | |||
| 39ba8e7488 | |||
| 3cd143d931 |
@@ -522,6 +522,44 @@ cloc: $(SRPMFILE)
|
||||
@$(MOCK) --clean --scrub=chroot --uniqueext=$(PKG_NAME)
|
||||
cat results/cloc.txt
|
||||
|
||||
.PHONY: whatrequires
|
||||
#help whatrequires: Output a list of packages that directly depend on this one,
|
||||
#help showing the subpackage-level breakdown. Each line of output has the format
|
||||
#help "SUBPACKAGE(|SYMBOL)? <- PACKAGE (ARCH)". If ARCH is "src", the meaning is
|
||||
#help "PACKAGE has a BuildRequires (build dependency) on SUBPACKAGE". And if ARCH
|
||||
#help is "x86_64", the meaning is "PACKAGE has a Requires (runtime dependency) on
|
||||
#help SUBPACKAGE". The optional "|SYMBOL" portion is printed when the symbol
|
||||
#help required does not match the subpackage name. Note that the ability to query
|
||||
#help version-qualified dependencies is not yet implemented... (For example, if
|
||||
#help python3-core provides the version-qualified symbol "python(abi) = 3.9",
|
||||
#help running `make whatrequires` for `python3` will detect packages that depend on
|
||||
#help "python(abi)", but not "python(abi) = 3.9".)
|
||||
whatrequires:
|
||||
@Q="dnf --config=${PM_CONF} repoquery --quiet --releasever=clear"; \
|
||||
TMP=$$(mktemp -d); trap "rm -rf $$TMP" EXIT; \
|
||||
$${Q} --provides ${PKG_NAME} | awk '{ print $$1 }' > $$TMP/${PKG_NAME}; \
|
||||
( \
|
||||
while read -r provide; do \
|
||||
$${Q} --qf="${PKG_NAME} <- %{NAME} (x86_64)" --arch=x86_64 --srpm --whatrequires $$provide; \
|
||||
$${Q} --qf="${PKG_NAME} <- %{NAME} (src)" --arch=src --whatrequires $$provide; \
|
||||
done < $$TMP/${PKG_NAME} \
|
||||
) | awk '$$3 != "${PKG_NAME}"' | LC_COLLATE=C sort -u; \
|
||||
sed -n 's/^%package *\(.*\)$$/\1/p' ${PKG_NAME}.spec | sort > $$TMP/subpkgs; \
|
||||
while read -r val; do \
|
||||
if grep -qE '^-n +' <<< $$val; then \
|
||||
subpkg=$$(awk '{ print $$2 }' <<< $$val); \
|
||||
else \
|
||||
subpkg=${PKG_NAME}-$$val; \
|
||||
fi; \
|
||||
$${Q} --provides $$subpkg | awk '{ print $$1 }' > $$TMP/$$subpkg; \
|
||||
( \
|
||||
while read -r provide; do \
|
||||
$${Q} --qf="$$subpkg|$$provide <- %{NAME} (x86_64)" --arch=x86_64 --srpm --whatrequires $$provide; \
|
||||
$${Q} --qf="$$subpkg|$$provide <- %{NAME} (src)" --arch=src --whatrequires $$provide; \
|
||||
done < $$TMP/$$subpkg \
|
||||
) | awk '$$3 != "${PKG_NAME}"' | sed "s/^$$subpkg|\($$subpkg\)/\1/" | LC_COLLATE=C sort -u; \
|
||||
done < $$TMP/subpkgs
|
||||
|
||||
# Define LTS-specific targets in a separate makefile
|
||||
-include $(TOPLVL)/projects/common/Makefile.common.lts
|
||||
|
||||
|
||||
+6
-6
@@ -31,11 +31,13 @@ $(proj_PKGS):
|
||||
@proj=$(patsubst proj_%,%,$@); \
|
||||
[ -d projects/$$proj ] || ( \
|
||||
echo "Checking out: projects/$$proj"; \
|
||||
git clone $(PRJ_BASE_URL)/$$proj projects/$$proj; \
|
||||
cd projects/$$proj; \
|
||||
if [ "$$proj" = "autospec" ] ; then \
|
||||
git remote set-url --push origin git@github.com:clearlinux/autospec.git; \
|
||||
git clone https://github.com/clearlinux/autospec.git projects/autospec; \
|
||||
else \
|
||||
git clone $(PRJ_BASE_URL)/$$proj projects/$$proj; \
|
||||
fi; \
|
||||
cd projects/$$proj; \
|
||||
if [ "$$proj" != "autospec" ] ; then \
|
||||
$(call gitoliteurl,projects/$$proj); \
|
||||
fi; \
|
||||
$(call subjectprefix,$$proj); \
|
||||
@@ -76,9 +78,7 @@ ${PULL_PKGS}:
|
||||
fi ; \
|
||||
git --no-pager log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit $$O..$$N; echo; \
|
||||
fi ; \
|
||||
if [ "$$p" = "projects/autospec" ] ; then \
|
||||
git remote set-url --push origin git@github.com:clearlinux/autospec.git; \
|
||||
else \
|
||||
if [ "$$p" != "projects/autospec" ] ; then \
|
||||
$(call gitoliteurl,$$p); \
|
||||
fi ; \
|
||||
else \
|
||||
|
||||
+2
-2
@@ -4,14 +4,14 @@ config_opts['legal_host_arches'] = ('x86_64',)
|
||||
config_opts['chroot_setup_cmd'] = 'groupinstall build srpm-build'
|
||||
config_opts['dist'] = 'clear' # only useful for --resultdir variable subst
|
||||
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
|
||||
config_opts['useradd'] = '/usr/sbin/useradd -m -u %(uid)s -g %(gid)s -d %(home)s %(user)s'
|
||||
config_opts['useradd'] = '/usr/sbin/useradd -m -u {{chrootuid}} -g {{chrootgid}} -d {{chroothome}} {{chrootuser}}'
|
||||
config_opts['plugin_conf']['ccache_enable'] = False
|
||||
config_opts['plugin_conf']['root_cache_opts']['compress_program'] = 'zstd -5'
|
||||
config_opts['plugin_conf']['root_cache_opts']['extension'] = '.zst'
|
||||
config_opts['releasever'] = 'clear'
|
||||
config_opts['package_manager'] = 'dnf'
|
||||
config_opts['chrootgroup'] = 'mockbuild'
|
||||
config_opts['use_bootstrap_container'] = False
|
||||
config_opts['use_bootstrap'] = False
|
||||
|
||||
|
||||
config_opts['dnf.conf'] = """
|
||||
|
||||
@@ -12,6 +12,7 @@ CopyQ
|
||||
Cura
|
||||
CuraEngine
|
||||
Cython
|
||||
DML
|
||||
Django
|
||||
F-Engrave
|
||||
Flask
|
||||
@@ -154,6 +155,7 @@ R-NLP
|
||||
R-NMF
|
||||
R-NMOF
|
||||
R-PKI
|
||||
R-ParamHelpers
|
||||
R-PerformanceAnalytics
|
||||
R-R.cache
|
||||
R-R.methodsS3
|
||||
@@ -171,6 +173,7 @@ R-RJSONIO
|
||||
R-RNeXML
|
||||
R-RNetCDF
|
||||
R-ROCR
|
||||
R-ROSE
|
||||
R-RProtoBuf
|
||||
R-RSQLite
|
||||
R-RSclient
|
||||
@@ -225,6 +228,7 @@ R-adegraphics
|
||||
R-adephylo
|
||||
R-adespatial
|
||||
R-afex
|
||||
R-alabama
|
||||
R-alr3
|
||||
R-analogue
|
||||
R-animation
|
||||
@@ -237,6 +241,9 @@ R-askpass
|
||||
R-assertthat
|
||||
R-backports
|
||||
R-base64enc
|
||||
R-base64url
|
||||
R-basefun
|
||||
R-batchtools
|
||||
R-bayesm
|
||||
R-bayesplot
|
||||
R-bazar
|
||||
@@ -300,6 +307,7 @@ R-combinat
|
||||
R-commonmark
|
||||
R-compositions
|
||||
R-conditionz
|
||||
R-coneproj
|
||||
R-config
|
||||
R-conflicted
|
||||
R-conquer
|
||||
@@ -423,8 +431,10 @@ R-fitdistrplus
|
||||
R-flashClust
|
||||
R-flexmix
|
||||
R-flexsurv
|
||||
R-float
|
||||
R-fontBitstreamVera
|
||||
R-fontLiberation
|
||||
R-fontawesome
|
||||
R-fontquiver
|
||||
R-forcats
|
||||
R-foreach
|
||||
@@ -440,6 +450,7 @@ R-furrr
|
||||
R-futile.logger
|
||||
R-futile.options
|
||||
R-future
|
||||
R-future.apply
|
||||
R-g.data
|
||||
R-gam
|
||||
R-gamm4
|
||||
@@ -457,6 +468,7 @@ R-geojson
|
||||
R-geometry
|
||||
R-gert
|
||||
R-getopt
|
||||
R-ggfortify
|
||||
R-ggjoy
|
||||
R-ggplot2
|
||||
R-ggplot2movies
|
||||
@@ -611,6 +623,8 @@ R-mitools
|
||||
R-mixtools
|
||||
R-mlbench
|
||||
R-mlmRev
|
||||
R-mlr
|
||||
R-mlt
|
||||
R-mnormt
|
||||
R-mockery
|
||||
R-mockr
|
||||
@@ -650,11 +664,13 @@ R-optextras
|
||||
R-optimx
|
||||
R-optparse
|
||||
R-ordinal
|
||||
R-orthopolynom
|
||||
R-pROC
|
||||
R-packrat
|
||||
R-palmerpenguins
|
||||
R-pamr
|
||||
R-pander
|
||||
R-parallelMap
|
||||
R-parallelly
|
||||
R-parsedate
|
||||
R-partitions
|
||||
@@ -672,6 +688,7 @@ R-pdfCluster
|
||||
R-pdftools
|
||||
R-pdp
|
||||
R-permute
|
||||
R-perry
|
||||
R-phangorn
|
||||
R-pheatmap
|
||||
R-phylobase
|
||||
@@ -715,6 +732,7 @@ R-profdpm
|
||||
R-profileModel
|
||||
R-profmem
|
||||
R-progress
|
||||
R-progressr
|
||||
R-projpred
|
||||
R-promises
|
||||
R-proto
|
||||
@@ -791,6 +809,7 @@ R-rjson
|
||||
R-rjstat
|
||||
R-rlang
|
||||
R-rle
|
||||
R-rlecuyer
|
||||
R-rmarkdown
|
||||
R-rmatio
|
||||
R-rms
|
||||
@@ -801,6 +820,7 @@ R-rngWELL
|
||||
R-rngtools
|
||||
R-robCompositions
|
||||
R-robust
|
||||
R-robustHD
|
||||
R-robustbase
|
||||
R-rootSolve
|
||||
R-rotl
|
||||
@@ -913,6 +933,7 @@ R-testthat
|
||||
R-texreg
|
||||
R-textshaping
|
||||
R-tfruns
|
||||
R-themis
|
||||
R-threejs
|
||||
R-tibble
|
||||
R-tidyr
|
||||
@@ -931,12 +952,14 @@ R-topicmodels
|
||||
R-tree
|
||||
R-triebeard
|
||||
R-trimcluster
|
||||
R-trtf
|
||||
R-truncdist
|
||||
R-truncnorm
|
||||
R-tseries
|
||||
R-tsne
|
||||
R-tzdb
|
||||
R-ucminf
|
||||
R-unbalanced
|
||||
R-units
|
||||
R-unix
|
||||
R-urca
|
||||
@@ -946,6 +969,7 @@ R-usethis
|
||||
R-utf8
|
||||
R-uuid
|
||||
R-varImp
|
||||
R-variables
|
||||
R-vcd
|
||||
R-vcdExtra
|
||||
R-vcr
|
||||
@@ -1068,6 +1092,7 @@ amazon-ssm-agent
|
||||
amtk
|
||||
analitza
|
||||
ansible
|
||||
ansible-core
|
||||
antlr4-python3-runtime
|
||||
anyio
|
||||
apache-ant
|
||||
@@ -1193,14 +1218,13 @@ boto
|
||||
boto3
|
||||
botocore
|
||||
bovo
|
||||
bowler
|
||||
box2d
|
||||
bpftrace
|
||||
breeze
|
||||
breeze-gtk
|
||||
breeze-icons
|
||||
bridge-utils
|
||||
bro
|
||||
bro-af_packet-plugin
|
||||
brotli
|
||||
brotlipy
|
||||
bsdiff
|
||||
@@ -1289,6 +1313,7 @@ clr-bundle-screenshots
|
||||
clr-bundles
|
||||
clr-debug-info
|
||||
clr-desktop-defaults
|
||||
clr-elf-replace
|
||||
clr-find-bundle
|
||||
clr-fwupd-hooks
|
||||
clr-hardware-files
|
||||
@@ -1340,21 +1365,21 @@ compat-enchant-soname1
|
||||
compat-fuse-soname2
|
||||
compat-gcc-10
|
||||
compat-glibmm-soname24
|
||||
compat-goocanvas-soname2
|
||||
compat-gtksourceview-soname3
|
||||
compat-libffi-soname6
|
||||
compat-libpng-soname12
|
||||
compat-libsigc++-soname20
|
||||
compat-libsoup-soname-24
|
||||
compat-libva-soname1
|
||||
compat-libvpx-soname6
|
||||
compat-lua-52
|
||||
compat-lua-53
|
||||
compat-mlt-soname6
|
||||
compat-nettle-soname7
|
||||
compat-openexr-soname25
|
||||
compat-pangomm-soname14
|
||||
compat-poppler-soname111
|
||||
compat-protobuf-soname23
|
||||
compat-readline-soname5
|
||||
compat-tracker-soname2.0
|
||||
compat-webkitgtk-soname40
|
||||
complete
|
||||
component
|
||||
compute-image-packages
|
||||
@@ -1364,6 +1389,7 @@ confuse
|
||||
conky
|
||||
conmon
|
||||
connect-proxy
|
||||
connections
|
||||
conntrack-tools
|
||||
console-autostart
|
||||
containerd
|
||||
@@ -1570,6 +1596,7 @@ firecracker
|
||||
firefox
|
||||
firewalld
|
||||
fish
|
||||
fissix
|
||||
fixtures
|
||||
flac
|
||||
flake8
|
||||
@@ -1652,6 +1679,7 @@ gexiv2
|
||||
gfbgraph
|
||||
gflags
|
||||
gftp
|
||||
gh
|
||||
ghc
|
||||
ghostscript
|
||||
giflib
|
||||
@@ -1796,6 +1824,7 @@ gstreamer-vaapi
|
||||
gsutil
|
||||
gtk+
|
||||
gtk-doc
|
||||
gtk-frdp
|
||||
gtk-vnc
|
||||
gtk-xfce-engine
|
||||
gtk3
|
||||
@@ -1887,6 +1916,7 @@ imlib2
|
||||
importlib_metadata
|
||||
importlib_resources
|
||||
indent
|
||||
inflection
|
||||
influxdb
|
||||
iniconfig
|
||||
inih
|
||||
@@ -1965,7 +1995,6 @@ josepy
|
||||
jpegoptim
|
||||
jq
|
||||
js8call
|
||||
jsmin
|
||||
json-c
|
||||
json-glib
|
||||
json5
|
||||
@@ -1990,6 +2019,7 @@ jupyterlab_launcher
|
||||
jupyterlab_pygments
|
||||
jupyterlab_server
|
||||
jupyterlab_widgets
|
||||
kaccounts-integration
|
||||
kactivities
|
||||
kactivities-stats
|
||||
kactivitymanagerd
|
||||
@@ -2250,6 +2280,8 @@ libXvMC
|
||||
libXxf86dga
|
||||
libabigail
|
||||
libabw
|
||||
libaccounts-glib
|
||||
libaccounts-qt
|
||||
libadwaita
|
||||
libaio
|
||||
libappindicator
|
||||
@@ -2259,6 +2291,7 @@ libass
|
||||
libassuan
|
||||
libatasmart
|
||||
libatomic_ops
|
||||
libavif
|
||||
libavtp
|
||||
libb64
|
||||
libblockdev
|
||||
@@ -2321,7 +2354,6 @@ libgee
|
||||
libgeotiff
|
||||
libgit2
|
||||
libgit2-glib
|
||||
libglade
|
||||
libgnome-keyring
|
||||
libgnomekbd
|
||||
libgpg-error
|
||||
@@ -2491,6 +2523,7 @@ libwnck3
|
||||
libwpd
|
||||
libwpg
|
||||
libwps
|
||||
libxcvt
|
||||
libxdg-basedir
|
||||
libxfce4ui
|
||||
libxfce4util
|
||||
@@ -2652,12 +2685,14 @@ mokutil
|
||||
mono
|
||||
monotonic
|
||||
more-itertools
|
||||
moreorless
|
||||
moreutils
|
||||
mosh
|
||||
mosquitto
|
||||
motd-update
|
||||
motif
|
||||
mozjs78
|
||||
mozjs91
|
||||
mpc
|
||||
mpfr
|
||||
mpg123
|
||||
@@ -3493,6 +3528,7 @@ perl-Statistics-CaseResampling
|
||||
perl-Storable
|
||||
perl-Stream-Buffered
|
||||
perl-String-Approx
|
||||
perl-String-CRC32
|
||||
perl-String-CamelCase
|
||||
perl-String-Escape
|
||||
perl-String-Expand
|
||||
@@ -3832,6 +3868,7 @@ postgresql
|
||||
postgresql11
|
||||
postgresql12
|
||||
postgresql13
|
||||
postgresql14
|
||||
potrace
|
||||
powerdevil
|
||||
powerline-fonts
|
||||
@@ -3923,6 +3960,7 @@ pytest-asyncio
|
||||
pytest-cov
|
||||
pytest-forked
|
||||
pytest-localserver
|
||||
pytest-mock
|
||||
pytest-randomly
|
||||
pytest-repeat
|
||||
pytest-rerunfailures
|
||||
@@ -3947,6 +3985,7 @@ python-hwinfo
|
||||
python-jsonrpc-server
|
||||
python-kconfiglib
|
||||
python-language-server
|
||||
python-lsp-black
|
||||
python-lsp-jsonrpc
|
||||
python-lsp-server
|
||||
python-magic
|
||||
@@ -3958,6 +3997,8 @@ python-openzwave
|
||||
python-pkgconfig
|
||||
python-pocketlint
|
||||
python-polib
|
||||
python-remoto
|
||||
python-rpm-packaging
|
||||
python-slip
|
||||
python-slugify
|
||||
python-subunit
|
||||
@@ -3993,6 +4034,7 @@ qqc2-desktop-style
|
||||
qrencode
|
||||
qscintilla
|
||||
qsstv
|
||||
qstylizer
|
||||
qt-creator
|
||||
qt3d
|
||||
qt5ct
|
||||
@@ -4069,6 +4111,7 @@ requests-ntlm
|
||||
requests-oauthlib
|
||||
requests-toolbelt
|
||||
requests-unixsocket
|
||||
resolvelib
|
||||
responses
|
||||
rest
|
||||
restic
|
||||
@@ -4158,6 +4201,7 @@ shared-mime-info
|
||||
sharutils
|
||||
shim
|
||||
siege
|
||||
signond
|
||||
simg-tools
|
||||
simple-scan
|
||||
simplegeneric
|
||||
@@ -4281,6 +4325,7 @@ tdb
|
||||
telemetrics-client
|
||||
telepathy-glib
|
||||
telepathy-qt
|
||||
templated-dictionary
|
||||
tempora
|
||||
tensorboard
|
||||
tensorflow
|
||||
@@ -4353,6 +4398,7 @@ tracker-miners
|
||||
traefik
|
||||
traitlets
|
||||
tree
|
||||
tree-sitter
|
||||
twine
|
||||
typed_ast
|
||||
typeguard
|
||||
@@ -4412,6 +4458,7 @@ virt-viewer
|
||||
virtualenv
|
||||
vkd3d
|
||||
vlc
|
||||
volatile
|
||||
volume_key
|
||||
voluptuous
|
||||
voluptuous-serialize
|
||||
@@ -4423,6 +4470,7 @@ vsts-cd-manager
|
||||
vte
|
||||
waffle
|
||||
waitress
|
||||
watchdog
|
||||
wavpack
|
||||
wayland
|
||||
wayland-protocols
|
||||
@@ -4512,6 +4560,7 @@ xkill
|
||||
xl2tpd
|
||||
xlog
|
||||
xmlb
|
||||
xmldiff
|
||||
xmlschema
|
||||
xmlsec1
|
||||
xmlstarlet
|
||||
@@ -4556,6 +4605,8 @@ zabbix
|
||||
zathura
|
||||
zathura-pdf-poppler
|
||||
zc.lockfile
|
||||
zeek
|
||||
zeek-af_packet-plugin
|
||||
zenity
|
||||
zeroconf
|
||||
zeroconf-ioslave
|
||||
@@ -4582,3 +4633,4 @@ zope.testrunner
|
||||
zopfli
|
||||
zsh
|
||||
zstd
|
||||
zstd-bin
|
||||
|
||||
Reference in New Issue
Block a user