diff --git a/libplist.changes b/libplist.changes index e4eab04..fe0ef9c 100644 --- a/libplist.changes +++ b/libplist.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jan 31 10:50:25 UTC 2012 - jengelh@medozas.de + +- Remove redundant tags/sections per specfile guideline suggestions +- Parallel building using %_smp_mflags + ------------------------------------------------------------------- Wed Oct 5 12:24:02 UTC 2011 - uli@suse.com diff --git a/libplist.spec b/libplist.spec index 05efc90..b8556ec 100644 --- a/libplist.spec +++ b/libplist.spec @@ -1,7 +1,7 @@ # # spec file for package libplist # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 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 @@ -16,14 +16,13 @@ # - Name: libplist Version: 1.4 -Release: 5 -License: LGPL-2.1 or GPL-2.0 +Release: 0 Summary: Library for handling Apple Binary and XML Property Lists -Url: http://cgit.sukimashita.com/libplist.git +License: LGPL-2.1 or GPL-2.0 Group: System/Libraries +Url: http://cgit.sukimashita.com/libplist.git Source: %{name}-%{version}.tar.bz2 BuildRequires: cmake BuildRequires: gcc-c++ @@ -40,7 +39,6 @@ Patch1: gcc46_build_fix.patch libplist is a library for handling Apple Binary and XML Property Lists. %package -n libplist1 -License: LGPL-2.1 or GPL-2.0 Summary: Library for handling Apple Binary and XML Property Lists Group: System/Libraries Provides: libplist = %{version} @@ -50,7 +48,6 @@ Obsoletes: libplist < %{version} libplist is a library for handling Apple Binary and XML Property Lists. %package -n libplist++1 -License: LGPL-2.1 or GPL-2.0 Summary: Library for handling Apple Binary and XML Property Lists Group: System/Libraries Provides: libplist++ = %{version} @@ -60,7 +57,6 @@ Obsoletes: libplist++ < %{version} libplist is a library for handling Apple Binary and XML Property Lists. %package -n plutil -License: LGPL-2.1 or GPL-2.0 Summary: Library for handling Apple Binary and XML Property Lists Group: System/Libraries Requires: libplist1 = %{version} @@ -72,7 +68,6 @@ This package contains an utility to convert PList files from binary to XML and from XML to binary. %package devel -License: LGPL-2.1 or GPL-2.0 Summary: Library for handling Apple Binary and XML Property Lists -- Development Files Group: Development/Libraries/C and C++ Requires: libplist1 = %{version} @@ -84,7 +79,6 @@ libplist is a library for handling Apple Binary and XML Property Lists. This package contains the development files for C. %package -n libplist++-devel -License: LGPL-2.1 or GPL-2.0 Summary: Library for handling Apple Binary and XML Property Lists -- Development Files Group: Development/Libraries/C and C++ Requires: libplist++1 = %{version} @@ -97,7 +91,6 @@ libplist is a library for handling Apple Binary and XML Property Lists. This package contains the development files for C++. %package -n python-plist -License: LGPL-2.1 or GPL-2.0 Summary: Library for handling Apple Binary and XML Property Lists -- Python Bindings Group: Development/Languages/Python Requires: libplist1 = %{version} @@ -125,7 +118,7 @@ cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DPYTHON_LIBRARY=%_libdir/python%{py_ver} \ -DPYTHON_INCLUDE_DIR=%{?_sysroot}/usr/include/python \ . -make %{?jobs:-j%jobs} +make %{?_smp_mflags} %install %makeinstall @@ -137,9 +130,6 @@ cp -a %{buildroot}%{?_sysroot}/* %{buildroot}/ rm -fr %{buildroot}%{?_sysroot} %endif -%clean -rm -rf %{buildroot} - %post -n libplist1 -p /sbin/ldconfig %postun -n libplist1 -p /sbin/ldconfig