[perl-Syntax-Highlight-Perl-Improved] various cleanups

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

 



commit 309546fe67922e34e33ed278d26daf6da56cb1ca
Author: Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx>
Date:   Sun Dec 16 12:37:00 2012 +0100

    various cleanups

 perl-Syntax-Highlight-Perl-Improved.spec |   22 +++++++++-------------
 1 files changed, 9 insertions(+), 13 deletions(-)
---
diff --git a/perl-Syntax-Highlight-Perl-Improved.spec b/perl-Syntax-Highlight-Perl-Improved.spec
index 49c8637..c0f3391 100644
--- a/perl-Syntax-Highlight-Perl-Improved.spec
+++ b/perl-Syntax-Highlight-Perl-Improved.spec
@@ -1,21 +1,21 @@
 Name:           perl-Syntax-Highlight-Perl-Improved
 Version:        1.01
-Release:        10%{?dist}
+Release:        11%{?dist}
 Summary:        Highlighting of Perl Syntactical Structures
 License:        GPL+ or Artistic
-Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Syntax-Highlight-Perl-Improved/
 Source0:        http://www.cpan.org/authors/id/D/DA/DAVIDCYL/Syntax-Highlight-Perl-Improved-101/Syntax-Highlight-Perl-Improved-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+%{?perl_default_filter}
+
 %description
 This module provides syntax highlighting for Perl code. The design bias is
-roughly line-oriented and streamed (ie, processing a file line-by-line in a
+roughly line-oriented and streamed (i.e. processing a file line-by-line in a
 single pass). Provisions may be made in the future for tasks related to "back-
-tracking" (ie, re-doing a single line in the middle of a stream) such as
+tracking" (i.e. re-doing a single line in the middle of a stream) such as
 speeding up state copying.
 
 %prep
@@ -31,28 +31,24 @@ sed -i 's/\r//' ChangeLog
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+make pure_install DESTDIR=$RPM_BUILD_ROOT
 
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc ChangeLog README viewperl
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Sun Dec 16 2012 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 1.01-11
+- Removed no-longer-used macros
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.01-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
--
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