Stephan Kulow 2015-04-23 05:53:01 +00:00 committed by Git OBS Bridge
parent b459dbf27f
commit e10b96062a
3 changed files with 38 additions and 8 deletions

22
cpanspec.yml Normal file
View File

@ -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

View File

@ -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

View File

@ -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