Notification time stamped 2019-10-24 15:08:19 UTC

From 5392c2928eeae50e8f935cc2e9e50798565c2fc6 Mon Sep 17 00:00:00 2001
From: Ralf Corsépius <corse...@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 <corse...@fedoraproject.org> - 0.009-2
+- Reflect feedback from package review.
+
+* Fri Feb 03 2017 Ralf Corsépius <corse...@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/5392c2928eeae50e8f935cc2e9e50798565c2fc6?branch=epel8
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/perl-devel@lists.fedoraproject.org

Reply via email to