mirror of
https://github.com/clearlinux/common.git
synced 2026-06-16 02:56:00 +00:00
Compare commits
19 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 22cf4d9aaa | |||
| abf88fe302 | |||
| e7d86e5ace | |||
| 0ca8a71a6a | |||
| c594d50d97 | |||
| 923b813833 | |||
| facfc57d55 | |||
| 9e0d404e52 | |||
| 9d954cb33a | |||
| 158c743fde | |||
| c5969bbd83 | |||
| cb01f2b9ef | |||
| c58e39da50 | |||
| 26dea91314 | |||
| efa4e1bcf8 | |||
| 9fba303a7b | |||
| eefffcb4cd | |||
| ae59dd4aa9 | |||
| 9ed6cf64eb |
+12
-2
@@ -186,8 +186,18 @@ autospec: preautospec-checks pullrebase localreponotice clean-old-content
|
||||
bash update_changelog.sh ; \
|
||||
git commit --amend --no-edit Change* ; \
|
||||
fi
|
||||
git diff | grep -q index || python3 $(TOPLVL)/projects/common/patchfilter.py > for-review.txt ;
|
||||
git diff | grep -q index || python3 $(TOPLVL)/projects/common/patchfilter.py ;
|
||||
@$(MAKE) -s for-review.txt
|
||||
@printf "\n**\n"
|
||||
@printf "** NOTICE: A patch with changes is available in the file for-review.txt\n"
|
||||
@printf "** To recreate (e.g., after git commit --amend), run make for-review.txt\n"
|
||||
@printf "** To submit for review: git send-email --to <recipient> for-review.txt\n"
|
||||
@printf "**\n\n"
|
||||
|
||||
#help for-review.txt: Creates the for-review.txt file, which is
|
||||
#help a minimized version of the Git commit, suitable for code review.
|
||||
for-review.txt:
|
||||
git diff | grep -q index || python3 $(TOPLVL)/projects/common/patchfilter.py > for-review.txt
|
||||
.PHONY: for-review.txt
|
||||
|
||||
#help autospecnogit: Runs autospec, but does not create a commit
|
||||
autospecnogit:
|
||||
|
||||
+5
-2
@@ -229,8 +229,11 @@ autospecnew: preautospecnew-checks localreponotice
|
||||
if [ $$? -eq 0 ]; then \
|
||||
$(MAKE) link-new-rpms PKG_REPO_DIR="${TOPLVL}/packages/${NAME}"; \
|
||||
$(TOPLVL)/projects/common/checkblacklist.sh $(TOPLVL)/projects/common/blacklist $(TOPLVL)/packages/${NAME}/results/*.rpm; \
|
||||
python3 $(TOPLVL)/projects/common/patchfilter.py <(git -C $(TOPLVL)/packages/$(NAME) show) > $(TOPLVL)/packages/$(NAME)/for-review.txt; \
|
||||
python3 $(TOPLVL)/projects/common/patchfilter.py <(git -C $(TOPLVL)/packages/$(NAME) show); \
|
||||
python3 $(TOPLVL)/projects/common/patchfilter.py <(git -C $(TOPLVL)/packages/$(NAME) format-patch -1 --stdout) > $(TOPLVL)/packages/$(NAME)/for-review.txt; \
|
||||
printf "\n**\n"; \
|
||||
printf "** NOTICE: A patch with changes is available in the file $(TOPLVL)/packages/$(NAME)/for-review.txt\n"; \
|
||||
printf "** Please look through this file and if you are unsure, please submit for code review with git send-email\n"; \
|
||||
printf "**\n\n"; \
|
||||
fi; \
|
||||
else \
|
||||
echo "$(NAME) already exists at $(TOPLVL)/packages/$(NAME)"; \
|
||||
|
||||
@@ -503,6 +503,7 @@ R-lme4
|
||||
R-lmerTest
|
||||
R-lmtest
|
||||
R-locfit
|
||||
R-logcondens
|
||||
R-logspline
|
||||
R-loo
|
||||
R-lpSolve
|
||||
@@ -723,6 +724,7 @@ R-rstan
|
||||
R-rstanarm
|
||||
R-rstantools
|
||||
R-rstudio
|
||||
R-rstudio-server
|
||||
R-rstudioapi
|
||||
R-rsvg
|
||||
R-runjags
|
||||
@@ -978,6 +980,7 @@ aniso8601
|
||||
ansible
|
||||
anyjson
|
||||
apache-ant
|
||||
apache-flink
|
||||
apache-hadoop
|
||||
apache-kafka
|
||||
apache-libcloud
|
||||
@@ -998,6 +1001,8 @@ argparse
|
||||
aria2
|
||||
ark
|
||||
armadillo
|
||||
arp-scan
|
||||
arpack-ng
|
||||
artikulate
|
||||
asciidoc
|
||||
asciinema
|
||||
@@ -1154,6 +1159,8 @@ cantor
|
||||
capnproto
|
||||
caribou
|
||||
case
|
||||
cassandra
|
||||
cassandra-dep
|
||||
castellan
|
||||
casync
|
||||
catch2
|
||||
@@ -1282,6 +1289,7 @@ compat-hdf5-soname10
|
||||
compat-hwloc-soname5
|
||||
compat-hyperscan-soname4
|
||||
compat-icu4c-soname61
|
||||
compat-icu4c-soname63
|
||||
compat-ilmbase-soname23
|
||||
compat-intel-gmmlib-soname1
|
||||
compat-ipset-soname10
|
||||
@@ -1527,6 +1535,7 @@ dpdk
|
||||
dracut
|
||||
dragon
|
||||
drkonqi
|
||||
dssi
|
||||
dstat
|
||||
dtc
|
||||
dtopt
|
||||
@@ -1628,6 +1637,7 @@ flatpak
|
||||
flatpak-builder
|
||||
fldigi
|
||||
flex
|
||||
flink-dep
|
||||
flmsg
|
||||
flnet
|
||||
fltk
|
||||
@@ -1651,7 +1661,6 @@ funcparserlib
|
||||
funcsigs
|
||||
functools32
|
||||
fuse
|
||||
futures
|
||||
futurist
|
||||
fwupd
|
||||
fwupdate
|
||||
@@ -1746,6 +1755,7 @@ gnome-music
|
||||
gnome-online-accounts
|
||||
gnome-panel
|
||||
gnome-photos
|
||||
gnome-screensaver
|
||||
gnome-screenshot
|
||||
gnome-session
|
||||
gnome-settings-daemon
|
||||
@@ -1802,6 +1812,7 @@ grilo-plugins
|
||||
groff
|
||||
grpcio
|
||||
grub
|
||||
gsequencer
|
||||
gsettings-desktop-schemas
|
||||
gsl
|
||||
gsm
|
||||
@@ -1881,6 +1892,7 @@ iasimage
|
||||
ibus
|
||||
ibus-libpinyin
|
||||
ibus-table
|
||||
ibus-typing-booster
|
||||
ibus-unikey
|
||||
icalendar
|
||||
icdiff
|
||||
@@ -1899,6 +1911,7 @@ imageio
|
||||
imagesize
|
||||
imapfilter
|
||||
imlib2
|
||||
importlib_metadata
|
||||
indent
|
||||
infiniband-diags
|
||||
inflection
|
||||
@@ -1906,6 +1919,7 @@ influxdb
|
||||
iniparse
|
||||
init-rdahead
|
||||
inkscape
|
||||
innoextract
|
||||
inotify-tools
|
||||
intel-cmt-cat
|
||||
intel-compute-runtime
|
||||
@@ -1977,6 +1991,7 @@ jsonpath-rw-ext
|
||||
jsonpointer
|
||||
jsonrpc-glib
|
||||
jsonschema
|
||||
junit-xml
|
||||
jupyter
|
||||
jupyter-nbgallery
|
||||
jupyter-notebook-gist
|
||||
@@ -2218,6 +2233,7 @@ kwrited
|
||||
kxmlgui
|
||||
kxmlrpcclient
|
||||
kyotocabinet
|
||||
ladspa_sdk
|
||||
lark-parser
|
||||
latencytop
|
||||
latexcodec
|
||||
@@ -2262,6 +2278,7 @@ libaio
|
||||
libappindicator
|
||||
libarchive
|
||||
libarchive-c
|
||||
libass
|
||||
libassuan
|
||||
libasyncns
|
||||
libatasmart
|
||||
@@ -2278,6 +2295,7 @@ libcdio
|
||||
libcdr
|
||||
libcgroup
|
||||
libchamplain
|
||||
libclc
|
||||
libcmis
|
||||
libcomps
|
||||
libconfig
|
||||
@@ -2343,6 +2361,7 @@ libidn
|
||||
libidn2
|
||||
libindicator
|
||||
libinput
|
||||
libinstpatch
|
||||
libiscsi
|
||||
libisofs
|
||||
libite
|
||||
@@ -2520,7 +2539,6 @@ linux-lts2017
|
||||
linux-lts2018
|
||||
linux-mainline
|
||||
linux-networktest
|
||||
linux-next
|
||||
linux-oracle
|
||||
linux-preempt-rt
|
||||
linux-steam-integration
|
||||
@@ -2551,6 +2569,7 @@ lua52
|
||||
lualgi
|
||||
luarocks
|
||||
lutris
|
||||
lv2
|
||||
lxml
|
||||
lxqt-about
|
||||
lxqt-admin
|
||||
@@ -2578,6 +2597,7 @@ make
|
||||
makedepend
|
||||
man-db
|
||||
man-pages
|
||||
man-pages-posix
|
||||
marble
|
||||
mariadb
|
||||
mash
|
||||
@@ -2671,6 +2691,10 @@ musl
|
||||
mutagen
|
||||
mutt
|
||||
mutter
|
||||
mvn-aether-core
|
||||
mvn-cdi-api
|
||||
mvn-commons-cli
|
||||
mvn-commons-codec
|
||||
mxnet
|
||||
mycroft-core
|
||||
mypaint-brushes
|
||||
@@ -2719,6 +2743,7 @@ nghttp2
|
||||
nginx
|
||||
nginx-mainline
|
||||
nicstat
|
||||
nim
|
||||
ninja
|
||||
nload
|
||||
nlopt
|
||||
@@ -2930,6 +2955,7 @@ perl-B-Hooks-OP-Check
|
||||
perl-B-Keywords
|
||||
perl-BSD-Resource
|
||||
perl-Biblio-EndnoteStyle
|
||||
perl-Bit-Vector
|
||||
perl-Browser-Open
|
||||
perl-Business-ISBN
|
||||
perl-Business-ISBN-Data
|
||||
@@ -2947,6 +2973,8 @@ perl-CSS-DOM
|
||||
perl-CSS-Minifier-XS
|
||||
perl-CSS-Tiny
|
||||
perl-Cache-Simple-TimedExpiry
|
||||
perl-Cairo
|
||||
perl-Cairo-GObject
|
||||
perl-Calendar-Simple
|
||||
perl-Canary-Stability
|
||||
perl-Capture-Tiny
|
||||
@@ -3006,6 +3034,7 @@ perl-Curses
|
||||
perl-DBD-Pg
|
||||
perl-DBD-SQLite
|
||||
perl-DBD-SQLite2
|
||||
perl-DBD-mysql
|
||||
perl-DBI
|
||||
perl-DBICx-TestDatabase
|
||||
perl-DBIx-Class
|
||||
@@ -3035,6 +3064,7 @@ perl-Data-Serializer
|
||||
perl-Data-Structure-Util
|
||||
perl-Data-Uniqid
|
||||
perl-Data-Validate-IP
|
||||
perl-Date-Manip
|
||||
perl-DateTime
|
||||
perl-DateTime-Format-Builder
|
||||
perl-DateTime-Format-DateParse
|
||||
@@ -3096,6 +3126,7 @@ perl-ExtUtils-Config
|
||||
perl-ExtUtils-Depends
|
||||
perl-ExtUtils-Helpers
|
||||
perl-ExtUtils-InstallPaths
|
||||
perl-ExtUtils-PkgConfig
|
||||
perl-FCGI-ProcManager
|
||||
perl-Feed-Find
|
||||
perl-Fennec-Lite
|
||||
@@ -3143,7 +3174,11 @@ perl-Geo-IPfree
|
||||
perl-Getopt-Euclid
|
||||
perl-Getopt-Tabular
|
||||
perl-Git-Version-Compare
|
||||
perl-Glib
|
||||
perl-Glib-Object-Introspection
|
||||
perl-Graph
|
||||
perl-Gtk3
|
||||
perl-Gtk3-WebKit
|
||||
perl-Guard
|
||||
perl-HTML-Clean
|
||||
perl-HTML-Encoding
|
||||
@@ -3206,6 +3241,7 @@ perl-Inline-C
|
||||
perl-JSON
|
||||
perl-JSON-MaybeXS
|
||||
perl-JSON-RPC
|
||||
perl-JSON-XS
|
||||
perl-JavaScript-Minifier-XS
|
||||
perl-LWP-MediaTypes
|
||||
perl-LWP-Protocol-https
|
||||
@@ -3290,6 +3326,7 @@ perl-Moose
|
||||
perl-MooseX-Role-Parameterized
|
||||
perl-MooseX-Role-WithOverloading
|
||||
perl-Mozilla-CA
|
||||
perl-Net-Bluetooth
|
||||
perl-Net-CIDR-Lite
|
||||
perl-Net-DBus
|
||||
perl-Net-DNS
|
||||
@@ -3446,6 +3483,7 @@ perl-Test-MockTime
|
||||
perl-Test-More-UTF8
|
||||
perl-Test-Most
|
||||
perl-Test-Needs
|
||||
perl-Test-NeedsDisplay
|
||||
perl-Test-NoWarnings
|
||||
perl-Test-Number-Delta
|
||||
perl-Test-Output
|
||||
@@ -3516,6 +3554,7 @@ perl-Unicode-Map
|
||||
perl-Variable-Magic
|
||||
perl-WWW-Form-UrlEncoded-XS
|
||||
perl-WWW-RobotRules
|
||||
perl-X11-IdleTime
|
||||
perl-X11-Protocol
|
||||
perl-XML-Atom
|
||||
perl-XML-Feed
|
||||
@@ -3564,6 +3603,7 @@ persistent
|
||||
pesign
|
||||
pexpect
|
||||
phonon
|
||||
phonon-vlc
|
||||
phoronix-test-suite
|
||||
php
|
||||
php-imagick
|
||||
@@ -3693,6 +3733,7 @@ pygtkglext
|
||||
pyhs100
|
||||
pyinotify
|
||||
pykerberos
|
||||
pykwalify
|
||||
pylama
|
||||
pyliblzma
|
||||
pylint
|
||||
@@ -3912,9 +3953,10 @@ rsync
|
||||
rsyslog
|
||||
rt-tests
|
||||
rtkit
|
||||
rtmpdump
|
||||
rtslib-fb
|
||||
rttr
|
||||
ruamel-yaml
|
||||
ruamel.yaml
|
||||
ruby
|
||||
runc
|
||||
rust-std32
|
||||
@@ -3933,6 +3975,7 @@ sbc
|
||||
sbsigntools
|
||||
scala
|
||||
scala-dep
|
||||
scdoc
|
||||
scene-alembic
|
||||
scikit-build
|
||||
scikit-image
|
||||
@@ -4046,6 +4089,7 @@ stellarium
|
||||
step
|
||||
stestr
|
||||
stevedore
|
||||
stoken
|
||||
stow
|
||||
strace
|
||||
stress-ng
|
||||
@@ -4097,6 +4141,7 @@ telemetrics-client
|
||||
telepathy-glib
|
||||
telepathy-logger
|
||||
telepathy-qt
|
||||
tempest
|
||||
tempest-lib
|
||||
template-glib
|
||||
tempora
|
||||
@@ -4166,12 +4211,13 @@ tracker-miners
|
||||
traitlets
|
||||
tree
|
||||
trollius
|
||||
typed-ast
|
||||
typed_ast
|
||||
typing
|
||||
typing_extensions
|
||||
tzdata
|
||||
tzlocal
|
||||
ua-parser
|
||||
uamqp
|
||||
ucpp
|
||||
udisks2
|
||||
udunits
|
||||
@@ -4322,6 +4368,7 @@ xkbcomp
|
||||
xkeyboard-config
|
||||
xkill
|
||||
xlog
|
||||
xmlb
|
||||
xmlrpc-c
|
||||
xmlsec1
|
||||
xmlstarlet
|
||||
@@ -4371,8 +4418,10 @@ zeroconf
|
||||
zeroconf-ioslave
|
||||
zict
|
||||
zip
|
||||
zipp
|
||||
zlib
|
||||
znc
|
||||
zoneminder
|
||||
zookeeper-dep
|
||||
zope.component
|
||||
zope.configuration
|
||||
|
||||
+13
-1
@@ -195,7 +195,7 @@ def main():
|
||||
with open (filename, "r") as myfile:
|
||||
lines = myfile.readlines()
|
||||
else:
|
||||
output = subprocess.check_output("git show", shell=True).decode("latin-1")
|
||||
output = subprocess.check_output("git format-patch -1 --stdout", shell=True).decode("latin-1")
|
||||
lines = output.split("\n")
|
||||
|
||||
parse_patch(lines)
|
||||
@@ -225,6 +225,14 @@ def main():
|
||||
zap_line_in_file_start(".spec", "Source99 :")
|
||||
zap_line_in_file_start(".spec", "Source0 :")
|
||||
zap_line_in_file_start(".spec", "export SOURCE_DATE_EPOCH")
|
||||
zap_line_in_file_start(".spec", "export GCC_IGNORE_WERROR=1")
|
||||
zap_line_in_file_start(".spec", "export AR=gcc-ar")
|
||||
zap_line_in_file_start(".spec", "export RANLIB=gcc-ranlib")
|
||||
zap_line_in_file_start(".spec", "export NM=gcc-nm")
|
||||
zap_line_in_file_start(".spec", "export CFLAGS=\"$CFLAGS -O3 -ffat-lto-objects -flto=4 \"")
|
||||
zap_line_in_file_start(".spec", "export FCFLAGS=\"$CFLAGS -O3 -ffat-lto-objects -flto=4 \"")
|
||||
zap_line_in_file_start(".spec", "export FFLAGS=\"$CFLAGS -O3 -ffat-lto-objects -flto=4 \"")
|
||||
zap_line_in_file_start(".spec", "export CXXFLAGS=\"$CXXFLAGS -O3 -ffat-lto-objects -flto=4 \"")
|
||||
zap_line_in_file_start(".spec", "%setup -q -n ")
|
||||
zap_line_in_file_start(".spec", "URL :")
|
||||
zap_line_in_file_start(".spec", "Version :")
|
||||
@@ -236,6 +244,7 @@ def main():
|
||||
zap_line_in_file_start(".spec", "data components for the")
|
||||
zap_line_in_file_start(".spec", "locales components for the")
|
||||
zap_line_in_file_start(".spec", "license components for the")
|
||||
zap_line_in_file_start(".spec", "doc components for the")
|
||||
zap_line_in_file_start(".spec", "Group: Default")
|
||||
zap_line_in_file_start(".spec", "export http_proxy=http://127.0.0.1:9/")
|
||||
zap_line_in_file_start(".spec", "export https_proxy=http://127.0.0.1:9/")
|
||||
@@ -246,13 +255,16 @@ def main():
|
||||
zap_line_in_file_start(".spec", "Group: Binaries")
|
||||
zap_line_in_file_start(".spec", "Group: Data")
|
||||
zap_line_in_file_start(".spec", "Group: Libraries")
|
||||
zap_line_in_file_start(".spec", "Group: Documentation")
|
||||
zap_line_in_file_start(".spec", "export LANG=C")
|
||||
zap_line_in_file_start(".spec", "%description lib")
|
||||
zap_line_in_file_start(".spec", "%description bin")
|
||||
zap_line_in_file_start(".spec", "%description data")
|
||||
zap_line_in_file_start(".spec", "%description doc")
|
||||
zap_line_in_file_start(".spec", "%description locales")
|
||||
zap_line_in_file_start(".spec", "%description dev")
|
||||
zap_line_in_file_start(".spec", "%description license")
|
||||
zap_line_in_file_start(".spec", "%package doc")
|
||||
|
||||
zap_line_in_file_start("b/Makefile", "URL =")
|
||||
zap_line_in_file_start("b/Makefile", "PKG_NAME :=")
|
||||
|
||||
Reference in New Issue
Block a user