From e10b96062af453bdfccc5b5826b996723ed7e10ee9fca775b1c2629cc00687eb Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Thu, 23 Apr 2015 05:53:01 +0000 Subject: [PATCH] update OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-ExtUtils-PkgConfig?expand=0&rev=22 --- cpanspec.yml | 22 ++++++++++++++++++++++ perl-ExtUtils-PkgConfig.changes | 5 +++++ perl-ExtUtils-PkgConfig.spec | 19 +++++++++++-------- 3 files changed, 38 insertions(+), 8 deletions(-) create mode 100644 cpanspec.yml diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..5901d0c --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,22 @@ +--- +#description_paragraphs: 3 +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: +preamble: |- + BuildRequires: pkgconfig + Requires: pkgconfig +#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 +#ignore_requires: Bizarre::Module diff --git a/perl-ExtUtils-PkgConfig.changes b/perl-ExtUtils-PkgConfig.changes index 54524df..edfe610 100644 --- a/perl-ExtUtils-PkgConfig.changes +++ b/perl-ExtUtils-PkgConfig.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Apr 23 05:52:33 UTC 2015 - coolo@suse.com + +- extend version to 6 digits to avoid problems with >= 1.121 + ------------------------------------------------------------------- Fri Oct 4 09:12:05 UTC 2013 - coolo@suse.com diff --git a/perl-ExtUtils-PkgConfig.spec b/perl-ExtUtils-PkgConfig.spec index 24b5ce8..eb8007f 100644 --- a/perl-ExtUtils-PkgConfig.spec +++ b/perl-ExtUtils-PkgConfig.spec @@ -1,7 +1,7 @@ # # spec file for package perl-ExtUtils-PkgConfig # -# Copyright (c) 2013 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 # remain the property of their copyright owners, unless otherwise agreed @@ -17,23 +17,26 @@ Name: perl-ExtUtils-PkgConfig -Version: 1.15 +Version: 1.150000 Release: 0 +%define cpan_version 1.15 +Provides: perl(ExtUtils::PkgConfig) = 1.150000 %define cpan_name ExtUtils-PkgConfig -Summary: simplistic interface to pkg-config +Summary: Simplistic Interface to Pkg-Config License: LGPL-2.1+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/ExtUtils-PkgConfig/ -Source: http://www.cpan.org/authors/id/X/XA/XAOC/%{cpan_name}-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/X/XA/XAOC/%{cpan_name}-%{cpan_version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -# MANUAL +%{perl_requires} +# MANUAL BEGIN BuildRequires: pkgconfig Requires: pkgconfig -#BuildRequires: perl(ExtUtils::PkgConfig) -%{perl_requires} +# MANUAL END %description The pkg-config program retrieves information about installed libraries, @@ -45,7 +48,7 @@ that pkg-config knows. It is really just boilerplate code that you would've written yourself. %prep -%setup -q -n %{cpan_name}-%{version} +%setup -q -n %{cpan_name}-%{cpan_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor