mirror of
https://github.com/clearlinux/common.git
synced 2026-06-18 12:06:43 +00:00
Compare commits
14 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 80d1f17444 | |||
| 4f059caffc | |||
| 7d2f1d5e1d | |||
| d36404255b | |||
| 88dd353e21 | |||
| c232a0f6c2 | |||
| 97edcccc6f | |||
| 16fb031192 | |||
| 46d98726d5 | |||
| 0fa3b3812c | |||
| c6ae76c720 | |||
| b1cfa8f828 | |||
| 2f03d06fc4 | |||
| 514dbd5f33 |
@@ -1,5 +1,4 @@
|
||||
AVB-AudioModules
|
||||
AVBStreamHandler
|
||||
Babel
|
||||
Botan
|
||||
CGAL
|
||||
@@ -187,6 +186,7 @@ R-Rcpp
|
||||
R-RcppArmadillo
|
||||
R-RcppEigen
|
||||
R-RcppGSL
|
||||
R-RcppParallel
|
||||
R-RcppProgress
|
||||
R-RcppRoll
|
||||
R-RcppZiggurat
|
||||
@@ -1026,6 +1026,7 @@ alembic
|
||||
alsa-firmware
|
||||
alsa-lib
|
||||
alsa-plugins
|
||||
alsa-ucm-conf
|
||||
alsa-utils
|
||||
amazon-efs-utils
|
||||
amqp
|
||||
@@ -1064,6 +1065,7 @@ arpack-ng
|
||||
artikulate
|
||||
asciidoc
|
||||
asciinema
|
||||
asgiref
|
||||
asio
|
||||
asn1crypto
|
||||
aspell
|
||||
@@ -1300,6 +1302,7 @@ clutter
|
||||
clutter-gst
|
||||
clutter-gtk
|
||||
cmake
|
||||
cmarkgfm
|
||||
cmd2
|
||||
cmocka
|
||||
cmrt
|
||||
@@ -1344,6 +1347,7 @@ comedilib
|
||||
comfortaa-fonts
|
||||
commonmark
|
||||
compat-SDL2-soname1
|
||||
compat-boost-soname1.68.0
|
||||
compat-cryptsetup-soname4
|
||||
compat-curl-gnutls-soname4
|
||||
compat-double-conversion-soname1
|
||||
@@ -2009,7 +2013,10 @@ iwd
|
||||
ixion
|
||||
jack2
|
||||
jansson
|
||||
jaraco.classes
|
||||
jaraco.collections
|
||||
jaraco.functools
|
||||
jaraco.text
|
||||
jarn.viewdoc
|
||||
jdcal
|
||||
jedi
|
||||
@@ -2444,6 +2451,7 @@ liblxqt
|
||||
libmaxminddb
|
||||
libmbim
|
||||
libmediaart
|
||||
libmemcached
|
||||
libmetalink
|
||||
libmicrohttpd
|
||||
libmnl
|
||||
@@ -2473,6 +2481,8 @@ libnumbertext
|
||||
liboauth
|
||||
libodfgen
|
||||
libogg
|
||||
libopenshot
|
||||
libopenshot-audio
|
||||
libopenzwave
|
||||
liborcus
|
||||
libosinfo
|
||||
@@ -2636,6 +2646,7 @@ ltrace
|
||||
lttng-tools
|
||||
lttng-ust
|
||||
lua
|
||||
lua-nginx-module
|
||||
lua52
|
||||
lualgi
|
||||
luarocks
|
||||
@@ -3490,6 +3501,7 @@ nftables
|
||||
nghttp2
|
||||
nginx
|
||||
nginx-mainline
|
||||
nginx-rtmp-module
|
||||
nginx-upload-module
|
||||
nginx_cookie_flag_module
|
||||
ngraph
|
||||
@@ -3579,6 +3591,7 @@ openjdk13
|
||||
openldap
|
||||
openmpi
|
||||
openscad
|
||||
openshot-qt
|
||||
opensm
|
||||
openssh
|
||||
openssl
|
||||
@@ -4201,6 +4214,7 @@ perl-Number-Format
|
||||
perl-Number-Misc
|
||||
perl-Number-WithError
|
||||
perl-Object-Accessor
|
||||
perl-Object-Remote
|
||||
perl-Object-Signature
|
||||
perl-PDF-API2
|
||||
perl-PDF-Table
|
||||
@@ -4229,6 +4243,7 @@ perl-Params-ValidationCompiler
|
||||
perl-Parse-EDID
|
||||
perl-Parse-ExuberantCTags
|
||||
perl-Parse-RecDescent
|
||||
perl-Parse-Yapp
|
||||
perl-Path-Class
|
||||
perl-Path-Tiny
|
||||
perl-Pegex
|
||||
@@ -4300,6 +4315,7 @@ perl-String-Escape
|
||||
perl-String-Expand
|
||||
perl-String-Format
|
||||
perl-String-Random
|
||||
perl-String-ShellQuote
|
||||
perl-String-Similarity
|
||||
perl-String-Util
|
||||
perl-Struct-Dumb
|
||||
@@ -4320,6 +4336,7 @@ perl-Sys-Mmap
|
||||
perl-Sys-SigAction
|
||||
perl-Sys-Statistics-Linux
|
||||
perl-System-Command
|
||||
perl-Systemd-Daemon
|
||||
perl-TAP-Formatter-HTML
|
||||
perl-TAP-Harness-Archive
|
||||
perl-Taint-Util
|
||||
@@ -4340,6 +4357,7 @@ perl-Test-CleanNamespaces
|
||||
perl-Test-Command
|
||||
perl-Test-Compile
|
||||
perl-Test-Deep
|
||||
perl-Test-DiagINC
|
||||
perl-Test-Differences
|
||||
perl-Test-Exception
|
||||
perl-Test-FailWarnings
|
||||
@@ -4539,6 +4557,7 @@ php-krb5
|
||||
php-lua
|
||||
php-lzf
|
||||
php-mailparse
|
||||
php-memcached
|
||||
php-mongodb
|
||||
php-msgpack
|
||||
php-oauth
|
||||
@@ -4571,6 +4590,7 @@ php-xxtea
|
||||
php-yaml
|
||||
php-yar
|
||||
php-zip
|
||||
php-zmq
|
||||
pickleshare
|
||||
picmi
|
||||
picocom
|
||||
@@ -4591,6 +4611,7 @@ pipreqs
|
||||
pixman
|
||||
pkcs11-helper
|
||||
pkg-config
|
||||
pkginfo
|
||||
plasma-browser-integration
|
||||
plasma-desktop
|
||||
plasma-discover
|
||||
@@ -4666,6 +4687,7 @@ pwgen
|
||||
py
|
||||
pyDesktop3
|
||||
pyOpenSSL
|
||||
pyRFC3339
|
||||
pyScss
|
||||
pyaes
|
||||
pyalsaaudio
|
||||
@@ -4709,10 +4731,10 @@ pyotp
|
||||
pypandoc
|
||||
pyparsing
|
||||
pyperclip
|
||||
pyperf
|
||||
pypowervm
|
||||
pyquery
|
||||
pyreadline
|
||||
pyrfc3339
|
||||
pyroma
|
||||
pyroute2
|
||||
pyrsistent
|
||||
@@ -4724,7 +4746,9 @@ pysnmp
|
||||
pysubnettree
|
||||
pytest
|
||||
pytest-asyncio
|
||||
pytest-cache
|
||||
pytest-cov
|
||||
pytest-flake8
|
||||
pytest-forked
|
||||
pytest-localserver
|
||||
pytest-randomly
|
||||
@@ -4740,6 +4764,7 @@ python-augeas
|
||||
python-barbicanclient
|
||||
python-ceilometerclient
|
||||
python-cinderclient
|
||||
python-constraint
|
||||
python-coveralls
|
||||
python-crfsuite
|
||||
python-dateutil
|
||||
@@ -4753,8 +4778,10 @@ python-glanceclient
|
||||
python-graphviz
|
||||
python-heatclient
|
||||
python-hwinfo
|
||||
python-jsonrpc-server
|
||||
python-kconfiglib
|
||||
python-keystoneclient
|
||||
python-language-server
|
||||
python-ldap
|
||||
python-magic
|
||||
python-magnumclient
|
||||
@@ -4770,7 +4797,6 @@ python-openid
|
||||
python-openstackclient
|
||||
python-openzwave
|
||||
python-pcre
|
||||
python-perf
|
||||
python-pkgconfig
|
||||
python-pocketlint
|
||||
python-polib
|
||||
@@ -4871,6 +4897,7 @@ rdma-core
|
||||
re2
|
||||
re2c
|
||||
readline
|
||||
readme_renderer
|
||||
rebootmgr
|
||||
recode
|
||||
recommonmark
|
||||
@@ -5008,6 +5035,7 @@ sndio
|
||||
snitun
|
||||
snowballstemmer
|
||||
socat
|
||||
sof-bin
|
||||
solid
|
||||
sonnet
|
||||
sortedcontainers
|
||||
@@ -5047,6 +5075,7 @@ spice
|
||||
spice-gtk
|
||||
spice-protocol
|
||||
spyder-ide
|
||||
spyder-kernels
|
||||
spyder-notebook
|
||||
spyrk
|
||||
sqlalchemy-migrate
|
||||
@@ -5210,6 +5239,7 @@ traitlets
|
||||
tree
|
||||
trollius
|
||||
trustme
|
||||
twine
|
||||
typed_ast
|
||||
typing
|
||||
typing_extensions
|
||||
@@ -5318,6 +5348,7 @@ wpa_supplicant
|
||||
wrapt
|
||||
wsgi_intercept
|
||||
wsjtx
|
||||
wurlitzer
|
||||
wxWidgets
|
||||
x11perf
|
||||
x11vnc
|
||||
|
||||
@@ -102,6 +102,22 @@ def zap_entire_file_end(filename):
|
||||
if file.endswith(filename):
|
||||
files.remove(file)
|
||||
|
||||
def zap_line_in_file_substring(filename, match):
|
||||
global header
|
||||
global files
|
||||
global files_chunks
|
||||
global files_header
|
||||
for file in files:
|
||||
if file.endswith(filename):
|
||||
for chunk in files_chunks[file]:
|
||||
to_delete = list()
|
||||
for line in chunk:
|
||||
if match in line:
|
||||
to_delete.append(line)
|
||||
for line in to_delete:
|
||||
chunk.remove(line)
|
||||
|
||||
|
||||
def zap_line_in_file(filename, match):
|
||||
global header
|
||||
global files
|
||||
@@ -209,6 +225,11 @@ def main():
|
||||
zap_entire_file_end("xz.sig")
|
||||
zap_entire_file_end("gz.sig")
|
||||
zap_entire_file_end("bz2.sig")
|
||||
zap_entire_file_end("xz.asc")
|
||||
zap_entire_file_end("gz.asc")
|
||||
zap_entire_file_end("bz2.asc")
|
||||
|
||||
zap_entire_file_end(".pkey")
|
||||
|
||||
zap_line_in_file("b/testresults", "Total : 0")
|
||||
zap_line_in_file("b/testresults", "Pass : 0")
|
||||
@@ -273,6 +294,7 @@ def main():
|
||||
|
||||
zap_line_in_file("b/options.conf", "archives = ")
|
||||
zap_line_in_file("b/options.conf", "giturl = ")
|
||||
zap_line_in_file("b/options.conf", "url = ")
|
||||
zap_line_in_file("b/options.conf", "[package]")
|
||||
zap_line_in_file("b/options.conf", "")
|
||||
zap_line_in_file("b/options.conf", "[autospec]")
|
||||
@@ -358,7 +380,9 @@ def main():
|
||||
zap_entire_file("b/whatrequires")
|
||||
zap_entire_file("b/versions")
|
||||
zap_entire_file("b/.gitignore")
|
||||
|
||||
|
||||
zap_line_in_file_substring(".spec", "%{buildroot}/usr/share/package-licenses") # version number change in license copy
|
||||
zap_empty_chunks()
|
||||
|
||||
print_all()
|
||||
|
||||
Reference in New Issue
Block a user