[perl-File-Sync] Update to 0.11

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit aa1d33cc6f036a9a5e669712385382f682775858
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Fri Oct 4 10:52:58 2013 +0100

    Update to 0.11
    
    - New upstream release 0.11
      - Support for fdatasync()
      - Stop clobbering IO::Handle::fsync (CPAN RT#50418)
    - This release by BRIANSKI -> update source URL
    - Specify all dependencies
    - Re-code documentation as UTF-8
    - Drop %defattr, redundant since rpm 4.4
    - Make %files list more explicit
    - Don't need to remove empty directories from the buildroot
    - Use DESTDIR rather than PERL_INSTALL_ROOT
    - Don't use macros for commands

 .gitignore           |    2 +-
 File-Sync-UTF8.patch |   11 ++++++++
 perl-File-Sync.spec  |   63 +++++++++++++++++++++++++++++++++++--------------
 sources              |    2 +-
 4 files changed, 58 insertions(+), 20 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d0154f5..3666bfe 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-File-Sync-0.09.tar.gz
+/File-Sync-[0-9.]*.tar.gz
diff --git a/File-Sync-UTF8.patch b/File-Sync-UTF8.patch
new file mode 100644
index 0000000..fcaef6b
--- /dev/null
+++ b/File-Sync-UTF8.patch
@@ -0,0 +1,11 @@
+--- README
++++ README
+@@ -36,7 +36,7 @@
+ Thanks to David Muir Sharnoff for getting me to actually work out what
+ was going on and fix my code.
+ 
+-All files contained in this installation are copyright � 1996,1997,1999
++All files contained in this installation are copyright © 1996,1997,1999
+ Carey Evans except for parts from the Perl distribution.  All rights
+ reserved.
+ 
diff --git a/perl-File-Sync.spec b/perl-File-Sync.spec
index 3bc6073..e1665c5 100644
--- a/perl-File-Sync.spec
+++ b/perl-File-Sync.spec
@@ -1,14 +1,30 @@
 Name:           perl-File-Sync
-Version:        0.09
-Release:        18%{?dist}
+Version:        0.11
+Release:        1%{?dist}
 Summary:        Perl access to fsync() and sync() function calls
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/File-Sync/
-Source0:        http://www.cpan.org/authors/id/C/CE/CEVANS/File-Sync-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0:        http://www.cpan.org/authors/id/B/BR/BRIANSKI/File-Sync-%{version}.tar.gz
+Patch0:         File-Sync-UTF8.patch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
+# Module Build
+BuildRequires:  perl(Config)
 BuildRequires:  perl(ExtUtils::MakeMaker)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires:  perl(Getopt::Long)
+# Module Runtime
+BuildRequires:  perl(AutoLoader)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(DynaLoader)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Symbol)
+BuildRequires:  perl(vars)
+# Test Suite
+BuildRequires:  perl(FileHandle)
+BuildRequires:  perl(POSIX)
+# Runtime
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
 The fsync() function takes a Perl file handle as its only argument, and
@@ -18,20 +34,19 @@ or true on success.
 %prep
 %setup -q -n File-Sync-%{version}
 
+# re-code documentation as UTF-8
+%patch0
+
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
 make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
+make pure_install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
 find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
-%{_fixperms} $RPM_BUILD_ROOT/*
+%{_fixperms} $RPM_BUILD_ROOT
 
 %check
 make test
@@ -40,13 +55,25 @@ make test
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(-,root,root,-)
 %doc Changes README
-%{perl_vendorarch}/auto/*
-%{perl_vendorarch}/File*
-%{_mandir}/man3/*
+%{perl_vendorarch}/auto/File/
+%{perl_vendorarch}/File/
+%{_mandir}/man3/File::Sync.3pm*
 
 %changelog
+* Fri Oct  4 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 0.11-1
+- Update to 0.11
+  - Support for fdatasync()
+  - Stop clobbering IO::Handle::fsync (CPAN RT#50418)
+- This release by BRIANSKI -> update source URL
+- Specify all dependencies
+- Re-code documentation as UTF-8
+- Drop %%defattr, redundant since rpm 4.4
+- Make %%files list more explicit
+- Don't need to remove empty directories from the buildroot
+- Use DESTDIR rather than PERL_INSTALL_ROOT
+- Don't use macros for commands
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.09-18
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
@@ -72,7 +99,7 @@ rm -rf $RPM_BUILD_ROOT
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
 * Thu Dec 16 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 0.09-10
-- 661697 rebuild for fixing problems with vendorach/lib
+- Rebuild to fix problems with vendorarch/lib (#661697)
 
 * Sat May 01 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 0.09-9
 - Mass rebuild with perl-5.12.0
@@ -87,7 +114,7 @@ rm -rf $RPM_BUILD_ROOT
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 
 * Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@xxxxxxxxxx> - 0.09-5
-Rebuild for new perl
+- Rebuild for new perl
 
 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxx> - 0.09-4
 - Autorebuild for GCC 4.3
diff --git a/sources b/sources
index 8d91bb3..3c4d859 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4f5aca0ccff4bf28ca1d039e5ed01fa2  File-Sync-0.09.tar.gz
+8bb0966ff3458699c02fde3d5c799824  File-Sync-0.11.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux