Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP1
azuremetadata
azuremetadata.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File azuremetadata.spec of Package azuremetadata
# # spec file for package azureMetaData # this code base is under development # # Copyright (c) 2015 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 http://bugs.opensuse.org/ # Name: azuremetadata # For compatibility, remove provides 11/11/2015 Provides: azureMetaData Obsoletes: azureMetaData <= 2.0.1 Version: 4.0.1 Release: 0 License: GPL-3.0+ Summary: Collect instance metadata in Azure URL: http://www.github.com:SUSE/Enceladus/azuremetadata Group: System/Management Source0: %{name}-%{version}.tar.bz2 Requires: perl Requires: perl-JSON Requires: perl-XML-LibXML BuildRequires: perl BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch %description Collect instance metadada for the running instance in Azure %prep %setup -q %build %{__perl} Makefile.PL INSTALLDIRS=vendord #INST_SCRIPT=%{buildroot}%{_sbindir} %install mkdir -p %{buildroot}/%{_sbindir} %perl_make_install # unconditional move the INST_SCRIPT setting is not reliable accross # perl versions mv %{buildroot}/%{_bindir}/azuremetadata %{buildroot}/%{_sbindir} pushd %{buildroot}/%{_sbindir} # link retained for backward compatibility remove on or after 11/11/15 ln -s azuremetadata azureMetaData popd %perl_process_packlist %if 0%{?suse_version} <= 1130 rm -rf %{buildroot}/%perl_vendorarch/* rm %{buildroot}/var/adm/perl-modules/azuremetadata %endif %files %defattr(-,root,root,-) %doc README.md %dir %perl_vendorlib/AzureMetadata %{_sbindir}/azureMetaData %{_sbindir}/azuremetadata %perl_vendorlib/AzureMetadata/* %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