File obs-server-macros.spec of Package obs-server-macros

# spec file for package obs-server-macros
# Copyright (c) 2020 SUSE LLC
# 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.

# Please submit bugfixes or comments via

Name:           obs-server-macros
Summary:        Macros required by Open Build Service on Fedora/RHEL
License:        GPL-2.0-only OR GPL-3.0-only
Group:          Productivity/Networking/Web/Utilities
Version:        0.0.1
Release:        0
Source0:        macros.obs-server
BuildArch:      noarch

%if 0%{?suse_version}
ExclusiveArch:  not_needed

This package contains all the necessary tools for upload images to the cloud.



mkdir -p $RPM_BUILD_ROOT/usr/lib/rpm/macros.d
install -m 644 %{S:0} $RPM_BUILD_ROOT/usr/lib/rpm/macros.d/macros.obs-server

%attr(644, root, root) /usr/lib/rpm/macros.d/macros.obs-server