rpms/perl-Carp-Clan/devel perl-Carp-Clan.spec,1.10,1.11
Robin Norwood (rnorwood)
fedora-extras-commits at redhat.com
Thu Oct 25 01:56:05 UTC 2007
Author: rnorwood
Update of /cvs/pkgs/rpms/perl-Carp-Clan/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29927
Modified Files:
perl-Carp-Clan.spec
Log Message:
Specfile cleanups from package review
Index: perl-Carp-Clan.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Carp-Clan/devel/perl-Carp-Clan.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- perl-Carp-Clan.spec 24 Aug 2007 03:58:08 -0000 1.10
+++ perl-Carp-Clan.spec 25 Oct 2007 01:55:31 -0000 1.11
@@ -1,6 +1,6 @@
Name: perl-Carp-Clan
Version: 5.9
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Report errors from perspective of caller of a "clan" of modules
Group: Development/Libraries
@@ -12,8 +12,11 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: perl >= 1:5.6.1, perl(Test::Exception)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Test::Exception)
+# Uncomment the next line when bug #351611 is resolved and perl-Object-Deadly is in Fedora
+#BuildRequires: perl(Object::Deadly)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
This module reports errors from the perspective of the caller of a
@@ -37,10 +40,12 @@
%define __perl_provides %{_builddir}/Carp-Clan-%{version}/%{name}-prov
chmod +x %{__perl_provides}
+
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
+
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
@@ -48,9 +53,11 @@
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
+
%check
make test
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -63,6 +70,10 @@
%changelog
+* Wed Oct 24 2007 Robin Norwood <rnorwood at redhat.com> - 5.9-3
+- Fix BuildRequires
+- Various specfile cleanups
+
* Thu Aug 23 2007 Robin Norwood <rnorwood at redhat.com> - 5.9-2
- Update license tag.
More information about the fedora-extras-commits
mailing list