Bump to perl-Error 0.17029 33/278333/2 accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix accepted/tizen_8.0_unified sandbox/dh0128.kwak/perl-Error-0.17029-20220719 tizen_7.0 tizen_7.0_hotfix tizen_8.0 accepted/tizen/7.0/unified/20221110.062204 accepted/tizen/7.0/unified/hotfix/20221116.111237 accepted/tizen/8.0/unified/20231005.095332 accepted/tizen/unified/20220722.031007 submit/tizen/20220721.071141 tizen_7.0_m2_release tizen_8.0_m2_release
authorDongHun Kwak <dh0128.kwak@samsung.com>
Tue, 19 Jul 2022 06:23:08 +0000 (15:23 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 21 Jul 2022 02:43:10 +0000 (11:43 +0900)
Change-Id: I57ff51b1e05dce466380cde9bbd55745f38636ea

packaging/perl-Error.manifest [new file with mode: 0644]
packaging/perl-Error.spec [new file with mode: 0644]

diff --git a/packaging/perl-Error.manifest b/packaging/perl-Error.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/perl-Error.spec b/packaging/perl-Error.spec
new file mode 100644 (file)
index 0000000..e21398b
--- /dev/null
@@ -0,0 +1,49 @@
+Name:           perl-Error
+Version:        0.17029
+Release:        0
+License:        GPL-1.0 or Artistic-1.0
+Summary:        Error/exception handling in an OO-ish way
+Url:            http://search.cpan.org/dist/Error/
+Group:          Development/Libraries/Perl
+Source:         %{name}-%{version}.tar.gz
+Source1001:    perl-Error.manifest
+
+BuildRequires:  perl
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl-macros
+BuildRequires:  perl(Scalar::Util)
+BuildRequires:  perl(warnings)
+
+BuildArch:      noarch
+
+Requires:       perl(Scalar::Util)
+Requires:       perl(warnings)
+
+%description
+The 'Error' package provides two interfaces. Firstly 'Error' provides a
+procedural interface to exception handling. Secondly 'Error' is a base
+class for errors/exceptions that can either be thrown, for subsequent
+catch, or can simply be recorded.
+
+Errors in the class 'Error' should not be thrown directly, but the user
+should throw errors from a sub-class of 'Error'.
+
+%prep
+%setup -q -n %{name}-%{version}
+cp %{SOURCE1001} .
+
+%build
+perl Build.PL installdirs=vendor
+./Build build flags=%{?_smp_mflags}
+
+%check
+./Build test
+
+%install
+./Build install destdir=%{buildroot} create_packlist=0
+%remove_docs
+%perl_gen_filelist
+
+%files -f %{name}.files
+%manifest %{name}.manifest
+%license LICENSE