2011-04-14 08:36:26 +00:00
|
|
|
#
|
2019-10-19 14:36:52 +00:00
|
|
|
# spec file for package perl-File-Find-Rule-VCS
|
2011-04-14 08:36:26 +00:00
|
|
|
#
|
2024-07-21 20:16:03 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2011-04-14 08:36:26 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-10-19 14:36:52 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-04-14 08:36:26 +00:00
|
|
|
#
|
|
|
|
|
2019-10-19 14:36:52 +00:00
|
|
|
|
2023-05-03 15:19:37 +00:00
|
|
|
%define cpan_name File-Find-Rule-VCS
|
2011-04-14 08:36:26 +00:00
|
|
|
Name: perl-File-Find-Rule-VCS
|
2024-07-21 20:16:03 +00:00
|
|
|
Version: 1.90.0
|
2019-10-19 14:36:52 +00:00
|
|
|
Release: 0
|
2024-07-21 20:16:03 +00:00
|
|
|
# 1.09 -> normalize -> 1.90.0
|
|
|
|
%define cpan_version 1.09
|
2019-10-19 14:36:52 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2023-05-03 15:19:37 +00:00
|
|
|
Summary: Exclude files/directories for Version Control Systems
|
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2024-07-21 20:16:03 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{cpan_version}.tar.gz
|
2025-08-12 18:14:05 +02:00
|
|
|
Source100: README.md
|
2011-04-14 08:36:26 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
BuildRequires: perl(File::Find::Rule) >= 0.20
|
|
|
|
BuildRequires: perl(Text::Glob) >= 0.08
|
|
|
|
Requires: perl(File::Find::Rule) >= 0.20
|
|
|
|
Requires: perl(Text::Glob) >= 0.08
|
2024-07-21 20:16:03 +00:00
|
|
|
Provides: perl(File::Find::Rule::VCS) = %{version}
|
|
|
|
%undefine __perllib_provides
|
2011-04-14 08:36:26 +00:00
|
|
|
%{perl_requires}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Many tools need to be equally useful both on ordinary files, and on code
|
|
|
|
that has been checked out from revision control systems.
|
|
|
|
|
|
|
|
*File::Find::Rule::VCS* provides quick and convenient methods to exclude
|
|
|
|
the version control directories of several major Version Control Systems
|
|
|
|
(currently CVS, subversion, and Bazaar).
|
|
|
|
|
|
|
|
*File::Find::Rule::VCS* implements methods to ignore the following:
|
|
|
|
|
|
|
|
* *CVS*
|
|
|
|
|
|
|
|
* *Subversion*
|
|
|
|
|
|
|
|
* *Bazaar*
|
|
|
|
|
|
|
|
In addition, the following version control systems do not create
|
|
|
|
directories in the checkout and do not require the use of any ignore
|
|
|
|
methods
|
|
|
|
|
|
|
|
* *SVK*
|
|
|
|
|
|
|
|
* *Git*
|
|
|
|
|
|
|
|
%prep
|
2024-07-21 20:16:03 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
2011-04-14 08:36:26 +00:00
|
|
|
|
|
|
|
%build
|
2023-05-03 15:19:37 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%make_build
|
2011-04-14 08:36:26 +00:00
|
|
|
|
|
|
|
%check
|
2019-10-19 14:36:52 +00:00
|
|
|
make test
|
2011-04-14 08:36:26 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
2023-05-03 15:19:37 +00:00
|
|
|
%doc Changes CONTRIBUTING README
|
2019-10-19 14:36:52 +00:00
|
|
|
%license LICENSE
|
2011-04-14 08:36:26 +00:00
|
|
|
|
|
|
|
%changelog
|