From 0df88c01acbbd44309574313d5784186b6626bc3 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Thu, 25 Apr 2013 10:12:46 +0200 Subject: [PATCH] Add missing inter-package dependencies - Rename fedora directory to build --- xmlrpc-c.spec | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/xmlrpc-c.spec b/xmlrpc-c.spec index 6c3e413..128b185 100644 --- a/xmlrpc-c.spec +++ b/xmlrpc-c.spec @@ -6,7 +6,7 @@ Summary: A lightweight RPC library based on XML and HTTP Name: xmlrpc-c Version: 1.32.5 -Release: %release_func 1901.svn%svnrev +Release: %release_func 1902.svn%svnrev # See COPYING for details. # The Python 1.5.2 license used by a few files is just BSD. License: BSD and MIT @@ -48,6 +48,8 @@ Requires: %name%{?_isa} = %version-%release Summary: C++ client libraries for xmlrpc-c Group: System Environment/Libraries Requires: %name%{?_isa} = %version-%release +Requires: %name-c++%{?_isa} = %version-%release +Requires: %name-client%{?_isa} = %version-%release %package devel Summary: Development files for xmlrpc-c based programs @@ -60,6 +62,10 @@ Requires: %name-client++%{?_isa} = %version-%release %package apps Summary: Sample XML-RPC applications Group: Applications/Internet +Requires: %name%{?_isa} = %version-%release +Requires: %name-c++%{?_isa} = %version-%release +Requires: %name-client%{?_isa} = %version-%release +Requires: %name-client++%{?_isa} = %version-%release %description @@ -123,8 +129,8 @@ rm doc/{INSTALL,configure_doc} %build -mkdir -p fedora -cd fedora +mkdir -p build +cd build export CFLAGS="$RPM_OPT_FLAGS -Wno-uninitialized -Wno-unknown-pragmas" export CXXFLAGS="$RPM_OPT_FLAGS" export LDFLAGS="-Wl,-as-needed" @@ -142,7 +148,7 @@ make VERBOSE=1 %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT -cd fedora +cd build make install DESTDIR=$RPM_BUILD_ROOT chmod +x $RPM_BUILD_ROOT%_libdir/*.so @@ -236,6 +242,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Apr 25 2013 Mikolaj Izdebski - 1.32.5-1902.svn2451 +- Add missing inter-package dependencies +- Rename fedora directory to build + * Fri Feb 15 2013 Fedora Release Engineering - 1.32.5-1901.svn2451 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild