I made a few changes to the rhnpush spec to submit it to Fedora. Mostly it was whitespace and ordering of parameters changing to be more 'fedora-like' for the RPMs. Other changes were a few words here and there to have make a little more sense to the reader.
I also am submitting the bug for review in Fedora. Bug # 485007 stahnma
From c18ee5d7bea9778b3c35211d6b94acf1ff6f5886 Mon Sep 17 00:00:00 2001 From: stahnma <[email protected]> Date: Tue, 10 Feb 2009 21:28:28 -0600 Subject: [PATCH] Cleanup on rhnpush.spec for inclusion/compliance with Fedora. --- client/tools/rhnpush/rhnpush.spec | 43 +++++++++++++++++++++--------------- 1 files changed, 25 insertions(+), 18 deletions(-) diff --git a/client/tools/rhnpush/rhnpush.spec b/client/tools/rhnpush/rhnpush.spec index 922c762..45ca4fe 100644 --- a/client/tools/rhnpush/rhnpush.spec +++ b/client/tools/rhnpush/rhnpush.spec @@ -1,41 +1,44 @@ -%define rhnroot /usr/share/rhn +%define rhnroot %{_datadir}/rhn -Name: rhnpush -Summary: Common programs needed to be installed on the RHN servers/proxies. -Group: Applications/System -License: GPLv2 -Url: http://rhn.redhat.com -Version: 0.4.1 -Release: 1%{?dist} -Source0: %{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildArch: noarch -Requires: python, rpm-python -BuildRequires: /usr/bin/msgfmt -BuildRequires: /usr/bin/docbook2man +Name: rhnpush +Version: 0.3.1 +Release: 2%{?dist} +Summary: Package uploader for the RHN Satellite/Spacewalk Server -Summary: Package uploader for the Red Hat Network Satellite Server +Group: Applications/System +License: GPLv2 +URL: http://fedorahosted.org/spacewalk +Source0: %{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: /usr/bin/msgfmt , /usr/bin/docbook2man +Requires: rpm-python %description rhnpush uploads package headers to the Red Hat Network servers into -various channels and allows for several other channel management -operations relevant to controlling what packages are available from -which channel. +specified channels and allows for several other channel management +operations relevant to controlling what packages are available per +channel. + + %prep %setup -q + %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} + %clean rm -rf $RPM_BUILD_ROOT @@ -52,6 +55,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man8/solaris2mpm.8* %changelog +* Tue Feb 10 2009 Michael Stahnke <[email protected]> - 0.3.1-2 +- Package cleanup for Fedora Inclusion + * Wed Sep 24 2008 Milan Zazrivec 0.3.1-1 - Bumped version for spacewalk 0.3 @@ -60,3 +66,4 @@ rm -rf $RPM_BUILD_ROOT * Thu Nov 02 2006 James Bowes <[email protected]> - 4.2.0-48 - Initial seperate packaging. + -- 1.5.6.6
_______________________________________________ Spacewalk-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-devel
