Hello community, here is the log from the commit of package libwps for openSUSE:Factory checked in at 2014-01-30 11:31:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libwps (Old) and /work/SRC/openSUSE:Factory/.libwps.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libwps" Changes: -------- --- /work/SRC/openSUSE:Factory/libwps/libwps.changes 2014-01-23 15:48:52.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libwps.new/libwps.changes 2014-01-30 11:31:42.000000000 +0100 @@ -1,0 +2,5 @@ +Sat Jan 25 20:50:48 UTC 2014 - [email protected] + +- Cleanup with spec-cleaner + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libwps.spec ++++++ --- /var/tmp/diff_new_pack.4gTc0O/_old 2014-01-30 11:31:43.000000000 +0100 +++ /var/tmp/diff_new_pack.4gTc0O/_new 2014-01-30 11:31:43.000000000 +0100 @@ -17,19 +17,19 @@ Name: libwps +Version: 0.2.9 +Release: 0 +Summary: Library for importing the Microsoft Works word processor file format +License: LGPL-2.1+ and MPL-2.0+ +Group: Productivity/Publishing/Word +Url: http://libwps.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: boost-devel BuildRequires: gcc-c++ BuildRequires: libwpd-devel >= 0.9.0 BuildRequires: pkgconfig BuildRequires: xz -Summary: Library for importing the Microsoft Works word processor file format -License: LGPL-2.1+ and MPL-2.0+ -Group: Productivity/Publishing/Word -Version: 0.2.9 -Release: 0 -Url: http://libwps.sourceforge.net/ -Source: http://downloads.sourceforge.net/project/%{name}/%{name}/%{name}-%{version}/%{name}-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -38,21 +38,21 @@ %define libname libwps-0_2-2 -%package -n %libname -# remove the old non-versioned package (built in the bs for instance) -Obsoletes: libwps < %version -Provides: libwps = %version +%package -n %{libname} Summary: Library for importing the Microsoft Works word processor file format Group: System/Libraries +# remove the old non-versioned package (built in the bs for instance) +Obsoletes: libwps < %{version} +Provides: libwps = %{version} -%description -n %libname +%description -n %{libname} libwps is a library (for use by word procesors, for example) for importing the Microsoft Works word processor file format. %package devel Summary: Files for Developing with libwps Group: Development/Libraries/C and C++ -Requires: %libname = %version +Requires: %{libname} = %{version} Requires: libwpd-devel >= 0.9.0 %description devel @@ -73,23 +73,23 @@ %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=$RPM_BUILD_ROOT install -rm $RPM_BUILD_ROOT%_libdir/*.la -mkdir -p $RPM_BUILD_ROOT%_docdir/%name +make DESTDIR=%{buildroot} install %{?_smp_mflags} +find %{buildroot} -type f -name "*.la" -delete -print +mkdir -p %{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: [email protected] For additional commands, e-mail: [email protected]
