commit a26f8fd0a45298a64069f0ee63836432464987e6 Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Wed Feb 27 10:46:40 2013 +0100 1.00 bump .gitignore | 1 + perl-Term-Completion.spec | 48 +++++++++++++++++++++----------------------- sources | 2 +- 3 files changed, 25 insertions(+), 26 deletions(-) --- diff --git a/.gitignore b/.gitignore index 58a57fb..b9e86b5 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ Term-Completion-0.91.tar.gz +/Term-Completion-1.00.tar.gz diff --git a/perl-Term-Completion.spec b/perl-Term-Completion.spec index ff534de..d3ec971 100644 --- a/perl-Term-Completion.spec +++ b/perl-Term-Completion.spec @@ -1,28 +1,29 @@ Name: perl-Term-Completion -Version: 0.91 -Release: 11%{?dist} -# lib/Term/Completion.pm -> GPL+ or Artistic -# lib/Term/Completion/_POSIX.pm -> GPL+ or Artistic -# lib/Term/Completion/_readkey.pm -> GPL+ or Artistic -# lib/Term/Completion/_stty.pm -> GPL+ or Artistic -# lib/Term/Completion/_termsize.pm -> GPL+ or Artistic +Version: 1.00 +Release: 1%{?dist} License: GPL+ or Artistic Group: Development/Libraries Summary: Read one line of user input, with convenience functions Source: http://search.cpan.org/CPAN/authors/id/M/MA/MAREKR/Term-Completion-%{version}.tar.gz Url: http://search.cpan.org/dist/Term-Completion -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) BuildArch: noarch - +BuildRequires: perl +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Spec) BuildRequires: perl(IO::Handle) -BuildRequires: perl(Term::ReadKey) >= 2.3 -# test BuildRequires: perl(IO::String) BuildRequires: perl(POSIX) -BuildRequires: perl(Test::More) +BuildRequires: perl(strict) +BuildRequires: perl(Term::ReadKey) >= 2.3 BuildRequires: perl(Term::Size) +BuildRequires: perl(Test::More) +BuildRequires: perl(warnings) + +%{?perl_default_filter} %description Term::Completion is an extensible, highly configurable replacement for @@ -33,40 +34,37 @@ of input, submitting the answer by pressing the ENTER key. %prep %setup -q -n Term-Completion-%{version} - find . -type f -exec chmod -c -x {} \; perl -pi -e 's|^#!/opt/perl_5.8.8/bin/perl|#!%{__perl}|' devel/tget.pl +for file in README Changes devel/*; do + sed -i 's/\r//g' ${file} +done %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -rm -rf %{buildroot} - -make pure_install PERL_INSTALL_ROOT=%{buildroot} +make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' -find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' - %{_fixperms} %{buildroot}/* %check # needed for testing... export COLUMNS=80 export LINES=25 - make test -%clean -rm -rf %{buildroot} - %files -%defattr(-,root,root,-) %doc Changes README devel/ %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog +* Wed Feb 27 2013 Petr Šabata <contyk@xxxxxxxxxx> - 1.00-1 +- 1.00 bump +- Spec cleanup + * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.91-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild diff --git a/sources b/sources index 9c5d90f..520b883 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6f5920facb98b20923559f57608bb6ef Term-Completion-0.91.tar.gz +eb5ba7ac52726d609751d7d695a2e910 Term-Completion-1.00.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel