From 63b9a837a0eace09f1ee0f7a38bffdde72d97d4c Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jples...@redhat.com>
Date: Tue, 15 Sep 2015 14:20:26 +0200
Subject: 3.07 bump; Modernize spec


diff --git a/.gitignore b/.gitignore
index de56e53..67d0d7b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Text-vCard-2.07.tar.gz
+/Text-vCard-3.07.tar.gz
diff --git a/perl-Text-vCard.spec b/perl-Text-vCard.spec
index c7768a9..c6114f5 100644
--- a/perl-Text-vCard.spec
+++ b/perl-Text-vCard.spec
@@ -1,24 +1,42 @@
 Name:           perl-Text-vCard
-Version:        2.07
-Release:        15%{?dist}
+Version:        3.07
+Release:        1%{?dist}
 Summary:        Package to edit and create a single vCard (RFC 2426)
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Text-vCard/
 Source0:        
http://www.cpan.org/authors/id/L/LL/LLAP/Text-vCard-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
+
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
 BuildRequires:  perl(base)
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(Data::Dumper)
-BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(File::Slurp) >= 9999.04
+BuildRequires:  perl(Directory::Scratch)
+BuildRequires:  perl(Encode)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
 BuildRequires:  perl(lib)
+BuildRequires:  perl(MIME::Base64) >= 3.07
 BuildRequires:  perl(MIME::QuotedPrint) >= 3.07
-BuildRequires:  perl(Test::More) >= 0.1
-BuildRequires:  perl(Text::vFile::asData) >= 0.05
+BuildRequires:  perl(Moo)
+BuildRequires:  perl(Moo::Role)
+BuildRequires:  perl(Path::Tiny)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::More) >= 0.88
+BuildRequires:  perl(Test::Most)
+BuildRequires:  perl(Text::vFile::asData) >= 0.07
+BuildRequires:  perl(Text::Wrap)
+BuildRequires:  perl(Unicode::LineBreak)
+BuildRequires:  perl(URI)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 
+%global __requires_exclude 
%{?__requires_exclude:%__requires_exclude|}^perl\\(Text::vFile::asData\\)$
+
 %description
 vCards are electronic business cards used by various message user
 agents (MUAs) and defined in RFC 2426.  They are a simple and
@@ -36,28 +54,24 @@ This package provides an interface for manipulating vCards.
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
+make pure_install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
-%doc Changes TODO
+%license LICENSE
+%doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Sep 15 2015 Jitka Plesnikova <jples...@redhat.com> - 3.07-1
+- 3.07 bump
+- Modernize spec
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-...@lists.fedoraproject.org> 
- 2.07-15
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
diff --git a/sources b/sources
index ce9c01a..fc77927 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0ddde5121be180cb19a54cadd2b38404  Text-vCard-2.07.tar.gz
+89985967cdfdf33b367098ed8709af14  Text-vCard-3.07.tar.gz
-- 
cgit v0.10.2


        
http://pkgs.fedoraproject.org/cgit/perl-Text-vCard.git/commit/?h=master&id=63b9a837a0eace09f1ee0f7a38bffdde72d97d4c
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to