rpms/perl-File-MMagic/EL-5 perl-File-MMagic.spec,1.15,1.16
Robin Norwood (rnorwood)
fedora-extras-commits at redhat.com
Fri Jul 20 16:47:49 UTC 2007
Author: rnorwood
Update of /cvs/pkgs/rpms/perl-File-MMagic/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16763
Modified Files:
perl-File-MMagic.spec
Log Message:
rhbz#248960 - build for EPEL5.
Index: perl-File-MMagic.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-File-MMagic/EL-5/perl-File-MMagic.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- perl-File-MMagic.spec 5 Jun 2006 23:44:47 -0000 1.15
+++ perl-File-MMagic.spec 20 Jul 2007 16:47:17 -0000 1.16
@@ -1,17 +1,17 @@
Name: perl-File-MMagic
Version: 1.27
-Release: 1
+Release: 2%{?dist}
Summary: A Perl module emulating the file(1) command
Group: Development/Libraries
License: Distributable
URL: http://search.cpan.org/dist/File-MMagic/
-Source0: http://www.cpan.org/authors/id/K/KN/KNOK/File-MMagic-%{version}.tar.gz
+Source0: http://www.cpan.org/authors/id/K/KN/KNOK/File-MMagic-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl >= 1:5.6.1
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
This module attempts to guess file type from its contents like file(1)
@@ -21,10 +21,12 @@
%prep
%setup -q -n File-MMagic-%{version}
+
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
+
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
@@ -32,9 +34,11 @@
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
-%check || :
+
+%check
make test
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -47,6 +51,10 @@
%changelog
+* Fri Jul 20 2007 Robin Norwood <rnorwood at redhat.com> - 1.27-2.el5
+- Build for EL5
+- Fix minor specfile issues
+
* Mon Jun 05 2006 Jason Vas Dias <jvdias at redhat.com> - 1.27-1
- Upgrade to 1.27
More information about the scm-commits
mailing list