mirror of
https://github.com/clearlinux/common.git
synced 2026-06-16 19:16:00 +00:00
Compare commits
20 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 50711dae29 | |||
| 62dbfd1fa9 | |||
| f20c51b4c7 | |||
| 39ba8e7488 | |||
| 3cd143d931 | |||
| 8ce1020511 | |||
| c00ea07564 | |||
| 20ac5a6fca | |||
| 3c7ffcc6f8 | |||
| 75f92917fc | |||
| ebfb7792fa | |||
| 151eb80340 | |||
| c35ddf3249 | |||
| 5de267a3aa | |||
| f14316393c | |||
| a49ed4739a | |||
| 4a7900cd72 | |||
| 6f4b36eb52 | |||
| 7fcf1ca778 | |||
| ad28b67e3d |
@@ -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
|
||||
|
||||
|
||||
@@ -72,30 +72,40 @@ CATOSL-1.1
|
||||
CC-BY-1.0
|
||||
CC-BY-2.0
|
||||
CC-BY-2.5
|
||||
CC-BY-2.5-AU
|
||||
CC-BY-3.0
|
||||
CC-BY-3.0-AT
|
||||
CC-BY-3.0-DE
|
||||
CC-BY-3.0-NL
|
||||
CC-BY-3.0-US
|
||||
CC-BY-4.0
|
||||
CC-BY-NC-1.0
|
||||
CC-BY-NC-2.0
|
||||
CC-BY-NC-2.5
|
||||
CC-BY-NC-3.0
|
||||
CC-BY-NC-3.0-DE
|
||||
CC-BY-NC-4.0
|
||||
CC-BY-NC-ND-1.0
|
||||
CC-BY-NC-ND-2.0
|
||||
CC-BY-NC-ND-2.5
|
||||
CC-BY-NC-ND-3.0
|
||||
CC-BY-NC-ND-3.0-DE
|
||||
CC-BY-NC-ND-3.0-IGO
|
||||
CC-BY-NC-ND-4.0
|
||||
CC-BY-NC-SA-1.0
|
||||
CC-BY-NC-SA-2.0
|
||||
CC-BY-NC-SA-2.0-FR
|
||||
CC-BY-NC-SA-2.0-UK
|
||||
CC-BY-NC-SA-2.5
|
||||
CC-BY-NC-SA-3.0
|
||||
CC-BY-NC-SA-3.0-DE
|
||||
CC-BY-NC-SA-3.0-IGO
|
||||
CC-BY-NC-SA-4.0
|
||||
CC-BY-ND-1.0
|
||||
CC-BY-ND-2.0
|
||||
CC-BY-ND-2.5
|
||||
CC-BY-ND-3.0
|
||||
CC-BY-ND-3.0-DE
|
||||
CC-BY-ND-4.0
|
||||
CC-BY-SA-1.0
|
||||
CC-BY-SA-2.0
|
||||
@@ -104,6 +114,7 @@ CC-BY-SA-2.1-JP
|
||||
CC-BY-SA-2.5
|
||||
CC-BY-SA-3.0
|
||||
CC-BY-SA-3.0-AT
|
||||
CC-BY-SA-3.0-DE
|
||||
CC-BY-SA-4.0
|
||||
CC-PDDC
|
||||
CC0-1.0
|
||||
@@ -111,6 +122,7 @@ CDDL-1.0
|
||||
CDDL-1.1
|
||||
CDL-1.0
|
||||
CDLA-Permissive-1.0
|
||||
CDLA-Permissive-2.0
|
||||
CDLA-Sharing-1.0
|
||||
CECILL-1.0
|
||||
CECILL-1.1
|
||||
@@ -290,6 +302,7 @@ NGPL
|
||||
NIST-PD
|
||||
NIST-PD-fallback
|
||||
NLOD-1.0
|
||||
NLOD-2.0
|
||||
NLPL
|
||||
NOSL
|
||||
NPL-1.0
|
||||
@@ -341,6 +354,7 @@ OLDAP-2.7
|
||||
OLDAP-2.8
|
||||
OML
|
||||
OPL-1.0
|
||||
OPUBL-1.0
|
||||
OSET-PL-2.1
|
||||
OSL-1.0
|
||||
OSL-1.1
|
||||
|
||||
@@ -12,6 +12,7 @@ CopyQ
|
||||
Cura
|
||||
CuraEngine
|
||||
Cython
|
||||
DML
|
||||
Django
|
||||
F-Engrave
|
||||
Flask
|
||||
@@ -223,6 +224,7 @@ R-ade4
|
||||
R-adegenet
|
||||
R-adegraphics
|
||||
R-adephylo
|
||||
R-adespatial
|
||||
R-afex
|
||||
R-alr3
|
||||
R-analogue
|
||||
@@ -341,6 +343,7 @@ R-dimRed
|
||||
R-diptest
|
||||
R-distr
|
||||
R-distrEx
|
||||
R-distributional
|
||||
R-dlm
|
||||
R-doMC
|
||||
R-doMPI
|
||||
@@ -421,6 +424,7 @@ R-fitdistrplus
|
||||
R-flashClust
|
||||
R-flexmix
|
||||
R-flexsurv
|
||||
R-float
|
||||
R-fontBitstreamVera
|
||||
R-fontLiberation
|
||||
R-fontquiver
|
||||
@@ -438,6 +442,7 @@ R-furrr
|
||||
R-futile.logger
|
||||
R-futile.options
|
||||
R-future
|
||||
R-future.apply
|
||||
R-g.data
|
||||
R-gam
|
||||
R-gamm4
|
||||
@@ -458,6 +463,7 @@ R-getopt
|
||||
R-ggjoy
|
||||
R-ggplot2
|
||||
R-ggplot2movies
|
||||
R-ggrepel
|
||||
R-ggridges
|
||||
R-ggvis
|
||||
R-gh
|
||||
@@ -560,6 +566,7 @@ R-lme4
|
||||
R-lmerTest
|
||||
R-lmom
|
||||
R-lmtest
|
||||
R-lobstr
|
||||
R-locfit
|
||||
R-logcondens
|
||||
R-logger
|
||||
@@ -656,6 +663,7 @@ R-parsedate
|
||||
R-partitions
|
||||
R-party
|
||||
R-partykit
|
||||
R-patchwork
|
||||
R-pbapply
|
||||
R-pbdZMQ
|
||||
R-pbivnorm
|
||||
@@ -696,6 +704,7 @@ R-polyCub
|
||||
R-polyclip
|
||||
R-polycor
|
||||
R-polynom
|
||||
R-posterior
|
||||
R-prabclus
|
||||
R-pracma
|
||||
R-praise
|
||||
@@ -709,6 +718,7 @@ R-profdpm
|
||||
R-profileModel
|
||||
R-profmem
|
||||
R-progress
|
||||
R-progressr
|
||||
R-projpred
|
||||
R-promises
|
||||
R-proto
|
||||
@@ -785,6 +795,7 @@ R-rjson
|
||||
R-rjstat
|
||||
R-rlang
|
||||
R-rle
|
||||
R-rlecuyer
|
||||
R-rmarkdown
|
||||
R-rmatio
|
||||
R-rms
|
||||
@@ -929,6 +940,7 @@ R-truncdist
|
||||
R-truncnorm
|
||||
R-tseries
|
||||
R-tsne
|
||||
R-tzdb
|
||||
R-ucminf
|
||||
R-units
|
||||
R-unix
|
||||
@@ -943,12 +955,14 @@ R-vcd
|
||||
R-vcdExtra
|
||||
R-vcr
|
||||
R-vctrs
|
||||
R-vdiffr
|
||||
R-vegan
|
||||
R-vembedr
|
||||
R-vioplot
|
||||
R-viridis
|
||||
R-viridisLite
|
||||
R-visNetwork
|
||||
R-vroom
|
||||
R-waldo
|
||||
R-warp
|
||||
R-webfakes
|
||||
@@ -1059,6 +1073,7 @@ amazon-ssm-agent
|
||||
amtk
|
||||
analitza
|
||||
ansible
|
||||
ansible-core
|
||||
antlr4-python3-runtime
|
||||
anyio
|
||||
apache-ant
|
||||
@@ -1184,6 +1199,7 @@ boto
|
||||
boto3
|
||||
botocore
|
||||
bovo
|
||||
bowler
|
||||
box2d
|
||||
bpftrace
|
||||
breeze
|
||||
@@ -1197,6 +1213,7 @@ brotlipy
|
||||
bsdiff
|
||||
btrfs-progs
|
||||
bubblewrap
|
||||
build
|
||||
buildreq-R
|
||||
buildreq-cmake
|
||||
buildreq-configure
|
||||
@@ -1249,6 +1266,7 @@ cfitsio
|
||||
cgdb
|
||||
cgit
|
||||
chardet
|
||||
charset-normalizer
|
||||
check
|
||||
check-manifest
|
||||
cheese
|
||||
@@ -1329,7 +1347,6 @@ compat-enchant-soname1
|
||||
compat-fuse-soname2
|
||||
compat-gcc-10
|
||||
compat-glibmm-soname24
|
||||
compat-goocanvas-soname2
|
||||
compat-gtksourceview-soname3
|
||||
compat-libffi-soname6
|
||||
compat-libpng-soname12
|
||||
@@ -1337,9 +1354,7 @@ compat-libsigc++-soname20
|
||||
compat-libva-soname1
|
||||
compat-lua-52
|
||||
compat-lua-53
|
||||
compat-mlt-soname6
|
||||
compat-nettle-soname7
|
||||
compat-openexr-soname25
|
||||
compat-pangomm-soname14
|
||||
compat-readline-soname5
|
||||
compat-tracker-soname2.0
|
||||
@@ -1409,6 +1424,7 @@ dconf-editor
|
||||
ddd
|
||||
deap
|
||||
debugedit
|
||||
debugpy
|
||||
decorator
|
||||
defusedxml
|
||||
dejagnu
|
||||
@@ -1498,6 +1514,7 @@ efl
|
||||
eid-mw
|
||||
eigen
|
||||
elementary-xfce
|
||||
elementpath
|
||||
elfutils
|
||||
elisa
|
||||
elixir
|
||||
@@ -1556,6 +1573,7 @@ firecracker
|
||||
firefox
|
||||
firewalld
|
||||
fish
|
||||
fissix
|
||||
fixtures
|
||||
flac
|
||||
flake8
|
||||
@@ -1771,6 +1789,7 @@ gsl
|
||||
gsm
|
||||
gsound
|
||||
gspell
|
||||
gssapi
|
||||
gst-plugins-bad
|
||||
gst-plugins-base
|
||||
gst-plugins-good
|
||||
@@ -1813,6 +1832,7 @@ help2man
|
||||
hexchat
|
||||
hexedit
|
||||
hicolor-icon-theme
|
||||
hiredis-c
|
||||
home-assistant
|
||||
home-assistant-frontend
|
||||
horovod
|
||||
@@ -1869,6 +1889,7 @@ imagesize
|
||||
imapfilter
|
||||
imlib2
|
||||
importlib_metadata
|
||||
importlib_resources
|
||||
indent
|
||||
influxdb
|
||||
iniconfig
|
||||
@@ -1948,7 +1969,6 @@ josepy
|
||||
jpegoptim
|
||||
jq
|
||||
js8call
|
||||
jsmin
|
||||
json-c
|
||||
json-glib
|
||||
json5
|
||||
@@ -2157,6 +2177,7 @@ krusader
|
||||
kscreen
|
||||
kscreenlocker
|
||||
kservice
|
||||
ksh
|
||||
kshisen
|
||||
ksirk
|
||||
ksmtp
|
||||
@@ -2303,7 +2324,6 @@ libgee
|
||||
libgeotiff
|
||||
libgit2
|
||||
libgit2-glib
|
||||
libglade
|
||||
libgnome-keyring
|
||||
libgnomekbd
|
||||
libgpg-error
|
||||
@@ -2449,6 +2469,7 @@ libudev0-shim
|
||||
libuninameslist
|
||||
libunistring
|
||||
libunwind
|
||||
liburing
|
||||
libusb
|
||||
libusb-compat
|
||||
libuser
|
||||
@@ -2505,6 +2526,7 @@ linux-libc-headers
|
||||
linux-lts2017
|
||||
linux-lts2018
|
||||
linux-lts2019
|
||||
linux-lts2020
|
||||
linux-mainline
|
||||
linux-oracle
|
||||
linux-preempt-rt
|
||||
@@ -2632,12 +2654,14 @@ mokutil
|
||||
mono
|
||||
monotonic
|
||||
more-itertools
|
||||
moreorless
|
||||
moreutils
|
||||
mosh
|
||||
mosquitto
|
||||
motd-update
|
||||
motif
|
||||
mozjs78
|
||||
mozjs91
|
||||
mpc
|
||||
mpfr
|
||||
mpg123
|
||||
@@ -3473,6 +3497,7 @@ perl-Statistics-CaseResampling
|
||||
perl-Storable
|
||||
perl-Stream-Buffered
|
||||
perl-String-Approx
|
||||
perl-String-CRC32
|
||||
perl-String-CamelCase
|
||||
perl-String-Escape
|
||||
perl-String-Expand
|
||||
@@ -3715,6 +3740,7 @@ php-gnupg
|
||||
php-hprose
|
||||
php-hrtime
|
||||
php-igbinary
|
||||
php-imagick
|
||||
php-inotify
|
||||
php-jsmin
|
||||
php-json_post
|
||||
@@ -3784,6 +3810,7 @@ plasma-vault
|
||||
plasma-wayland-protocols
|
||||
plasma-workspace
|
||||
plasma-workspace-wallpapers
|
||||
platformdirs
|
||||
plotly
|
||||
pluggy
|
||||
ply
|
||||
@@ -3793,6 +3820,7 @@ pmdk
|
||||
pmix
|
||||
pngcrush
|
||||
po4a
|
||||
podman
|
||||
polkit
|
||||
polkit-kde-agent
|
||||
polkit-qt
|
||||
@@ -3808,6 +3836,7 @@ postgis
|
||||
postgresql
|
||||
postgresql11
|
||||
postgresql12
|
||||
postgresql13
|
||||
potrace
|
||||
powerdevil
|
||||
powerline-fonts
|
||||
@@ -3934,6 +3963,7 @@ python-openzwave
|
||||
python-pkgconfig
|
||||
python-pocketlint
|
||||
python-polib
|
||||
python-rpm-packaging
|
||||
python-slip
|
||||
python-slugify
|
||||
python-subunit
|
||||
@@ -4038,12 +4068,14 @@ reportlab
|
||||
repoze.lru
|
||||
requests
|
||||
requests-file
|
||||
requests-gssapi
|
||||
requests-kerberos
|
||||
requests-mock
|
||||
requests-ntlm
|
||||
requests-oauthlib
|
||||
requests-toolbelt
|
||||
requests-unixsocket
|
||||
resolvelib
|
||||
responses
|
||||
rest
|
||||
restic
|
||||
@@ -4067,6 +4099,8 @@ rope
|
||||
rpcbind
|
||||
rpcsvc-proto
|
||||
rpm
|
||||
rpm-py-installer
|
||||
rpmfile
|
||||
rr
|
||||
rrdtool
|
||||
rsa
|
||||
@@ -4307,6 +4341,7 @@ tldextract
|
||||
tmux
|
||||
tokyocabinet
|
||||
toml
|
||||
tomli
|
||||
tomlkit
|
||||
toolz
|
||||
tornado
|
||||
@@ -4325,6 +4360,7 @@ tracker-miners
|
||||
traefik
|
||||
traitlets
|
||||
tree
|
||||
tree-sitter
|
||||
twine
|
||||
typed_ast
|
||||
typeguard
|
||||
@@ -4366,7 +4402,6 @@ usrbinpython
|
||||
usrbinvi
|
||||
utf8cpp
|
||||
util-linux
|
||||
util-linux-man
|
||||
util-macros
|
||||
uwsgi
|
||||
v4l-utils
|
||||
@@ -4379,11 +4414,13 @@ vim-fugitive
|
||||
vim-gnupg
|
||||
vim-go
|
||||
vinagre
|
||||
virglrenderer
|
||||
virt-manager
|
||||
virt-viewer
|
||||
virtualenv
|
||||
vkd3d
|
||||
vlc
|
||||
volatile
|
||||
volume_key
|
||||
voluptuous
|
||||
voluptuous-serialize
|
||||
@@ -4484,6 +4521,7 @@ xkill
|
||||
xl2tpd
|
||||
xlog
|
||||
xmlb
|
||||
xmlschema
|
||||
xmlsec1
|
||||
xmlstarlet
|
||||
xmlto
|
||||
@@ -4507,6 +4545,7 @@ xss-lock
|
||||
xterm
|
||||
xtrans
|
||||
xvfb-run
|
||||
xwayland
|
||||
xwd
|
||||
xwdrun
|
||||
xwininfo
|
||||
|
||||
Reference in New Issue
Block a user