mirror of
https://github.com/clearlinux/common.git
synced 2026-07-14 00:35:53 +00:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 62dbfd1fa9 | |||
| f20c51b4c7 | |||
| 39ba8e7488 | |||
| 3cd143d931 | |||
| 8ce1020511 | |||
| c00ea07564 |
@@ -522,6 +522,44 @@ cloc: $(SRPMFILE)
|
|||||||
@$(MOCK) --clean --scrub=chroot --uniqueext=$(PKG_NAME)
|
@$(MOCK) --clean --scrub=chroot --uniqueext=$(PKG_NAME)
|
||||||
cat results/cloc.txt
|
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
|
# Define LTS-specific targets in a separate makefile
|
||||||
-include $(TOPLVL)/projects/common/Makefile.common.lts
|
-include $(TOPLVL)/projects/common/Makefile.common.lts
|
||||||
|
|
||||||
|
|||||||
@@ -423,6 +423,7 @@ R-fitdistrplus
|
|||||||
R-flashClust
|
R-flashClust
|
||||||
R-flexmix
|
R-flexmix
|
||||||
R-flexsurv
|
R-flexsurv
|
||||||
|
R-float
|
||||||
R-fontBitstreamVera
|
R-fontBitstreamVera
|
||||||
R-fontLiberation
|
R-fontLiberation
|
||||||
R-fontquiver
|
R-fontquiver
|
||||||
@@ -440,6 +441,7 @@ R-furrr
|
|||||||
R-futile.logger
|
R-futile.logger
|
||||||
R-futile.options
|
R-futile.options
|
||||||
R-future
|
R-future
|
||||||
|
R-future.apply
|
||||||
R-g.data
|
R-g.data
|
||||||
R-gam
|
R-gam
|
||||||
R-gamm4
|
R-gamm4
|
||||||
@@ -715,6 +717,7 @@ R-profdpm
|
|||||||
R-profileModel
|
R-profileModel
|
||||||
R-profmem
|
R-profmem
|
||||||
R-progress
|
R-progress
|
||||||
|
R-progressr
|
||||||
R-projpred
|
R-projpred
|
||||||
R-promises
|
R-promises
|
||||||
R-proto
|
R-proto
|
||||||
@@ -791,6 +794,7 @@ R-rjson
|
|||||||
R-rjstat
|
R-rjstat
|
||||||
R-rlang
|
R-rlang
|
||||||
R-rle
|
R-rle
|
||||||
|
R-rlecuyer
|
||||||
R-rmarkdown
|
R-rmarkdown
|
||||||
R-rmatio
|
R-rmatio
|
||||||
R-rms
|
R-rms
|
||||||
@@ -1068,6 +1072,7 @@ amazon-ssm-agent
|
|||||||
amtk
|
amtk
|
||||||
analitza
|
analitza
|
||||||
ansible
|
ansible
|
||||||
|
ansible-core
|
||||||
antlr4-python3-runtime
|
antlr4-python3-runtime
|
||||||
anyio
|
anyio
|
||||||
apache-ant
|
apache-ant
|
||||||
@@ -1193,6 +1198,7 @@ boto
|
|||||||
boto3
|
boto3
|
||||||
botocore
|
botocore
|
||||||
bovo
|
bovo
|
||||||
|
bowler
|
||||||
box2d
|
box2d
|
||||||
bpftrace
|
bpftrace
|
||||||
breeze
|
breeze
|
||||||
@@ -1340,7 +1346,6 @@ compat-enchant-soname1
|
|||||||
compat-fuse-soname2
|
compat-fuse-soname2
|
||||||
compat-gcc-10
|
compat-gcc-10
|
||||||
compat-glibmm-soname24
|
compat-glibmm-soname24
|
||||||
compat-goocanvas-soname2
|
|
||||||
compat-gtksourceview-soname3
|
compat-gtksourceview-soname3
|
||||||
compat-libffi-soname6
|
compat-libffi-soname6
|
||||||
compat-libpng-soname12
|
compat-libpng-soname12
|
||||||
@@ -1348,11 +1353,8 @@ compat-libsigc++-soname20
|
|||||||
compat-libva-soname1
|
compat-libva-soname1
|
||||||
compat-lua-52
|
compat-lua-52
|
||||||
compat-lua-53
|
compat-lua-53
|
||||||
compat-mlt-soname6
|
|
||||||
compat-nettle-soname7
|
compat-nettle-soname7
|
||||||
compat-openexr-soname25
|
|
||||||
compat-pangomm-soname14
|
compat-pangomm-soname14
|
||||||
compat-poppler-soname111
|
|
||||||
compat-readline-soname5
|
compat-readline-soname5
|
||||||
compat-tracker-soname2.0
|
compat-tracker-soname2.0
|
||||||
complete
|
complete
|
||||||
@@ -1511,6 +1513,7 @@ efl
|
|||||||
eid-mw
|
eid-mw
|
||||||
eigen
|
eigen
|
||||||
elementary-xfce
|
elementary-xfce
|
||||||
|
elementpath
|
||||||
elfutils
|
elfutils
|
||||||
elisa
|
elisa
|
||||||
elixir
|
elixir
|
||||||
@@ -1569,6 +1572,7 @@ firecracker
|
|||||||
firefox
|
firefox
|
||||||
firewalld
|
firewalld
|
||||||
fish
|
fish
|
||||||
|
fissix
|
||||||
fixtures
|
fixtures
|
||||||
flac
|
flac
|
||||||
flake8
|
flake8
|
||||||
@@ -1784,6 +1788,7 @@ gsl
|
|||||||
gsm
|
gsm
|
||||||
gsound
|
gsound
|
||||||
gspell
|
gspell
|
||||||
|
gssapi
|
||||||
gst-plugins-bad
|
gst-plugins-bad
|
||||||
gst-plugins-base
|
gst-plugins-base
|
||||||
gst-plugins-good
|
gst-plugins-good
|
||||||
@@ -1963,7 +1968,6 @@ josepy
|
|||||||
jpegoptim
|
jpegoptim
|
||||||
jq
|
jq
|
||||||
js8call
|
js8call
|
||||||
jsmin
|
|
||||||
json-c
|
json-c
|
||||||
json-glib
|
json-glib
|
||||||
json5
|
json5
|
||||||
@@ -2319,7 +2323,6 @@ libgee
|
|||||||
libgeotiff
|
libgeotiff
|
||||||
libgit2
|
libgit2
|
||||||
libgit2-glib
|
libgit2-glib
|
||||||
libglade
|
|
||||||
libgnome-keyring
|
libgnome-keyring
|
||||||
libgnomekbd
|
libgnomekbd
|
||||||
libgpg-error
|
libgpg-error
|
||||||
@@ -2465,6 +2468,7 @@ libudev0-shim
|
|||||||
libuninameslist
|
libuninameslist
|
||||||
libunistring
|
libunistring
|
||||||
libunwind
|
libunwind
|
||||||
|
liburing
|
||||||
libusb
|
libusb
|
||||||
libusb-compat
|
libusb-compat
|
||||||
libuser
|
libuser
|
||||||
@@ -2649,6 +2653,7 @@ mokutil
|
|||||||
mono
|
mono
|
||||||
monotonic
|
monotonic
|
||||||
more-itertools
|
more-itertools
|
||||||
|
moreorless
|
||||||
moreutils
|
moreutils
|
||||||
mosh
|
mosh
|
||||||
mosquitto
|
mosquitto
|
||||||
@@ -3490,6 +3495,7 @@ perl-Statistics-CaseResampling
|
|||||||
perl-Storable
|
perl-Storable
|
||||||
perl-Stream-Buffered
|
perl-Stream-Buffered
|
||||||
perl-String-Approx
|
perl-String-Approx
|
||||||
|
perl-String-CRC32
|
||||||
perl-String-CamelCase
|
perl-String-CamelCase
|
||||||
perl-String-Escape
|
perl-String-Escape
|
||||||
perl-String-Expand
|
perl-String-Expand
|
||||||
@@ -4059,12 +4065,14 @@ reportlab
|
|||||||
repoze.lru
|
repoze.lru
|
||||||
requests
|
requests
|
||||||
requests-file
|
requests-file
|
||||||
|
requests-gssapi
|
||||||
requests-kerberos
|
requests-kerberos
|
||||||
requests-mock
|
requests-mock
|
||||||
requests-ntlm
|
requests-ntlm
|
||||||
requests-oauthlib
|
requests-oauthlib
|
||||||
requests-toolbelt
|
requests-toolbelt
|
||||||
requests-unixsocket
|
requests-unixsocket
|
||||||
|
resolvelib
|
||||||
responses
|
responses
|
||||||
rest
|
rest
|
||||||
restic
|
restic
|
||||||
@@ -4088,6 +4096,7 @@ rope
|
|||||||
rpcbind
|
rpcbind
|
||||||
rpcsvc-proto
|
rpcsvc-proto
|
||||||
rpm
|
rpm
|
||||||
|
rpm-py-installer
|
||||||
rpmfile
|
rpmfile
|
||||||
rr
|
rr
|
||||||
rrdtool
|
rrdtool
|
||||||
@@ -4348,6 +4357,7 @@ tracker-miners
|
|||||||
traefik
|
traefik
|
||||||
traitlets
|
traitlets
|
||||||
tree
|
tree
|
||||||
|
tree-sitter
|
||||||
twine
|
twine
|
||||||
typed_ast
|
typed_ast
|
||||||
typeguard
|
typeguard
|
||||||
@@ -4401,11 +4411,13 @@ vim-fugitive
|
|||||||
vim-gnupg
|
vim-gnupg
|
||||||
vim-go
|
vim-go
|
||||||
vinagre
|
vinagre
|
||||||
|
virglrenderer
|
||||||
virt-manager
|
virt-manager
|
||||||
virt-viewer
|
virt-viewer
|
||||||
virtualenv
|
virtualenv
|
||||||
vkd3d
|
vkd3d
|
||||||
vlc
|
vlc
|
||||||
|
volatile
|
||||||
volume_key
|
volume_key
|
||||||
voluptuous
|
voluptuous
|
||||||
voluptuous-serialize
|
voluptuous-serialize
|
||||||
@@ -4506,6 +4518,7 @@ xkill
|
|||||||
xl2tpd
|
xl2tpd
|
||||||
xlog
|
xlog
|
||||||
xmlb
|
xmlb
|
||||||
|
xmlschema
|
||||||
xmlsec1
|
xmlsec1
|
||||||
xmlstarlet
|
xmlstarlet
|
||||||
xmlto
|
xmlto
|
||||||
|
|||||||
Reference in New Issue
Block a user