- require the various subpackages explicitly for -devel; the ld linker

scripts broke rpm's autodetection (#567400)
- removed -devel Requires: which are covered by pkgconfig autodeps
- added %%{?_isa} annotations
This commit is contained in:
ensc 2010-02-23 08:50:33 +00:00
parent 4f23ce01a4
commit f1cb8ffb9f

View File

@ -6,7 +6,7 @@
Summary: A lightweight RPC library based on XML and HTTP
Name: xmlrpc-c
Version: 1.21.00
Release: %release_func 1400.%svnrev
Release: %release_func 1401.%svnrev
# See COPYING for details.
# The Python 1.5.2 license used by a few files is just BSD.
License: BSD and MIT
@ -35,25 +35,25 @@ BuildRequires: curl-devel libxml2-devel readline-devel ncurses-devel
%package c++
Summary: C++ libraries for xmlrpc-c
Group: System Environment/Libraries
Requires: %name = %version-%release
Requires: %name%{?_isa} = %version-%release
%package client
Summary: C client libraries for xmlrpc-c
Group: System Environment/Libraries
Requires: %name = %version-%release
Requires: %name%{?_isa} = %version-%release
%package client++
Summary: C++ client libraries for xmlrpc-c
Group: System Environment/Libraries
Requires: %name = %version-%release
Requires: %name%{?_isa} = %version-%release
%package devel
Summary: Development files for xmlrpc-c based programs
Group: Development/Libraries
Requires: %name = %version-%release
Requires: %name-c++ = %version-%release
Requires: libxml2-devel curl-devel
Requires: pkgconfig
Requires: %name%{?_isa} = %version-%release
Requires: %name-c++%{?_isa} = %version-%release
Requires: %name-client%{?_isa} = %version-%release
Requires: %name-client++%{?_isa} = %version-%release
%package apps
Summary: Sample XML-RPC applications
@ -231,6 +231,12 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Tue Feb 23 2010 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.21.00-1401.1851
- require the various subpackages explicitly for -devel; the ld linker
scripts broke rpm's autodetection (#567400)
- removed -devel Requires: which are covered by pkgconfig autodeps
- added %%{?_isa} annotations
* Sun Feb 21 2010 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.21.00-1400.1851
- made linker scripts more 'ldconfig' friendly