Hello community, here is the log from the commit of package libmm14 for openSUSE:Factory checked in at 2015-03-18 13:04:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libmm14 (Old) and /work/SRC/openSUSE:Factory/.libmm14.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libmm14" Changes: -------- --- /work/SRC/openSUSE:Factory/libmm14/libmm14.changes 2012-02-14 19:02:42.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libmm14.new/libmm14.changes 2015-03-18 13:04:18.000000000 +0100 @@ -1,0 +2,6 @@ +Fri Mar 13 14:06:44 UTC 2015 - [email protected] + +- Cleanup a bit with spec-cleaner +- Reduce some tags and fix rpmlint warnings + +------------------------------------------------------------------- Old: ---- mm.xpm ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libmm14.spec ++++++ --- /var/tmp/diff_new_pack.bEnlco/_old 2015-03-18 13:04:19.000000000 +0100 +++ /var/tmp/diff_new_pack.bEnlco/_new 2015-03-18 13:04:19.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package libmm14 # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,23 +16,8 @@ # - -Name: libmm14 -Version: 1.4.2 -Release: 84 %define pkg_name mm # -License: MIT -Group: System/Libraries -# -BuildRequires: libtool -BuildRoot: %{_tmppath}/%{name}-%{version}-build -# mm-1.4.2 on 10.2 -Provides: %{pkg_name} = %{version}-%{release} -Obsoletes: %{pkg_name} <= 1.4.2 -# limit the shared memory maximum segment size to this many MB -%define mm_segment_limit 32 -# # note that the maximum size that 2.4 kernel allows is 32 MB by default # (that's low, but it's runtime configurable). # but then again, php typically allocates the maximum size possible @@ -46,13 +31,21 @@ # possibly only mm_create a reasonable sized segment and mm_realloc it # later if need be. # -URL: http://www.ossp.org/pkg/lib/mm/ -# repackaged from: ftp://ftp.ossp.org/pkg/lib/%{name}/%{name}-%{version}.tar.gz -Source: %{pkg_name}-%{version}.tar.bz2 -Patch: segment_size.diff -Icon: mm.xpm -# +# limit the shared memory maximum segment size to this many MB +%define mm_segment_limit 32 +Name: libmm14 +Version: 1.4.2 +Release: 0 Summary: Shared Memory Library +License: MIT +Group: System/Libraries +Url: http://www.ossp.org/pkg/lib/mm/ +#Repackaged from: +#Source: ftp://ftp.ossp.org/pkg/lib/mm/mm-%{version}.tar.gz +Source: %{pkg_name}-%{version}.tar.bz2 +Patch0: segment_size.diff +BuildRequires: libtool +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The MM library is a 2-layer abstraction library that simplifies the @@ -64,32 +57,32 @@ work with data structures inside those shared memory segments. %package -n libmm-devel -Group: System/Libraries +Summary: Development files for %{name} +Group: Development/Libraries Requires: %{name} = %{version} Provides: %{name}-devel = %{version}-%{release} -Provides: %{pkg_name}-devel = %{version}-%{release} -# -Summary: Static Libraries and Includes for mm %description -n libmm-devel -Static Libraries and Includes for mm +Libraries and Includes for %{name} %prep -%setup -n %{pkg_name}-%{version} -%patch +%setup -q -n %{pkg_name}-%{version} +%patch0 %build -%configure --with-shm=IPCSHM --with-max-segment-size=%{mm_segment_limit} +%configure \ + --with-shm=IPCSHM \ + --with-max-segment-size=%{mm_segment_limit} make %{?_smp_mflags} LIBTOOL=%{_bindir}/libtool -%ifnarch %arm +%ifnarch %arm %check -%{__make} test +make %{?_smp_mflags} test %endif %install -%makeinstall LIBTOOL=%{_bindir}/libtool -%{__rm} %{buildroot}/%{_libdir}/libmm.{,l}a +make DESTDIR=%{buildroot} install %{?_smp_mflags} LIBTOOL=%{_bindir}/libtool +rm %{buildroot}/%{_libdir}/libmm.{,l}a %post -p /sbin/ldconfig -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
