[perl-Text-Diff-Parser] various cleanups
Emmanuel Seyman
eseyman at fedoraproject.org
Sun Dec 9 10:40:25 UTC 2012
commit b5d26d6fc5c3d3d245308800b8608166d3d626d6
Author: Emmanuel Seyman <emmanuel.seyman at club-internet.fr>
Date: Sun Dec 9 11:40:20 2012 +0100
various cleanups
perl-Text-Diff-Parser.spec | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/perl-Text-Diff-Parser.spec b/perl-Text-Diff-Parser.spec
index aa4b6a3..e477e9f 100644
--- a/perl-Text-Diff-Parser.spec
+++ b/perl-Text-Diff-Parser.spec
@@ -1,12 +1,12 @@
Name: perl-Text-Diff-Parser
Version: 0.1001
-Release: 9%{?dist}
+Release: 10%{?dist}
Summary: Parse patch files containing unified and standard diffs
License: GPL+ or Artistic
-Group: Development/Libraries
+
URL: http://search.cpan.org/dist/Text-Diff-Parser/
Source0: http://www.cpan.org/authors/id/G/GW/GWYN/Text-Diff-Parser-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
# Run-time
@@ -20,6 +20,8 @@ BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+%{?perl_default_filter}
+
%description
Text::Diff::Parser parses diff files and patches. It allows you to access
the changes to a file in a standardized way, even if multiple patch
@@ -33,8 +35,6 @@ formats are used.
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 {} \;
@@ -45,16 +45,16 @@ 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
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Sun Dec 09 2012 Emmanuel Seyman <emmanuel at seyman.fr> - 0.1001-10
+- Add perl default filter
+- Remove no-longer-used macros
+
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.1001-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list