%define pnam Refresh
%include /usr/lib/rpm/macros.perl
Summary: Class::Refresh - refresh your classes during runtime
-#Summary(pl.UTF-8):
Name: perl-Class-Refresh
Version: 0.07
Release: 1
BuildRequires: perl(Class::Unload)
BuildRequires: perl(Devel::OverrideGlobalRequire)
BuildRequires: perl-Class-Load
-BuildRequires: perl-Try-Tiny
BuildRequires: perl-Test-Fatal
BuildRequires: perl-Test-Requires
+BuildRequires: perl-Try-Tiny
%endif
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-During development, it is fairly common to cycle between writing code and
-testing that code. Generally the testing happens within the test suite, but
-frequently it is more convenient to test things by hand when tracking down a
-bug, or when doing some exploratory coding. In many situations, however, this
-becomes inconvenient - for instance, in a REPL, or in a stateful web
-application, restarting from the beginning after every code change can get
-pretty tedious. This module allows you to reload your application classes on
-the fly, so that the code/test cycle becomes a lot easier.
+During development, it is fairly common to cycle between writing code
+and testing that code. Generally the testing happens within the test
+suite, but frequently it is more convenient to test things by hand
+when tracking down a bug, or when doing some exploratory coding. In
+many situations, however, this becomes inconvenient - for instance, in
+a REPL, or in a stateful web application, restarting from the
+beginning after every code change can get pretty tedious. This module
+allows you to reload your application classes on the fly, so that the
+code/test cycle becomes a lot easier.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
+# this does some temp dir hackery that fails on builders
+%{__rm} t/moose-metaclasses.t
+
%build
%{__perl} Makefile.PL \
INSTALLDIRS=vendor