Hello community,

here is the log from the commit of package grepmail for openSUSE:Factory 
checked in at 2015-05-24 19:33:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/grepmail (Old)
 and      /work/SRC/openSUSE:Factory/.grepmail.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "grepmail"

Changes:
--------
--- /work/SRC/openSUSE:Factory/grepmail/grepmail.changes        2014-07-24 
00:31:32.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.grepmail.new/grepmail.changes   2015-05-24 
19:33:32.000000000 +0200
@@ -1,0 +2,12 @@
+Fri May 22 18:11:31 UTC 2015 - [email protected]
+
+- update to 5.3104 (now hosted on cpan)
+- remove upstreamed grepmail_midnight.patch
+- remove grepmail-empty-file-not-error.patch (disabled some tests that
+  no longer fail)
+- disable grepmail-buildfix.patch for > 13.2 (breaks the build for
+  factory, but is still needed for <= 13.2)
+- update (Build)Requires according to what cpanspec lists
+- run spec-cleaner
+
+-------------------------------------------------------------------

Old:
----
  grepmail-5.3033.tar.bz2
  grepmail-empty-file-not-error.patch
  grepmail_midnight.patch

New:
----
  grepmail-5.3104.tar.gz

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

Other differences:
------------------
++++++ grepmail.spec ++++++
--- /var/tmp/diff_new_pack.9OxdgN/_old  2015-05-24 19:33:33.000000000 +0200
+++ /var/tmp/diff_new_pack.9OxdgN/_new  2015-05-24 19:33:33.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package grepmail
 #
-# Copyright (c) 2014 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
@@ -17,29 +17,27 @@
 
 
 Name:           grepmail
-BuildRequires:  perl
-BuildRequires:  perl-macros
-Version:        5.3033
+Version:        5.3104
 Release:        0
 Summary:        Search Mailboxes for a Particular E-Mail
 License:        GPL-2.0+
 Group:          Productivity/Networking/Email/Utilities
-Url:            http://grepmail.sourceforge.net/
-Requires:       perl(Date::Manip)
-Requires:       perl(Date::Parse)
-Requires:       perl(Inline)
-Requires:       perl(Mail::Mbox::MessageParser) >= 1.4001
-Requires:       perl(Time::Local)
-## not in factory ## BuildRequires:  perl(Benchmark::Timer) => 0.7100
-BuildRequires:  perl(Date::Manip)
+Url:            https://metacpan.org/release/grepmail
+Source:         
http://search.cpan.org/CPAN/authors/id/D/DC/DCOPPIT/grepmail-%{version}.tar.gz
+Patch2:         grepmail-buildfix.patch
+BuildRequires:  perl
+BuildRequires:  perl-macros
 BuildRequires:  perl(Date::Parse)
-BuildRequires:  perl(Inline)
+BuildRequires:  perl(File::Slurp)
 BuildRequires:  perl(Mail::Mbox::MessageParser) >= 1.4001
-BuildRequires:  perl(Time::Local)
-Source:         
http://prdownloads.sourceforge.net/grepmail/grepmail-%{version}.tar.bz2
-Patch0:         grepmail_midnight.patch
-Patch1:         grepmail-empty-file-not-error.patch
-Patch2:         grepmail-buildfix.patch
+BuildRequires:  perl(Time::Local) >= 1.2300
+BuildRequires:  perl(URI::Escape)
+## not in factory ## BuildRequires:  perl(Benchmark::Timer) => 0.7100
+Requires:       perl(Date::Parse)
+Requires:       perl(Mail::Mbox::MessageParser) >= 1.4001
+Requires:       perl(Time::Local) >= 1.2300
+# Date::Manip is only used as fallback
+Recommends:     perl(Date::Manip)
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
 %{perl_requires}
@@ -51,38 +49,36 @@
 
 %prep
 %setup -q
-%patch0
-%patch1
+%if 0%{?suse_version} <= 1320
+# needed for <= 13.2, but breaks 'make test' in > 13.2
 %patch2
+%endif
 rm inc/Scalar/Util.pm
-%if 0%{suse_version} >= 1320
+%if 0%{?suse_version} >= 1320
 rm -rf inc/File/Spec*
 %endif
 
 %build
 PERL_EXTUTILS_AUTOINSTALL=--skip perl Makefile.PL INSTALLDIRS=site
-make
+make %{?_smp_mflags}
 
 %check
-make test
+make %{?_smp_mflags} test
 
 %install
 %perl_make_install
 # do not perl_process_packlist (noarch)
 # remove .packlist file
-%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
+rm -rf %{buildroot}%{perl_vendorarch}
 # remove perllocal.pod file
-%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
+rm -rf %{buildroot}%{perl_archlib}
 %perl_gen_filelist
-install -m 755 anonymize_mailbox $RPM_BUILD_ROOT/usr/bin
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+install -m 755 anonymize_mailbox %{buildroot}%{_prefix}/bin
 
 %files
 %defattr (-, root, root)
 %doc README CHANGES LICENSE
-%doc %{_mandir}/man?/*
+%{_mandir}/man?/*
 %{_bindir}/anonymize_mailbox
 %{_bindir}/grepmail
 


Reply via email to