Hello community,

here is the log from the commit of package libcdr for openSUSE:Factory checked 
in at 2014-01-30 11:28:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libcdr (Old)
 and      /work/SRC/openSUSE:Factory/.libcdr.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libcdr"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libcdr/libcdr.changes    2014-01-23 
15:47:12.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libcdr.new/libcdr.changes       2014-01-30 
11:28:14.000000000 +0100
@@ -1,0 +2,5 @@
+Sat Jan 25 21:27:54 UTC 2014 - tchva...@suse.com
+
+- Format with spec-cleaner and noarch documentation.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libcdr.spec ++++++
--- /var/tmp/diff_new_pack.hG9UXI/_old  2014-01-30 11:28:14.000000000 +0100
+++ /var/tmp/diff_new_pack.hG9UXI/_new  2014-01-30 11:28:14.000000000 +0100
@@ -16,7 +16,16 @@
 #
 
 
+%define libname libcdr-0_0-0
 Name:           libcdr
+Version:        0.0.14
+Release:        0
+Summary:        Library for parsing the Corel Draw file format structure
+License:        LGPL-2.0+ or GPL-2.0+ or MPL-1.1
+Group:          Productivity/Publishing/Word
+Url:            http://www.freedesktop.org/wiki/Software/libcdr
+Source0:        http://dev-www.libreoffice.org/src/libcdr-%{version}.tar.xz
+Patch0:         libcdr-0.0.14-wpx_seek_end.patch
 # note: the main package is empty, it only sets a sane name for the source rpm
 BuildRequires:  boost-devel
 BuildRequires:  doxygen
@@ -28,35 +37,24 @@
 BuildRequires:  pkgconfig
 BuildRequires:  xz
 BuildRequires:  zlib-devel
-Summary:        Library for parsing the Corel Draw file format structure
-License:        LGPL-2.0+ or GPL-2.0+ or MPL-1.1
-Group:          Productivity/Publishing/Word
-Version:        0.0.14
-Release:        0
-Url:            http://www.freedesktop.org/wiki/Software/libcdr
-Source0:        http://dev-www.libreoffice.org/src/libcdr-%{version}.tar.xz
-Patch0:         libcdr-0.0.14-wpx_seek_end.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 libcdr is a library for parsing the Corel Draw file format structure. It is
 cross-platform, at the moment it can be build on Microsoft Windows and Linux.
 
-
-%define libname libcdr-0_0-0
-%package -n %libname
+%package -n %{libname}
 Summary:        Library for parsing the Corel Draw file format structure
 Group:          System/Libraries
 
-%description -n %libname
+%description -n %{libname}
 libcdr is a library for parsing the Corel Draw file format structure. It is
 cross-platform, at the moment it can be build on Microsoft Windows and Linux.
 
-
 %package devel
 Summary:        Files for Developing with libcdr
 Group:          Development/Libraries/C and C++
-Requires:       %libname = %version
+Requires:       %{libname} = %{version}
 Requires:       libwpd-devel
 Requires:       libwpg-devel
 
@@ -66,10 +64,12 @@
 
 This package contains the libcdr development files.
 
-
 %package devel-doc
 Summary:        Documentation for the libcdr API
 Group:          Documentation/HTML
+%if 0%{?suse_version} > 1200
+BuildArch:      noarch
+%endif
 
 %description devel-doc
 This package contains documentation for the libcdr API.
@@ -81,28 +81,27 @@
 %description tools
 Tools to work with documents in Corel Draw file-format.
 
-
 %prep
 %setup -q
 %patch0 -p1 -b .wpx_seek_end
 
 %build
-export CXXFLAGS="%optflags -fvisibility-inlines-hidden"
-%configure --disable-werror --disable-static --docdir=%_docdir/%name
+export CXXFLAGS="%{optflags} -fvisibility-inlines-hidden"
+%configure --disable-werror --disable-static --docdir=%{_docdir}/%{name}
 make %{?_smp_mflags} V=1
 
 %install
-make DESTDIR=%{buildroot} install
-rm %{buildroot}%_libdir/*.la
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
+find %{buildroot} -type f -name "*.la" -delete -print
 # documentation
 mkdir -p %{buildroot}%{_docdir}/%{name}
 cp -p AUTHORS COPYING.* ChangeLog %{buildroot}%{_docdir}/%{name}
 
-%post -n %libname -p /sbin/ldconfig
+%post -n %{libname} -p /sbin/ldconfig
 
-%postun -n %libname -p /sbin/ldconfig
+%postun -n %{libname} -p /sbin/ldconfig
 
-%files -n %libname
+%files -n %{libname}
 %defattr(-,root,root)
 %{_libdir}/*.so.*
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to