[perl-Convert-BinHex] Update to 1.222

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

 



commit 8070c809d0c7fb0439eb44318f37388a3dd818f8
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Sun Sep 1 20:09:42 2013 +0100

    Update to 1.222
    
    - New upstream release 1.222
      - New upstream maintainer STEPHEN
      - Changes file reformatted
      - Moved to Dist::Zilla's OurPkgVersion for keeping $VERSIONs in sync
      - Added unit tests for OO and CRC code
    - This release by STEPHEN -> update source URL
    - Package new upstream Changes and LICENSE files
    - Package new manpages for scripts
    - Specify all dependencies
    - Run the release tests too
    - Clean up spec for modern rpmbuild

 .gitignore                      |    2 +-
 Convert-BinHex-1.122-utf8.patch |   18 ++++++++++
 perl-Convert-BinHex.spec        |   72 +++++++++++++++++++++++++++++---------
 sources                         |    2 +-
 4 files changed, 75 insertions(+), 19 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7d648d4..d6dae00 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-Convert-BinHex-1.119.tar.gz
+/Convert-BinHex-[0-9.]*.tar.gz
diff --git a/Convert-BinHex-1.122-utf8.patch b/Convert-BinHex-1.122-utf8.patch
new file mode 100644
index 0000000..d098c5f
--- /dev/null
+++ b/Convert-BinHex-1.122-utf8.patch
@@ -0,0 +1,18 @@
+--- bin/debinhex.pl
++++ bin/debinhex.pl
+@@ -1,5 +1,6 @@
+ #!/usr/bin/perl -w
+ 
++=encoding utf8
+ 
+ =head1 NAME
+ 
+@@ -34,7 +35,7 @@
+ Paul J. Schinder (NASA/GSFC) mostly, though Eryq can't seem to keep
+ his grubby paws off anything...
+ 
+-S� M. Andersen (somian), made it actually work under Perl 5.8.7 on MSWin32.
++Sören M. Andersen (somian), made it actually work under Perl 5.8.7 on MSWin32.
+ 
+ =cut
+ 
diff --git a/perl-Convert-BinHex.spec b/perl-Convert-BinHex.spec
index 7012cf6..787ab36 100644
--- a/perl-Convert-BinHex.spec
+++ b/perl-Convert-BinHex.spec
@@ -1,51 +1,89 @@
 Name:		perl-Convert-BinHex
-Version:	1.119
-Release:	22%{?dist}
+Version:	1.122
+Release:	1%{?dist}
 Summary:	Convert to/from RFC1741 HQX7 (Mac BinHex)
 Group:		Development/Libraries
 License:	GPL+ or Artistic
 URL:		http://search.cpan.org/dist/Convert-BinHex/
-Source0:	http://search.cpan.org/CPAN/authors/id/E/ER/ERYQ/Convert-BinHex-%{version}.tar.gz
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
+Source0:	http://search.cpan.org/CPAN/authors/id/S/ST/STEPHEN/Convert-BinHex-%{version}.tar.gz
+Patch1:		Convert-BinHex-1.122-utf8.patch
 BuildArch:	noarch
-BuildRequires:	perl(Carp)
+# Module Build
 BuildRequires:	perl(ExtUtils::MakeMaker)
+# Module Runtime
+BuildRequires:	perl(Carp)
+BuildRequires:	perl(Exporter)
+BuildRequires:	perl(Fcntl)
+BuildRequires:	perl(File::Basename)
+BuildRequires:	perl(FileHandle)
+BuildRequires:	perl(Getopt::Std)
+BuildRequires:	perl(integer)
+BuildRequires:	perl(POSIX)
+BuildRequires:	perl(strict)
+BuildRequires:	perl(vars)
+BuildRequires:	perl(warnings)
+# Test Suite
+BuildRequires:	perl(autodie)
+BuildRequires:	perl(File::Compare)
+BuildRequires:	perl(File::Slurp)
+BuildRequires:	perl(File::Temp) >= 0.17
+BuildRequires:	perl(FindBin)
+BuildRequires:	perl(lib)
+BuildRequires:	perl(Test::CPAN::Changes)
+BuildRequires:	perl(Test::More) >= 0.96
+BuildRequires:	perl(Test::Most)
 Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
+# Remove Mac::Files dependency, only needed on MacOS
+%global __requires_exclude ^perl\\(Mac::Files\\)
+
 %description
 Convert::BinHex extracts data from Macintosh BinHex files.
 
 %prep
 %setup -q -n Convert-BinHex-%{version}
-chmod -c -x bin/*.pl docs/Convert/BinHex/redapple.gif
-cp -a bin examples
+
+# Don't want to ship a script with a security hole
 perl -pi -e 's/^use lib .*$//' bin/*.pl
-perl -pi -e 's/^(\@ISA.*)/require Exporter; $1/' t/Checker.pm
+
+# Re-code docs as UTF-8
+%patch1
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-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
-make test
-
-%clean
-rm -rf %{buildroot}
+make test RELEASE_TESTING=1
 
 %files
-%defattr(-,root,root,-)
-%doc COPYING README docs examples
+%doc Changes COPYING LICENSE README*
+%{_bindir}/binhex.pl
+%{_bindir}/debinhex.pl
 %{perl_vendorlib}/Convert/
+%{_mandir}/man1/binhex.pl.1*
+%{_mandir}/man1/debinhex.pl.1*
 %{_mandir}/man3/Convert::BinHex.3pm*
 
 %changelog
+* Sun Sep  1 2013 Paul Howarth <paul@xxxxxxxxxxxx> 1.122-1
+- Update to 1.222
+  - New upstream maintainer STEPHEN
+  - Changes file reformatted
+  - Moved to Dist::Zilla's OurPkgVersion for keeping $VERSIONs in sync
+  - Added unit tests for OO and CRC code
+- This release by STEPHEN -> update source URL
+- Package new upstream Changes and LICENSE files
+- Package new manpages for scripts
+- Specify all dependencies
+- Run the release tests too
+- Clean up spec for modern rpmbuild
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.119-22
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
@@ -112,7 +150,7 @@ rm -rf %{buildroot}
 - assume rpm knows about %%check and %%{perl_vendorlib}
 - cosmetic spec file changes
 
-* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 1.119-2
+* Wed Apr  6 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 1.119-2
 - rebuilt
 
 * Wed Sep 15 2004 Ville Skyttä <ville.skytta at iki.fi> 1.119-1
diff --git a/sources b/sources
index 8dbc3a7..2f40633 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ba70ad1772abac6270078f28197a7961  Convert-BinHex-1.119.tar.gz
+b4b45dd4649d6b97657635398a48a478  Convert-BinHex-1.122.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