[Tizen-submit] 20334: New package Tizen:IVI:Genivi/perl-Error

noreply at tizen.org noreply at tizen.org
Fri Jan 31 03:14:34 GMT 2014


Hi,
Adding new package perl-Error in project Tizen:IVI:Genivi. Please review and accept ASAP.

Justification for this new package:

Submitter: Graydon, Tracy <tracy.graydon at intel.com>
Comments: submit/tizen_ivi_genivi/20140131.031014
Git project: platform/upstream/perl-Error
Tag: submit/tizen_ivi_genivi/20140131.031014
Commit: d03a705e8a319f9bbb1551e172a74a4abdd4a1d9 resetting manifest requested domain to floor

Thank You,
Graydon, Tracy

[This message was auto-generated]

---

Request: #20334

  submit:       Tizen:IVI:Genivi:build/perl-Error(cleanup) -> Tizen:IVI:Genivi


Message:
Submitter: Graydon, Tracy <tracy.graydon at intel.com>
Comments: submit/tizen_ivi_genivi/20140131.031014
Git project: platform/upstream/perl-Error
Tag: submit/tizen_ivi_genivi/20140131.031014
Commit: d03a705e8a319f9bbb1551e172a74a4abdd4a1d9 resetting manifest requested domain to floor

State:   new        2014-01-31T03:16:30 tizenrobot
Comment: <no comment>
changes files:
--------------

++++++ new changes file:
--- perl-Error.changes
+++ perl-Error.changes
@@ -0,0 +1,3 @@
+* Fri Mar 22 2013 Anas Nashif <anas.nashif at intel.com> upstream/0.17017 at 0c53b95
+- Remove old perl macro
+

new:
----
  Error-0.17017.tar.gz
  perl-Error.changes
  perl-Error.manifest
  perl-Error.spec

spec files:
-----------

++++++ new spec file:
--- perl-Error.spec
+++ perl-Error.spec
@@ -0,0 +1,58 @@
+%bcond_with pod
+
+Name:           perl-Error
+VCS:            platform/upstream/perl-Error#d03a705e8a319f9bbb1551e172a74a4abdd4a1d9
+Version:        0.17017
+Release:        7
+License:        GPL-1.0+ or Artistic-1.0
+%define cpan_name Error
+Summary:        Error/exception handling in an OO-ish way
+Url:            http://search.cpan.org/dist/Error/
+Group:          Development/Libraries/Perl
+#Source:         http://www.cpan.org/authors/id/S/SH/SHLOMIF/Error-0.17016.tar.gz
+Source:         %{cpan_name}-%{version}.tar.gz
+Source1001: 	perl-Error.manifest
+BuildRequires:  perl
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl-macros
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildArch:      noarch
+%if %{with pod}
+BuildRequires:  perl(Test::Pod) >= 1.14
+BuildRequires:  perl(Test::Pod::Coverage) >= 1.04
+%endif
+BuildRequires:  perl(Scalar::Util)
+BuildRequires:  perl(warnings)
+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 %{cpan_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
+%perl_gen_filelist
+
+%files -f %{name}.files
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%doc ChangeLog examples README
+
+%changelog

other changes:
--------------

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list