Compare commits

..

No commits in common. "factory" and "factory" have entirely different histories.

2 changed files with 19 additions and 25 deletions

View File

@ -1,9 +1,3 @@
-------------------------------------------------------------------
Mon Feb 10 22:08:08 UTC 2025 - Tina Müller <tina.mueller@suse.com>
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
-------------------------------------------------------------------
Fri Nov 11 08:55:07 UTC 2011 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-Algorithm-Annotate
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,27 +12,26 @@
# 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/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define cpan_name Algorithm-Annotate
Name: perl-Algorithm-Annotate
Version: 0.100.0
Release: 0
# 0.10 -> normalize -> 0.100.0
%define cpan_version 0.10
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Represent a series of changes in annotation list
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/C/CL/CLKAO/%{cpan_name}-%{cpan_version}.tar.gz
Version: 0.10
Release: 1
License: GPL-1.0+ or Artistic-1.0
%define cpan_name Algorithm-Annotate
Summary: represent a series of changes in annotate form
Url: http://search.cpan.org/dist/Algorithm-Annotate/
Group: Development/Libraries/Perl
Source: http://www.cpan.org/authors/id/C/CL/CLKAO/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Algorithm::Diff) >= 1.150
Requires: perl(Algorithm::Diff) >= 1.150
Provides: perl(Algorithm::Annotate) = %{version}
%undefine __perllib_provides
BuildRequires: perl(Algorithm::Diff) >= 1.15
Requires: perl(Algorithm::Diff) >= 1.15
%{perl_requires}
%description
@ -40,14 +39,14 @@ Algorithm::Annotate generates a list that is useful for generating output
simliar to 'cvs annotate'.
%prep
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
make test
%{__make} test
%install
%perl_make_install
@ -55,5 +54,6 @@ make test
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%changelog