Add missing inter-package dependencies

- Rename fedora directory to build
This commit is contained in:
Mikolaj Izdebski 2013-04-25 10:12:46 +02:00
parent c6d591656f
commit 0df88c01ac

View File

@ -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 <mizdebsk@redhat.com> - 1.32.5-1902.svn2451
- Add missing inter-package dependencies
- Rename fedora directory to build
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.32.5-1901.svn2451
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild