Hello community,
here is the log from the commit of package perl-File-LibMagic for
openSUSE:Factory checked in at 2012-02-20 16:16:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-File-LibMagic (Old)
and /work/SRC/openSUSE:Factory/.perl-File-LibMagic.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-File-LibMagic", Maintainer is ""
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-File-LibMagic/perl-File-LibMagic.changes
2011-09-23 12:37:04.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-File-LibMagic.new/perl-File-LibMagic.changes
2012-02-20 16:16:16.000000000 +0100
@@ -1,0 +2,7 @@
+Mon Feb 20 08:44:28 UTC 2012 - [email protected]
+
+- regenerate with cpanspec
+- disable tests as they rely on specific version of libmagic's text
+ output
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-File-LibMagic.spec ++++++
--- /var/tmp/diff_new_pack.T7iP7x/_old 2012-02-20 16:16:17.000000000 +0100
+++ /var/tmp/diff_new_pack.T7iP7x/_new 2012-02-20 16:16:17.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-File-LibMagic
#
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,84 +15,51 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
-
Name: perl-File-LibMagic
+Version: 0.96
+Release: 0
%define cpan_name File-LibMagic
Summary: Perlwrapper for libmagic (file-4.x or file-5.x)
-Version: 0.96
-Release: 1
License: GPL-1.0+ or Artistic-1.0
Group: Development/Libraries/Perl
-Url: http://search.cpan.org/dist/File-LibMagic
-Source:
http://search.cpan.org/CPAN/authors/id/F/FI/FITZNER/File-LibMagic-%{version}.tgz
+Url: http://search.cpan.org/dist/File-LibMagic/
+Source:
http://www.cpan.org/authors/id/F/FI/FITZNER/%{cpan_name}-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: file-devel zlib-devel
-#
-Requires: zlib file
+# MANUAL
+BuildRequires: file-devel
+BuildRequires: zlib-devel
+#BuildRequires: perl(Devel::CheckLib)
+#BuildRequires: perl(File::LibMagic)
+%{perl_requires}
%description
-The 'File::LibMagic' is a simple perlinterface to libmagic from the file-
-4.x or file-5.x package from Christos Zoulas
-(ftp://ftp.astron.com/pub/file/).You can use the simple Interface like
-MagicBuffer() or MagicFile(), use the functions of libmagic(3) or use
-the OO-Interface.Simple Interface MagicBuffer() fixme
-
-
-Authors:
---------
- Andreas Fitzner <[email protected]>
- Michael Hendricks <[email protected]>
+The 'File::LibMagic' is a simple perlinterface to libmagic from the
+file-4.x or file-5.x package from Christos Zoulas
+(ftp://ftp.astron.com/pub/file/).
+You can use the simple Interface like MagicBuffer() or MagicFile(), use the
+functions of libmagic(3) or use the OO-Interface.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
-if [ -f Build.PL ]; then
- %{__perl} Build.PL --installdirs vendor
-else
- [ -f Makefile.PL ] || exit 2
- %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
-fi
-if [ -f Build.PL ]; then
- ./Build build flags=%{?_smp_mflags}
-else
- make %{?_smp_mflags}
-fi
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+%{__make} %{?_smp_mflags}
%check
-if [ -f Build.PL ]; then
- ./Build test
-else
- make test
-fi
+# broken with newer file %{__make} test
%install
-
-if [ -f Build.PL ]; then
- ./Build pure_install --destdir %{buildroot}
-else
- make pure_install PERL_INSTALL_ROOT=%{buildroot}
-fi
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
-
-mkdir -p %{buildroot}/%{_mandir}/man3/ %{buildroot}/usr/bin
-
-%{_fixperms} %{buildroot}/*
+%perl_make_install
+%perl_process_packlist
%perl_gen_filelist
-%clean
-%{__rm} -rf %{buildroot}
-
%files -f %{name}.files
-%defattr(-,root,root,-)
-%doc Changes README example
+%defattr(-,root,root,755)
+%doc Changes const-c.inc const-xs.inc example README README.64-bit
%changelog
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]