# # spec file for package openSUSE-Addon-NonOss-release (Version 20190711) # # Copyright (c) 2019 openSUSE. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. Name: openSUSE-Addon-NonOss-release %define product openSUSE-Addon-NonOss Summary: openSUSE NonOSS Addon Version: 20190711 Release: 0 License: BSD-3-Clause Group: System/Fhs Provides: %name-%version Provides: product() = openSUSE-Addon-NonOss Provides: product(openSUSE-Addon-NonOss) = 20190711-0 Provides: product-label() = non%20oss%20addon Provides: product-cpeid() = cpe%3A%2Fo%3Aopensuse%3Aopensuse%2Daddon%2Dnonoss%3A20190711 AutoReqProv: on BuildRoot: %{_tmppath}/%{name}-%{version}-build %description non oss repo and cd %prep %build %install mkdir -p $RPM_BUILD_ROOT/etc/products.d cat >$RPM_BUILD_ROOT/etc/products.d/openSUSE-Addon-NonOss.prod << EOF openSUSE openSUSE-Addon-NonOss 20190711 0 %{_target_cpu} cpe:/o:opensuse:opensuse-addon-nonoss:20190711 openSUSE NonOSS Addon non oss addon non oss repo and cd af ar be_BY bg br ca cy el et ga gl gu_IN he hi_IN hr ka km ko lt mk nn pa_IN rw sk sl sr_CS ss st tg th tr uk ve vi xh zu openSUSE false suse suse/setup/descr openSUSE-Addon-NonOss EOF %clean rm -rf %buildroot %files %defattr(644,root,root,755) %dir /etc/products.d /etc/products.d/*.prod %changelog