Hello community,

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

Package is "libodfgen"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libodfgen/libodfgen.changes      2014-01-23 
15:48:05.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libodfgen.new/libodfgen.changes 2014-01-30 
11:30:24.000000000 +0100
@@ -1,0 +2,5 @@
+Sat Jan 25 21:01:27 UTC 2014 - [email protected]
+
+- Cleanup with spec-cleaner.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ libodfgen.spec ++++++
--- /var/tmp/diff_new_pack.pm1v8B/_old  2014-01-30 11:30:24.000000000 +0100
+++ /var/tmp/diff_new_pack.pm1v8B/_new  2014-01-30 11:30:24.000000000 +0100
@@ -17,7 +17,13 @@
 
 
 Name:           libodfgen
-# note: the main package is empty, it only sets a sane name for the source rpm
+Version:        0.0.4
+Release:        0
+Summary:        Library to generate ODF documents from libwpd's and libwpg's 
api calls
+License:        LGPL-2.1+ and MPL-2.0+
+Group:          Productivity/Publishing/Word
+Url:            http://libwpd.sourceforge.net
+Source:         
http://downloads.sourceforge.net/project/libwpd/%{name}/%{name}-%{version}/%{name}-%{version}.tar.xz
 BuildRequires:  boost-devel
 BuildRequires:  doxygen
 BuildRequires:  fdupes
@@ -27,13 +33,6 @@
 BuildRequires:  libwpg-devel
 BuildRequires:  pkgconfig
 BuildRequires:  xz
-Version:        0.0.4
-Release:        0
-Summary:        Library to generate ODF documents from libwpd's and libwpg's 
api calls
-License:        LGPL-2.1+ and MPL-2.0+
-Group:          Productivity/Publishing/Word
-Source:         
http://downloads.sourceforge.net/project/libwpd/%{name}/%{name}-%{version}/%{name}-%{version}.tar.xz
-Url:            http://libwpd.sourceforge.net
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -42,12 +41,11 @@
 
 %define libname libodfgen-0_0-0
 
-%package -n %libname
-# remove the old non-versioned package (built in the bs for instance)
+%package -n %{libname}
 Summary:        Library to generate ODF documents from libwpd's and libwpg's 
api calls
 Group:          System/Libraries
 
-%description -n %libname
+%description -n %{libname}
 libodfgen is a general purpose library designed to generate ODF documents
 from api calls to libwpd and libwpg libraries.
 
@@ -75,7 +73,7 @@
 %setup -q
 
 %build
-export CXXFLAGS="%optflags -fvisibility-inlines-hidden"
+export CXXFLAGS="%{optflags} -fvisibility-inlines-hidden"
 %configure \
        --disable-werror \
        --disable-static \
@@ -85,16 +83,16 @@
 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
 
 %fdupes -s %{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.*
 %doc ChangeLog

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to