Hello community,

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

Package is "libmspub"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libmspub/libmspub.changes        2014-01-23 
15:47:58.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libmspub.new/libmspub.changes   2014-01-30 
11:30:14.000000000 +0100
@@ -1,0 +2,5 @@
+Sat Jan 25 21:06:46 UTC 2014 - [email protected]
+
+- Cleanup with spec-cleaner and noarch documenation.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ libmspub.spec ++++++
--- /var/tmp/diff_new_pack.NMzFhM/_old  2014-01-30 11:30:15.000000000 +0100
+++ /var/tmp/diff_new_pack.NMzFhM/_new  2014-01-30 11:30:15.000000000 +0100
@@ -17,6 +17,13 @@
 
 
 Name:           libmspub
+Version:        0.0.6
+Release:        0
+Summary:        Microsoft Publisher file format parser library
+License:        LGPL-2.1+ or GPL-2.0+ or MPL-1.1
+Group:          Productivity/Publishing/Word
+Url:            http://www.freedesktop.org/wiki/Software/libmspub
+Source:         http://dev-www.libreoffice.org/src/libmspub-%{version}.tar.xz
 BuildRequires:  boost-devel
 BuildRequires:  doxygen
 BuildRequires:  fdupes
@@ -27,13 +34,6 @@
 BuildRequires:  pkgconfig
 BuildRequires:  xz
 BuildRequires:  zlib-devel
-Summary:        Microsoft Publisher file format parser library
-License:        LGPL-2.1+ or GPL-2.0+ or MPL-1.1
-Group:          Productivity/Publishing/Word
-Version:        0.0.6
-Release:        0
-Url:            http://www.freedesktop.org/wiki/Software/libmspub
-Source:         http://dev-www.libreoffice.org/src/libmspub-%{version}.tar.xz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -41,18 +41,18 @@
 
 %define libname libmspub-0_0-0
 
-%package -n %libname
+%package -n %{libname}
 Summary:        Microsoft Publisher file format parser library
 Group:          System/Libraries
 
-%description -n %libname
+%description -n %{libname}
 libmspub 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 libmspub
 Group:          Development/Libraries/C and C++
-Requires:       %libname = %version
+Requires:       %{libname} = %{version}
 Requires:       libwpd-devel
 Requires:       libwpg-devel
 
@@ -64,11 +64,13 @@
 %package devel-doc
 Summary:        Documentation for the libmspub API
 Group:          Documentation/HTML
+%if 0%{?suse_version} > 1200
+BuildArch:      noarch
+%endif
 
 %description devel-doc
 This package contains documentation for the libmspub API.
 
-
 %package tools
 Summary:        Tools to work with publications in Microsoft Publisher 
file-format
 Group:          Productivity/Publishing/Word
@@ -80,27 +82,27 @@
 %setup -q
 
 %build
-export CXXFLAGS="%optflags -fvisibility-inlines-hidden"
+export CXXFLAGS="%{optflags} -fvisibility-inlines-hidden"
 %configure \
        --disable-werror \
        --disable-static \
-       --docdir=%_docdir/%name
+       --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}
 # docs have duped pictures
 %fdupes %{buildroot}
 
-%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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to