[perl-FCGI] Specify all dependencies
by Petr Pisar
commit 1a52bc82c218e7d06a8208bb3f52d72266b15aa8
Author: Petr Písař <ppisar(a)redhat.com>
Date: Fri Jun 1 09:44:44 2012 +0200
Specify all dependencies
perl-FCGI.spec | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/perl-FCGI.spec b/perl-FCGI.spec
index dac6629..4d0433b 100644
--- a/perl-FCGI.spec
+++ b/perl-FCGI.spec
@@ -3,7 +3,7 @@ Summary: FastCGI Perl bindings
# needed to properly replace/obsolete fcgi-perl
Epoch: 1
Version: 0.74
-Release: 2%{?dist}
+Release: 3%{?dist}
# same as fcgi
License: OML
Group: Development/Libraries
@@ -11,7 +11,16 @@ Source0: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/FCGI-%{version
URL: http://search.cpan.org/dist/FCGI
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires: perl(Cwd)
BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(File::Copy)
+BuildRequires: perl(Getopt::Long)
+BuildRequires: perl(IO::File)
+# Run-requires:
+BuildRequires: perl(DynaLoader)
+BuildRequires: perl(Exporter)
+# Tests:
+BuildRequires: perl(Test)
Provides: fcgi-perl = %{epoch}:%{version}-%{release}
Obsoletes: fcgi-perl =< 2.4.0
@@ -52,6 +61,9 @@ make test
%{_mandir}/man3/*.3*
%changelog
+* Fri Jun 01 2012 Petr Pisar <ppisar(a)redhat.com> - 1:0.74-3
+- Specify all dependencies
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 1:0.74-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
11 years, 10 months
[perl-IO-String] Specify all dependencies
by Petr Pisar
commit 1f4ce69297919542d38be3ec678638cd8f062702
Author: Petr Písař <ppisar(a)redhat.com>
Date: Fri Jun 1 09:17:08 2012 +0200
Specify all dependencies
perl-IO-String.spec | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/perl-IO-String.spec b/perl-IO-String.spec
index 8d3dd14..1014f12 100644
--- a/perl-IO-String.spec
+++ b/perl-IO-String.spec
@@ -8,7 +8,14 @@ URL: http://search.cpan.org/dist/IO-String/
Source0: http://www.cpan.org/authors/id/G/GA/GAAS/IO-String-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
+# Run-time:
+BuildRequires: perl(Data::Dumper)
+BuildRequires: perl(IO::Handle)
+# Tests:
+BuildRequires: perl(Test)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(Data::Dumper)
+Requires: perl(IO::Handle)
%description
The "IO::String" module provides the "IO::File" interface for in-core
@@ -54,6 +61,7 @@ make test
%changelog
* Fri Jun 01 2012 Petr Pisar <ppisar(a)redhat.com> - 1.08-15
- Clean spec file
+- Specify all dependencies
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 1.08-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
11 years, 10 months
[perl-IO-String] Clean spec file
by Petr Pisar
commit c2dd9b210362324e39daf5db70e8f4df08a82ab7
Author: Petr Písař <ppisar(a)redhat.com>
Date: Fri Jun 1 09:12:40 2012 +0200
Clean spec file
perl-IO-String.spec | 14 ++++----------
1 files changed, 4 insertions(+), 10 deletions(-)
---
diff --git a/perl-IO-String.spec b/perl-IO-String.spec
index 897ffa0..8d3dd14 100644
--- a/perl-IO-String.spec
+++ b/perl-IO-String.spec
@@ -1,14 +1,11 @@
Name: perl-IO-String
Version: 1.08
-Release: 14%{?dist}
+Release: 15%{?dist}
Summary: Emulate file interface for in-core strings
-
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/IO-String/
Source0: http://www.cpan.org/authors/id/G/GA/GAAS/IO-String-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -38,7 +35,6 @@ make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
@@ -49,18 +45,16 @@ chmod -R u+w $RPM_BUILD_ROOT/*
make test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
%files
-%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/IO/
%{_mandir}/man3/*.3*
%changelog
+* Fri Jun 01 2012 Petr Pisar <ppisar(a)redhat.com> - 1.08-15
+- Clean spec file
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 1.08-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
11 years, 10 months
Building perl-Audio-Ao for Fedora
by agraham
Hi Guys,
I need some help, I'm trying to build Audio-Ao rpm for Fedora 14 (and
up) for i686 arch. (http://search.cpan.org/dist/Audio-Ao/).
Audio::Ao seems to be the only way for perl to interface with libao,
which is why I need this.
It builds and works perfectly on x64, it builds but segfaults on i386 or
i686
dmesg shows:
perl[15948]: segfault at 1 ip 00418526 sp bf9e1664 error 4 in
libc-2.13.so[39b000+183000]
I've installed a new F14(i686) VM and done clean build with the same
results.
Any help would be very much appreciated.
Albert
My spec file (perl-Audio-Ao.spec):
Name: perl-Audio-Ao
Version: 0.01
Release: 1.Fedora
Summary: Audio::Ao - wrapper for the Ao audio library
License: GPLv2+
Group: Development/Libraries
URL: http://search.cpan.org/dist/Audio-Ao/
Source0:
http://search.cpan.org/CPAN/authors/id/D/DB/DBP/Audio-Ao-0.01.tar.gz
#BuildArch: noarch
Patch0: %{name}-fix.patch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Inline) >= 0.44
BuildRequires: perl-Parse-RecDescent
BuildRequires: libao-devel
Requires: perl(Inline)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`";
echo $version))
%{?perl_default_filter}
%description
Provides access to Libao, "a cross-platform library that allows
programs to output PCM audio data to the native audio devices on a
wide variety of platforms.". Libao currently supports OSS, ESD, ALSA,
Sun audio, and aRts.
%prep
%setup -q -n Audio-Ao-%{version}
%patch0 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make
#%{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
#make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
#
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorarch}/Audio/Ao.pm
%dir %{perl_vendorarch}/auto/Audio/Ao
%{perl_vendorarch}/auto/Audio/Ao/Ao.bs
%attr(755,root,root) %{perl_vendorarch}/auto/Audio/Ao/Ao.so
%{_mandir}/man3/*
#
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* Tue May 29 2012 me <me(a)example.com> - 0.01-1
-
11 years, 10 months
[perl-IO-Compress] Omit optional Test::Pod and Test::NoWarnings tests on bootstrap
by Petr Pisar
commit d331a3ce604c69473dcac94f8f2f9e3766c779ef
Author: Petr Písař <ppisar(a)redhat.com>
Date: Fri Jun 1 08:57:46 2012 +0200
Omit optional Test::Pod and Test::NoWarnings tests on bootstrap
perl-IO-Compress.spec | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/perl-IO-Compress.spec b/perl-IO-Compress.spec
index 0ad2ac1..e2f8c91 100644
--- a/perl-IO-Compress.spec
+++ b/perl-IO-Compress.spec
@@ -3,7 +3,7 @@
Name: perl-IO-Compress
Version: 2.052
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Read and write compressed data
License: GPL+ or Artistic
Group: Development/Libraries
@@ -31,8 +31,10 @@ BuildRequires: perl(POSIX)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Symbol)
BuildRequires: perl(Test::Builder)
+%if !%{defined perl_bootstrap}
BuildRequires: perl(Test::NoWarnings)
BuildRequires: perl(Test::Pod) >= 1.00
+%endif
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
# this is wrapper for different Compress modules
@@ -111,6 +113,9 @@ make test %{?with_long_tests:COMPRESS_ZLIB_RUN_ALL=1}
%{_mandir}/man3/IO::Uncompress::*.3pm*
%changelog
+* Fri Jun 01 2012 Petr Pisar <ppisar(a)redhat.com> - 2.052-2
+- Omit optional Test::Pod and Test::NoWarnings tests on bootstrap
+
* Sun Apr 29 2012 Paul Howarth <paul(a)city-fan.org> - 2.052-1
- Update to 2.052
- IO::Compress::Zip: force a ZIP64 archive when it contains ≥ 0xFFFF entries
11 years, 10 months
[perl-Compress-Raw-Zlib] Omit optional Test::Pod tests on bootstrap
by Petr Pisar
commit e0b99e921b4968bdfbf10f78f0f571aab0382932
Author: Petr Písař <ppisar(a)redhat.com>
Date: Fri Jun 1 08:47:08 2012 +0200
Omit optional Test::Pod tests on bootstrap
perl-Compress-Raw-Zlib.spec | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/perl-Compress-Raw-Zlib.spec b/perl-Compress-Raw-Zlib.spec
index 33a24c2..fb18c35 100644
--- a/perl-Compress-Raw-Zlib.spec
+++ b/perl-Compress-Raw-Zlib.spec
@@ -1,6 +1,6 @@
Name: perl-Compress-Raw-Zlib
Version: 2.054
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Low-level interface to zlib compression library
License: GPL+ or Artistic
Group: Development/Libraries
@@ -15,7 +15,9 @@ BuildRequires: perl(Carp)
BuildRequires: perl(constant)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
+%if !%{defined perl_bootstrap}
BuildRequires: perl(Test::Pod) >= 1.00
+%endif
# see above
BuildRequires: perl(XSLoader)
BuildRequires: zlib-devel
@@ -56,6 +58,9 @@ make test
%{_mandir}/man3/Compress::Raw::Zlib.3pm*
%changelog
+* Fri Jun 01 2012 Petr Pisar <ppisar(a)redhat.com> - 2.054-2
+- Omit optional Test::Pod tests on bootstrap
+
* Tue May 8 2012 Paul Howarth <paul(a)city-fan.org> - 2.054-1
- Update to 2.054
- Fix build issue on Win32 (CPAN RT#77030)
11 years, 10 months
[perl-Compress-Raw-Bzip2] Omit optional Test::Pod tests on bootstrap
by Petr Pisar
commit 9a48abecefec02ecc029667f35ba0121a7d49901
Author: Petr Písař <ppisar(a)redhat.com>
Date: Fri Jun 1 08:41:27 2012 +0200
Omit optional Test::Pod tests on bootstrap
perl-Compress-Raw-Bzip2.spec | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/perl-Compress-Raw-Bzip2.spec b/perl-Compress-Raw-Bzip2.spec
index c581191..7385b4c 100644
--- a/perl-Compress-Raw-Bzip2.spec
+++ b/perl-Compress-Raw-Bzip2.spec
@@ -1,7 +1,7 @@
Name: perl-Compress-Raw-Bzip2
Summary: Low-level interface to bzip2 compression library
Version: 2.052
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Compress-Raw-Bzip2/
@@ -14,7 +14,9 @@ BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Path)
BuildRequires: perl(File::Temp)
+%if !%{defined perl_bootstrap}
BuildRequires: perl(Test::Pod)
+%endif
# XSLoader or DynaLoader; choose wisely
BuildRequires: perl(XSLoader)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
@@ -56,6 +58,9 @@ make test
%{_mandir}/man3/Compress::Raw::Bzip2.3pm*
%changelog
+* Fri Jun 01 2012 Petr Pisar <ppisar(a)redhat.com> - 2.052-2
+- Omit optional Test::Pod tests on bootstrap
+
* Sun Apr 29 2012 Paul Howarth <paul(a)city-fan.org> - 2.052-1
- Update to 2.052 (no changes)
- Don't need to remove empty directories from buildroot
11 years, 10 months
[perl-Pod-Perldoc] Omit optional Tk tests on bootstrap
by Petr Pisar
commit 37e6e352d9b12fc726b9e031845a4b1297369864
Author: Petr Písař <ppisar(a)redhat.com>
Date: Fri Jun 1 08:26:34 2012 +0200
Omit optional Tk tests on bootstrap
perl-Pod-Perldoc.spec | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/perl-Pod-Perldoc.spec b/perl-Pod-Perldoc.spec
index 52fa239..1366246 100644
--- a/perl-Pod-Perldoc.spec
+++ b/perl-Pod-Perldoc.spec
@@ -1,7 +1,7 @@
%global cpan_version 3.17
Name: perl-Pod-Perldoc
Version: %(eval echo '%{cpan_version}' | tr '_' '.')
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Look up Perl documentation in Pod format
License: GPL+ or Artistic
Group: Development/Libraries
@@ -33,10 +33,12 @@ BuildRequires: perl(Text::ParseWords)
BuildRequires: perl(base)
BuildRequires: perl(Test::More)
# Optional tests:
+%if !%{defined perl_bootstrap}
BuildRequires: perl(Tk)
%if 0%{?fedora} || 0%{?rhel} < 7
BuildRequires: perl(Tk::Pod)
%endif
+%endif
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(Encode)
Requires: perl(File::Temp) >= 0.22
@@ -83,6 +85,9 @@ make test
%{_mandir}/man3/*
%changelog
+* Fri Jun 01 2012 Petr Pisar <ppisar(a)redhat.com> - 3.17-4
+- Omit optional Tk tests on bootstrap
+
* Wed May 30 2012 Marcela Mašláňová <mmaslano(a)redhat.com> - 3.17-3
- conditionalize optional BR tests
11 years, 10 months