jplesnik pushed to perl-Math-Spline (master). "0.02 bump; Modernize spec"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Jul 23 11:41:56 UTC 2015


From 5d293d3f39486461e87d5f6dae04f920168c7435 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik at redhat.com>
Date: Thu, 23 Jul 2015 13:41:45 +0200
Subject: 0.02 bump; Modernize spec


diff --git a/.gitignore b/.gitignore
index 53206b9..253a171 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Math-Spline-0.01.tar.gz
+/Math-Spline-0.02.tar.gz
diff --git a/perl-Math-Spline.spec b/perl-Math-Spline.spec
index 39f32db..180cf3d 100644
--- a/perl-Math-Spline.spec
+++ b/perl-Math-Spline.spec
@@ -1,14 +1,24 @@
 Name:           perl-Math-Spline
-Version:        0.01
-Release:        20%{?dist}
+Version:        0.02
+Release:        1%{?dist}
 Summary:        Cubic Spline Interpolation of data
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Math-Spline/
 Source0:        http://www.cpan.org/modules/by-module/Math/Math-Spline-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Config)
+BuildRequires:  perl(Exporter)
 BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Math::Derivative)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(warnings)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
@@ -25,28 +35,23 @@ class module.
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
+make pure_install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc README Release
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Thu Jul 23 2015 Jitka Plesnikova <jplesnik at redhat.com> - 0.02-1
+- 0.02 bump
+- Modernize spec
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.01-20
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
diff --git a/sources b/sources
index dee0b8c..413da62 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a9ebe29ba1794d1dca60aa0c44178197  Math-Spline-0.01.tar.gz
+64c7bb3829e1fa7e49c2bf50b358c7c7  Math-Spline-0.02.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Math-Spline.git/commit/?h=master&id=5d293d3f39486461e87d5f6dae04f920168c7435


More information about the perl-devel mailing list