Accepting request 297277 from devel:languages:perl
- expanding the version to 6 digits after . - to avoid version mismatches OBS-URL: https://build.opensuse.org/request/show/297277 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Module-Build?expand=0&rev=13
This commit is contained in:
commit
b8665fb5b4
22
cpanspec.yml
Normal file
22
cpanspec.yml
Normal file
@ -0,0 +1,22 @@
|
||||
---
|
||||
#description_paragraphs: 3
|
||||
#no_testing: broken upstream
|
||||
#sources:
|
||||
# - source1
|
||||
# - source2
|
||||
patches:
|
||||
make-builds-reproducible.patch: -p1
|
||||
#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: |-
|
||||
# avoid conflict with Perl's own supplied version
|
||||
mv %{buildroot}/usr/bin/config_data %{buildroot}/usr/bin/config_data-%{version}
|
||||
rename config_data config_data-%{version} %{buildroot}/%{_mandir}/man1/config_data.*
|
||||
# sed on %{name}.files
|
||||
#license: SUSE-NonFree
|
||||
#skip_noarch: 1
|
||||
#custom_build: -
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
@ -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
|
||||
|
||||
|
@ -17,14 +17,17 @@
|
||||
|
||||
|
||||
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/
|
||||
Source: 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
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@ -96,10 +99,9 @@ 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}
|
||||
# MANUAL
|
||||
%patch0 -p1
|
||||
%setup -q -n %{cpan_name}-%{cpan_version}
|
||||
find . -type f -print0 | xargs -0 chmod 644
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
|
Loading…
Reference in New Issue
Block a user