Hello community,

here is the log from the commit of package mailsync for openSUSE:Factory 
checked in at 2017-07-07 10:16:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mailsync (Old)
 and      /work/SRC/openSUSE:Factory/.mailsync.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mailsync"

Fri Jul  7 10:16:51 2017 rev:16 rq:508328 version:5.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/mailsync/mailsync.changes        2013-12-10 
09:34:43.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.mailsync.new/mailsync.changes   2017-07-07 
10:16:52.275395180 +0200
@@ -1,0 +2,8 @@
+Mon Jul  3 18:18:54 UTC 2017 - mplus...@suse.com
+
+- Cleanup with spec-cleaner:
+  * Use common packaging macros
+  * Enable parallel build
+- Update source url
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ mailsync.spec ++++++
--- /var/tmp/diff_new_pack.hF5mqE/_old  2017-07-07 10:16:53.035287659 +0200
+++ /var/tmp/diff_new_pack.hF5mqE/_new  2017-07-07 10:16:53.039287093 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package mailsync
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -17,55 +17,40 @@
 
 
 Name:           mailsync
-BuildRequires:  gcc-c++
-BuildRequires:  imap-devel
-BuildRequires:  openssl-devel
-BuildRequires:  pam-devel
 Version:        5.2.1
 Release:        0
-Url:            http://sourceforge.net/projects/mailsync/
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Source:         
http://unc.dl.sourceforge.net/sourceforge/mailsync/%{name}_%{version}.orig.tar.gz
-Patch:          mailsync-correct-format-errors.patch
 Summary:        The Mail Sync Tool
 License:        GPL-2.0+
 Group:          Productivity/Networking/Email/Utilities
+Url:            http://sourceforge.net/projects/mailsync/
+Source:         
https://sourceforge.net/projects/mailsync/files/mailsync/%{version}/mailsync_%{version}.orig.tar.gz
+Patch0:         mailsync-correct-format-errors.patch
+BuildRequires:  gcc-c++
+BuildRequires:  imap-devel
+BuildRequires:  openssl-devel
+BuildRequires:  pam-devel
 
 %description
-Mailsync is a way of keeping a collection of mailboxes synchronized.
-The mailboxes may be on the local file system or on an IMAP server.
-
-
-
-Authors:
---------
-    Tim Culver <t...@doppke.com>
-    Tomas Pospisek <tpo_...@sourcepole.ch>
+Mailsync is a way of keeping a collection of mailboxes synchronized. The
+mailboxes may be on the local file system or on an IMAP server.
 
 %prep
 %setup -q
-%patch -p1
+%patch0 -p1
 
 %build
-# no idea why, but without SUSE_ASNEEDED, pam symbols are not found (during 
configure),
-# no matter how I'm ordering the -lxxx options... --seife
-export SUSE_ASNEEDED=0
-export CFLAGS="$RPM_OPT_FLAGS"
-./configure
-make
+%configure
+make %{?_smp_mflags}
 
 %install
-mkdir -p $RPM_BUILD_ROOT%{_bindir} $RPM_BUILD_ROOT/%{_mandir}/man1
-install -m 755 src/mailsync $RPM_BUILD_ROOT%{_bindir}
-install -m 644 doc/mailsync.1 $RPM_BUILD_ROOT%{_mandir}/man1
-
-%clean
-rm -rf $RPM_BUILD_ROOT;
+install -Dpm 0755 src/%{name} \
+  %{buildroot}%{_bindir}/%{name}
+install -Dpm 0644 doc/%{name}.1 \
+  %{buildroot}%{_mandir}/man1/%{name}.1
 
 %files 
-%defattr(-, root, root)
 %doc AUTHORS COPYING NEWS README THANKS TODO doc/examples/ doc/ABSTRACT
-%doc %{_mandir}/man1/mailsync.1.gz
 %{_bindir}/mailsync
+%{_mandir}/man1/mailsync.1%{ext_man}
 
 %changelog


Reply via email to