pghmcfc pushed to perl-Type-Tie (epel9). "Initial import."
by notifications@fedoraproject.org
Notification time stamped 2022-01-06 16:57:05 UTC
From 5392c2928eeae50e8f935cc2e9e50798565c2fc6 Mon Sep 17 00:00:00 2001
From: Ralf Corsépius <corsepiu(a)fedoraproject.org>
Date: Feb 09 2017 13:17:44 +0000
Subject: Initial import.
---
diff --git a/.gitignore b/.gitignore
index e69de29..3fc0104 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Type-Tie-0.009.tar.gz
diff --git a/perl-Type-Tie.spec b/perl-Type-Tie.spec
new file mode 100644
index 0000000..a2b1d26
--- /dev/null
+++ b/perl-Type-Tie.spec
@@ -0,0 +1,74 @@
+Name: perl-Type-Tie
+Version: 0.009
+Release: 2%{?dist}
+Summary: Tie a variable to a type constraint
+# cf. README
+License: GPL+ or Artistic
+URL: http://search.cpan.org/dist/Type-Tie/
+Source0: http://www.cpan.org/authors/id/T/TO/TOBYINK/Type-Tie-%{version}.tar.gz
+BuildArch: noarch
+
+BuildRequires: %{__perl}
+BuildRequires: %{__make}
+
+BuildRequires: perl >= 0:5.008005
+BuildRequires: perl-generators
+
+BuildRequires: perl(Carp)
+BuildRequires: perl(Exporter::Tiny) >= 0.026
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Hash::FieldHash)
+BuildRequires: perl(Tie::Array)
+BuildRequires: perl(Tie::Hash)
+BuildRequires: perl(Tie::Scalar)
+BuildRequires: perl(strict)
+BuildRequires: perl(warnings)
+
+# Tests:
+BuildRequires: perl(Types::Standard)
+BuildRequires: perl(Moose::Util::TypeConstraints)
+BuildRequires: perl(MooseX::Types::Moose)
+BuildRequires: perl(Test::Fatal)
+BuildRequires: perl(Test::More) >= 0.96
+BuildRequires: perl(Test::Requires)
+BuildRequires: perl(constant)
+
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+# perl-generators fails to detect this
+Requires: perl(Data::Dumper)
+
+%description
+This module exports a single function: ttie. ttie ties a variable to a
+type constraint, ensuring that whatever values stored in the variable
+will conform to the type constraint. If the type constraint has
+coercions, these will be used if necessary to ensure values assigned to
+the variable conform.
+
+%prep
+%setup -q -n Type-Tie-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
+%{__make} %{?_smp_mflags}
+
+%install
+%{__make} pure_install DESTDIR=$RPM_BUILD_ROOT
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+%{__make} test
+
+%files
+%doc Changes README
+%license COPYRIGHT LICENSE
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Feb 03 2017 Ralf Corsépius <corsepiu(a)fedoraproject.org> - 0.009-2
+- Reflect feedback from package review.
+
+* Fri Feb 03 2017 Ralf Corsépius <corsepiu(a)fedoraproject.org> - 0.009-1
+- Initial Fedora package.
diff --git a/sources b/sources
index e69de29..8ce5b41 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (Type-Tie-0.009.tar.gz) = 2c416cd22d1d4a7ec902470d0801d479a54f312d456982e51671ba7391d127297471f0f753df5cafef4b6e01c983cd9f8f69c99f03f571aad5c89036c642a6c6
https://src.fedoraproject.org/rpms/perl-Type-Tie/c/5392c2928eeae50e8f935c...
2 years, 5 months
pghmcfc pushed to perl-Type-Tie (epel9). "Break build-cycle: perl-Type-Tiny ��� perl-Type-Tie"
by notifications@fedoraproject.org
Notification time stamped 2022-01-06 16:57:05 UTC
From 3463255c9555ca79eec56b0c5da1c043654f81a2 Mon Sep 17 00:00:00 2001
From: Petr Písař <ppisar(a)redhat.com>
Date: Mar 17 2017 12:21:59 +0000
Subject: Break build-cycle: perl-Type-Tiny → perl-Type-Tie
---
diff --git a/perl-Type-Tie.spec b/perl-Type-Tie.spec
index a2b1d26..17e9f2c 100644
--- a/perl-Type-Tie.spec
+++ b/perl-Type-Tie.spec
@@ -25,7 +25,10 @@ BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Tests:
+%if !%{defined perl_bootstrap}
+# Build-cycle: perl-Type-Tiny → perl-Type-Tie
BuildRequires: perl(Types::Standard)
+%endif
BuildRequires: perl(Moose::Util::TypeConstraints)
BuildRequires: perl(MooseX::Types::Moose)
BuildRequires: perl(Test::Fatal)
https://src.fedoraproject.org/rpms/perl-Type-Tie/c/3463255c9555ca79eec56b...
2 years, 5 months
pghmcfc pushed to perl-Sub-Exporter-Lexical (epel9). "Tweak for
EPEL-8 build (..more)"
by notifications@fedoraproject.org
Notification time stamped 2022-01-06 08:36:22 UTC
From f19836c8ec39fa0f4af2eeeb98a5c326f4606be4 Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul(a)city-fan.org>
Date: Oct 24 2019 18:55:57 +0000
Subject: Tweak for EPEL-8 build
- Use author-independent source URL
- Classify buildreqs by usage
- Use %{make_build} and %{make_install}
- Fix permissions verbosely
- Make %files list more explicit
---
diff --git a/perl-Sub-Exporter-Lexical.rpmlintrc b/perl-Sub-Exporter-Lexical.rpmlintrc
new file mode 100644
index 0000000..8c40503
--- /dev/null
+++ b/perl-Sub-Exporter-Lexical.rpmlintrc
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error Summary\(en_US\) lexically -> ")
diff --git a/perl-Sub-Exporter-Lexical.spec b/perl-Sub-Exporter-Lexical.spec
index 0259570..a4e6380 100644
--- a/perl-Sub-Exporter-Lexical.spec
+++ b/perl-Sub-Exporter-Lexical.spec
@@ -1,27 +1,27 @@
Name: perl-Sub-Exporter-Lexical
Version: 0.092292
-Release: 10%{?dist}
+Release: 11%{?dist}
Summary: Export lexically-available subs with Sub::Exporter
License: GPL+ or Artistic
URL: https://metacpan.org/release/Sub-Exporter-Lexical
-Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Sub-Exporter-Lexical-%{ver...
+Source0: https://cpan.metacpan.org/modules/by-module/Sub/Sub-Exporter-Lexical-%{ve...
BuildArch: noarch
-
-BuildRequires: %{__perl}
-BuildRequires: %{__make}
-
-BuildRequires: perl-interpreter >= 1:v5.12.0
+# Build
+BuildRequires: coreutils
+BuildRequires: make
BuildRequires: perl-generators
-
+BuildRequires: perl-interpreter >= 1:5.12.0
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
+# Module
BuildRequires: perl(Lexical::Sub)
+BuildRequires: perl(strict)
BuildRequires: perl(Sub::Exporter) >= 0.978
-BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(warnings)
+# Test Suite
BuildRequires: perl(lib)
-BuildRequires: perl(strict)
-
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires: perl(Test::More) >= 0.96
+# Dependencies
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
Sub::Exporter::Lexical provides an alternate installer for Sub::Exporter.
@@ -33,27 +33,34 @@ routines into a lexical scope that will be cleaned up when that scope ends.
%setup -q -n Sub-Exporter-Lexical-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
+%{make_build}
%install
-%{__make} pure_install DESTDIR=$RPM_BUILD_ROOT
+%{make_install}
+%{_fixperms} -c %{buildroot}
# Bogusly installed script
-rm $RPM_BUILD_ROOT%{perl_vendorlib}/Sub/Exporter/snippet.pl
-
-%{_fixperms} $RPM_BUILD_ROOT/*
+rm %{buildroot}%{perl_vendorlib}/Sub/Exporter/snippet.pl
%check
-%{__make} test
+make test
%files
-%doc Changes README
%license LICENSE
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%doc Changes README
+%{perl_vendorlib}/Sub/
+%{_mandir}/man3/Sub::Exporter::Lexical.3*
%changelog
+* Thu Oct 24 2019 Paul Howarth <paul(a)city-fan.org> - 0.092292-11
+- Tweak for EPEL-8 build
+ - Use author-independent source URL
+ - Classify buildreqs by usage
+ - Use %%{make_build} and %%{make_install}
+ - Fix permissions verbosely
+ - Make %%files list more explicit
+
* Fri Jul 26 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.092292-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
https://src.fedoraproject.org/rpms/perl-Sub-Exporter-Lexical/c/f19836c8ec...
2 years, 5 months