[perl-Text-Diff-HTML] Update to 0.07

Paul Howarth pghmcfc at fedoraproject.org
Fri Oct 25 16:14:23 UTC 2013


commit cc10542785f4f0271d832c08e683c98bd4d46a5f
Author: Paul Howarth <paul at city-fan.org>
Date:   Fri Oct 25 17:13:46 2013 +0100

    Update to 0.07
    
    - New upstream release 0.07
      - Moved to http://github.com/theory/text-diff-html/
      - Switched to a static README.md, rather than a generated README
    - Specify all dependencies
    - Drop %defattr, redundant since rpm 4.4
    - Make %files list more explicit
    - Don't need to remove empty directories from the buildroot
    - Don't use macros for commands

 .gitignore               |    3 +--
 perl-Text-Diff-HTML.spec |   45 +++++++++++++++++++++++++++++----------------
 sources                  |    2 +-
 3 files changed, 31 insertions(+), 19 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c427697..9502d99 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
-Text-Diff-HTML-0.05.tar.gz
-/Text-Diff-HTML-0.06.tar.gz
+/Text-Diff-HTML-[0-9.]*.tar.gz
diff --git a/perl-Text-Diff-HTML.spec b/perl-Text-Diff-HTML.spec
index aab332b..04c74dd 100644
--- a/perl-Text-Diff-HTML.spec
+++ b/perl-Text-Diff-HTML.spec
@@ -1,19 +1,26 @@
 Name:           perl-Text-Diff-HTML
-Version:        0.06
-Release:        9%{?dist}
+Version:        0.07
+Release:        1%{?dist}
 Summary:        XHTML format for Text::Diff::Unified
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Text-Diff-HTML/
 Source0:        http://www.cpan.org/authors/id/D/DW/DWHEELER/Text-Diff-HTML-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:      noarch
-BuildRequires:  perl(HTML::Entities)
+# Module Build
 BuildRequires:  perl(Module::Build)
-BuildRequires:  perl(Test::More)
-BuildRequires:  perl(Test::Pod) >= 1.20
+# Module Runtime
+BuildRequires:  perl(constant)
+BuildRequires:  perl(HTML::Entities)
+BuildRequires:  perl(strict)
 BuildRequires:  perl(Text::Diff) >= 0.11
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires:  perl(vars)
+# Test Suite
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Pod)
+# Runtime
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
 This class subclasses Text::Diff::Unified, a formatting class provided by
@@ -25,16 +32,13 @@ documentation.
 %setup -q -n Text-Diff-HTML-%{version}
 
 %build
-%{__perl} Build.PL installdirs=vendor
+perl Build.PL installdirs=vendor
 ./Build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
-%{_fixperms} $RPM_BUILD_ROOT/*
+%{_fixperms} $RPM_BUILD_ROOT
 
 %check
 ./Build test
@@ -43,12 +47,21 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(-,root,root,-)
-%doc Changes README
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%doc Changes README.md
+%{perl_vendorlib}/Text/
+%{_mandir}/man3/Text::Diff::HTML.3pm*
 
 %changelog
+* Fri Oct 25 2013 Paul Howarth <paul at city-fan.org> - 0.07-1
+- Update to 0.07
+  - Moved to http://github.com/theory/text-diff-html/
+  - Switched to a static README.md, rather than a generated README
+- Specify all dependencies
+- Drop %%defattr, redundant since rpm 4.4
+- Make %%files list more explicit
+- Don't need to remove empty directories from the buildroot
+- Don't use macros for commands
+
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.06-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index efb4862..58d441f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-27d6447eebebcfb620977aba8a9b9300  Text-Diff-HTML-0.06.tar.gz
+bea80ec02d4f6d7e8eb8cfbcb35f3b2c  Text-Diff-HTML-0.07.tar.gz



More information about the perl-devel mailing list