Accepting request 307699 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/307699
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Math-Derivative?expand=0&rev=4
This commit is contained in:
Stephan Kulow
2015-05-18 11:12:55 +00:00
committed by Git OBS Bridge
parent fdc8d2ac54
commit a327b7f0a9
5 changed files with 50 additions and 32 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f1059bb787a7cd9faaae715dec1ffa5b9073311d84d229c8c257b7b2271e3273
size 1935

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:593ff2f1ea4d1c934f54f7dec933d383ae17e26d85003834ebe8a57c30f88206
size 11741

23
cpanspec.yml Normal file
View File

@@ -0,0 +1,23 @@
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon May 18 08:26:45 UTC 2015 - coolo@suse.com
- updated to 0.02
see /usr/share/doc/packages/perl-Math-Derivative/Changes
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 30 19:20:28 UTC 2010 - coolo@novell.com Tue Nov 30 19:20:28 UTC 2010 - coolo@novell.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Math-Derivative (Version 0.01) # spec file for package perl-Math-Derivative
# #
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -15,60 +15,49 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: perl-Math-Derivative Name: perl-Math-Derivative
Version: 0.02
Release: 0
%define cpan_name Math-Derivative %define cpan_name Math-Derivative
Summary: Numeric 1st and 2nd order differentiation Summary: Numeric 1st and 2nd order differentiation
Version: 0.01 License: Artistic-1.0 or GPL-1.0+
Release: 1
License: GPL+ or Artistic
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Math-Derivative/ Url: http://search.cpan.org/dist/Math-Derivative/
Source: http://www.cpan.org/modules/by-module/Math/Math-Derivative-%{version}.tar.gz Source0: http://www.cpan.org/authors/id/J/JG/JGAMBLE/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Module::Build)
%{perl_requires}
%description %description
This Perl package exports functions for performing numerical first This Perl package exports functions for performing numerical first
(Derivative1) and second Derivative2) order differentiation on vectors of (*Derivative1*) and second *Derivative2*) order differentiation on vectors
data. They both take references to two arrays containing the x and y of data. They both take references to two arrays containing the x and y
ordinates of the data and return an array of the 1st or 2nd derivative at ordinates of the data and return an array of the 1st or 2nd derivative at
the given x ordinates. Derivative2 may optionally be given values to use the given x ordinates. *Derivative2* may optionally be given values to use
for the first dervivative at the start and end points of the data - for the first dervivative at the start and end points of the data -
otherwiswe 'natural' values are used. otherwiswe 'natural' values are used.
Authors:
--------
John A.R. Williams <J.A.R.Williams@aston.ac.uk>
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor %{__perl} Build.PL installdirs=vendor
%{__make} %{?_smp_mflags} ./Build build flags=%{?_smp_mflags}
%check %check
%{__make} test ./Build test
%install %install
%perl_make_install ./Build install destdir=%{buildroot} create_packlist=0
# do not perl_process_packlist (noarch)
# remove .packlist file
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
# remove perllocal.pod file
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
%perl_gen_filelist %perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,-) %defattr(-,root,root,755)
%doc README Release %doc Changes LICENSE README
%changelog %changelog