3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
7 %define pnam SVN-Bisect
8 Summary: App::SVN::Bisect - binary search through svn revisions
9 Name: perl-App-SVN-Bisect
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/authors/id/I/IN/INFINOID/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: d8540f354b27d904eee56cc473542cbc
16 Patch0: %{name}-locale.patch
17 URL: http://search.cpan.org/dist/App-SVN-Bisect/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl(IO::All) > 0.38
22 BuildRequires: perl-Test-Exception
23 BuildRequires: perl-Test-Output
24 BuildRequires: perl-Test-Pod
25 BuildRequires: perl-Test-Pod-Coverage
26 BuildRequires: perl-YAML-Syck
27 BuildRequires: subversion
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 This module implements the backend of the "svn-bisect" command line
34 tool. See the POD documentation of that tool, for usage details.
37 %setup -q -n %{pdir}-%{pnam}-%{version}
42 destdir=$RPM_BUILD_ROOT \
47 %{?with_tests:./Build test}
50 rm -rf $RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
59 %doc Changes README TODO
60 %attr(755,root,root) %{_bindir}/svn-bisect
61 %dir %{perl_vendorlib}/App/SVN
62 %{perl_vendorlib}/App/SVN/*.pm