pghmcfc pushed to perl-Data-Buffer (perl-Data-Buffer-0.04-24.fc24). "Fix FTBFS and tidy up (..more)"
notifications at fedoraproject.org
notifications at fedoraproject.org
Wed Oct 14 10:06:43 UTC 2015
From d8522664c8f43884da2c75d23ce15137ddbfc2ee Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul at city-fan.org>
Date: Wed, 14 Oct 2015 09:51:52 +0100
Subject: Fix FTBFS and tidy up
- Classify buildreqs by usage
- Drop %defattr, redundant since rpm 4.4
- Don't need to remove empty directories from the buildroot
---
perl-Data-Buffer.spec | 22 ++++++++++++++++++----
1 file changed, 18 insertions(+), 4 deletions(-)
diff --git a/perl-Data-Buffer.spec b/perl-Data-Buffer.spec
index cea8a02..2cf422d 100644
--- a/perl-Data-Buffer.spec
+++ b/perl-Data-Buffer.spec
@@ -1,14 +1,25 @@
Summary: Read/write buffer class for perl
Name: perl-Data-Buffer
Version: 0.04
-Release: 23%{?dist}
+Release: 24%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Url: http://search.cpan.org/dist/Data-Buffer/
Source0: http://search.cpan.org/CPAN/authors/id/B/BT/BTROTT/Data-Buffer-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
+# Module Build
+BuildRequires: coreutils
+BuildRequires: findutils
+BuildRequires: make
+BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
+# Module Runtime
+BuildRequires: perl(strict)
+BuildRequires: perl(vars)
+# Test Suite
+BuildRequires: perl(Test)
+# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
@@ -28,7 +39,6 @@ make %{?_smp_mflags}
rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
%{_fixperms} %{buildroot}
%check
@@ -38,12 +48,16 @@ make test
rm -rf %{buildroot}
%files
-%defattr(-,root,root,-)
%doc Changes
%{perl_vendorlib}/Data/
-%{_mandir}/man3/Data::Buffer.3pm*
+%{_mandir}/man3/Data::Buffer.3*
%changelog
+* Wed Oct 14 2015 Paul Howarth <paul at city-fan.org> - 0.04-24
+- Classify buildreqs by usage
+- Drop %%defattr, redundant since rpm 4.4
+- Don't need to remove empty directories from the buildroot
+
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.04-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
--
cgit v0.11.2
http://pkgs.fedoraproject.org/cgit/perl-Data-Buffer.git/commit/?h=perl-Data-Buffer-0.04-24.fc24&id=d8522664c8f43884da2c75d23ce15137ddbfc2ee
More information about the perl-devel
mailing list