mirror of
https://github.com/clearlinux/common.git
synced 2026-09-07 06:01:35 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f7747fad82 | ||
|
|
f562dba8ac | ||
|
|
a875acb1fe | ||
|
|
2de768ab6d | ||
|
|
6ce9826071 | ||
|
|
d96968cc98 | ||
|
|
4b284ecb9b | ||
|
|
746d69c99b | ||
|
|
14f1e53183 | ||
|
|
a734764581 | ||
|
|
0c9a4e6802 | ||
|
|
c44e74f556 | ||
|
|
16e5086381 | ||
|
|
ae3cbddb46 | ||
|
|
7b1ffd3045 | ||
|
|
75610ac5f7 | ||
|
|
8b98eabe53 | ||
|
|
8b7cfc2cf1 | ||
|
|
ddb800af7e | ||
|
|
c514292f56 | ||
|
|
a1b55a619a | ||
|
|
0896766e26 | ||
|
|
68da68007d | ||
|
|
35cdf3d618 | ||
|
|
c646187f11 | ||
|
|
af28bdadf7 | ||
|
|
39c9a566a6 | ||
|
|
b0ab451ae0 | ||
|
|
ac1c648189 | ||
|
|
2939f3c5f8 | ||
|
|
e361b3ab2f | ||
|
|
6081437611 | ||
|
|
d6c8858c6e | ||
|
|
9d5c67d124 | ||
|
|
72406d0525 | ||
|
|
1368df937f | ||
|
|
4668b03fdd | ||
|
|
d612ea1d6d | ||
|
|
36d49108a6 | ||
|
|
cbfa62d79e | ||
|
|
312f6398a9 | ||
|
|
ee431ed33f | ||
|
|
349d8c6645 | ||
|
|
1aecb3dcf5 | ||
|
|
be88b856de | ||
|
|
e610c46517 | ||
|
|
f78b8dad99 | ||
|
|
19e7a08dee | ||
|
|
3a7b28e5fa | ||
|
|
8997481daf | ||
|
|
896832831f | ||
|
|
1978d3268c | ||
|
|
7d9588c779 | ||
|
|
7794fa715c | ||
|
|
1c79b04db3 | ||
|
|
b52570a7ad | ||
|
|
1a0e21943f | ||
|
|
c4fe341972 | ||
|
|
23cc04134a | ||
|
|
9614d9e14e | ||
|
|
7f94ad0fc5 | ||
|
|
443c6b9694 | ||
|
|
5d7039fb9a | ||
|
|
f2de7b7dc6 | ||
|
|
446c96bf65 | ||
|
|
0e420e434d | ||
|
|
be0cdd6c5d | ||
|
|
7111d57d6c | ||
|
|
96850c538a | ||
|
|
96fd23e88b | ||
|
|
6f5fd11673 | ||
|
|
7ea85257af | ||
|
|
4ccec6a4d0 | ||
|
|
c76272e46a | ||
|
|
1559d4e0b5 | ||
|
|
3ab672318e | ||
|
|
890363f65f | ||
|
|
e90b6f8c72 | ||
|
|
684a600f80 | ||
|
|
a45fc62812 | ||
|
|
511bd629c9 | ||
|
|
b0e3083d75 | ||
|
|
493f2a79af | ||
|
|
26e68a0cc8 | ||
|
|
27e4f02f58 | ||
|
|
2e28a2e579 | ||
|
|
abf5c5748d | ||
|
|
8290cda118 | ||
|
|
b9bb464a1a | ||
|
|
0121236923 | ||
|
|
01b1bf2d23 | ||
|
|
dc5a8bd4ed | ||
|
|
337699759e | ||
|
|
b4742ce76d | ||
|
|
2a95bfa0ba | ||
|
|
a11d59cbb5 | ||
|
|
f0cc040b91 | ||
|
|
c55b2aee12 | ||
|
|
1e12976a64 | ||
|
|
165d207f03 | ||
|
|
7e1da9a64b | ||
|
|
23503a41af | ||
|
|
d06ca6b262 | ||
|
|
8e0d099005 | ||
|
|
c89e0eb2fd | ||
|
|
e2f31cb9a0 | ||
|
|
a733e9f48f | ||
|
|
57f1b9f792 | ||
|
|
08452bcc6f | ||
|
|
648e696701 | ||
|
|
aa87b84d0d | ||
|
|
a601daae51 | ||
|
|
0e69bbe5f1 | ||
|
|
c976fe32c8 | ||
|
|
21cd35e7ab | ||
|
|
2cdd46b1ce | ||
|
|
081f8efa29 | ||
|
|
726481d384 | ||
|
|
49ce6661a3 | ||
|
|
aba3ecef75 | ||
|
|
bf40bb0056 | ||
|
|
8e349a2441 | ||
|
|
c9a3ea50df | ||
|
|
1e4b77528c | ||
|
|
e5fe3a6a3d | ||
|
|
27cb95023f | ||
|
|
4402706e5b | ||
|
|
046035907a | ||
|
|
43a3640492 | ||
|
|
30efe3f2e6 | ||
|
|
41bc67d5c3 | ||
|
|
791e62166b | ||
|
|
184466de12 | ||
|
|
f62255e8c3 | ||
|
|
2d1a67d3b0 | ||
|
|
65c7cc8db6 | ||
|
|
5c7f52dc15 | ||
|
|
6d165ea0dd | ||
|
|
c4ce7408a7 | ||
|
|
2cf46aa5a4 | ||
|
|
a84e3f08e2 | ||
|
|
5322002ad9 | ||
|
|
ad8fd73cfe | ||
|
|
347e0e60a5 | ||
|
|
9fea6124da | ||
|
|
50711dae29 | ||
|
|
62dbfd1fa9 | ||
|
|
f20c51b4c7 | ||
|
|
39ba8e7488 | ||
|
|
3cd143d931 | ||
|
|
8ce1020511 | ||
|
|
c00ea07564 | ||
|
|
20ac5a6fca | ||
|
|
3c7ffcc6f8 | ||
|
|
75f92917fc | ||
|
|
ebfb7792fa | ||
|
|
151eb80340 | ||
|
|
c35ddf3249 | ||
|
|
5de267a3aa | ||
|
|
f14316393c | ||
|
|
a49ed4739a | ||
|
|
4a7900cd72 | ||
|
|
6f4b36eb52 | ||
|
|
7fcf1ca778 | ||
|
|
ad28b67e3d | ||
|
|
ff9ceba3c5 | ||
|
|
50d755e823 | ||
|
|
cf08aaaa5d | ||
|
|
ecc540786b | ||
|
|
ee24dc9199 | ||
|
|
d3616700c1 | ||
|
|
e6f9dc64cf | ||
|
|
c818274cec | ||
|
|
8094f8a358 | ||
|
|
1fe250bb13 | ||
|
|
48312c546e | ||
|
|
2ed43dee7c | ||
|
|
2c29d463aa | ||
|
|
916aa9ce90 | ||
|
|
e5c860f7c9 | ||
|
|
b9b24a353b | ||
|
|
45b72cc7bc | ||
|
|
baabce03b6 | ||
|
|
191989a32a | ||
|
|
f1f9d44878 | ||
|
|
ae6182ad24 | ||
|
|
f8bc62ae39 | ||
|
|
e750687701 | ||
|
|
28747a2037 | ||
|
|
3208712529 | ||
|
|
9e94a00898 | ||
|
|
e053e67bd5 | ||
|
|
68768eb65f | ||
|
|
2a7d53c6cd | ||
|
|
213b7b4d57 | ||
|
|
17f5e2eb9d | ||
|
|
a85ca255c1 | ||
|
|
4133026569 | ||
|
|
60de5ce7d5 | ||
|
|
91a4c42013 | ||
|
|
49289f00d9 | ||
|
|
64a279e8f8 | ||
|
|
c4709f40af | ||
|
|
b443e169d5 | ||
|
|
cd55363a3c | ||
|
|
e0054520f8 | ||
|
|
ecb84bfabf | ||
|
|
6b3a74eea5 | ||
|
|
9b81676c6f | ||
|
|
e0844510f6 | ||
|
|
536b562a5b | ||
|
|
c4cb75a89f | ||
|
|
244e21ef2d | ||
|
|
8defd1c276 | ||
|
|
3bd55aea4f | ||
|
|
e76c4bd179 | ||
|
|
2383eca632 | ||
|
|
89f861fda6 | ||
|
|
447126c594 | ||
|
|
a3ad322a0a | ||
|
|
c357625466 | ||
|
|
ee3938da6c | ||
|
|
d86d9e564d | ||
|
|
df467c348a | ||
|
|
581aa3f813 | ||
|
|
5946c4dfa9 | ||
|
|
f3e7eec6dc | ||
|
|
fca54d3027 | ||
|
|
6550c61092 | ||
|
|
d2d8b886bd | ||
|
|
e227e8722b | ||
|
|
b924031ba6 | ||
|
|
0981d133b1 | ||
|
|
3d195f17b2 | ||
|
|
187098145c | ||
|
|
fbd176e68d | ||
|
|
75e48d2e12 | ||
|
|
87bbccedf1 | ||
|
|
3f52dc6afb | ||
|
|
c2421ce65c | ||
|
|
410f9f4e34 | ||
|
|
480dfd8a53 | ||
|
|
ec94c940d1 | ||
|
|
b655cd9a12 | ||
|
|
6bc7acd818 | ||
|
|
3dca4d2ecc | ||
|
|
87d9c543ff | ||
|
|
789f1ca94c | ||
|
|
2b76e56f69 | ||
|
|
2ccf4b068a | ||
|
|
bf315f828f | ||
|
|
5a5bac8596 | ||
|
|
9e42d678ec |
+126
-24
@@ -9,21 +9,26 @@ include $(TOPLVL)/projects/common/Makefile.shared
|
|||||||
|
|
||||||
SHELL = /bin/bash
|
SHELL = /bin/bash
|
||||||
|
|
||||||
|
CURRENT_BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
|
||||||
|
|
||||||
SPECFILE = $(addsuffix .spec, $(PKG_NAME))
|
SPECFILE = $(addsuffix .spec, $(PKG_NAME))
|
||||||
|
|
||||||
SRPMVERS = $(shell [ ! -f $(SPECFILE) ] || rpmspec -D '_vendor clr' --srpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}\n' $(SPECFILE))
|
SRPMVERS = $(shell [ ! -f $(SPECFILE) ] || $(call queryspec,%{NVR}\n,$(SPECFILE)))
|
||||||
SRPMFILE = results/$(SRPMVERS).src.rpm
|
SRPMFILE = results/$(SRPMVERS).src.rpm
|
||||||
|
|
||||||
LATEST_RPMS = $(wildcard rpms/*.rpm)
|
LATEST_RPMS = $(wildcard rpms/*.rpm)
|
||||||
DEBUGINFO_RPM = $(wildcard rpms/*-debuginfo-*.rpm)
|
DEBUGINFO_RPM = $(wildcard rpms/${PKG_NAME}-debuginfo-$(shell $(call queryspec,%{V}-%{R},${SPECFILE})).*.rpm)
|
||||||
RPMS ?= $(LATEST_RPMS)
|
RPMS ?= $(LATEST_RPMS)
|
||||||
|
|
||||||
WITH_SUDO = $(shell cmp /usr/bin/mock /usr/sbin/mock &> /dev/null && echo sudo )
|
WITH_SUDO = sudo
|
||||||
|
|
||||||
# MOCK_CONFIG_VAL is set in Makefile.shared
|
# MOCK_CONFIG_VAL is set in Makefile.shared
|
||||||
MOCK_SMP_FLAGS=$(patsubst -j%, -D_smp_mflags\ -j%,$(filter -j%, $(MAKEFLAGS)))
|
MOCK_SMP_FLAGS=$(patsubst -j%, -D_smp_mflags\ -j%,$(filter -j%, $(MAKEFLAGS)))
|
||||||
MOCK ?= $(WITH_SUDO) /usr/bin/mock -r $(MOCK_CONFIG_VAL) $(MOCK_SMP_FLAGS) $(MOCK_OPTS)
|
MOCK ?= $(WITH_SUDO) /usr/bin/mock -r $(MOCK_CONFIG_VAL) $(MOCK_SMP_FLAGS) $(MOCK_OPTS)
|
||||||
|
|
||||||
|
MOCK_CLEANUP_OPT := $(if $(CLEANUP),--cleanup-after,--no-cleanup-after)
|
||||||
|
AUTOSPEC_CLEANUP_OPT := $(if $(CLEANUP),-C)
|
||||||
|
|
||||||
ifneq ($(wildcard upstream),)
|
ifneq ($(wildcard upstream),)
|
||||||
__allsources := $(notdir $(strip $(shell cat upstream)))
|
__allsources := $(notdir $(strip $(shell cat upstream)))
|
||||||
__missingsources := $(filter-out $(wildcard ${__allsources}), ${__allsources})
|
__missingsources := $(filter-out $(wildcard ${__allsources}), ${__allsources})
|
||||||
@@ -46,7 +51,7 @@ upstream:
|
|||||||
#help spdxcheck: Checks that the package license is a valid SPDX license,
|
#help spdxcheck: Checks that the package license is a valid SPDX license,
|
||||||
#help or that it is in the exceptions list.
|
#help or that it is in the exceptions list.
|
||||||
spdxcheck: $(SPECFILE)
|
spdxcheck: $(SPECFILE)
|
||||||
@for LICENSE in `rpmspec -D '_vendor clr' --srpm -q --queryformat '%{LICENSE}\n' $(SPECFILE)`; do \
|
@for LICENSE in `$(call queryspec,%{LICENSE}\n,$(SPECFILE))`; do \
|
||||||
if ! grep -qx "$$LICENSE" $(TOPLVL)/projects/common/licenses-{spdx,exceptions,extra}; then FAIL=yes; echo "ERROR: License '$$LICENSE' is not an allowed SPDX license ID"; fi; \
|
if ! grep -qx "$$LICENSE" $(TOPLVL)/projects/common/licenses-{spdx,exceptions,extra}; then FAIL=yes; echo "ERROR: License '$$LICENSE' is not an allowed SPDX license ID"; fi; \
|
||||||
done; test -z "$$FAIL"
|
done; test -z "$$FAIL"
|
||||||
|
|
||||||
@@ -69,14 +74,14 @@ mockproper:
|
|||||||
$(MOCK) --clean --uniqueext=$(PKG_NAME)
|
$(MOCK) --clean --uniqueext=$(PKG_NAME)
|
||||||
|
|
||||||
configemail:
|
configemail:
|
||||||
@test -d .git || git init
|
@test -d .git || git init -b main
|
||||||
@$(call subjectprefix,$(PKG_NAME))
|
@$(call subjectprefix,$(PKG_NAME))
|
||||||
@echo -n "Subject prefix email configured to: "
|
@echo -n "Subject prefix email configured to: "
|
||||||
@git config --get format.subjectPrefix
|
@git config --get format.subjectPrefix
|
||||||
|
|
||||||
#help checkblacklist: Verify rpms files to not include banned files for Clear Linux OS.
|
#help checkblacklist: Verify rpms files to not include banned files for Clear Linux OS.
|
||||||
checkblacklist:
|
checkblacklist:
|
||||||
@$(TOPLVL)/projects/common/checkblacklist.sh $(TOPLVL)/projects/common/blacklist results/*.rpm
|
@$(TOPLVL)/projects/common/checkblacklist.sh $(TOPLVL)/projects/common/blacklist $(filter-out ${DEBUGINFO_RPM},${RPMS})
|
||||||
|
|
||||||
prebuild-checks:
|
prebuild-checks:
|
||||||
|
|
||||||
@@ -86,7 +91,7 @@ prebuild-checks:
|
|||||||
#help which creates a src.rpm file from the spec file.
|
#help which creates a src.rpm file from the spec file.
|
||||||
#help Use MOCK_OPTS environment varible to pass down arbitrary mock options.
|
#help Use MOCK_OPTS environment varible to pass down arbitrary mock options.
|
||||||
build: prebuild-checks configemail $(SPECFILE) upstream $(SRPMFILE)
|
build: prebuild-checks configemail $(SPECFILE) upstream $(SRPMFILE)
|
||||||
$(MOCK) $(SRPMFILE) --result=results/ --no-cleanup-after --uniqueext=$(PKG_NAME)
|
$(MOCK) $(SRPMFILE) --result=results/ $(MOCK_CLEANUP_OPT) --uniqueext=$(PKG_NAME)
|
||||||
$(MAKE) link-new-rpms PKG_REPO_DIR="."
|
$(MAKE) link-new-rpms PKG_REPO_DIR="."
|
||||||
@perl $(TOPLVL)/projects/common/logcheck.pl results/build.log
|
@perl $(TOPLVL)/projects/common/logcheck.pl results/build.log
|
||||||
@perl $(TOPLVL)/projects/common/count.pl results/build.log &> testresults
|
@perl $(TOPLVL)/projects/common/count.pl results/build.log &> testresults
|
||||||
@@ -94,7 +99,7 @@ build: prebuild-checks configemail $(SPECFILE) upstream $(SRPMFILE)
|
|||||||
|
|
||||||
#help build-nocheck: Same as 'make build', but do not run the package's test suite.
|
#help build-nocheck: Same as 'make build', but do not run the package's test suite.
|
||||||
build-nocheck: configemail $(SPECFILE) upstream $(SRPMFILE)
|
build-nocheck: configemail $(SPECFILE) upstream $(SRPMFILE)
|
||||||
$(MOCK) $(SRPMFILE) --nocheck --result=results/ --no-cleanup-after --uniqueext=$(PKG_NAME)
|
$(MOCK) $(SRPMFILE) --nocheck --result=results/ $(MOCK_CLEANUP_OPT) --uniqueext=$(PKG_NAME)
|
||||||
$(MAKE) link-new-rpms PKG_REPO_DIR="."
|
$(MAKE) link-new-rpms PKG_REPO_DIR="."
|
||||||
@perl $(TOPLVL)/projects/common/logcheck.pl results/build.log
|
@perl $(TOPLVL)/projects/common/logcheck.pl results/build.log
|
||||||
@perl $(TOPLVL)/projects/common/count.pl results/build.log &> testresults
|
@perl $(TOPLVL)/projects/common/count.pl results/build.log &> testresults
|
||||||
@@ -115,7 +120,7 @@ shell:
|
|||||||
.PHONY: $(SRPMFILE)
|
.PHONY: $(SRPMFILE)
|
||||||
$(SRPMFILE): $(SPECFILE) $(__allsources) localreponotice clean-old-content
|
$(SRPMFILE): $(SPECFILE) $(__allsources) localreponotice clean-old-content
|
||||||
@$(MAKE) spdxcheck
|
@$(MAKE) spdxcheck
|
||||||
$(MOCK) --buildsrpm --source=./ --spec=$(SPECFILE) --result=results/ --no-cleanup-after --uniqueext=$(PKG_NAME)
|
$(MOCK) --buildsrpm --source=./ --spec=$(SPECFILE) --result=results/ $(MOCK_CLEANUP_OPT) --uniqueext=$(PKG_NAME)
|
||||||
mv results/root.log results/srpm-root.log
|
mv results/root.log results/srpm-root.log
|
||||||
mv results/build.log results/srpm-build.log
|
mv results/build.log results/srpm-build.log
|
||||||
|
|
||||||
@@ -127,7 +132,7 @@ $(SRPMFILE): $(SPECFILE) $(__allsources) localreponotice clean-old-content
|
|||||||
# initialized locally, or if the remote contains no commits.
|
# initialized locally, or if the remote contains no commits.
|
||||||
pullrebase:
|
pullrebase:
|
||||||
@if [ -z "$$SKIP_GIT" ] && [ -e .git ]; then \
|
@if [ -z "$$SKIP_GIT" ] && [ -e .git ]; then \
|
||||||
if ! git rev-parse --verify --quiet origin/master > /dev/null; then \
|
if ! git rev-parse --verify --quiet origin/main > /dev/null; then \
|
||||||
echo "Remote not yet initialized. Continuing."; \
|
echo "Remote not yet initialized. Continuing."; \
|
||||||
exit 0; \
|
exit 0; \
|
||||||
fi; \
|
fi; \
|
||||||
@@ -141,7 +146,7 @@ pullrebase:
|
|||||||
echo "Current branch up-to-date. Continuing."; \
|
echo "Current branch up-to-date. Continuing."; \
|
||||||
exit 0; \
|
exit 0; \
|
||||||
fi; \
|
fi; \
|
||||||
echo "Rebasing to origin/master"; \
|
echo "Rebasing to origin/main"; \
|
||||||
if git status --porcelain | grep -q '^.[^?]'; \
|
if git status --porcelain | grep -q '^.[^?]'; \
|
||||||
then \
|
then \
|
||||||
git stash save; \
|
git stash save; \
|
||||||
@@ -177,7 +182,7 @@ autospec: preautospec-checks pullrebase localreponotice clean-old-content
|
|||||||
$${SETVERSION:+ --version $${SETVERSION}} \
|
$${SETVERSION:+ --version $${SETVERSION}} \
|
||||||
$${NON_INTERACTIVE:+ --non_interactive} \
|
$${NON_INTERACTIVE:+ --non_interactive} \
|
||||||
$${SKIP_GIT:+ --skip-git} \
|
$${SKIP_GIT:+ --skip-git} \
|
||||||
$${CLEANUP:+ -C} \
|
$(AUTOSPEC_CLEANUP_OPT) \
|
||||||
$(firstword $(NEWURL) $(URL));
|
$(firstword $(NEWURL) $(URL));
|
||||||
$(MAKE) link-new-rpms PKG_REPO_DIR="."
|
$(MAKE) link-new-rpms PKG_REPO_DIR="."
|
||||||
@$(MAKE) spdxcheck
|
@$(MAKE) spdxcheck
|
||||||
@@ -212,17 +217,27 @@ autospecnostate:
|
|||||||
scanlicense:
|
scanlicense:
|
||||||
python3 $(TOPLVL)/projects/autospec/autospec/autospec.py -t . --config $(AUTOSPEC_CONF) --license-only $(firstword $(NEWURL) $(URL)) --name $(PKG_NAME)
|
python3 $(TOPLVL)/projects/autospec/autospec/autospec.py -t . --config $(AUTOSPEC_CONF) --license-only $(firstword $(NEWURL) $(URL)) --name $(PKG_NAME)
|
||||||
|
|
||||||
#help bump: Increments the release file by one.
|
#help bump: Increments the package release number by one and commits the result. If
|
||||||
|
#help the variable BUMP_MSG is set, its value is used as the commit summary.
|
||||||
|
#help Otherwise a generic commit summary is used.
|
||||||
bump:
|
bump:
|
||||||
git pull --rebase
|
git pull --rebase
|
||||||
$(MAKE) bumpnogit
|
$(MAKE) bumpnogit
|
||||||
git add $(SPECFILE) release
|
git add $(SPECFILE) release
|
||||||
git commit -a -m "version bump from $(shell rpmspec -D '_vendor clr' --srpm -q --queryformat '%{VERSION}-%{RELEASE}\n' $(SPECFILE)) to `rpmspec -D '_vendor clr' --srpm -q --queryformat '%{VERSION}-%{RELEASE}\n' $(SPECFILE)`"
|
fromver=$(shell $(call queryspec,%{VERSION}-%{RELEASE}\n,$(SPECFILE))); \
|
||||||
|
tover=`$(call queryspec,%{VERSION}-%{RELEASE}\n,$(SPECFILE))`; \
|
||||||
|
if [[ -n "$(BUMP_MSG)" ]]; then \
|
||||||
|
bumpmsg="$(BUMP_MSG)"; \
|
||||||
|
else \
|
||||||
|
bumpmsg="version bump from $$fromver to $$tover"; \
|
||||||
|
fi; \
|
||||||
|
git commit -a -m "$$bumpmsg"
|
||||||
|
|
||||||
#help bumpnogit: Increments the release file by one and does not commit changes.
|
#help bumpnogit: Increments the package release number by one and does not commit
|
||||||
|
#help changes.
|
||||||
bumpnogit:
|
bumpnogit:
|
||||||
@$(MAKE) spdxcheck
|
@$(MAKE) spdxcheck
|
||||||
oldrel=$(shell rpmspec -D '_vendor clr' --srpm -q --queryformat '%{RELEASE}\n' $(SPECFILE)); \
|
oldrel=$(shell $(call queryspec,%{RELEASE}\n,$(SPECFILE))); \
|
||||||
newrel=$$(($$oldrel + 1)); \
|
newrel=$$(($$oldrel + 1)); \
|
||||||
sed -i "s/^\(Release[[:blank:]]*:[[:blank:]]*\)$$oldrel$$/\1$$newrel/" $(SPECFILE); \
|
sed -i "s/^\(Release[[:blank:]]*:[[:blank:]]*\)$$oldrel$$/\1$$newrel/" $(SPECFILE); \
|
||||||
echo "$$newrel" > release;
|
echo "$$newrel" > release;
|
||||||
@@ -232,7 +247,7 @@ $(__missingsources): sources
|
|||||||
# First argument is a Clear Linux build number (e.g. 22000)
|
# First argument is a Clear Linux build number (e.g. 22000)
|
||||||
define fetch-from-srpm
|
define fetch-from-srpm
|
||||||
tmp=$$(mktemp -d -p "."); \
|
tmp=$$(mktemp -d -p "."); \
|
||||||
srpm=$$(rpmspec --srpm -q --qf "%{NVR}.src.rpm\n" $(SPECFILE)); \
|
srpm=$$($(call queryspec,%{NVR}.src.rpm\n,$(SPECFILE))); \
|
||||||
if cd "$$tmp" && ! curl -s -S -f -L -O $(MIRROR_CURL_OPTS) $(DOWNLOAD_MIRROR)/releases/$(1)/clear/source/SRPMS/$$srpm; then \
|
if cd "$$tmp" && ! curl -s -S -f -L -O $(MIRROR_CURL_OPTS) $(DOWNLOAD_MIRROR)/releases/$(1)/clear/source/SRPMS/$$srpm; then \
|
||||||
echo "Failed to download $$srpm from Clear Linux release $(1)." >&2; \
|
echo "Failed to download $$srpm from Clear Linux release $(1)." >&2; \
|
||||||
cd .. && rm -rf "$$tmp"; \
|
cd .. && rm -rf "$$tmp"; \
|
||||||
@@ -240,7 +255,7 @@ define fetch-from-srpm
|
|||||||
fi; \
|
fi; \
|
||||||
rpm2cpio $$srpm | cpio --quiet -id; \
|
rpm2cpio $$srpm | cpio --quiet -id; \
|
||||||
cd ..; \
|
cd ..; \
|
||||||
srclist=$$(rpmspec --srpm -q --qf "[%{SOURCE}\n]" $(SPECFILE)); \
|
srclist=$$($(call queryspec,[%{SOURCE}\n],$(SPECFILE))); \
|
||||||
for s in $$srclist; do \
|
for s in $$srclist; do \
|
||||||
if ! mv --no-clobber "$$tmp"/$$s .; then \
|
if ! mv --no-clobber "$$tmp"/$$s .; then \
|
||||||
echo "Missing source file \"$$s\" in $${srpm}." >&2; \
|
echo "Missing source file \"$$s\" in $${srpm}." >&2; \
|
||||||
@@ -279,7 +294,7 @@ else
|
|||||||
sources:
|
sources:
|
||||||
@$(MAKE) generateupstream; \
|
@$(MAKE) generateupstream; \
|
||||||
[ $$? -eq 0 ] && exit 0; \
|
[ $$? -eq 0 ] && exit 0; \
|
||||||
nvr="$$(rpmspec --srpm -q --qf '%{NAME}\t%{VERSION}\t%{RELEASE}\n' $(SPECFILE))"; \
|
nvr="$$($(call queryspec,%{NAME}\t%{VERSION}\t%{RELEASE}\n,$(SPECFILE)))"; \
|
||||||
git -C $(TOPLVL)/projects/common fetch --tags >/dev/null 2>&1; \
|
git -C $(TOPLVL)/projects/common fetch --tags >/dev/null 2>&1; \
|
||||||
latest_builds=$$(git -C $(TOPLVL)/projects/common tag -l | sort -rn); \
|
latest_builds=$$(git -C $(TOPLVL)/projects/common tag -l | sort -rn); \
|
||||||
for b in $$latest_builds; do \
|
for b in $$latest_builds; do \
|
||||||
@@ -305,8 +320,8 @@ prekoji-checks:
|
|||||||
koji: prekoji-checks kojidef
|
koji: prekoji-checks kojidef
|
||||||
@$(MAKE) spdxcheck
|
@$(MAKE) spdxcheck
|
||||||
@$(MAKE) checkblacklist
|
@$(MAKE) checkblacklist
|
||||||
@if [ "$$(git rev-parse --abbrev-ref HEAD)" != "master" ]; then \
|
@if [ "$(CURRENT_BRANCH)" != "main" ]; then \
|
||||||
echo "Error: Must be on the master branch to submit to koji" >&2; \
|
echo "Error: Must be on the \"main\" branch to submit to koji" >&2; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
if ! git diff --quiet HEAD -- ${SPECFILE}; then \
|
if ! git diff --quiet HEAD -- ${SPECFILE}; then \
|
||||||
@@ -314,7 +329,7 @@ koji: prekoji-checks kojidef
|
|||||||
exit 1; \
|
exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
git fetch; \
|
git fetch; \
|
||||||
if git rev-parse --verify --quiet origin/master >/dev/null; then \
|
if git rev-parse --verify --quiet origin/main >/dev/null; then \
|
||||||
git pull --rebase; \
|
git pull --rebase; \
|
||||||
fi; \
|
fi; \
|
||||||
if git ls-remote --tags --exit-code origin $(SRPMVERS) >/dev/null; then \
|
if git ls-remote --tags --exit-code origin $(SRPMVERS) >/dev/null; then \
|
||||||
@@ -322,8 +337,15 @@ koji: prekoji-checks kojidef
|
|||||||
exit 1; \
|
exit 1; \
|
||||||
fi
|
fi
|
||||||
git tag $(SRPMVERS)
|
git tag $(SRPMVERS)
|
||||||
git push origin master refs/tags/$(SRPMVERS)
|
git push origin $(CURRENT_BRANCH):main refs/tags/$(SRPMVERS)
|
||||||
$(KOJI_CMD) build $$KOJI_NOWAIT $(KOJI_TAG) $(PKG_BASE_URL)/$(PKG_NAME)?#$(SRPMVERS)
|
$(KOJI_CMD) build $$KOJI_NOWAIT $(KOJI_TAG) $(PKG_BASE_URL)/$(PKG_NAME)?#$(SRPMVERS)
|
||||||
|
@if [ -f bump.list ]; then \
|
||||||
|
$(MAKE) koji-waitrepo; \
|
||||||
|
msg="Bump for $(shell $(call queryspec,%{NAME} %{VERSION}\n,$(SPECFILE)))"; \
|
||||||
|
for bump_dep in $$(cat bump.list); do \
|
||||||
|
(cd ../"$$bump_dep" && $(MAKE) bump BUMP_MSG="$$msg" && $(MAKE) koji-nowait) \
|
||||||
|
done \
|
||||||
|
fi
|
||||||
|
|
||||||
#help rekoji: In case a previous 'make koji' failed, trigger a rebuild for the
|
#help rekoji: In case a previous 'make koji' failed, trigger a rebuild for the
|
||||||
#help same tag.
|
#help same tag.
|
||||||
@@ -347,6 +369,44 @@ koji-nowait:
|
|||||||
rekoji-nowait:
|
rekoji-nowait:
|
||||||
$(MAKE) KOJI_NOWAIT="--nowait --background" rekoji
|
$(MAKE) KOJI_NOWAIT="--nowait --background" rekoji
|
||||||
|
|
||||||
|
#help koji-waitrepo: Wait for current package changes to become available in the
|
||||||
|
#help koji repo. If PKG_NAME is overridden on the command line, wait on changes for
|
||||||
|
#help that package instead. This capability allows the developer to "chain" builds
|
||||||
|
#help for submission to koji according to the state of the package repos on their
|
||||||
|
#help system. Additional options for `koji wait-repo` can be specified via the
|
||||||
|
#help WAIT_OPTS variable.
|
||||||
|
koji-waitrepo: kojidef
|
||||||
|
@if [[ ! "${PKG_NAME}" =~ ^[A-Za-z0-9._+-]+$$ ]]; then \
|
||||||
|
echo "[ERROR] Invalid package name \"${PKG_NAME}\""; \
|
||||||
|
exit 1; \
|
||||||
|
fi; \
|
||||||
|
if [[ "${PKG_NAME}" != "$(notdir ${CURDIR})" ]]; then \
|
||||||
|
$(MAKE) -s -C ../${PKG_NAME} koji-waitrepo; \
|
||||||
|
else \
|
||||||
|
koji wait-repo --build=${SRPMVERS} ${WAIT_OPTS} ${KOJI_TAG}-build; \
|
||||||
|
fi
|
||||||
|
|
||||||
|
update-versions:
|
||||||
|
|
||||||
|
.PHONY: update
|
||||||
|
#help update: Tries to run update.sh if it exists. update.sh is expected
|
||||||
|
#help to check for version updates, exit (successfully) if none are found
|
||||||
|
#help or update the package and push the update to koji.
|
||||||
|
#help If no update.sh exists, update the version, autospec and push the
|
||||||
|
#help update to koji (bumping the bump.list if found).
|
||||||
|
update:
|
||||||
|
@if [ -f update.sh ]; then \
|
||||||
|
./update.sh; \
|
||||||
|
else \
|
||||||
|
$(MAKE) -s update-versions && \
|
||||||
|
$(MAKE) autospec CLEANUP=1 && \
|
||||||
|
if [ -f bump.list ]; then \
|
||||||
|
$(MAKE) -s koji; \
|
||||||
|
else \
|
||||||
|
$(MAKE) -s koji-nowait; \
|
||||||
|
fi \
|
||||||
|
fi \
|
||||||
|
|
||||||
logcheck:
|
logcheck:
|
||||||
@perl $(TOPLVL)/projects/common/logcheck.pl results/build.log
|
@perl $(TOPLVL)/projects/common/logcheck.pl results/build.log
|
||||||
|
|
||||||
@@ -449,6 +509,10 @@ install-debuginfo-local:
|
|||||||
sudo chown -R dbginfo:dbginfo "$$d"; \
|
sudo chown -R dbginfo:dbginfo "$$d"; \
|
||||||
sudo cp -a "$$d" $$dest/; \
|
sudo cp -a "$$d" $$dest/; \
|
||||||
done; \
|
done; \
|
||||||
|
find $$tmpdir/usr/share/debug/.build-id -type l 2> /dev/null | while read -r link; do \
|
||||||
|
new_target=$$(readlink $$link | sed 's|/usr/share/debug|/usr/lib/debug|'); \
|
||||||
|
sudo ln -sf "$$new_target" "$$link"; \
|
||||||
|
done; \
|
||||||
find $$tmpdir/usr/share/debug/ -mindepth 1 -maxdepth 1 -regextype awk -regex '.*/(.build-id|boot|lib|sbin|usr)$$' 2> /dev/null | while read -r d; do \
|
find $$tmpdir/usr/share/debug/ -mindepth 1 -maxdepth 1 -regextype awk -regex '.*/(.build-id|boot|lib|sbin|usr)$$' 2> /dev/null | while read -r d; do \
|
||||||
sudo chown -R dbginfo:dbginfo "$$d"; \
|
sudo chown -R dbginfo:dbginfo "$$d"; \
|
||||||
sudo cp -a "$$d" $$dest/; \
|
sudo cp -a "$$d" $$dest/; \
|
||||||
@@ -498,7 +562,7 @@ generateupstream:
|
|||||||
exit 1; \
|
exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
fi; \
|
fi; \
|
||||||
echo $$(sha1sum $$filename | cut -d\ -f1)/$$filename >> upstream; \
|
echo $$(sha1sum -- $$filename | cut -d\ -f1)/$$filename >> upstream; \
|
||||||
done
|
done
|
||||||
@rm -f upstream.bak
|
@rm -f upstream.bak
|
||||||
@cat upstream
|
@cat upstream
|
||||||
@@ -516,6 +580,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
|
||||||
|
|
||||||
|
|||||||
@@ -47,6 +47,14 @@ define subjectprefix
|
|||||||
git config format.subjectPrefix "PATCH $(1)"
|
git config format.subjectPrefix "PATCH $(1)"
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
# Query the spec file (or spec files) listed in argument 2 for the field(s)
|
||||||
|
# specified in argument 1. The fields are derived from the source rpm(s)
|
||||||
|
# generated by the specs. Queried fields that are declared within the spec file
|
||||||
|
# must be declared above the first %files section.
|
||||||
|
define queryspec
|
||||||
|
rpmspec --define='_vendor clr' --srpm --query --queryformat='$(1)' <(sed -n '1,/%files/p' $(2))
|
||||||
|
endef
|
||||||
|
|
||||||
# If GITOLITE_BASE_URL is defined, sets a repo's push URL for that gitolite
|
# If GITOLITE_BASE_URL is defined, sets a repo's push URL for that gitolite
|
||||||
# instance. Accepts one argument: the path to the repo on gitolite. If
|
# instance. Accepts one argument: the path to the repo on gitolite. If
|
||||||
# GITOLITE_BASE_URL is not defined, no push URL is set -- the shell's null
|
# GITOLITE_BASE_URL is not defined, no push URL is set -- the shell's null
|
||||||
|
|||||||
+25
-20
@@ -31,11 +31,13 @@ $(proj_PKGS):
|
|||||||
@proj=$(patsubst proj_%,%,$@); \
|
@proj=$(patsubst proj_%,%,$@); \
|
||||||
[ -d projects/$$proj ] || ( \
|
[ -d projects/$$proj ] || ( \
|
||||||
echo "Checking out: projects/$$proj"; \
|
echo "Checking out: projects/$$proj"; \
|
||||||
git clone $(PRJ_BASE_URL)/$$proj projects/$$proj; \
|
|
||||||
cd projects/$$proj; \
|
|
||||||
if [ "$$proj" = "autospec" ] ; then \
|
if [ "$$proj" = "autospec" ] ; then \
|
||||||
git remote set-url --push origin git@github.com:clearlinux/autospec.git; \
|
git clone https://github.com/clearlinux/autospec.git projects/autospec; \
|
||||||
else \
|
else \
|
||||||
|
git clone $(PRJ_BASE_URL)/$$proj projects/$$proj; \
|
||||||
|
fi; \
|
||||||
|
cd projects/$$proj; \
|
||||||
|
if [ "$$proj" != "autospec" ] ; then \
|
||||||
$(call gitoliteurl,projects/$$proj); \
|
$(call gitoliteurl,projects/$$proj); \
|
||||||
fi; \
|
fi; \
|
||||||
$(call subjectprefix,$$proj); \
|
$(call subjectprefix,$$proj); \
|
||||||
@@ -66,19 +68,22 @@ ${PULL_PKGS}:
|
|||||||
if [ ! -d "$$p/.git" ]; then echo "Nothing to pull for $$p - $$p/.git missing"; exit 0; fi; \
|
if [ ! -d "$$p/.git" ]; then echo "Nothing to pull for $$p - $$p/.git missing"; exit 0; fi; \
|
||||||
cd "$$p" ; \
|
cd "$$p" ; \
|
||||||
if git remote | grep origin >/dev/null 2>&1; then \
|
if git remote | grep origin >/dev/null 2>&1; then \
|
||||||
O=$$(git rev-parse origin/master 2>/dev/null); \
|
case "$$p" in \
|
||||||
|
("projects/"*) BRANCH=master ;; \
|
||||||
|
("packages/"*) BRANCH=main ;; \
|
||||||
|
(*) BRANCH=master ;; \
|
||||||
|
esac; \
|
||||||
|
O=$$(git rev-parse origin/"$$BRANCH" 2>/dev/null); \
|
||||||
git fetch --tags origin >/dev/null 2>&1; \
|
git fetch --tags origin >/dev/null 2>&1; \
|
||||||
N=$$(git rev-parse origin/master); \
|
N=$$(git rev-parse origin/"$$BRANCH"); \
|
||||||
if [ "$$O" != "$$N" ]; then \
|
if [ "$$O" != "$$N" ]; then \
|
||||||
echo "Updating: $$p"; \
|
echo "Updating: $$p"; \
|
||||||
if ! git merge --ff-only origin/master 2>/dev/null; then \
|
if ! git merge --ff-only origin/"$$BRANCH" 2>/dev/null; then \
|
||||||
echo "$$p: Cannot fast-forward $$(git rev-parse --abbrev-ref HEAD) to origin/master" ; \
|
echo "$$p: Cannot fast-forward $$(git rev-parse --abbrev-ref HEAD) to origin/$$BRANCH" ; \
|
||||||
fi ; \
|
fi ; \
|
||||||
git --no-pager log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit $$O..$$N; echo; \
|
git --no-pager log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit $$O..$$N; echo; \
|
||||||
fi ; \
|
fi ; \
|
||||||
if [ "$$p" = "projects/autospec" ] ; then \
|
if [ "$$p" != "projects/autospec" ] ; then \
|
||||||
git remote set-url --push origin git@github.com:clearlinux/autospec.git; \
|
|
||||||
else \
|
|
||||||
$(call gitoliteurl,$$p); \
|
$(call gitoliteurl,$$p); \
|
||||||
fi ; \
|
fi ; \
|
||||||
else \
|
else \
|
||||||
@@ -159,32 +164,32 @@ status: $(PACKAGES_FILE) $(addprefix packages/,$(PKGS_LOCAL))
|
|||||||
if [ -d "$$p/.git" ] && [ -n "$$(git -C $$p status -uno --porcelain)" ]; then echo "Uncommitted changes in $$p:"; git -C "$$p" status --short; fi ;\
|
if [ -d "$$p/.git" ] && [ -n "$$(git -C $$p status -uno --porcelain)" ]; then echo "Uncommitted changes in $$p:"; git -C "$$p" status --short; fi ;\
|
||||||
done
|
done
|
||||||
|
|
||||||
#help diff: Runs git diff for all package repos and displays the output using
|
#help diff: Runs git diff for all package repos and displays the diffstat using
|
||||||
#help diffstat. Requires that diffstat is installed.
|
#help the --stat flag.
|
||||||
diff: $(PACKAGES_FILE) $(addprefix packages/,$(PKGS_LOCAL))
|
diff: $(PACKAGES_FILE) $(addprefix packages/,$(PKGS_LOCAL))
|
||||||
@for p in projects/common $(addprefix packages/,$(PKGS_LOCAL)); do \
|
@for p in projects/common $(addprefix packages/,$(PKGS_LOCAL)); do \
|
||||||
(cd $$p ; git status | grep -q 'nothing to commit, working [^ ]* clean' || (echo "Uncommitted changes in: $$p"; git diff |diffstat -p1)) ;\
|
(cd $$p; git status --porcelain | grep -vq '^?? ' && (echo "Uncommitted changes in: $$p"; git --no-pager diff --stat); :) ;\
|
||||||
done
|
done
|
||||||
|
|
||||||
#help log: Run git log origin/master..HEAD for all package repos, thus
|
#help log: Run git log origin/main..HEAD for all package repos, thus
|
||||||
#help displaying any committed but unpushed changes.
|
#help displaying any committed but unpushed changes.
|
||||||
log: $(PACKAGES_FILE) $(addprefix packages/,$(PKGS_LOCAL))
|
log: $(PACKAGES_FILE) $(addprefix packages/,$(PKGS_LOCAL))
|
||||||
@for p in projects/common $(addprefix packages/,$(PKGS_LOCAL)); do \
|
@for p in projects/common $(addprefix packages/,$(PKGS_LOCAL)); do \
|
||||||
( cd $$p; if [ "$$(git rev-parse --verify HEAD)" != "$$(git rev-parse --verify origin/master)" ] ; then \
|
( cd $$p; if [ -n "$$(git rev-list origin/main..HEAD)" ] ; then \
|
||||||
echo $$p ; git --no-pager log --pretty="format:%s" origin/master..HEAD ; echo ; echo;\
|
echo $$p ; git --no-pager log --pretty="format:%s" origin/main..HEAD ; echo ; echo;\
|
||||||
fi ; ) \
|
fi ; ) \
|
||||||
done
|
done
|
||||||
|
|
||||||
#help versions: Displays the version of each package in the ./packages tree.
|
#help versions: Displays the version of each package in the ./packages tree.
|
||||||
versions: $(PACKAGES_FILE) $(addprefix packages/,$(PKGS_LOCAL))
|
versions: $(PACKAGES_FILE) $(addprefix packages/,$(PKGS_LOCAL))
|
||||||
@for p in $(addprefix packages/,$(PKGS_LOCAL)); do \
|
@for p in $(addprefix packages/,$(PKGS_LOCAL)); do \
|
||||||
(cd $$p; if ls *.spec &> /dev/null; then rpmspec -q --queryformat '%{NAME}-%{VERSION}\n' *.spec | head -n1; fi) ;\
|
(cd $$p; if ls *.spec &> /dev/null; then $(call queryspec,%{NAME}-%{VERSION}\n,*.spec) | head -n1; fi) ;\
|
||||||
done
|
done
|
||||||
|
|
||||||
#help releases: Like 'make versions', but also displays the release number.
|
#help releases: Like 'make versions', but also displays the release number.
|
||||||
releases: $(PACKAGES_FILE) $(addprefix packages/,$(PKGS_LOCAL))
|
releases: $(PACKAGES_FILE) $(addprefix packages/,$(PKGS_LOCAL))
|
||||||
@for p in $(addprefix packages/,$(PKGS_LOCAL)); do \
|
@for p in $(addprefix packages/,$(PKGS_LOCAL)); do \
|
||||||
(cd $$p; if ls *.spec &> /dev/null; then rpmspec -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}\n' *.spec | head -n1; fi) ;\
|
(cd $$p; if ls *.spec &> /dev/null; then $(call queryspec,%{NVR}\n,*.spec) | head -n1; fi) ;\
|
||||||
done
|
done
|
||||||
|
|
||||||
#help provides: Is used to find out which RPM package provides some file.
|
#help provides: Is used to find out which RPM package provides some file.
|
||||||
@@ -211,7 +216,7 @@ autospecnew: preautospecnew-checks localreponotice
|
|||||||
mkdir -p $(TOPLVL)/packages/$(NAME); \
|
mkdir -p $(TOPLVL)/packages/$(NAME); \
|
||||||
( \
|
( \
|
||||||
cd $(TOPLVL)/packages/$(NAME); \
|
cd $(TOPLVL)/packages/$(NAME); \
|
||||||
git init; \
|
git init -b main; \
|
||||||
git remote add origin $(PKG_BASE_URL)/$(NAME); \
|
git remote add origin $(PKG_BASE_URL)/$(NAME); \
|
||||||
$(call gitoliteurl,packages/$(NAME)); \
|
$(call gitoliteurl,packages/$(NAME)); \
|
||||||
$(call subjectprefix,$(NAME)); \
|
$(call subjectprefix,$(NAME)); \
|
||||||
@@ -262,7 +267,7 @@ autospecnewgo: preautospecnew-checks localreponotice
|
|||||||
mkdir -p $(TOPLVL)/packages/$(NAME); \
|
mkdir -p $(TOPLVL)/packages/$(NAME); \
|
||||||
( \
|
( \
|
||||||
cd $(TOPLVL)/packages/$(NAME); \
|
cd $(TOPLVL)/packages/$(NAME); \
|
||||||
git init; \
|
git init -b main; \
|
||||||
git remote add origin $(PKG_BASE_URL)/$(NAME); \
|
git remote add origin $(PKG_BASE_URL)/$(NAME); \
|
||||||
$(call gitoliteurl,packages/$(NAME)); \
|
$(call gitoliteurl,packages/$(NAME)); \
|
||||||
$(call subjectprefix,$(NAME)); \
|
$(call subjectprefix,$(NAME)); \
|
||||||
|
|||||||
Binary file not shown.
@@ -23,7 +23,7 @@ Download the [user setup](user-setup.sh) script and run it on your Clear Linux
|
|||||||
system as an unprivileged user.
|
system as an unprivileged user.
|
||||||
|
|
||||||
```
|
```
|
||||||
$ curl -O https://raw.githubusercontent.com/clearlinux/common/master/user-setup.sh
|
$ curl -O https://raw.githubusercontent.com/clearlinux/common/main/user-setup.sh
|
||||||
$ chmod +x user-setup.sh
|
$ chmod +x user-setup.sh
|
||||||
$ ./user-setup.sh
|
$ ./user-setup.sh
|
||||||
```
|
```
|
||||||
|
|||||||
+2
-2
@@ -4,14 +4,14 @@ config_opts['legal_host_arches'] = ('x86_64',)
|
|||||||
config_opts['chroot_setup_cmd'] = 'groupinstall build srpm-build'
|
config_opts['chroot_setup_cmd'] = 'groupinstall build srpm-build'
|
||||||
config_opts['dist'] = 'clear' # only useful for --resultdir variable subst
|
config_opts['dist'] = 'clear' # only useful for --resultdir variable subst
|
||||||
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
|
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']['ccache_enable'] = False
|
||||||
config_opts['plugin_conf']['root_cache_opts']['compress_program'] = 'zstd -5'
|
config_opts['plugin_conf']['root_cache_opts']['compress_program'] = 'zstd -5'
|
||||||
config_opts['plugin_conf']['root_cache_opts']['extension'] = '.zst'
|
config_opts['plugin_conf']['root_cache_opts']['extension'] = '.zst'
|
||||||
config_opts['releasever'] = 'clear'
|
config_opts['releasever'] = 'clear'
|
||||||
config_opts['package_manager'] = 'dnf'
|
config_opts['package_manager'] = 'dnf'
|
||||||
config_opts['chrootgroup'] = 'mockbuild'
|
config_opts['chrootgroup'] = 'mockbuild'
|
||||||
config_opts['use_bootstrap_container'] = False
|
config_opts['use_bootstrap'] = False
|
||||||
|
|
||||||
|
|
||||||
config_opts['dnf.conf'] = """
|
config_opts['dnf.conf'] = """
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ AMDPLPA
|
|||||||
AML
|
AML
|
||||||
AMPAS
|
AMPAS
|
||||||
ANTLR-PD
|
ANTLR-PD
|
||||||
|
ANTLR-PD-fallback
|
||||||
APAFML
|
APAFML
|
||||||
APL-1.0
|
APL-1.0
|
||||||
APSL-1.0
|
APSL-1.0
|
||||||
@@ -30,6 +31,8 @@ Aladdin
|
|||||||
Apache-1.0
|
Apache-1.0
|
||||||
Apache-1.1
|
Apache-1.1
|
||||||
Apache-2.0
|
Apache-2.0
|
||||||
|
App-s2p
|
||||||
|
Arphic-1999
|
||||||
Artistic-1.0
|
Artistic-1.0
|
||||||
Artistic-1.0-Perl
|
Artistic-1.0-Perl
|
||||||
Artistic-1.0-cl8
|
Artistic-1.0-cl8
|
||||||
@@ -39,62 +42,92 @@ BSD-2-Clause
|
|||||||
BSD-2-Clause-FreeBSD
|
BSD-2-Clause-FreeBSD
|
||||||
BSD-2-Clause-NetBSD
|
BSD-2-Clause-NetBSD
|
||||||
BSD-2-Clause-Patent
|
BSD-2-Clause-Patent
|
||||||
|
BSD-2-Clause-Views
|
||||||
BSD-3-Clause
|
BSD-3-Clause
|
||||||
BSD-3-Clause-Attribution
|
BSD-3-Clause-Attribution
|
||||||
BSD-3-Clause-Clear
|
BSD-3-Clause-Clear
|
||||||
BSD-3-Clause-LBNL
|
BSD-3-Clause-LBNL
|
||||||
|
BSD-3-Clause-Modification
|
||||||
|
BSD-3-Clause-No-Military-License
|
||||||
BSD-3-Clause-No-Nuclear-License
|
BSD-3-Clause-No-Nuclear-License
|
||||||
BSD-3-Clause-No-Nuclear-License-2014
|
BSD-3-Clause-No-Nuclear-License-2014
|
||||||
BSD-3-Clause-No-Nuclear-Warranty
|
BSD-3-Clause-No-Nuclear-Warranty
|
||||||
BSD-3-Clause-Open-MPI
|
BSD-3-Clause-Open-MPI
|
||||||
BSD-4-Clause
|
BSD-4-Clause
|
||||||
|
BSD-4-Clause-Shortened
|
||||||
BSD-4-Clause-UC
|
BSD-4-Clause-UC
|
||||||
BSD-Protection
|
BSD-Protection
|
||||||
BSD-Source-Code
|
BSD-Source-Code
|
||||||
BSL-1.0
|
BSL-1.0
|
||||||
|
BUSL-1.1
|
||||||
|
Baekmuk
|
||||||
Bahyph
|
Bahyph
|
||||||
Barr
|
Barr
|
||||||
Beerware
|
Beerware
|
||||||
BitTorrent-1.0
|
BitTorrent-1.0
|
||||||
BitTorrent-1.1
|
BitTorrent-1.1
|
||||||
|
Bitstream-Vera
|
||||||
BlueOak-1.0.0
|
BlueOak-1.0.0
|
||||||
Borceux
|
Borceux
|
||||||
|
C-UDA-1.0
|
||||||
|
CAL-1.0
|
||||||
|
CAL-1.0-Combined-Work-Exception
|
||||||
CATOSL-1.1
|
CATOSL-1.1
|
||||||
CC-BY-1.0
|
CC-BY-1.0
|
||||||
CC-BY-2.0
|
CC-BY-2.0
|
||||||
CC-BY-2.5
|
CC-BY-2.5
|
||||||
|
CC-BY-2.5-AU
|
||||||
CC-BY-3.0
|
CC-BY-3.0
|
||||||
|
CC-BY-3.0-AT
|
||||||
|
CC-BY-3.0-DE
|
||||||
|
CC-BY-3.0-IGO
|
||||||
|
CC-BY-3.0-NL
|
||||||
|
CC-BY-3.0-US
|
||||||
CC-BY-4.0
|
CC-BY-4.0
|
||||||
CC-BY-NC-1.0
|
CC-BY-NC-1.0
|
||||||
CC-BY-NC-2.0
|
CC-BY-NC-2.0
|
||||||
CC-BY-NC-2.5
|
CC-BY-NC-2.5
|
||||||
CC-BY-NC-3.0
|
CC-BY-NC-3.0
|
||||||
|
CC-BY-NC-3.0-DE
|
||||||
CC-BY-NC-4.0
|
CC-BY-NC-4.0
|
||||||
CC-BY-NC-ND-1.0
|
CC-BY-NC-ND-1.0
|
||||||
CC-BY-NC-ND-2.0
|
CC-BY-NC-ND-2.0
|
||||||
CC-BY-NC-ND-2.5
|
CC-BY-NC-ND-2.5
|
||||||
CC-BY-NC-ND-3.0
|
CC-BY-NC-ND-3.0
|
||||||
|
CC-BY-NC-ND-3.0-DE
|
||||||
|
CC-BY-NC-ND-3.0-IGO
|
||||||
CC-BY-NC-ND-4.0
|
CC-BY-NC-ND-4.0
|
||||||
CC-BY-NC-SA-1.0
|
CC-BY-NC-SA-1.0
|
||||||
CC-BY-NC-SA-2.0
|
CC-BY-NC-SA-2.0
|
||||||
|
CC-BY-NC-SA-2.0-FR
|
||||||
|
CC-BY-NC-SA-2.0-UK
|
||||||
CC-BY-NC-SA-2.5
|
CC-BY-NC-SA-2.5
|
||||||
CC-BY-NC-SA-3.0
|
CC-BY-NC-SA-3.0
|
||||||
|
CC-BY-NC-SA-3.0-DE
|
||||||
|
CC-BY-NC-SA-3.0-IGO
|
||||||
CC-BY-NC-SA-4.0
|
CC-BY-NC-SA-4.0
|
||||||
CC-BY-ND-1.0
|
CC-BY-ND-1.0
|
||||||
CC-BY-ND-2.0
|
CC-BY-ND-2.0
|
||||||
CC-BY-ND-2.5
|
CC-BY-ND-2.5
|
||||||
CC-BY-ND-3.0
|
CC-BY-ND-3.0
|
||||||
|
CC-BY-ND-3.0-DE
|
||||||
CC-BY-ND-4.0
|
CC-BY-ND-4.0
|
||||||
CC-BY-SA-1.0
|
CC-BY-SA-1.0
|
||||||
CC-BY-SA-2.0
|
CC-BY-SA-2.0
|
||||||
|
CC-BY-SA-2.0-UK
|
||||||
|
CC-BY-SA-2.1-JP
|
||||||
CC-BY-SA-2.5
|
CC-BY-SA-2.5
|
||||||
CC-BY-SA-3.0
|
CC-BY-SA-3.0
|
||||||
|
CC-BY-SA-3.0-AT
|
||||||
|
CC-BY-SA-3.0-DE
|
||||||
CC-BY-SA-4.0
|
CC-BY-SA-4.0
|
||||||
CC-PDDC
|
CC-PDDC
|
||||||
CC0-1.0
|
CC0-1.0
|
||||||
CDDL-1.0
|
CDDL-1.0
|
||||||
CDDL-1.1
|
CDDL-1.1
|
||||||
|
CDL-1.0
|
||||||
CDLA-Permissive-1.0
|
CDLA-Permissive-1.0
|
||||||
|
CDLA-Permissive-2.0
|
||||||
CDLA-Sharing-1.0
|
CDLA-Sharing-1.0
|
||||||
CECILL-1.0
|
CECILL-1.0
|
||||||
CECILL-1.1
|
CECILL-1.1
|
||||||
@@ -104,53 +137,78 @@ CECILL-B
|
|||||||
CECILL-C
|
CECILL-C
|
||||||
CERN-OHL-1.1
|
CERN-OHL-1.1
|
||||||
CERN-OHL-1.2
|
CERN-OHL-1.2
|
||||||
|
CERN-OHL-P-2.0
|
||||||
|
CERN-OHL-S-2.0
|
||||||
|
CERN-OHL-W-2.0
|
||||||
CNRI-Jython
|
CNRI-Jython
|
||||||
CNRI-Python
|
CNRI-Python
|
||||||
CNRI-Python-GPL-Compatible
|
CNRI-Python-GPL-Compatible
|
||||||
|
COIL-1.0
|
||||||
CPAL-1.0
|
CPAL-1.0
|
||||||
CPL-1.0
|
CPL-1.0
|
||||||
CPOL-1.02
|
CPOL-1.02
|
||||||
CUA-OPL-1.0
|
CUA-OPL-1.0
|
||||||
Caldera
|
Caldera
|
||||||
ClArtistic
|
ClArtistic
|
||||||
|
Community-Spec-1.0
|
||||||
Condor-1.1
|
Condor-1.1
|
||||||
Crossword
|
Crossword
|
||||||
CrystalStacker
|
CrystalStacker
|
||||||
Cube
|
Cube
|
||||||
D-FSL-1.0
|
D-FSL-1.0
|
||||||
|
DL-DE-BY-2.0
|
||||||
DOC
|
DOC
|
||||||
|
DRL-1.0
|
||||||
DSDP
|
DSDP
|
||||||
Dotseqn
|
Dotseqn
|
||||||
ECL-1.0
|
ECL-1.0
|
||||||
ECL-2.0
|
ECL-2.0
|
||||||
EFL-1.0
|
EFL-1.0
|
||||||
EFL-2.0
|
EFL-2.0
|
||||||
|
EPICS
|
||||||
EPL-1.0
|
EPL-1.0
|
||||||
EPL-2.0
|
EPL-2.0
|
||||||
EUDatagrid
|
EUDatagrid
|
||||||
EUPL-1.0
|
EUPL-1.0
|
||||||
EUPL-1.1
|
EUPL-1.1
|
||||||
EUPL-1.2
|
EUPL-1.2
|
||||||
|
Elastic-2.0
|
||||||
Entessa
|
Entessa
|
||||||
ErlPL-1.1
|
ErlPL-1.1
|
||||||
Eurosym
|
Eurosym
|
||||||
|
FDK-AAC
|
||||||
FSFAP
|
FSFAP
|
||||||
FSFUL
|
FSFUL
|
||||||
FSFULLR
|
FSFULLR
|
||||||
FTL
|
FTL
|
||||||
Fair
|
Fair
|
||||||
Frameworx-1.0
|
Frameworx-1.0
|
||||||
|
FreeBSD-DOC
|
||||||
FreeImage
|
FreeImage
|
||||||
|
GD
|
||||||
GFDL-1.1
|
GFDL-1.1
|
||||||
|
GFDL-1.1-invariants-only
|
||||||
|
GFDL-1.1-invariants-or-later
|
||||||
|
GFDL-1.1-no-invariants-only
|
||||||
|
GFDL-1.1-no-invariants-or-later
|
||||||
GFDL-1.1-only
|
GFDL-1.1-only
|
||||||
GFDL-1.1-or-later
|
GFDL-1.1-or-later
|
||||||
GFDL-1.2
|
GFDL-1.2
|
||||||
|
GFDL-1.2-invariants-only
|
||||||
|
GFDL-1.2-invariants-or-later
|
||||||
|
GFDL-1.2-no-invariants-only
|
||||||
|
GFDL-1.2-no-invariants-or-later
|
||||||
GFDL-1.2-only
|
GFDL-1.2-only
|
||||||
GFDL-1.2-or-later
|
GFDL-1.2-or-later
|
||||||
GFDL-1.3
|
GFDL-1.3
|
||||||
|
GFDL-1.3-invariants-only
|
||||||
|
GFDL-1.3-invariants-or-later
|
||||||
|
GFDL-1.3-no-invariants-only
|
||||||
|
GFDL-1.3-no-invariants-or-later
|
||||||
GFDL-1.3-only
|
GFDL-1.3-only
|
||||||
GFDL-1.3-or-later
|
GFDL-1.3-or-later
|
||||||
GL2PS
|
GL2PS
|
||||||
|
GLWTPL
|
||||||
GPL-1.0
|
GPL-1.0
|
||||||
GPL-1.0+
|
GPL-1.0+
|
||||||
GPL-1.0-only
|
GPL-1.0-only
|
||||||
@@ -175,7 +233,9 @@ Glide
|
|||||||
Glulxe
|
Glulxe
|
||||||
HPND
|
HPND
|
||||||
HPND-sell-variant
|
HPND-sell-variant
|
||||||
|
HTMLTIDY
|
||||||
HaskellReport
|
HaskellReport
|
||||||
|
Hippocratic-2.1
|
||||||
IBM-pibs
|
IBM-pibs
|
||||||
ICU
|
ICU
|
||||||
IJG
|
IJG
|
||||||
@@ -190,6 +250,7 @@ Intel-ACPI
|
|||||||
Interbase-1.0
|
Interbase-1.0
|
||||||
JPNIC
|
JPNIC
|
||||||
JSON
|
JSON
|
||||||
|
Jam
|
||||||
JasPer-2.0
|
JasPer-2.0
|
||||||
LAL-1.2
|
LAL-1.2
|
||||||
LAL-1.3
|
LAL-1.3
|
||||||
@@ -213,6 +274,8 @@ LPPL-1.1
|
|||||||
LPPL-1.2
|
LPPL-1.2
|
||||||
LPPL-1.3a
|
LPPL-1.3a
|
||||||
LPPL-1.3c
|
LPPL-1.3c
|
||||||
|
LZMA-SDK-9.11-to-9.20
|
||||||
|
LZMA-SDK-9.22
|
||||||
Latex2e
|
Latex2e
|
||||||
Leptonica
|
Leptonica
|
||||||
LiLiQ-P-1.1
|
LiLiQ-P-1.1
|
||||||
@@ -220,31 +283,43 @@ LiLiQ-R-1.1
|
|||||||
LiLiQ-Rplus-1.1
|
LiLiQ-Rplus-1.1
|
||||||
Libpng
|
Libpng
|
||||||
Linux-OpenIB
|
Linux-OpenIB
|
||||||
|
Linux-man-pages-copyleft
|
||||||
MIT
|
MIT
|
||||||
MIT-0
|
MIT-0
|
||||||
MIT-CMU
|
MIT-CMU
|
||||||
|
MIT-Modern-Variant
|
||||||
MIT-advertising
|
MIT-advertising
|
||||||
MIT-enna
|
MIT-enna
|
||||||
MIT-feh
|
MIT-feh
|
||||||
|
MIT-open-group
|
||||||
MITNFA
|
MITNFA
|
||||||
MPL-1.0
|
MPL-1.0
|
||||||
MPL-1.1
|
MPL-1.1
|
||||||
MPL-2.0
|
MPL-2.0
|
||||||
MPL-2.0-no-copyleft-exception
|
MPL-2.0-no-copyleft-exception
|
||||||
|
MS-LPL
|
||||||
MS-PL
|
MS-PL
|
||||||
MS-RL
|
MS-RL
|
||||||
MTLL
|
MTLL
|
||||||
MakeIndex
|
MakeIndex
|
||||||
|
Minpack
|
||||||
MirOS
|
MirOS
|
||||||
Motosoto
|
Motosoto
|
||||||
MulanPSL-1.0
|
MulanPSL-1.0
|
||||||
|
MulanPSL-2.0
|
||||||
Multics
|
Multics
|
||||||
Mup
|
Mup
|
||||||
|
NAIST-2003
|
||||||
NASA-1.3
|
NASA-1.3
|
||||||
NBPL-1.0
|
NBPL-1.0
|
||||||
|
NCGL-UK-2.0
|
||||||
NCSA
|
NCSA
|
||||||
NGPL
|
NGPL
|
||||||
|
NICTA-1.0
|
||||||
|
NIST-PD
|
||||||
|
NIST-PD-fallback
|
||||||
NLOD-1.0
|
NLOD-1.0
|
||||||
|
NLOD-2.0
|
||||||
NLPL
|
NLPL
|
||||||
NOSL
|
NOSL
|
||||||
NPL-1.0
|
NPL-1.0
|
||||||
@@ -260,6 +335,7 @@ Newsletr
|
|||||||
Nokia
|
Nokia
|
||||||
Noweb
|
Noweb
|
||||||
Nunit
|
Nunit
|
||||||
|
O-UDA-1.0
|
||||||
OCCT-PL
|
OCCT-PL
|
||||||
OCLC-2.0
|
OCLC-2.0
|
||||||
ODC-By-1.0
|
ODC-By-1.0
|
||||||
@@ -270,6 +346,8 @@ OFL-1.0-no-RFN
|
|||||||
OFL-1.1
|
OFL-1.1
|
||||||
OFL-1.1-RFN
|
OFL-1.1-RFN
|
||||||
OFL-1.1-no-RFN
|
OFL-1.1-no-RFN
|
||||||
|
OGC-1.0
|
||||||
|
OGDL-Taiwan-1.0
|
||||||
OGL-Canada-2.0
|
OGL-Canada-2.0
|
||||||
OGL-UK-1.0
|
OGL-UK-1.0
|
||||||
OGL-UK-2.0
|
OGL-UK-2.0
|
||||||
@@ -293,6 +371,7 @@ OLDAP-2.7
|
|||||||
OLDAP-2.8
|
OLDAP-2.8
|
||||||
OML
|
OML
|
||||||
OPL-1.0
|
OPL-1.0
|
||||||
|
OPUBL-1.0
|
||||||
OSET-PL-2.1
|
OSET-PL-2.1
|
||||||
OSL-1.0
|
OSL-1.0
|
||||||
OSL-1.1
|
OSL-1.1
|
||||||
@@ -305,9 +384,13 @@ PHP-3.0
|
|||||||
PHP-3.01
|
PHP-3.01
|
||||||
PSF-2.0
|
PSF-2.0
|
||||||
Parity-6.0.0
|
Parity-6.0.0
|
||||||
|
Parity-7.0.0
|
||||||
Plexus
|
Plexus
|
||||||
|
PolyForm-Noncommercial-1.0.0
|
||||||
|
PolyForm-Small-Business-1.0.0
|
||||||
PostgreSQL
|
PostgreSQL
|
||||||
Python-2.0
|
Python-2.0
|
||||||
|
Python-2.0.1
|
||||||
QPL-1.0
|
QPL-1.0
|
||||||
Qhull
|
Qhull
|
||||||
RHeCos-1.1
|
RHeCos-1.1
|
||||||
@@ -336,6 +419,7 @@ SSH-short
|
|||||||
SSPL-1.0
|
SSPL-1.0
|
||||||
SWL
|
SWL
|
||||||
Saxpath
|
Saxpath
|
||||||
|
SchemeReport
|
||||||
Sendmail
|
Sendmail
|
||||||
Sendmail-8.23
|
Sendmail-8.23
|
||||||
SimPL-2.0
|
SimPL-2.0
|
||||||
@@ -369,6 +453,7 @@ WTFPL
|
|||||||
Watcom-1.0
|
Watcom-1.0
|
||||||
Wsuipa
|
Wsuipa
|
||||||
X11
|
X11
|
||||||
|
X11-distribute-modifications-variant
|
||||||
XFree86-1.1
|
XFree86-1.1
|
||||||
XSkat
|
XSkat
|
||||||
Xerox
|
Xerox
|
||||||
@@ -400,7 +485,9 @@ iMatix
|
|||||||
libpng-2.0
|
libpng-2.0
|
||||||
libselinux-1.0
|
libselinux-1.0
|
||||||
libtiff
|
libtiff
|
||||||
|
mpi-permissive
|
||||||
mpich2
|
mpich2
|
||||||
|
mplus
|
||||||
psfrag
|
psfrag
|
||||||
psutils
|
psutils
|
||||||
wxWindows
|
wxWindows
|
||||||
|
|||||||
+1
-1
@@ -211,7 +211,7 @@ def main():
|
|||||||
with open (filename, "r") as myfile:
|
with open (filename, "r") as myfile:
|
||||||
lines = myfile.readlines()
|
lines = myfile.readlines()
|
||||||
else:
|
else:
|
||||||
output = subprocess.check_output("git format-patch -1 --stdout", shell=True).decode("latin-1")
|
output = subprocess.check_output("git format-patch -1 --stdout", shell=True).decode("utf-8", errors="replace")
|
||||||
lines = output.split("\n")
|
lines = output.split("\n")
|
||||||
|
|
||||||
parse_patch(lines)
|
parse_patch(lines)
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
|
compat-libsigc++-soname20 compat-libsigc-plus-plus-soname20
|
||||||
gtk+ gtk-plus
|
gtk+ gtk-plus
|
||||||
libsigc++ libsigc-plus-plus
|
libsigc++ libsigc-plus-plus
|
||||||
|
|||||||
Reference in New Issue
Block a user