Compare commits

..

10 Commits

Author SHA1 Message Date
clrbuilder ad8fd73cfe Update packages file for version 35080
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2021-09-28 00:10:55 -07:00
insilications 347e0e60a5 Fix clear.cfg
- Use jinja expansions for useradd macros.

- Use config_opts['use_bootstrap'] instead of
config_opts['use_bootstrap_container'] (deprecated in 2.4.1)

[Adapted by Patrick McCarty from the analogous patch to the `mock`
package.]

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2021-09-23 10:39:22 -07:00
clrbuilder 9fea6124da Update packages file for version 35070
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2021-09-23 00:06:03 -07:00
clrbuilder 50711dae29 Update packages file for version 35060
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2021-09-21 00:07:18 -07:00
clrbuilder 62dbfd1fa9 Update packages file for version 35050
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2021-09-16 00:06:02 -07:00
clrbuilder f20c51b4c7 Update packages file for version 35040
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2021-09-14 00:07:50 -07:00
clrbuilder 39ba8e7488 Update packages file for version 35030
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2021-09-09 00:07:51 -07:00
Patrick McCarty 3cd143d931 Add make whatrequires target
This target can be used to query direct build and runtime dependencies
of any package in Clear Linux OS. The `make help` documentation
describes the current output format and limitations.

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2021-09-07 16:14:15 -07:00
clrbuilder 8ce1020511 Update packages file for version 35000
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2021-08-31 00:06:03 -07:00
clrbuilder c00ea07564 Update packages file for version 34980
Signed-off-by: clrbuilder <clrbuilder@intel.com>
2021-08-26 00:07:41 -07:00
3 changed files with 74 additions and 8 deletions
+38
View File
@@ -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
+2 -2
View File
@@ -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'] = """
+34 -6
View File
@@ -12,6 +12,7 @@ CopyQ
Cura
CuraEngine
Cython
DML
Django
F-Engrave
Flask
@@ -423,6 +424,7 @@ R-fitdistrplus
R-flashClust
R-flexmix
R-flexsurv
R-float
R-fontBitstreamVera
R-fontLiberation
R-fontquiver
@@ -440,6 +442,7 @@ R-furrr
R-futile.logger
R-futile.options
R-future
R-future.apply
R-g.data
R-gam
R-gamm4
@@ -715,6 +718,7 @@ R-profdpm
R-profileModel
R-profmem
R-progress
R-progressr
R-projpred
R-promises
R-proto
@@ -791,6 +795,7 @@ R-rjson
R-rjstat
R-rlang
R-rle
R-rlecuyer
R-rmarkdown
R-rmatio
R-rms
@@ -1068,6 +1073,7 @@ amazon-ssm-agent
amtk
analitza
ansible
ansible-core
antlr4-python3-runtime
anyio
apache-ant
@@ -1193,6 +1199,7 @@ boto
boto3
botocore
bovo
bowler
box2d
bpftrace
breeze
@@ -1340,21 +1347,19 @@ 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-lua-52
compat-lua-53
compat-mlt-soname6
compat-nettle-soname7
compat-openexr-soname25
compat-pangomm-soname14
compat-poppler-soname111
compat-readline-soname5
compat-tracker-soname2.0
compat-webkitgtk-soname40
complete
component
compute-image-packages
@@ -1364,6 +1369,7 @@ confuse
conky
conmon
connect-proxy
connections
conntrack-tools
console-autostart
containerd
@@ -1511,6 +1517,7 @@ efl
eid-mw
eigen
elementary-xfce
elementpath
elfutils
elisa
elixir
@@ -1569,6 +1576,7 @@ firecracker
firefox
firewalld
fish
fissix
fixtures
flac
flake8
@@ -1784,6 +1792,7 @@ gsl
gsm
gsound
gspell
gssapi
gst-plugins-bad
gst-plugins-base
gst-plugins-good
@@ -1794,6 +1803,7 @@ gstreamer-vaapi
gsutil
gtk+
gtk-doc
gtk-frdp
gtk-vnc
gtk-xfce-engine
gtk3
@@ -1885,6 +1895,7 @@ imlib2
importlib_metadata
importlib_resources
indent
inflection
influxdb
iniconfig
inih
@@ -1963,7 +1974,6 @@ josepy
jpegoptim
jq
js8call
jsmin
json-c
json-glib
json5
@@ -2257,6 +2267,7 @@ libass
libassuan
libatasmart
libatomic_ops
libavif
libavtp
libb64
libblockdev
@@ -2319,7 +2330,6 @@ libgee
libgeotiff
libgit2
libgit2-glib
libglade
libgnome-keyring
libgnomekbd
libgpg-error
@@ -2465,6 +2475,7 @@ libudev0-shim
libuninameslist
libunistring
libunwind
liburing
libusb
libusb-compat
libuser
@@ -2649,12 +2660,14 @@ mokutil
mono
monotonic
more-itertools
moreorless
moreutils
mosh
mosquitto
motd-update
motif
mozjs78
mozjs91
mpc
mpfr
mpg123
@@ -3490,6 +3503,7 @@ perl-Statistics-CaseResampling
perl-Storable
perl-Stream-Buffered
perl-String-Approx
perl-String-CRC32
perl-String-CamelCase
perl-String-Escape
perl-String-Expand
@@ -3920,6 +3934,7 @@ pytest-asyncio
pytest-cov
pytest-forked
pytest-localserver
pytest-mock
pytest-randomly
pytest-repeat
pytest-rerunfailures
@@ -3944,6 +3959,7 @@ python-hwinfo
python-jsonrpc-server
python-kconfiglib
python-language-server
python-lsp-black
python-lsp-jsonrpc
python-lsp-server
python-magic
@@ -3955,6 +3971,7 @@ python-openzwave
python-pkgconfig
python-pocketlint
python-polib
python-rpm-packaging
python-slip
python-slugify
python-subunit
@@ -3990,6 +4007,7 @@ qqc2-desktop-style
qrencode
qscintilla
qsstv
qstylizer
qt-creator
qt3d
qt5ct
@@ -4059,12 +4077,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
@@ -4088,6 +4108,7 @@ rope
rpcbind
rpcsvc-proto
rpm
rpm-py-installer
rpmfile
rr
rrdtool
@@ -4276,6 +4297,7 @@ tdb
telemetrics-client
telepathy-glib
telepathy-qt
templated-dictionary
tempora
tensorboard
tensorflow
@@ -4348,6 +4370,7 @@ tracker-miners
traefik
traitlets
tree
tree-sitter
twine
typed_ast
typeguard
@@ -4401,11 +4424,13 @@ vim-fugitive
vim-gnupg
vim-go
vinagre
virglrenderer
virt-manager
virt-viewer
virtualenv
vkd3d
vlc
volatile
volume_key
voluptuous
voluptuous-serialize
@@ -4417,6 +4442,7 @@ vsts-cd-manager
vte
waffle
waitress
watchdog
wavpack
wayland
wayland-protocols
@@ -4506,6 +4532,8 @@ xkill
xl2tpd
xlog
xmlb
xmldiff
xmlschema
xmlsec1
xmlstarlet
xmlto