]> git.pld-linux.org Git - packages/perl-ExtUtils-ParseXS.git/commitdiff
- updated to 2.22[_]06 auto/th/perl-ExtUtils-ParseXS-2_22_06-1
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 23 Feb 2011 17:41:37 +0000 (17:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-ExtUtils-ParseXS.spec -> 1.9

perl-ExtUtils-ParseXS.spec

index 70a70995c2d7b66dbad7d71af4fa88550bc1659d..76d6c0a3e8511ca3fff2e867665f5c10728edbad 100644 (file)
@@ -8,20 +8,21 @@
 Summary:       ExtUtils::ParseXS - converts Perl XS code into C code
 Summary(pl.UTF-8):     ExtUtils::ParseXS - przekształcanie kodu Perl XS do C
 Name:          perl-ExtUtils-ParseXS
-Version:       2.21
+Version:       2.22_06
+%define        filever 2.2206
 Release:       1
 Epoch:         1
 # same as perl
 License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
-Source0:       http://www.cpan.org/modules/by-module/ExtUtils/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: c36f6c429886f4610aa915845544857d
+Source0:       http://www.cpan.org/modules/by-module/ExtUtils/DAGOLDEN/%{pdir}-%{pnam}-%{filever}.tar.gz
+# Source0-md5: 5a78d0c4654c6b50e7c87da8b671e8a6
 URL:           http://search.cpan.org/dist/ExtUtils-ParseXS/
-BuildRequires: perl-Module-Build
 BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
 %if %{with tests}
 BuildRequires: perl-ExtUtils-CBuilder
+BuildRequires: perl-Test-Simple >= 0.47
 %endif
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -41,20 +42,20 @@ funkcji. Kompilator wykorzystuje plik typemaps do określenia sposobu
 odwzorowywania parametrów funkcji i zmiennych C na wartości perlowe.
 
 %prep
-%setup -q -n %{pdir}-%{pnam}-%{version}
+%setup -q -n %{pdir}-%{pnam}-%{filever}
 
 %build
-%{__perl} Build.PL \
-       destdir=$RPM_BUILD_ROOT \
-       installdirs=vendor
-./Build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+%{__make}
 
-%{?with_tests:./Build test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-./Build install
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -63,4 +64,5 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc Changes
 %{perl_vendorlib}/ExtUtils/ParseXS.pm
-%{_mandir}/man3/ExtUtils::ParseXS.3*
+%{perl_vendorlib}/ExtUtils/xsubpp
+%{_mandir}/man3/ExtUtils::ParseXS.3pm*
This page took 0.111386 seconds and 4 git commands to generate.