diff --git a/toolset-11/.copr/Makefile b/toolset-11/.copr/Makefile deleted file mode 100644 index 1e63b1f..0000000 --- a/toolset-11/.copr/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -TOP = $(realpath $(dir $(lastword $(MAKEFILE_LIST)))) - -# Version -MAJOR=11 -MINOR=0 -PATCH=0 -RELEASE=1 -PKGNAME=vespa-toolset - -RPMTOPDIR=$(TOP)/rpmbuild -SOURCEDIR=$(RPMTOPDIR)/SOURCES -SPECDIR=$(RPMTOPDIR)/SPECS -SPECFILE=$(SPECDIR)/$(PKGNAME)-$(MAJOR).spec -VERSION=$(MAJOR).$(MINOR).$(PATCH) -PKGNV=$(PKGNAME)-$(VERSION) - -outdir ?= $(TOP) - -SEDCMD = s/_TMPL_VER_MAJOR/$(MAJOR)/;s/_TMPL_VER_MINOR/$(MINOR)/;s/_TMPL_VER_PATCH/$(PATCH)/;s/_TMPL_VER_RELEASE/$(RELEASE)/ - -srpm: - mkdir -p $(SPECDIR) $(SOURCEDIR) - cat $(PKGNAME).spec.tmpl | sed "$(SEDCMD)" > $(SPECFILE) - rpmbuild -bs --define "_topdir $(RPMTOPDIR)" $(SPECFILE) - cp -a $(RPMTOPDIR)/SRPMS/* $(outdir) - -clean: - -rm -rf $(RPMTOPDIR) $(TOP)/*.rpm - -.PHONY: srpm clean diff --git a/toolset-11/vespa-toolset.spec.tmpl b/toolset-11/vespa-toolset.spec.tmpl deleted file mode 100644 index a7c7b19..0000000 --- a/toolset-11/vespa-toolset.spec.tmpl +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. - -# no debuggable binaries here -%define debug_package %{nil} -BuildArchitectures: noarch - -# Version -%define ver_major _TMPL_VER_MAJOR -%define ver_minor _TMPL_VER_MINOR -%define ver_patch _TMPL_VER_PATCH -%define ver_release _TMPL_VER_RELEASE - -Summary: Vespa meta-package for gcc-toolset -Name: vespa-toolset-%{ver_major}-meta -Version: %{ver_major}.%{ver_minor}.%{ver_patch} -Release: %{ver_release}%{?dist} -License: Apache -URL: https://vespa.ai/ - -%if 0%{?el8}%{?el9} -Requires: gcc-toolset-%{ver_major}-gcc-c++ -Requires: gcc-toolset-%{ver_major}-annobin-plugin-gcc -%define _devtoolset_enable /opt/rh/gcc-toolset-%{ver_major}/enable -%endif - -%global _vespa_3rdparty_deps_packaging_notice \ -See https://github.com/vespa-engine/vespa-3rdparty-deps for details \ -about packaging. - -%description -Meta-package for required gcc-toolset packages and fixups. -%{_vespa_3rdparty_deps_packaging_notice} - -%files - -%post -%if 0%{?_devtoolset_enable:1} -source %{_devtoolset_enable} -lgcf=`gcc -print-libgcc-file-name` -pdir=${lgcf%/libgcc.*}/plugin -cd $pdir && test -f annobin.so && ln -sf annobin.so gcc-annobin.so -%endif - -%changelog