From 68f2674839881ad0efa95e955d94657884a47726 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar(a)redhat.com>
Date: Tue, 1 Aug 2017 09:39:52 +0200
Subject: 0.003 bump
---
.gitignore | 1 +
perl-DynaLoader-Functions.spec | 17 +++++++++++++----
sources | 2 +-
3 files changed, 15 insertions(+), 5 deletions(-)
diff --git a/.gitignore b/.gitignore
index 4a57a37..5fa33e4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/DynaLoader-Functions-0.000.tar.gz
/DynaLoader-Functions-0.001.tar.gz
/DynaLoader-Functions-0.002.tar.gz
+/DynaLoader-Functions-0.003.tar.gz
diff --git a/perl-DynaLoader-Functions.spec b/perl-DynaLoader-Functions.spec
index 4c599db..cc5c7c8 100644
--- a/perl-DynaLoader-Functions.spec
+++ b/perl-DynaLoader-Functions.spec
@@ -1,31 +1,38 @@
# This file is licensed under the terms of GNU GPLv2+.
+
+# Run optinonal tests
+%{bcond_without perl_DynaLoader_Functions_enables_optional_test}
+
Name: perl-DynaLoader-Functions
-Version: 0.002
-Release: 10%{?dist}
+Version: 0.003
+Release: 1%{?dist}
Summary: Deconstructed dynamic C library loading
License: GPL+ or Artistic
Group: Development/Libraries
URL:
http://search.cpan.org/dist/DynaLoader-Functions/
Source0:
http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/DynaLoader-Functions-%{version...
BuildArch: noarch
-BuildRequires: perl-interpreter
BuildRequires: perl-generators
+BuildRequires: perl-interpreter
BuildRequires: perl(Module::Build)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time:
BuildRequires: perl(Carp)
+# Config not used on Linux
BuildRequires: perl(constant)
BuildRequires: perl(DynaLoader)
BuildRequires: perl(Exporter)
BuildRequires: perl(parent)
# Tests:
BuildRequires: perl(Test::More)
+%if %{with perl_DynaLoader_Functions_enables_optional_test}
# Optional tests:
BuildRequires: perl(ExtUtils::CBuilder) >= 0.280209
BuildRequires: perl(File::Spec)
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage)
+%endif
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo
$version))
Requires: perl(Carp)
Requires: perl(DynaLoader)
@@ -47,7 +54,6 @@ perl Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
%install
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
-find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
@@ -59,6 +65,9 @@ find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {}
\;
%{_mandir}/man3/*
%changelog
+* Tue Aug 01 2017 Petr Pisar <ppisar(a)redhat.com> - 0.003-1
+- 0.003 bump
+
* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.002-10
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
diff --git a/sources b/sources
index 6fdc585..cfc866f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f32c0a426d2b3aa59994332456b64d6e DynaLoader-Functions-0.002.tar.gz
+SHA512 (DynaLoader-Functions-0.003.tar.gz) =
58147714352fbd6e90bb42599e5967c9a93dbb899a587ef8a2a64dd13fc9e24176e17b3c2b870b5fa846b077373ca9ea27bec49b31113a8d9cb7d800f6d29599
--
cgit v1.1
https://src.fedoraproject.org/cgit/perl-DynaLoader-Functions.git/commit/?...