Author: iarnell
Update of /cvs/pkgs/rpms/perl-String-Diff/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25786/F-11
Modified Files:
.cvsignore sources
Added Files:
perl-String-Diff.spec
Log Message:
initial import
--- NEW FILE perl-String-Diff.spec ---
Name: perl-String-Diff
Version: 0.04
Release: 2%{?dist}
Summary: Simple diff to String
License: GPL+ or Artistic
Group: Development/Libraries
URL:
http://search.cpan.org/dist/String-Diff/
Source0:
http://www.cpan.org/authors/id/Y/YA/YAPPO/String-Diff-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(Algorithm::Diff)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
BuildRequires: perl(YAML)
# required, but not automatically detected
Requires: perl(Algorithm::Diff)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))
%description
String::Diff is the difference of a consecutive string is made. after
general diff is done, the difference in the line is searchable.
%prep
%setup -q -n String-Diff-%{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
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Wed Apr 29 2009 Iain Arnell <iarnell(a)gmail.com> 0.04-2
- explain explicit requires
* Tue Apr 28 2009 Iain Arnell 0.04-1
- Specfile autogenerated by cpanspec 1.77.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-String-Diff/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 29 Apr 2009 03:21:17 -0000 1.1
+++ .cvsignore 29 Apr 2009 04:47:15 -0000 1.2
@@ -0,0 +1 @@
+String-Diff-0.04.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-String-Diff/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 29 Apr 2009 03:21:17 -0000 1.1
+++ sources 29 Apr 2009 04:47:15 -0000 1.2
@@ -0,0 +1 @@
+440bd85674f8602f18a2ab7978f1fa53 String-Diff-0.04.tar.gz