commit dmapi for openSUSE:Factory
Hello community, here is the log from the commit of package dmapi for openSUSE:Factory checked in at Mon Sep 26 10:03:48 CEST 2011. -------- --- dmapi/dmapi.changes 2010-02-03 15:33:06.000000000 +0100 +++ /mounts/work_src_done/STABLE/dmapi/dmapi.changes 2011-09-22 13:18:20.000000000 +0200 @@ -1,0 +2,8 @@ +Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de + +- Implement shlib policy (libdm0) +- Remove redundant tags/sections from specfile + (cf. packaging guidelines) +- Use %_smp_mflags for parallel build + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- baselibs.conf ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dmapi.spec ++++++ --- /var/tmp/diff_new_pack.bbxhmt/_old 2011-09-26 10:03:43.000000000 +0200 +++ /var/tmp/diff_new_pack.bbxhmt/_new 2011-09-26 10:03:43.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package dmapi (Version 2.2.10) +# spec file for package dmapi # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,17 +15,16 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: dmapi +%define lname libdm0 BuildRequires: e2fsprogs-devel xfsprogs-devel Version: 2.2.10 Release: 1 -AutoReqProv: on Group: Development/Libraries/C and C++ License: GPLv2+ -Url: http://oss.sgi.com/projects/xfs/ +URL: http://oss.sgi.com/projects/xfs/ Summary: Data Management API Runtime Environment Source0: dmapi-%{version}.tar.bz2 Patch0: dmapi-docdir.diff @@ -38,18 +37,22 @@ Management (XDSM) API dated February 1997. This interface is implemented by the libdm library. +%package -n %lname +Summary: Data Management API Runtime Environment +Group: Development/Libraries/C and C++ +Obsoletes: dmapi < %version-%release +Provides: dmapi = %version-%release - -Authors: --------- - SGI +%description -n %lname +This package contains files required by system software using the Data +Management API. (DMAPI). This is used to implement the interface +defined in the X/Open document: Systems Management: Data Storage +Management (XDSM) API dated February 1997. This interface is +implemented by the libdm library. %package devel -Requires: dmapi = %version -AutoReqProv: on +Requires: %lname = %version Group: Development/Libraries/C and C++ -License: GPLv2+ -Url: http://oss.sgi.com/projects/xfs/ Summary: DMAPI Libraries and Header Files %description devel @@ -58,23 +61,15 @@ If you install dmapi-devel, you will also want to install the dmapi (runtime) package and the xfsprogs-devel package. - - -Authors: --------- - SGI - %prep %setup -q %patch0 %build -CFLAGS=$RPM_OPT_FLAGS \ -./configure \ - --prefix=/usr \ - --libdir=/%_lib \ - --libexecdir=%_libdir -LCFLAGS="$RPM_OPT_FLAGS" make +export LCFLAGS="%optflags" +# Upstream: devel files (libdm.la) into libexecdir, what gives? +%configure --libdir=/%_lib --libexecdir=%_libdir +make %{?_smp_mflags} %install export DIST_ROOT="$RPM_BUILD_ROOT" @@ -87,23 +82,21 @@ ls ../../%_lib/libdm.so.[0-9] ln -s ../../%_lib/libdm.so.[0-9] libdm.so popd +mv "%buildroot/%_defaultdocdir/%name" "%buildroot/%_defaultdocdir/%lname"; find $RPM_BUILD_ROOT -%clean -rm -rf $RPM_BUILD_ROOT - -%post -p /sbin/ldconfig +%post -n %lname -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%postun -n %lname -p /sbin/ldconfig -%files +%files -n %lname %defattr(-,root,root,755) /%_lib/libdm.so.* -%doc %_defaultdocdir/%name +%doc %_defaultdocdir/%lname %files devel %defattr(-,root,root,755) -/usr/include/xfs/dmapi.h +/usr/include/xfs %_libdir/libdm.a %_libdir/libdm.so %_libdir/libdm.la ++++++ baselibs.conf ++++++ # Change <= to < in 2.2.11 libdm0 obsoletes "dmapi-<targettype> <= <version>" provides "dmapi-<targettype> = <version>" ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de