[perl-Class-ISA] Change description to something more descriptive (#811144)

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

 



commit 87d9df73bf22195587af8a10676f8f485b1a1391
Author: Petr Šabata <contyk@xxxxxxxxxx>
Date:   Fri Apr 13 12:08:35 2012 +0200

    Change description to something more descriptive (#811144)

 perl-Class-ISA.spec |   36 +++++++++++++++---------------------
 1 files changed, 15 insertions(+), 21 deletions(-)
---
diff --git a/perl-Class-ISA.spec b/perl-Class-ISA.spec
index 5f94063..60d38bc 100644
--- a/perl-Class-ISA.spec
+++ b/perl-Class-ISA.spec
@@ -1,52 +1,46 @@
 Name:           perl-Class-ISA
 Version:        0.36
-Release:        1006%{?dist}
+Release:        1007%{?dist}
 Summary:        Report the search path for a class's ISA tree
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Class-ISA/
 Source0:        http://www.cpan.org/authors/id/S/SM/SMUELLER/Class-ISA-%{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))
+BuildRequires:  perl(Test)
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
-Suppose you have a class (like Food::Fish::Fishstick) that is derived, via
-its @ISA, from one or more superclasses (as Food::Fish::Fishstick is from
-Food::Fish, Life::Fungus, and Chemicals), and some of those superclasses
-may themselves each be derived, via its @ISA, from one or more superclasses
-(as above).
+This library provides functions that return the list (in order) of names of
+(super-)classes Perl would search to find a method, with no duplicates.
 
 %prep
 %setup -q -n Class-ISA-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-rm -rf $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 \;
-rm -rf $RPM_BUILD_ROOT/%{_mandir}/man3/*
-%{_fixperms} $RPM_BUILD_ROOT/*
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+rm -rf %{buildroot}/%{_mandir}/man3/*
+%{_fixperms} %{buildroot}/*
 
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc ChangeLog README
 %{perl_vendorlib}/*
 
 %changelog
+* Fri Apr 13 2012 Petr Šabata <contyk@xxxxxxxxxx> - 0.36-1007
+- Change description to something more descriptive (#811144)
+- Modernize spec
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.36-1006
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_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