Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
SUSE:SLE-12:Update
rhn-custom-info.4854
rhn-custom-info.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rhn-custom-info.spec of Package rhn-custom-info.4854
# # spec file for package rhn-custom-info # # Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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: rhn-custom-info Summary: Set and list custom values for Spacewalk-enabled machines License: GPL-2.0 Group: Applications/System Source0: rhn-custom-info-git-0.a12d059.tar.gz Url: https://github.com/spacewalkproject/spacewalk Version: 5.4.33.2 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch BuildRequires: python-devel %if 0%{?fedora} >= 23 Requires: python3-rhnlib %else Requires: rhnlib %endif %if 0%{?rhel} >= 5 || 0%{?fedora} && 0%{?fedora} < 22 Requires: yum-rhn-plugin %else # rpm do not support elif %if 0%{?fedora} >= 22 Requires: dnf-plugin-spacewalk %else %if 0%{?suse_version} Requires: zypp-plugin-spacewalk # provide rhn directories for filelist check BuildRequires: spacewalk-client-tools %else Requires: up2date %endif %endif %endif %description Allows for the setting and listing of custom key/value pairs for an Spacewalk-enabled system. %prep %setup -q -n rhn-custom-info-git-0.a12d059 %build make -f Makefile.rhn-custom-info all %if 0%{?fedora} >= 23 sed -i 's|#!/usr/bin/python|#!/usr/bin/python3|' *.py %endif %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT make -f Makefile.rhn-custom-info install PREFIX=$RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_mandir}/man8/ install -m 644 rhn-custom-info.8 $RPM_BUILD_ROOT%{_mandir}/man8/ %if 0%{?suse_version} ln -s rhn-custom-info $RPM_BUILD_ROOT/%{_bindir}/mgr-custom-info %endif %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %dir %{_datadir}/rhn %{_bindir}/*-custom-info %dir %{_datadir}/rhn/custominfo %{_datadir}/rhn/custominfo/rhn-custom-info.py* %doc LICENSE %{_mandir}/man8/rhn-custom-info.* %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