# # spec file for package perl-App-SVN-Bisect # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define cpan_name App-SVN-Bisect Name: perl-App-SVN-Bisect Version: 1.100.0 Release: 0 # 1.1 -> normalize -> 1.100.0 %define cpan_version 1.1 License: Artistic-2.0 Summary: Tool to perform binary searches on SVN checkouts URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/I/IN/INFINOID/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml Source100: README.md BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(IO::All) BuildRequires: perl(Module::Build) >= 0.36 BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::Output) BuildRequires: perl(YAML::Syck) Requires: perl(IO::All) Requires: perl(Test::Exception) Requires: perl(Test::Output) Requires: perl(YAML::Syck) Provides: perl(App::SVN::Bisect) = %{version} %undefine __perllib_provides %{perl_requires} # MANUAL BEGIN BuildRequires: subversion # MANUAL END %description This module implements the backend of the "svn-bisect" command line tool. See the POD documentation of that tool, for usage details. %package -n svn-bisect Summary: Tool to perform binary searches on SVN checkouts Group: Development/Tools/Version Control Requires: %{name} = %{version} %description -n svn-bisect This tool's purpose is to help you determine which revision of a subversion repository contains a change. It does this by employing a binary search. It will manage the current revision of your checkout directory, and narrow in on the target revision, as you give it clues about the current revision such as "before" (this revision is before the one you want) or "after" (this revision is after the one you want). %prep %autosetup -n %{cpan_name}-%{cpan_version} %build perl Build.PL --installdirs=vendor ./Build build --flags=%{?_smp_mflags} %check ./Build test %install ./Build install --destdir=%{buildroot} --create_packlist=0 %perl_gen_filelist %files -f %{name}.files %doc Changes README TODO %license LICENSE %files -n svn-bisect %defattr(-,root,root) %{_bindir}/svn-bisect %doc %{_mandir}/man1/svn-bisect.1%{ext_man} %changelog