mirror of
https://github.com/clearlinux/common.git
synced 2026-06-16 19:16:00 +00:00
Compare commits
24 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 88dd353e21 | |||
| c232a0f6c2 | |||
| 97edcccc6f | |||
| 16fb031192 | |||
| 46d98726d5 | |||
| 0fa3b3812c | |||
| c6ae76c720 | |||
| b1cfa8f828 | |||
| 2f03d06fc4 | |||
| 514dbd5f33 | |||
| 97894ec9b3 | |||
| 4512f3ae00 | |||
| 4bbdd450d4 | |||
| f2a32480ae | |||
| 8aa923a5a6 | |||
| a757a26828 | |||
| c69acb2821 | |||
| cbb1d9688e | |||
| 9b778e9f80 | |||
| 0894cd7083 | |||
| f07e797a3b | |||
| 6b614da982 | |||
| 56fd505d76 | |||
| 60fe195c79 |
+8
-3
@@ -304,16 +304,21 @@ prekoji-checks:
|
||||
koji: prekoji-checks kojidef
|
||||
@$(MAKE) spdxcheck
|
||||
@$(MAKE) checkblacklist
|
||||
@if ! git branch | grep -q -E '^\* master'; then \
|
||||
@if [ "$$(git rev-parse --abbrev-ref HEAD)" != "master" ]; then \
|
||||
echo "Error: Must be on the master branch to submit to koji" >&2; \
|
||||
exit 1; \
|
||||
fi; \
|
||||
if ! git diff --quiet HEAD ${SPECFILE}; then \
|
||||
if ! git diff --quiet HEAD -- ${SPECFILE}; then \
|
||||
echo "Error: All changes to ${SPECFILE} must be committed first" >&2; \
|
||||
exit 1; \
|
||||
fi; \
|
||||
if git rev-parse --verify --quiet origin/master > /dev/null; then \
|
||||
git fetch; \
|
||||
if git rev-parse --verify --quiet origin/master >/dev/null; then \
|
||||
git pull --rebase; \
|
||||
fi; \
|
||||
if git ls-remote --tags --exit-code origin $(SRPMVERS) >/dev/null; then \
|
||||
echo "Error: remote tag $(SRPMVERS) already exists" >&2; \
|
||||
exit 1; \
|
||||
fi
|
||||
git tag $(SRPMVERS)
|
||||
git push origin master refs/tags/$(SRPMVERS)
|
||||
|
||||
@@ -31,6 +31,7 @@ HeapDict
|
||||
ImageMagick
|
||||
JAGS
|
||||
Jinja2
|
||||
Judy
|
||||
Keras
|
||||
Keras_Applications
|
||||
Keras_Preprocessing
|
||||
@@ -58,6 +59,7 @@ OpenCSG
|
||||
OpenColorIO
|
||||
OpenIPMI
|
||||
OpenSP
|
||||
Pacemaker
|
||||
PackageKit
|
||||
ParaView
|
||||
Paste
|
||||
@@ -94,6 +96,7 @@ R-BMS
|
||||
R-BatchJobs
|
||||
R-BayesFactor
|
||||
R-BiasedUrn
|
||||
R-BiocManager
|
||||
R-BoolNet
|
||||
R-BradleyTerry2
|
||||
R-Brobdingnag
|
||||
@@ -184,6 +187,7 @@ R-Rcpp
|
||||
R-RcppArmadillo
|
||||
R-RcppEigen
|
||||
R-RcppGSL
|
||||
R-RcppParallel
|
||||
R-RcppProgress
|
||||
R-RcppRoll
|
||||
R-RcppZiggurat
|
||||
@@ -288,6 +292,7 @@ R-cmprsk
|
||||
R-cobs
|
||||
R-coda
|
||||
R-coin
|
||||
R-collections
|
||||
R-colorspace
|
||||
R-colourpicker
|
||||
R-combinat
|
||||
@@ -508,6 +513,7 @@ R-labelled
|
||||
R-laeken
|
||||
R-lambda.r
|
||||
R-languageR
|
||||
R-languageserver
|
||||
R-lars
|
||||
R-later
|
||||
R-latticeExtra
|
||||
@@ -636,6 +642,7 @@ R-phylobase
|
||||
R-phylogram
|
||||
R-phytools
|
||||
R-pillar
|
||||
R-pixmap
|
||||
R-pkgKitten
|
||||
R-pkgbuild
|
||||
R-pkgconfig
|
||||
@@ -900,6 +907,7 @@ R-xfun
|
||||
R-xml2
|
||||
R-xmlparsedata
|
||||
R-xopen
|
||||
R-xptr
|
||||
R-xtable
|
||||
R-xts
|
||||
R-yaml
|
||||
@@ -1019,6 +1027,7 @@ alembic
|
||||
alsa-firmware
|
||||
alsa-lib
|
||||
alsa-plugins
|
||||
alsa-ucm-conf
|
||||
alsa-utils
|
||||
amazon-efs-utils
|
||||
amqp
|
||||
@@ -1057,6 +1066,7 @@ arpack-ng
|
||||
artikulate
|
||||
asciidoc
|
||||
asciinema
|
||||
asgiref
|
||||
asio
|
||||
asn1crypto
|
||||
aspell
|
||||
@@ -1216,6 +1226,7 @@ cantata
|
||||
cantor
|
||||
capnproto
|
||||
capstone
|
||||
capturer
|
||||
caribou
|
||||
case
|
||||
cassandra
|
||||
@@ -1246,6 +1257,7 @@ chrony
|
||||
chrpath
|
||||
cifs-utils
|
||||
cinder
|
||||
clFFT
|
||||
clamav
|
||||
clear-config-management
|
||||
clear-font
|
||||
@@ -1291,6 +1303,7 @@ clutter
|
||||
clutter-gst
|
||||
clutter-gtk
|
||||
cmake
|
||||
cmarkgfm
|
||||
cmd2
|
||||
cmocka
|
||||
cmrt
|
||||
@@ -1329,6 +1342,7 @@ colord
|
||||
colord-gtk
|
||||
colord-kde
|
||||
colordiff
|
||||
coloredlogs
|
||||
columbiad
|
||||
comedilib
|
||||
comfortaa-fonts
|
||||
@@ -1395,6 +1409,7 @@ containerd
|
||||
contextlib2
|
||||
cookies
|
||||
coreutils
|
||||
corosync
|
||||
coturn
|
||||
cotyledon
|
||||
cov-core
|
||||
@@ -1420,6 +1435,7 @@ cscope
|
||||
cssselect
|
||||
ctags
|
||||
cups
|
||||
cups-bjnp
|
||||
cups-filters
|
||||
cups-pk-helper
|
||||
curl
|
||||
@@ -1428,13 +1444,13 @@ cve-bin-tool
|
||||
cxxfilt
|
||||
cycler
|
||||
cyrus-sasl
|
||||
d9vk
|
||||
dapl
|
||||
darkflow
|
||||
darktable
|
||||
dash-to-dock
|
||||
dask
|
||||
datefudge
|
||||
dav1d
|
||||
db
|
||||
dbus
|
||||
dbus-broker
|
||||
@@ -1484,6 +1500,7 @@ dkms
|
||||
dldt
|
||||
dldt-model-optimizer
|
||||
dlib
|
||||
dlm
|
||||
dlt-daemon
|
||||
dmap2gcode
|
||||
dmenu
|
||||
@@ -1642,6 +1659,7 @@ font-util
|
||||
fontconfig
|
||||
fontforge
|
||||
fonttools
|
||||
fortune-mod
|
||||
fossil
|
||||
frameworkintegration
|
||||
freedv
|
||||
@@ -1658,6 +1676,7 @@ fuse
|
||||
futurist
|
||||
fwupd
|
||||
fwupdate
|
||||
g2fs-utils
|
||||
gTTS-token
|
||||
gabbi
|
||||
garcon
|
||||
@@ -1703,7 +1722,7 @@ gimp
|
||||
girara
|
||||
git
|
||||
git-gui
|
||||
gitdb2
|
||||
gitdb
|
||||
gitg
|
||||
gitolite
|
||||
gjs
|
||||
@@ -1891,6 +1910,7 @@ httplib2
|
||||
httpretty
|
||||
hub
|
||||
hugo
|
||||
humanfriendly
|
||||
hunspell
|
||||
hwloc
|
||||
hyperscan
|
||||
@@ -1950,6 +1970,7 @@ intervaltree
|
||||
intltool
|
||||
ioc-cbc-tools
|
||||
ioping
|
||||
ioport
|
||||
iotop
|
||||
ipaddr
|
||||
ipaddress
|
||||
@@ -1992,7 +2013,10 @@ iwd
|
||||
ixion
|
||||
jack2
|
||||
jansson
|
||||
jaraco.classes
|
||||
jaraco.collections
|
||||
jaraco.functools
|
||||
jaraco.text
|
||||
jarn.viewdoc
|
||||
jdcal
|
||||
jedi
|
||||
@@ -2210,11 +2234,13 @@ kpkpass
|
||||
kplotting
|
||||
kpty
|
||||
kqtquickcharts
|
||||
kquickcharts
|
||||
krb5
|
||||
krdc
|
||||
krest
|
||||
kreversi
|
||||
krita
|
||||
kronosnet
|
||||
kross
|
||||
kruler
|
||||
krunner
|
||||
@@ -2454,6 +2480,8 @@ libnumbertext
|
||||
liboauth
|
||||
libodfgen
|
||||
libogg
|
||||
libopenshot
|
||||
libopenshot-audio
|
||||
libopenzwave
|
||||
liborcus
|
||||
libosinfo
|
||||
@@ -2509,6 +2537,7 @@ libsrtp
|
||||
libssh
|
||||
libssh2
|
||||
libstaroffice
|
||||
libstatgrab
|
||||
libstoragemgmt
|
||||
libsysstat
|
||||
libtasn1
|
||||
@@ -3484,6 +3513,7 @@ nload
|
||||
nlopt
|
||||
nltk
|
||||
nmap
|
||||
nnn
|
||||
nodejs
|
||||
nose
|
||||
nose-cov
|
||||
@@ -3498,6 +3528,7 @@ noto-cjk
|
||||
noto-emoji
|
||||
noto-fonts
|
||||
nova
|
||||
npb
|
||||
npth
|
||||
nrpe
|
||||
nspr
|
||||
@@ -3557,6 +3588,7 @@ openjdk13
|
||||
openldap
|
||||
openmpi
|
||||
openscad
|
||||
openshot-qt
|
||||
opensm
|
||||
openssh
|
||||
openssl
|
||||
@@ -3609,6 +3641,7 @@ oslo.versionedobjects
|
||||
oslo.vmware
|
||||
oslosphinx
|
||||
oslotest
|
||||
osm-gps-map
|
||||
osprofiler
|
||||
ostree
|
||||
otp
|
||||
@@ -3662,11 +3695,13 @@ pcmanfm
|
||||
pcmanfm-qt
|
||||
pcre
|
||||
pcre2
|
||||
pcs
|
||||
pcsc-lite
|
||||
pdns
|
||||
pdns-recursor
|
||||
pdsh
|
||||
pecan
|
||||
pep517
|
||||
pep8
|
||||
performance
|
||||
perftest
|
||||
@@ -4176,6 +4211,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
|
||||
@@ -4204,6 +4240,7 @@ perl-Params-ValidationCompiler
|
||||
perl-Parse-EDID
|
||||
perl-Parse-ExuberantCTags
|
||||
perl-Parse-RecDescent
|
||||
perl-Parse-Yapp
|
||||
perl-Path-Class
|
||||
perl-Path-Tiny
|
||||
perl-Pegex
|
||||
@@ -4275,6 +4312,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
|
||||
@@ -4546,6 +4584,7 @@ php-xxtea
|
||||
php-yaml
|
||||
php-yar
|
||||
php-zip
|
||||
php-zmq
|
||||
pickleshare
|
||||
picmi
|
||||
picocom
|
||||
@@ -4566,6 +4605,7 @@ pipreqs
|
||||
pixman
|
||||
pkcs11-helper
|
||||
pkg-config
|
||||
pkginfo
|
||||
plasma-browser-integration
|
||||
plasma-desktop
|
||||
plasma-discover
|
||||
@@ -4601,6 +4641,7 @@ postfix
|
||||
postgis
|
||||
postgresql
|
||||
postgresql11
|
||||
postgresql12
|
||||
potrace
|
||||
povray
|
||||
powerdevil
|
||||
@@ -4640,6 +4681,7 @@ pwgen
|
||||
py
|
||||
pyDesktop3
|
||||
pyOpenSSL
|
||||
pyRFC3339
|
||||
pyScss
|
||||
pyaes
|
||||
pyalsaaudio
|
||||
@@ -4683,10 +4725,10 @@ pyotp
|
||||
pypandoc
|
||||
pyparsing
|
||||
pyperclip
|
||||
pyperf
|
||||
pypowervm
|
||||
pyquery
|
||||
pyreadline
|
||||
pyrfc3339
|
||||
pyroma
|
||||
pyroute2
|
||||
pyrsistent
|
||||
@@ -4698,7 +4740,9 @@ pysnmp
|
||||
pysubnettree
|
||||
pytest
|
||||
pytest-asyncio
|
||||
pytest-cache
|
||||
pytest-cov
|
||||
pytest-flake8
|
||||
pytest-forked
|
||||
pytest-localserver
|
||||
pytest-randomly
|
||||
@@ -4744,7 +4788,6 @@ python-openid
|
||||
python-openstackclient
|
||||
python-openzwave
|
||||
python-pcre
|
||||
python-perf
|
||||
python-pkgconfig
|
||||
python-pocketlint
|
||||
python-polib
|
||||
@@ -4790,6 +4833,7 @@ qrencode
|
||||
qscintilla
|
||||
qt-creator
|
||||
qt3d
|
||||
qt5ct
|
||||
qtbase
|
||||
qtcanvas3d
|
||||
qtcharts
|
||||
@@ -4844,7 +4888,9 @@ rdma-core
|
||||
re2
|
||||
re2c
|
||||
readline
|
||||
readme_renderer
|
||||
rebootmgr
|
||||
recode
|
||||
recommonmark
|
||||
redis
|
||||
redis-native
|
||||
@@ -4866,6 +4912,7 @@ requests-ntlm
|
||||
requests-oauthlib
|
||||
requests-toolbelt
|
||||
requestsexceptions
|
||||
resource-agents
|
||||
responses
|
||||
rest
|
||||
restic
|
||||
@@ -4877,7 +4924,9 @@ retype
|
||||
rfc3986
|
||||
rfc3987
|
||||
rhythmbox
|
||||
rinutils
|
||||
rjsmin
|
||||
rlwrap
|
||||
rng-tools
|
||||
roboto
|
||||
rofi
|
||||
@@ -4970,13 +5019,14 @@ slurm
|
||||
smart_open
|
||||
smartcols
|
||||
smartmontools
|
||||
smmap2
|
||||
smmap
|
||||
snabb
|
||||
snappy
|
||||
sndio
|
||||
snitun
|
||||
snowballstemmer
|
||||
socat
|
||||
sof-bin
|
||||
solid
|
||||
sonnet
|
||||
sortedcontainers
|
||||
@@ -5043,6 +5093,7 @@ stoken
|
||||
stow
|
||||
strace
|
||||
stress-ng
|
||||
stringcase
|
||||
stunnel
|
||||
su-exec
|
||||
subunit
|
||||
@@ -5050,6 +5101,7 @@ subunit2sql
|
||||
subversion
|
||||
sudo
|
||||
suds-jurko
|
||||
suitable
|
||||
sundials
|
||||
supertuxkart
|
||||
sure
|
||||
@@ -5070,6 +5122,7 @@ swupd-probe
|
||||
swupd-search
|
||||
sxhkd
|
||||
sxiv
|
||||
symengine
|
||||
sympy
|
||||
syndication
|
||||
synergy
|
||||
@@ -5175,6 +5228,8 @@ traefik
|
||||
traitlets
|
||||
tree
|
||||
trollius
|
||||
trustme
|
||||
twine
|
||||
typed_ast
|
||||
typing
|
||||
typing_extensions
|
||||
@@ -5224,6 +5279,7 @@ valgrind
|
||||
vbox-integration
|
||||
vcstool
|
||||
vcversioner
|
||||
vifm
|
||||
vim
|
||||
vim-fugitive
|
||||
vim-gnupg
|
||||
|
||||
@@ -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()
|
||||
|
||||
+1
-1
@@ -102,7 +102,7 @@ fi
|
||||
|
||||
required_progs() {
|
||||
local bindir="/usr/bin"
|
||||
for f in git mock rpm rpmbuild ; do
|
||||
for f in git mock rpm rpmbuild diffstat ; do
|
||||
[ ! -x "${bindir}/${f}" ] && missing+="${f} "
|
||||
done
|
||||
[ "$PEM" ] && [ ! -x /usr/bin/koji ] && missing+="koji "
|
||||
|
||||
Reference in New Issue
Block a user