mirror of
https://github.com/clearlinux/common.git
synced 2026-06-16 19:16:00 +00:00
Compare commits
55 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 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 |
+7
-4
@@ -26,6 +26,9 @@ WITH_SUDO = $(shell cmp /usr/bin/mock /usr/sbin/mock &> /dev/null && echo sudo )
|
||||
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_CLEANUP_OPT := $(if $(CLEANUP),--cleanup-after,--no-cleanup-after)
|
||||
AUTOSPEC_CLEANUP_OPT := $(if $(CLEANUP),-C)
|
||||
|
||||
ifneq ($(wildcard upstream),)
|
||||
__allsources := $(notdir $(strip $(shell cat upstream)))
|
||||
__missingsources := $(filter-out $(wildcard ${__allsources}), ${__allsources})
|
||||
@@ -88,7 +91,7 @@ prebuild-checks:
|
||||
#help which creates a src.rpm file from the spec file.
|
||||
#help Use MOCK_OPTS environment varible to pass down arbitrary mock options.
|
||||
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="."
|
||||
@perl $(TOPLVL)/projects/common/logcheck.pl results/build.log
|
||||
@perl $(TOPLVL)/projects/common/count.pl results/build.log &> testresults
|
||||
@@ -96,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.
|
||||
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="."
|
||||
@perl $(TOPLVL)/projects/common/logcheck.pl results/build.log
|
||||
@perl $(TOPLVL)/projects/common/count.pl results/build.log &> testresults
|
||||
@@ -117,7 +120,7 @@ shell:
|
||||
.PHONY: $(SRPMFILE)
|
||||
$(SRPMFILE): $(SPECFILE) $(__allsources) localreponotice clean-old-content
|
||||
@$(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/build.log results/srpm-build.log
|
||||
|
||||
@@ -179,7 +182,7 @@ autospec: preautospec-checks pullrebase localreponotice clean-old-content
|
||||
$${SETVERSION:+ --version $${SETVERSION}} \
|
||||
$${NON_INTERACTIVE:+ --non_interactive} \
|
||||
$${SKIP_GIT:+ --skip-git} \
|
||||
$${CLEANUP:+ -C} \
|
||||
$(AUTOSPEC_CLEANUP_OPT) \
|
||||
$(firstword $(NEWURL) $(URL));
|
||||
$(MAKE) link-new-rpms PKG_REPO_DIR="."
|
||||
@$(MAKE) spdxcheck
|
||||
|
||||
+1
-1
@@ -170,7 +170,7 @@ diff: $(PACKAGES_FILE) $(addprefix packages/,$(PKGS_LOCAL))
|
||||
#help displaying any committed but unpushed changes.
|
||||
log: $(PACKAGES_FILE) $(addprefix packages/,$(PKGS_LOCAL))
|
||||
@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/master..HEAD)" ] ; then \
|
||||
echo $$p ; git --no-pager log --pretty="format:%s" origin/master..HEAD ; echo ; echo;\
|
||||
fi ; ) \
|
||||
done
|
||||
|
||||
@@ -31,6 +31,7 @@ Aladdin
|
||||
Apache-1.0
|
||||
Apache-1.1
|
||||
Apache-2.0
|
||||
App-s2p
|
||||
Artistic-1.0
|
||||
Artistic-1.0-Perl
|
||||
Artistic-1.0-cl8
|
||||
@@ -138,17 +139,20 @@ CERN-OHL-W-2.0
|
||||
CNRI-Jython
|
||||
CNRI-Python
|
||||
CNRI-Python-GPL-Compatible
|
||||
COIL-1.0
|
||||
CPAL-1.0
|
||||
CPL-1.0
|
||||
CPOL-1.02
|
||||
CUA-OPL-1.0
|
||||
Caldera
|
||||
ClArtistic
|
||||
Community-Spec-1.0
|
||||
Condor-1.1
|
||||
Crossword
|
||||
CrystalStacker
|
||||
Cube
|
||||
D-FSL-1.0
|
||||
DL-DE-BY-2.0
|
||||
DOC
|
||||
DRL-1.0
|
||||
DSDP
|
||||
@@ -164,9 +168,11 @@ EUDatagrid
|
||||
EUPL-1.0
|
||||
EUPL-1.1
|
||||
EUPL-1.2
|
||||
Elastic-2.0
|
||||
Entessa
|
||||
ErlPL-1.1
|
||||
Eurosym
|
||||
FDK-AAC
|
||||
FSFAP
|
||||
FSFUL
|
||||
FSFULLR
|
||||
@@ -240,6 +246,7 @@ Intel-ACPI
|
||||
Interbase-1.0
|
||||
JPNIC
|
||||
JSON
|
||||
Jam
|
||||
JasPer-2.0
|
||||
LAL-1.2
|
||||
LAL-1.3
|
||||
@@ -270,6 +277,7 @@ LiLiQ-R-1.1
|
||||
LiLiQ-Rplus-1.1
|
||||
Libpng
|
||||
Linux-OpenIB
|
||||
Linux-man-pages-copyleft
|
||||
MIT
|
||||
MIT-0
|
||||
MIT-CMU
|
||||
@@ -401,6 +409,7 @@ SSH-short
|
||||
SSPL-1.0
|
||||
SWL
|
||||
Saxpath
|
||||
SchemeReport
|
||||
Sendmail
|
||||
Sendmail-8.23
|
||||
SimPL-2.0
|
||||
@@ -434,6 +443,7 @@ WTFPL
|
||||
Watcom-1.0
|
||||
Wsuipa
|
||||
X11
|
||||
X11-distribute-modifications-variant
|
||||
XFree86-1.1
|
||||
XSkat
|
||||
Xerox
|
||||
|
||||
Reference in New Issue
Block a user