Hello community,
here is the log from the commit of package libfallocate for openSUSE:Factory
checked in at 2015-12-17 15:52:13
Comparing /work/SRC/openSUSE:Factory/libfallocate (Old)
and /work/SRC/openSUSE:Factory/.libfallocate.new (New)
Package is "libfallocate"
Changes:
--- /work/SRC/openSUSE:Factory/libfallocate/libfallocate.changes
2011-09-23 02:08:12.0 +0200
+++ /work/SRC/openSUSE:Factory/.libfallocate.new/libfallocate.changes
2015-12-17 15:52:14.0 +0100
@@ -1,0 +2,6 @@
+Fri Dec 11 10:50:26 UTC 2015 - mplus...@suse.com
+
+- Cleanup spec file with spec-cleaner
+- Update dependencies
+
+---
Other differences:
--
++ libfallocate.spec ++
--- /var/tmp/diff_new_pack.aGyTTv/_old 2015-12-17 15:52:15.0 +0100
+++ /var/tmp/diff_new_pack.aGyTTv/_new 2015-12-17 15:52:15.0 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package libfallocate (Version 0.1.1)
+# spec file for package libfallocate
#
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,19 +16,19 @@
#
-
+%define somajor 0
Name: libfallocate
Version:0.1.1
-Release:1
-Url:http://libfallocate.sf.net/
-Source: libfallocate-%{version}.tar.bz2
-#Patch:
-BuildRequires: autoconf gcc glibc-devel
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Prefix: /usr
+Release:0
Summary:Filesystem preallocation interface library
License:LGPL-2.1+
Group: System/Filesystems
+Url:http://libfallocate.sf.net/
+Source: libfallocate-%{version}.tar.bz2
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
libfallocate provides an interface for applications to tell filesystems
@@ -45,17 +45,11 @@
things out (like posix_fallocate()) or to extend the file size by a sparse
write (like a successful fallocate() with mode==0 would have done).
-
-Authors:
-
-Kurt Garloff
-
-%package -n libfallocate0
+%package -n libfallocate%{somajor}
Summary:Filesystem preallocation interface library
-License:LGPL-2.1+
Group: System/Filesystems
-%description -n libfallocate0
+%description -n libfallocate%{somajor}
libfallocate provides an interface for applications to tell filesystems
about the size of to-be-written files, so the filesystem can do a better
job in taking allocation decisions to avoid fragmentation.
@@ -70,61 +64,54 @@
things out (like posix_fallocate()) or to extend the file size by a sparse
write (like a successful fallocate() with mode==0 would have done).
-
-Authors:
-
-Kurt Garloff
-
-
%package devel
-License:LGPL-2.1+
-Requires: libfallocate0 = %{version}
Summary:Header and devel files for libfallocate
Group: Development/Libraries/C and C++
+Requires: libfallocate%{somajor} = %{version}-%{release}
%description devel
This package contains the header file and the .so library to link
against for apps that want to use libfallocate.
%package devel-static
-License:LGPL-2.1+
-Requires: libfallocate-devel = %{version}
Summary:Static library for libfallocate
Group: Development/Libraries/C and C++
+Requires: libfallocate-devel = %{version}-%{release}
%description devel-static
This package contains the static library for apps
apps that want to use libfallocate statically.
%prep
-%setup -q -n libfallocate-%{version}
+%setup -q
%build
-./autogen.sh
-make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
-make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" static
+autoreconf -fiv
+%configure
+make %{?_smp_mflags} RPM_OPT_FLAGS="%{optflags}"
+make %{?_smp_mflags} RPM_OPT_FLAGS="%{optflags}" static
%check
-make check
+make %{?_smp_mflags} check
%install
-make install-lib install-static install-header DESTDIR=$RPM_BUILD_ROOT
PREFIX=%{_prefix} LIBDIR=%{_libdir} DOCDIR=%{_docdir}/libfallocate0
+make install-lib install-static install-header DESTDIR=%{buildroot}
PREFIX=%{_prefix} LIBDIR=%{_libdir} DOCDIR=%{_docdir}/libfallocate0
-%post -n libfallocate0 -p /sbin/ldconfig
+%post -n libfallocate%{somajor} -p /sbin/ldconfig
-%postun -n libfallocate0 -p /sbin/ldconfig
+%postun -n libfallocate%{somajor} -p /sbin/ldconfig
-%files -n libfallocate0
-%defattr(0755,root,root)
-%{_libdir}/libfallocate.so.*
+%files -n