>From d89cbd07f6b2a024ee4d2e769e94a29720dfdd97 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
Date: Fri, 11 Sep 2015 10:24:08 +0200
Subject: 1.1 bump

---
 .gitignore                  |  1 +
 .rpmlint                    |  2 ++
 perl-Authen-Credential.spec | 39 ++++++++++++++++++++++-----------------
 sources                     |  2 +-
 4 files changed, 26 insertions(+), 18 deletions(-)
 create mode 100644 .rpmlint

diff --git a/.gitignore b/.gitignore
index 82d41ae..2fd9b86 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /Authen-Credential-0.5.tar.gz
 /Authen-Credential-0.8.tar.gz
 /Authen-Credential-1.0.tar.gz
+/Authen-Credential-1.1.tar.gz
diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 0000000..566299b
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error .* preparators");
diff --git a/perl-Authen-Credential.spec b/perl-Authen-Credential.spec
index 4004825..7191d0f 100644
--- a/perl-Authen-Credential.spec
+++ b/perl-Authen-Credential.spec
@@ -1,24 +1,35 @@
 Name:           perl-Authen-Credential
-Version:        1.0
-Release:        7%{?dist}
+Version:        1.1
+Release:        1%{?dist}
 Summary:        Abstraction of a credential
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Authen-Credential/
 Source0:        
http://search.cpan.org/CPAN/authors/id/L/LC/LCONS/Authen-Credential-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
 BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Run-time:
 BuildRequires:  perl(MIME::Base64)
-BuildRequires:  perl(No::Worries)
+BuildRequires:  perl(No::Worries::Die) >= 1.1
 BuildRequires:  perl(Params::Validate)
-BuildRequires:  perl(Pod::Coverage) >= 0.18
+BuildRequires:  perl(URI::Escape)
+# Tests:
 BuildRequires:  perl(Test::More)
+# Optional tests:
+BuildRequires:  perl(Pod::Coverage) >= 0.18
 BuildRequires:  perl(Test::Pod) >= 1.22
 BuildRequires:  perl(Test::Pod::Coverage) >= 1.08
-BuildRequires:  perl(URI::Escape)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:       perl(No::Worries::Die) >= 1.1
+
+# Remove under-specified dependencies
+%global __requires_exclude 
%{?__requires_exclude:%{__requires_exclude}|}^perl\\(No::Worries::Die\\)$
 
 %description
 This module offers an abstraction of a credential, i.e. something that
@@ -34,32 +45,26 @@ well known targets.
 %setup -q -n Authen-Credential-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-rm -rf $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 README VERSION
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Fri Sep 11 2015 Petr Pisar <ppi...@redhat.com> - 1.1-1
+- 1.1 bump
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-...@lists.fedoraproject.org> 
- 1.0-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
diff --git a/sources b/sources
index 4ce3241..8bf0687 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0d5d7a36d41cddcea1eec76e53e47b92  Authen-Credential-1.0.tar.gz
+93633c8c7b1d96fbb9f1a94d877936ce  Authen-Credential-1.1.tar.gz
-- 
cgit v0.11.2


        
http://pkgs.fedoraproject.org/cgit/perl-Authen-Credential.git/commit/?h=el6&id=d89cbd07f6b2a024ee4d2e769e94a29720dfdd97
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to