Mass letter "o" and "p" update, one or more apply :
- Drop epoch: 0 - Remove %{epoch} requirements in sub-packages - Remove trailing white spaces - Keep consistent between spaces and tabs
This commit is contained in:
parent
87ee4f5598
commit
0364da63d5
27
openslp.spec
27
openslp.spec
@ -1,21 +1,20 @@
|
||||
# $Id: openslp.spec,v 1.4 2004/12/10 22:03:07 mschwendt Exp $
|
||||
# $Id: openslp.spec,v 1.5 2005/03/03 23:53:13 thias Exp $
|
||||
|
||||
%define pie 1
|
||||
|
||||
Summary: OpenSLP implementation of Service Location Protocol V2
|
||||
Name: openslp
|
||||
Epoch: 0
|
||||
Summary: Open implementation of Service Location Protocol V2
|
||||
Name: openslp
|
||||
Version: 1.2.0
|
||||
Release: 4%{?dist_tag}
|
||||
Group: System Environment/Libraries
|
||||
Group: System Environment/Libraries
|
||||
License: BSD
|
||||
#URL: http://www.openslp.org/
|
||||
URL: http://sourceforge.net/projects/openslp/
|
||||
#URL: http://www.openslp.org/
|
||||
URL: http://sourceforge.net/projects/openslp/
|
||||
Source: http://dl.sourceforge.net/sourceforge/openslp/openslp-1.2.0.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
|
||||
Source1: slpd.init
|
||||
Patch1: openslp-1.2.0-optflags.patch
|
||||
Patch1: openslp-1.2.0-optflags.patch
|
||||
|
||||
BuildRequires: autoconf automake libtool
|
||||
BuildRequires: bison flex
|
||||
@ -33,15 +32,15 @@ by RFC 2608 and RFC 2614.
|
||||
|
||||
%package devel
|
||||
Summary: OpenSLP headers and libraries
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{epoch}:%{version}-%{release}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%description devel
|
||||
OpenSLP header files and libraries.
|
||||
|
||||
%package server
|
||||
Summary: OpenSLP server daemon
|
||||
Group: System Environment/Daemons
|
||||
Requires: %{name} = %{epoch}:%{version}-%{release}
|
||||
Group: System Environment/Daemons
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires(preun): chkconfig /sbin/service
|
||||
Requires(post): chkconfig
|
||||
Requires(postun): /sbin/service
|
||||
@ -87,8 +86,8 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
||||
install -p -D -m755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/slpd
|
||||
|
||||
# nuke unpackaged/unwanted files
|
||||
rm -rf $RPM_BUILD_ROOT/usr/doc
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
rm -rf $RPM_BUILD_ROOT/usr/doc
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
|
||||
|
||||
%clean
|
||||
|
Loading…
Reference in New Issue
Block a user