- expanding the version to 6 digits after . - to avoid version mismatches

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Module-Build?expand=0&rev=36
This commit is contained in:
Stephan Kulow 2015-04-16 13:30:58 +00:00 committed by Git OBS Bridge
parent bf65f42a06
commit 3857d02576
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Apr 16 13:30:39 UTC 2015 - coolo@suse.com
- expanding the version to 6 digits after . - to avoid version mismatches
-------------------------------------------------------------------
Tue Feb 3 16:07:00 UTC 2015 - coolo@suse.com

View File

@ -17,14 +17,16 @@
Name: perl-Module-Build
Version: 0.4211
Version: 0.421100
Release: 0
%define cpan_version 0.4211
Provides: perl(Module::Build) = 0.421100
%define cpan_name Module-Build
Summary: Build and install Perl modules
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Module-Build/
Source0: http://www.cpan.org/authors/id/L/LE/LEONT/%{cpan_name}-%{version}.tar.gz
Source0: http://www.cpan.org/authors/id/L/LE/LEONT/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
Patch0: make-builds-reproducible.patch
BuildArch: noarch
@ -97,7 +99,7 @@ In this case the actions run are 'build' (the default action), 'test', and
You can run the 'help' action for a complete list of actions.
%prep
%setup -q -n %{cpan_name}-%{version}
%setup -q -n %{cpan_name}-%{cpan_version}
find . -type f -print0 | xargs -0 chmod 644
%patch0 -p1