forked from pool/perl-File-LibMagic
- updated to 1.15
see /usr/share/doc/packages/perl-File-LibMagic/Changes 1.15 2015-09-19 - Fix the Makefile.PL so that we don't install the LibMagic.xs and typemap files. Based on a patch from Petr Pisar. RT #107081. 1.14 2015-09-16 - Fixed handling of extra include dirs passed to Makefile.PL via the -I flag. This wasn't working properly in previous releases. Reported by Andy Jack. GH #6. 1.13 2015-07-12 - Fix failing tests with some versions of libmagic. PR #5 by E. Choroba. 1.12 2015-03-07 - The constructor now accepts named params. In addition to a magic_file param, it now accepts follow_symlinks and uncompress params. These do what you'd expect, tell the object to follow symlinks and/or uncompress files when getting info from them. The old single parameter constructor is still supported, but is no longer documented. - The old APIs are now called "discouraged" rather than "deprecated" in the documentation. I have no plan to remove these APIs any time soon or to make OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-LibMagic?expand=0&rev=16
This commit is contained in:
committed by
Git OBS Bridge
parent
cc8214057d
commit
37a08ce7c9
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a94e803cafea004fb6e610be327040dbe8ef56f076fcb33aa866a125d4b5be52
|
|
||||||
size 107487
|
|
3
File-LibMagic-1.15.tar.gz
Normal file
3
File-LibMagic-1.15.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2c7fb54912caf2c22d06b02d6a88edad970e0f8b017634dc30eec46e53763e84
|
||||||
|
size 124847
|
29
cpanspec.yml
Normal file
29
cpanspec.yml
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
---
|
||||||
|
#description_paragraphs: 3
|
||||||
|
#description: |-
|
||||||
|
# override description from CPAN
|
||||||
|
#summary: override summary from CPAN
|
||||||
|
#no_testing: broken upstream
|
||||||
|
#sources:
|
||||||
|
# - source1
|
||||||
|
# - source2
|
||||||
|
#patches:
|
||||||
|
# foo.patch: -p1
|
||||||
|
# bar.patch:
|
||||||
|
preamble: |-
|
||||||
|
BuildRequires: file-devel
|
||||||
|
BuildRequires: zlib-devel
|
||||||
|
#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
|
||||||
|
#post_build: |-
|
||||||
|
# rm unused.files
|
||||||
|
#post_install: |-
|
||||||
|
# sed on %{name}.files
|
||||||
|
#license: SUSE-NonFree
|
||||||
|
#skip_noarch: 1
|
||||||
|
#custom_build: |-
|
||||||
|
#./Build build flags=%{?_smp_mflags} --myflag
|
||||||
|
#custom_test: |-
|
||||||
|
#startserver && make test
|
||||||
|
#ignore_requires: Bizarre::Module
|
@@ -1,3 +1,53 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 31 07:34:37 UTC 2017 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 1.15
|
||||||
|
see /usr/share/doc/packages/perl-File-LibMagic/Changes
|
||||||
|
|
||||||
|
1.15 2015-09-19
|
||||||
|
|
||||||
|
- Fix the Makefile.PL so that we don't install the LibMagic.xs and typemap
|
||||||
|
files. Based on a patch from Petr Pisar. RT #107081.
|
||||||
|
|
||||||
|
|
||||||
|
1.14 2015-09-16
|
||||||
|
|
||||||
|
- Fixed handling of extra include dirs passed to Makefile.PL via the -I
|
||||||
|
flag. This wasn't working properly in previous releases. Reported by Andy
|
||||||
|
Jack. GH #6.
|
||||||
|
|
||||||
|
|
||||||
|
1.13 2015-07-12
|
||||||
|
|
||||||
|
- Fix failing tests with some versions of libmagic. PR #5 by E. Choroba.
|
||||||
|
|
||||||
|
|
||||||
|
1.12 2015-03-07
|
||||||
|
|
||||||
|
- The constructor now accepts named params. In addition to a magic_file param,
|
||||||
|
it now accepts follow_symlinks and uncompress params. These do what you'd
|
||||||
|
expect, tell the object to follow symlinks and/or uncompress files when
|
||||||
|
getting info from them. The old single parameter constructor is still
|
||||||
|
supported, but is no longer documented.
|
||||||
|
|
||||||
|
- The old APIs are now called "discouraged" rather than "deprecated" in the
|
||||||
|
documentation. I have no plan to remove these APIs any time soon or to make
|
||||||
|
them warn, so "deprecated" was too strong a word.
|
||||||
|
|
||||||
|
- Changed a test to hopefully skip rather than fail on OpenBSD systems.
|
||||||
|
|
||||||
|
|
||||||
|
1.11 2015-03-01
|
||||||
|
|
||||||
|
- The info_from_handle() method did not handle binary data correctly, which
|
||||||
|
could lead to incorrect results.
|
||||||
|
|
||||||
|
- The info_from_*() methods returned a full mime type with encoding in the
|
||||||
|
"mime_type" key rather than just the mime type alone.
|
||||||
|
|
||||||
|
- Allow File::LibMagic->new() to accept an array reference containing multiple
|
||||||
|
magic file paths.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 20 12:53:24 UTC 2015 - lnussel@suse.de
|
Fri Feb 20 12:53:24 UTC 2015 - lnussel@suse.de
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-File-LibMagic
|
# spec file for package perl-File-LibMagic
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,22 +17,21 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-File-LibMagic
|
Name: perl-File-LibMagic
|
||||||
Version: 1.10
|
Version: 1.15
|
||||||
Release: 0
|
Release: 0
|
||||||
%define cpan_name File-LibMagic
|
%define cpan_name File-LibMagic
|
||||||
Summary: Determine MIME types of data or files using libmagic
|
Summary: Determine MIME types of data or files using libmagic
|
||||||
License: Artistic-1.0 or GPL-1.0+
|
License: Artistic-1.0 or GPL-1.0+
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/File-LibMagic/
|
Url: http://search.cpan.org/dist/File-LibMagic/
|
||||||
Source: http://www.cpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz
|
||||||
|
Source1: cpanspec.yml
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
|
BuildRequires: perl(ExtUtils::CBuilder)
|
||||||
BuildRequires: perl(Test::Fatal)
|
BuildRequires: perl(Test::Fatal)
|
||||||
BuildRequires: perl(Test::More) >= 0.96
|
BuildRequires: perl(Test::More) >= 0.96
|
||||||
# MANUAL
|
|
||||||
BuildRequires: file-devel
|
|
||||||
BuildRequires: zlib-devel
|
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -57,6 +56,7 @@ package (version 4.x or 5.x). You will need both the library
|
|||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes LICENSE README.md
|
%doc Changes README.md
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user