Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Cloud:OpenStack:Factory
openstack-macros
openstack-macros.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openstack-macros.spec of Package openstack-macros
# # spec file for package openstack-macros # # Copyright (c) 2023 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 https://bugs.opensuse.org/ # %if 0%{?rhel} %global rdo 1 %global rrcdir %{_rpmconfigdir}/redhat %endif Name: openstack-macros Version: 2020.1.2 Release: 0 Summary: OpenStack Packaging - RPM Macros License: Apache-2.0 Group: Development/Libraries/Python URL: https://wiki.openstack.org/wiki/Rpm-packaging Source1: macros.openstack-common Source2: macros.openstack-suse Source3: macros.openstack-rdo Source4: macros.openstack-fedora Source6: gpgverify BuildArch: noarch %if 0%{?rdo} Obsoletes: rdo-rpm-macros <= 1-3 # Fake NVR to avoid dealing with epochs # just bump release field Provides: rdo-rpm-macros = 1-4 %endif %description This package provides OpenStack RPM macros. You need it to build OpenStack packages. %prep %build %install install -D -m644 %{SOURCE1} %{buildroot}%{_rpmmacrodir}/macros.openstack-common %if 0%{?suse_version} install -D -m644 %{SOURCE2} %{buildroot}%{_rpmmacrodir}/macros.openstack-suse %endif %if 0%{?rdo} install -D -m644 %{SOURCE3} %{buildroot}%{_rpmmacrodir}/macros.openstack-rdo install -D -m 755 %{SOURCE6} %{buildroot}%{rrcdir}/gpgverify %endif %if 0%{?fedora} || 0%{?rhel} > 7 install -D -m644 %{SOURCE4} %{buildroot}%{_rpmmacrodir}/macros.openstack-fedora %endif %files %{_rpmmacrodir}/macros.openstack-common %if 0%{?suse_version} %{_rpmmacrodir}/macros.openstack-suse %endif %if 0%{?rdo} %{_rpmmacrodir}/macros.openstack-rdo %{rrcdir}/gpgverify %endif %if 0%{?fedora} || 0%{?rhel} > 7 %{_rpmmacrodir}/macros.openstack-fedora %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor