From 2a7777d0e73a38e6922c2e17124a3b70b84c29df Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jples...@redhat.com>
Date: Aug 18 2017 15:37:44 +0000
Subject: 0.65 bump; Modernize spec file


---

diff --git a/.gitignore b/.gitignore
index a81608a..c7bc75f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /IO-Tee-0.64.tar.gz
+/IO-Tee-0.65.tar.gz
diff --git a/perl-IO-Tee.spec b/perl-IO-Tee.spec
index b5d8cb1..97be24e 100644
--- a/perl-IO-Tee.spec
+++ b/perl-IO-Tee.spec
@@ -1,16 +1,24 @@
 Name:           perl-IO-Tee
-Version:        0.64
-Release:        9%{?dist}
+Version:        0.65
+Release:        1%{?dist}
 Summary:        Multiplex output to multiple output handles
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/IO-Tee/
-Source0:        
http://www.cpan.org/authors/id/K/KE/KENSHAN/IO-Tee-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0:        
http://www.cpan.org/authors/id/N/NE/NEILB/IO-Tee-%{version}.tar.gz
 BuildArch:      noarch
+BuildRequires:  make
 BuildRequires:  perl-generators
-BuildRequires:  perl(ExtUtils::MakeMaker) perl(strict) perl(vars)
-BuildRequires:  perl(Carp) perl(IO::File) perl(IO::Handle) perl(Symbol)
+BuildRequires:  perl-interpreter
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Run-time
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(IO::File)
+BuildRequires:  perl(IO::Handle)
+BuildRequires:  perl(parent)
+BuildRequires:  perl(Symbol)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 
 %description
@@ -27,31 +35,26 @@ IO::File::new is called for you with the specified argument 
or arguments.
 %setup -q -n IO-Tee-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-
+make pure_install DESTDIR=$RPM_BUILD_ROOT
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
- 
 %files
-%defattr(-,root,root,-)
+%license LICENSE
 %doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Fri Aug 18 2017 Jitka Plesnikova <jples...@redhat.com> - 0.65-1
+- 0.65 bump
+
 * Thu Jul 27 2017 Fedora Release Engineering <rel...@fedoraproject.org> - 
0.64-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
 
diff --git a/sources b/sources
index 8b23704..6504217 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-97d91e38fcadc1f01d8030a8d4f30701  IO-Tee-0.64.tar.gz
+SHA512 (IO-Tee-0.65.tar.gz) = 
f0f2f069c9c43098fc8fb343ef3a701e8ea5d6171a7f86b3c296f542435b1305f263085ede07431cfe34ccf02d845c8f3719ddf1eb6fe0d8def0c730f8e97236


        
https://src.fedoraproject.org/rpms/perl-IO-Tee/c/2a7777d0e73a38e6922c2e17124a3b70b84c29df?branch=f27
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to