[perl-App-Asciio] Add perl default filter and clean up spec file
Emmanuel Seyman
eseyman at fedoraproject.org
Sun Mar 11 09:33:48 UTC 2012
commit 9c488f62b01cd1c4ac8b531dec26bf97696c30d6
Author: Emmanuel Seyman <emmanuel.seyman at club-internet.fr>
Date: Sun Mar 11 10:33:42 2012 +0100
Add perl default filter and clean up spec file
perl-App-Asciio.spec | 18 ++++++++----------
1 files changed, 8 insertions(+), 10 deletions(-)
---
diff --git a/perl-App-Asciio.spec b/perl-App-Asciio.spec
index 4f191c8..03e75d5 100644
--- a/perl-App-Asciio.spec
+++ b/perl-App-Asciio.spec
@@ -1,13 +1,12 @@
Name: perl-App-Asciio
Version: 1.02.71
-Release: 10%{?dist}
+Release: 11%{?dist}
# see lib/App/Asciio.pm
License: GPL+ or Artistic
Group: Development/Libraries
-Summary: Asciio backend libraries
+Summary: Asciio back-end libraries
Source: http://search.cpan.org/CPAN/authors/id/N/NK/NKH/App-Asciio-%{version}.tar.gz
Url: http://search.cpan.org/dist/App-Asciio
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch
@@ -63,6 +62,8 @@ Provides: perl(App::Asciio::Options) = %{version}
Provides: perl(App::Asciio::Setup) = %{version}
Provides: perl(App::Asciio::Undo) = %{version}
+%{?perl_default_filter}
+
%description
This gtk2-perl application allows you to draw ASCII diagrams in a modern
(but simple) graphical application. The ASCII graphs can be saved as ASCII
@@ -119,8 +120,6 @@ chmod +x %{__perl_provides}
make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
-
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
@@ -134,11 +133,7 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications asciio.desktop
# passes outside of rpm, but fails in rpmbuild F-10+ (no $DISPLAY)
#make test
-%clean
-rm -rf %{buildroot}
-
%files
-%defattr(-,root,root,-)
%doc README Changes documentation/
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
@@ -148,10 +143,13 @@ rm -rf %{buildroot}
%doc README
%{_bindir}/*
%{_datadir}/applications/*
-#%{_mandir}/man1/*.1*
%changelog
+* Sun Mar 11 2012 Emmanuel Seyman <emmanuel.seyman at club-internet.fr - 1.02.71-11
+- Add perl default filter
+- Clean up spec file
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.02.71-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
More information about the scm-commits
mailing list