Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Alexander_Naumov:SLE-12:Update
rhnpush.378
rhnpush.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rhnpush.spec of Package rhnpush.378
# # spec file for package rhnpush # # Copyright (c) 2015 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 Name: rhnpush Url: http://fedorahosted.org/spacewalk Version: 5.5.71.7 Release: 0 Source0: rhnpush-git-0.8f2de42.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch Requires: %{rhn_client_tools} Requires: rhnlib Requires: rpm-python Requires: spacewalk-backend-libs >= 1.7.17 %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} > 15 || 0%{?rhel} == 6 || 0%{?suse_version} == 1110 # pylint check BuildRequires: %{rhn_client_tools} BuildRequires: spacewalk-backend-libs > 1.8.33 BuildRequires: spacewalk-pylint >= 0.6 %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.8f2de42 %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%{?fedora} > 15 || 0%{?rhel} == 6 || 0%{?suse_version} == 1100 # 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