Hello community,

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

Package is "libwpd"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libwpd/libwpd.changes    2013-08-21 
13:45:25.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libwpd.new/libwpd.changes       2014-01-30 
11:31:28.000000000 +0100
@@ -1,0 +2,5 @@
+Sat Jan 25 20:53:25 UTC 2014 - [email protected]
+
+- Cleanup with spec-cleaner and noarch the documentation.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ libwpd.spec ++++++
--- /var/tmp/diff_new_pack.NQoFK6/_old  2014-01-30 11:31:28.000000000 +0100
+++ /var/tmp/diff_new_pack.NQoFK6/_new  2014-01-30 11:31:28.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libwpd
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -17,6 +17,13 @@
 
 
 Name:           libwpd
+Version:        0.9.9
+Release:        0
+Summary:        Library for Importing WordPerfect (tm) Documents
+License:        LGPL-2.1+ and MPL-2.0+
+Group:          Productivity/Publishing/Word
+Url:            http://libwpd.sourceforge.net
+Source:         
http://downloads.sourceforge.net/project/%{name}/%{name}/%{name}-%{version}/%{name}-%{version}.tar.xz
 # note: the main package is empty, it only sets a sane name for the source rpm
 BuildRequires:  doxygen
 BuildRequires:  fdupes
@@ -24,13 +31,6 @@
 BuildRequires:  pkgconfig
 BuildRequires:  xz
 BuildRequires:  zlib-devel
-Version:        0.9.9
-Release:        0
-Summary:        Library for Importing WordPerfect (tm) Documents
-License:        LGPL-2.1+ and MPL-2.0+
-Group:          Productivity/Publishing/Word
-Source:         
http://downloads.sourceforge.net/project/%{name}/%{name}/%{name}-%{version}/%{name}-%{version}.tar.xz
-Url:            http://libwpd.sourceforge.net
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -41,14 +41,14 @@
 
 %define libname libwpd-0_9-9
 
-%package -n %libname
-# remove the old non-versioned package (built in the bs for instance)
-Provides:       libwpd = %version
-Obsoletes:      libwpd < %version
+%package -n %{libname}
 Summary:        Library for Importing WordPerfect (tm) Documents
 Group:          System/Libraries
+# remove the old non-versioned package (built in the bs for instance)
+Provides:       libwpd = %{version}
+Obsoletes:      libwpd < %{version}
 
-%description -n %libname
+%description -n %{libname}
 libwpd is a general purpose library for reading or interpreting data
 from WordPerfect files. The library is not a stand-alone utility: it is
 designed to be used by another program (for example, a word processor)
@@ -69,6 +69,9 @@
 %package devel-doc
 Summary:        Documentation for the libwpd API
 Group:          Documentation/Other
+%if 0%{?suse_version} > 1200
+BuildArch:      noarch
+%endif
 
 %description devel-doc
 This package contains documentation for the libwpd API.
@@ -85,20 +88,20 @@
 %setup -q
 
 %build
-export CXXFLAGS="%optflags -fvisibility-inlines-hidden"
-%configure --disable-static --docdir=%_docdir/%name
+export CXXFLAGS="%{optflags} -fvisibility-inlines-hidden"
+%configure --disable-static --docdir=%{_docdir}/%{name}
 make %{?_smp_mflags}
 
 %install
-make DESTDIR=$RPM_BUILD_ROOT install
-rm $RPM_BUILD_ROOT%_libdir/*.la
-%fdupes -s $RPM_BUILD_ROOT%{_docdir}/%{name}/html
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
+find %{buildroot} -type f -name "*.la" -delete -print
+%fdupes -s %{buildroot}%{_docdir}/%{name}/html
 
-%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