From cd885bd77ca777d215401fa060a8c83b2b36fe4c6dcae8049297b03f2536355f Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Wed, 22 Oct 2008 15:28:47 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpm?expand=0&rev=56 --- rpm-python.spec | 2 +- rpm.changes | 5 +++++ rpm.spec | 40 ++++++++++++++++++++++++++++++++++------ 3 files changed, 40 insertions(+), 7 deletions(-) diff --git a/rpm-python.spec b/rpm-python.spec index d86e2be..b87198e 100644 --- a/rpm-python.spec +++ b/rpm-python.spec @@ -24,7 +24,7 @@ License: GPL v2 or later Group: System/Packages Summary: Python Bindings for Manipulating RPM Packages Version: 4.4.2.3 -Release: 7 +Release: 8 Requires: rpm = %{version} %py_requires Source99: rpm.spec diff --git a/rpm.changes b/rpm.changes index 3a96b40..aa755bc 100644 --- a/rpm.changes +++ b/rpm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 20 16:16:01 CEST 2008 - mls@suse.de + +- drop static libraries and libtool archives + ------------------------------------------------------------------- Thu Oct 2 18:30:41 CEST 2008 - vuntz@suse.de diff --git a/rpm.spec b/rpm.spec index 386c045..cb8f984 100644 --- a/rpm.spec +++ b/rpm.spec @@ -27,7 +27,7 @@ PreReq: %insserv_prereq %fillup_prereq permissions AutoReqProv: on Summary: The RPM Package Manager Version: 4.4.2.3 -Release: 7 +Release: 8 Source: rpm-%{version}.tar.bz2 Source1: RPM-HOWTO.tar.bz2 Source2: RPM-Tips.html.tar.bz2 @@ -118,7 +118,7 @@ Summary: Include Files and Libraries mandatory for Development License: GPL v2 or later Group: System/Packages Requires: rpm = %{version} -Requires: popt-devel zlib-devel bzip2 libbz2-devel lzma-alpha-devel libselinux-devel +Requires: popt-devel %description devel This package contains the RPM C library and header files. These @@ -129,6 +129,27 @@ need an intimate knowledge of RPM packages in order to function. +Authors: +-------- + Erik Troan + Marc Ewing + +%package devel-static +Summary: Include Files and Libraries mandatory for Development +License: GPL v2 or later +Group: System/Packages +Requires: rpm-devel = %{version} +Requires: zlib-devel bzip2 libbz2-devel lzma-alpha-devel libselinux-devel libebl-devel + +%description devel-static +This package contains the RPM C library and header files. These +development files will simplify the process of writing programs which +manipulate RPM packages and databases and are intended to make it +easier to create graphical package managers or any other tools that +need an intimate knowledge of RPM packages in order to function. + + + Authors: -------- Erik Troan @@ -238,6 +259,8 @@ done popd gzip -9 CHANGES rm -rf $RPM_BUILD_ROOT/%{_libdir}/python%{py_ver} +#rm $RPM_BUILD_ROOT%{_libdir}/*.la +#rm $RPM_BUILD_ROOT%{_libdir}/*.a %clean rm -rf $RPM_BUILD_ROOT @@ -285,19 +308,22 @@ fi %files devel %defattr(644,root,root,755) /usr/include/rpm - %{_libdir}/librpm*.a - %{_libdir}/librpm*.la %{_libdir}/librpm.so %{_libdir}/librpmbuild.so %{_libdir}/librpmdb.so %{_libdir}/librpmio.so +%files devel-static +%defattr(644,root,root,755) + %{_libdir}/librpm*.a + %{_libdir}/librpm*.la + %package -n popt Summary: A C library for parsing command line parameters License: LGPL v2.1 or later Group: System/Libraries Version: 1.7 -Release: 455 +Release: 456 # %description -n popt @@ -320,7 +346,7 @@ Summary: C Library for Parsing Command Line Parameters License: LGPL v2.1 or later Group: System/Libraries Version: 1.7 -Release: 455 +Release: 456 Requires: popt = 1.7 Requires: glibc-devel @@ -355,6 +381,8 @@ Authors: %doc %{_mandir}/man3/popt.3* %changelog +* Mon Oct 20 2008 mls@suse.de +- drop static libraries and libtool archives * Thu Oct 02 2008 vuntz@suse.de - support the new -t option of suse_update_desktop_file.sh in rpm-suse_macros