rpms/perl-Smart-Comments/devel perl-Smart-Comments.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Chris Weyl (cweyl)
fedora-extras-commits at redhat.com
Sun Aug 6 16:16:13 UTC 2006
Author: cweyl
Update of /cvs/extras/rpms/perl-Smart-Comments/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29293/devel
Modified Files:
.cvsignore sources
Added Files:
perl-Smart-Comments.spec
Log Message:
auto-import perl-Smart-Comments-1.000002-1.fc5 on branch devel from perl-Smart-Comments-1.000002-1.fc5.src.rpm
--- NEW FILE perl-Smart-Comments.spec ---
%define tarver v1.0.2
Name: perl-Smart-Comments
Version: 1.000002
Release: 1%{?dist}
Summary: Comments that do more than just sit there
Group: Development/Libraries
License: Artistic or GPL
URL: http://search.cpan.org/dist/Smart-Comments
Source0: http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/Smart-Comments-%{tarver}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
## core
BuildRequires: perl
#BuildRequires: perl(Test::More), perl(Text::Balanced), perl(Data::Dumper)
#BuildRequires: perl(Filter::Simple), perl(List::Util),
#BuildRequires: perl(ExtUtils::MakeMaker)
## non-core
BuildRequires: perl(version)
BuildRequires: perl(Test::Pod), perl(Test::Pod::Coverage)
BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Smart comments provide an easy way to insert debugging and tracking code into
a program. They can report the value of a variable, track the progress of a
loop, and verify that particular assertions are true.
Best of all, when you're finished debugging, you don't have to remove them.
Simply commenting out the use Smart::Comments line turns them back into
regular comments. Leaving smart comments in your code is smart because if you
needed them once, you'll almost certainly need them again later.
%prep
%setup -q -n Smart-Comments-%{tarver}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
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} -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w %{buildroot}/*
%check
make test
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc README Changes
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
* Sun Aug 06 2006 Chris Weyl <cweyl at alumni.drew.edu> 1.000002-1
- Initial spec file for F-E
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Smart-Comments/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 6 Aug 2006 16:16:00 -0000 1.1
+++ .cvsignore 6 Aug 2006 16:16:13 -0000 1.2
@@ -0,0 +1 @@
+Smart-Comments-v1.0.2.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Smart-Comments/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 6 Aug 2006 16:16:00 -0000 1.1
+++ sources 6 Aug 2006 16:16:13 -0000 1.2
@@ -0,0 +1 @@
+658df11ea3e1090a4c673b50860449b3 Smart-Comments-v1.0.2.tar.gz
More information about the fedora-extras-commits
mailing list