[perl-HTML-Defang: 4/5] update to 1.04

Iain Arnell iarnell at fedoraproject.org
Thu Jan 6 15:49:14 UTC 2011


commit ed661fcecc8d4739219daa4d5af51351527017cc
Author: Iain Arnell <iarnell at gmail.com>
Date:   Thu Jan 6 16:47:53 2011 +0100

    update to 1.04

 .gitignore            |    1 +
 perl-HTML-Defang.spec |   14 ++++++--------
 sources               |    2 +-
 3 files changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 792f2e2..51fab81 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 HTML-Defang-1.03.tar.gz
+/HTML-Defang-1.04.tar.gz
diff --git a/perl-HTML-Defang.spec b/perl-HTML-Defang.spec
index 8373be8..0175ab2 100644
--- a/perl-HTML-Defang.spec
+++ b/perl-HTML-Defang.spec
@@ -1,12 +1,11 @@
 Name:           perl-HTML-Defang
-Version:        1.03
-Release:        2%{?dist}
+Version:        1.04
+Release:        1%{?dist}
 Summary:        Cleans HTML and CSS of executable contents
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/HTML-Defang/
 Source0:        http://www.cpan.org/authors/id/K/KU/KURIANJA/HTML-Defang-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Test::More)
@@ -26,8 +25,6 @@ only HTML known to be safe is allowed through.
 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 {} \;
@@ -38,9 +35,6 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root,-)
 %doc Changes README
@@ -48,6 +42,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Thu Jan 06 2011 Iain Arnell <iarnell at gmail.com> 1.04-1
+- update to latest upstream version
+- clean up spec for modern rpmbuild
+
 * Fri Dec 17 2010 Marcela Maslanova <mmaslano at redhat.com> - 1.03-2
 - 661697 rebuild for fixing problems with vendorach/lib
 
diff --git a/sources b/sources
index 7688a9c..002ccc4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-61bd6fd4aec106dc77826ac397f8c4cd  HTML-Defang-1.03.tar.gz
+c26fb25f458a913447e584e8fe97af9c  HTML-Defang-1.04.tar.gz


More information about the scm-commits mailing list