2024-03-12 17:19:36 +00:00
committed by Git OBS Bridge
parent c1cb856447
commit 8b8ad6996c
2 changed files with 21 additions and 19 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 12 17:02:46 UTC 2024 - Tina Müller <tina.mueller@suse.com>
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Sep 17 14:31:40 UTC 2012 - coolo@suse.com Mon Sep 17 14:31:40 UTC 2012 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Term-ReadLine-Perl # spec file for package perl-Term-ReadLine-Perl
# #
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -12,40 +12,37 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
Name: perl-Term-ReadLine-Perl
Version: 1.0303
Release: 0
%define cpan_name Term-ReadLine-Perl %define cpan_name Term-ReadLine-Perl
Name: perl-Term-ReadLine-Perl
Version: 1.30.300
Release: 0
%define cpan_version 1.0303
License: CHECK(Artistic-1.0 or GPL-1.0-or-later)
Summary: Term::ReadLine::Perl Perl module Summary: Term::ReadLine::Perl Perl module
License: CHECK(GPL-1.0+ or Artistic-1.0) URL: https://metacpan.org/release/%{cpan_name}
Group: Development/Libraries/Perl Source0: https://cpan.metacpan.org/authors/id/I/IL/ILYAZ/modules/%{cpan_name}-%{cpan_version}.tar.gz
Url: http://search.cpan.org/dist/Term-ReadLine-Perl/
Source: http://www.cpan.org/authors/id/I/IL/ILYAZ/modules/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
#BuildRequires: perl(Term::ReadKey)
#BuildRequires: perl(Term::ReadLine::readline)
%{perl_requires} %{perl_requires}
%description %description
Term::ReadLine::Perl Perl module
%prep %prep
%setup -q -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{cpan_version}
find . -type f -print0 | xargs -0 chmod 644
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags} %make_build
%check %check
%{__make} test make test
%install %install
%perl_make_install %perl_make_install
@@ -53,7 +50,6 @@ find . -type f -print0 | xargs -0 chmod 644
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755)
%doc CHANGES README %doc CHANGES README
%changelog %changelog