Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
rhnpush.2353
rhnpush.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rhnpush.spec of Package rhnpush.2353
# # spec file for package rhnpush # # Copyright (c) 2016 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/ # %define rhn_client_tools spacewalk-client-tools %define rhnroot %{_datadir}/rhn %if 0%{?fedora} %{!?pylint_check: %global pylint_check 1} %endif Name: rhnpush Url: http://fedorahosted.org/spacewalk Version: 5.5.91.2 Release: 0 Source0: rhnpush-git-0.b7bc21f.tar.gz Source1: %{name}-rpmlintrc BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch Requires: %{rhn_client_tools} Requires: rhnlib >= 2.5.74 Requires: rpm-python Requires: spacewalk-backend-libs >= 1.7.17 %if 0%{?pylint_check} BuildRequires: spacewalk-pylint >= 0.6 %endif %if 0%{?suse_version} # provides rhn directories for filelist check in OBS BuildRequires: %{rhn_client_tools} %endif BuildRequires: docbook-utils BuildRequires: gettext BuildRequires: python-devel %if 0%{?fedora} || 0%{?rhel} > 5 || 0%{?suse_version} == 1110 # pylint check BuildRequires: %{rhn_client_tools} BuildRequires: spacewalk-backend-libs > 1.8.33 %endif Summary: Package uploader for the Spacewalk Server License: GPL-2.0 Group: Applications/System %description rhnpush uploads package headers to the Spacewalk servers into specified channels and allows for several other channel management operations relevant to controlling what packages are available per channel. %prep %setup -q -n rhnpush-git-0.b7bc21f %build make -f Makefile.rhnpush all %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT/%{rhnroot} make -f Makefile.rhnpush install PREFIX=$RPM_BUILD_ROOT ROOT=%{rhnroot} \ MANDIR=%{_mandir} %if 0%{?rhel} && 0%{?rhel} < 6 rm -fv $RPM_BUILD_ROOT%{_bindir}/solaris2mpm rm -fv $RPM_BUILD_ROOT%{rhnroot}/rhnpush/solaris2mpm.py* rm -fv $RPM_BUILD_ROOT%{_mandir}/man8/solaris2mpm.8* %endif %if 0%{?suse_version} ln -s rhnpush $RPM_BUILD_ROOT/%{_bindir}/mgrpush %endif %clean rm -rf $RPM_BUILD_ROOT %check %if 0%{?pylint_check} # check coding style export PYTHONPATH=$RPM_BUILD_ROOT%{python_sitelib}:/usr/share/rhn spacewalk-pylint $RPM_BUILD_ROOT%{rhnroot} %endif %files %defattr(-,root,root) %dir %{rhnroot} %dir %{_sysconfdir}/sysconfig/rhn %dir %{rhnroot}/rhnpush %{rhnroot}/rhnpush/* %attr(755,root,root) %{_bindir}/rhnpush %if 0%{?suse_version} %{_bindir}/mgrpush %endif %attr(755,root,root) %{_bindir}/rpm2mpm %config(noreplace) %attr(644,root,root) %{_sysconfdir}/sysconfig/rhn/rhnpushrc %{_mandir}/man8/rhnpush.8* %if 0%{?fedora} || 0%{?rhel} > 5 || 0%{?suse_version} %attr(755,root,root) %{_bindir}/solaris2mpm %{_mandir}/man8/solaris2mpm.8* %endif %doc COPYING %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