Hello community,

here is the log from the commit of package perl-File-MimeInfo for 
openSUSE:Factory checked in at 2020-10-27 19:01:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-File-MimeInfo (Old)
 and      /work/SRC/openSUSE:Factory/.perl-File-MimeInfo.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-File-MimeInfo"

Tue Oct 27 19:01:40 2020 rev:3 rq:844261 version:0.30

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-File-MimeInfo/perl-File-MimeInfo.changes    
2018-10-08 17:50:56.314062187 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-File-MimeInfo.new.3463/perl-File-MimeInfo.changes
  2020-10-27 19:01:53.978872228 +0100
@@ -1,0 +2,24 @@
+Tue Oct 27 10:47:45 UTC 2020 - Tina Müller <[email protected]>
+
+- Add shared-mime-info dependency to cpanspec.yml
+
+-------------------------------------------------------------------
+Tue Oct 27 03:07:09 UTC 2020 - Tina Müller <[email protected]>
+
+- updated to 0.30
+   see /usr/share/doc/packages/perl-File-MimeInfo/Changes
+
+  0.30  2020-10-26
+   - Added function File::MimeInfo::has_mimeinfo_database() to test if
+      mimeinfo database is found
+   - mimetype and mimeopen now exit with an error code if no mimeinfo database
+      is found
+   - Added explicit dependency on Encode::Locale
+   - Properly decode parameters for `mimeopen` and `mimetype`.
+      Patch provided by Nikos Skalkotos
+   - Fix for undefined defaults (fixes #36).
+      Reported & fix provided by Martin Vassor
+   - Improved installation instructions, specifically on macOS, by
+      Oleg Kostyuk & Michiel Beijen
+
+-------------------------------------------------------------------

Old:
----
  File-MimeInfo-0.29.tar.gz

New:
----
  File-MimeInfo-0.30.tar.gz

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

Other differences:
------------------
++++++ perl-File-MimeInfo.spec ++++++
--- /var/tmp/diff_new_pack.ONY35m/_old  2020-10-27 19:01:54.522872624 +0100
+++ /var/tmp/diff_new_pack.ONY35m/_new  2020-10-27 19:01:54.526872627 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-File-MimeInfo
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,27 +17,28 @@
 
 
 Name:           perl-File-MimeInfo
-Version:        0.29
+Version:        0.30
 Release:        0
 %define cpan_name File-MimeInfo
 Summary:        Determine file type from the file name
 License:        Artistic-1.0 OR GPL-1.0-or-later
 Group:          Development/Libraries/Perl
-Url:            http://search.cpan.org/dist/File-MimeInfo/
+URL:            https://metacpan.org/release/%{cpan_name}
 Source0:        
https://cpan.metacpan.org/authors/id/M/MI/MICHIELB/%{cpan_name}-%{version}.tar.gz
 Source1:        cpanspec.yml
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
+BuildRequires:  perl(Encode::Locale)
 BuildRequires:  perl(File::BaseDir) >= 0.03
 BuildRequires:  perl(File::DesktopEntry) >= 0.04
 BuildRequires:  perl(Test::More) >= 0.88
 %{perl_requires}
 # MANUAL BEGIN
 BuildRequires:  shared-mime-info
-Requires:       perl(File::BaseDir) >= 0.03
 Requires:       shared-mime-info
+Requires:       perl(File::BaseDir) >= 0.03
 # MANUAL END
 
 %description
@@ -57,14 +58,14 @@
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
-find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
+find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path 
"*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 %check
-%{__make} test
+make test
 
 %install
 %perl_make_install

++++++ File-MimeInfo-0.29.tar.gz -> File-MimeInfo-0.30.tar.gz ++++++
++++ 2956 lines of diff (skipped)

++++++ cpanspec.yml ++++++
--- /var/tmp/diff_new_pack.ONY35m/_old  2020-10-27 19:01:54.626872700 +0100
+++ /var/tmp/diff_new_pack.ONY35m/_new  2020-10-27 19:01:54.630872702 +0100
@@ -8,7 +8,9 @@
 #  foo.patch: -p1
 #  bar.patch:
 preamble: |-
- Requires:  perl(File::BaseDir) >= 0.03
+  BuildRequires:  shared-mime-info
+  Requires:       shared-mime-info
+  Requires:       perl(File::BaseDir) >= 0.03
 #post_prep: |-
 # hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s,  *,,g'`
 # sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL 


Reply via email to