[slic3r] For F20+, require Moo >= 1.003001

Miro Hrončok churchyard at fedoraproject.org
Fri Oct 18 15:32:11 UTC 2013


commit 6e456246023b93e890db32de2841723e8d92ec09
Author: Miro Hrončok <miro at hroncok.cz>
Date:   Fri Oct 18 17:32:05 2013 +0200

    For F20+, require Moo >= 1.003001

 slic3r.spec |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/slic3r.spec b/slic3r.spec
index 2295fb5..4b3d811 100644
--- a/slic3r.spec
+++ b/slic3r.spec
@@ -1,6 +1,6 @@
 Name:           slic3r
 Version:        0.9.10b
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)
 License:        AGPLv3 and CC-BY
 # Images are CC-BY, code is AGPLv3
@@ -35,7 +35,11 @@ BuildRequires:  perl(Math::ConvexHull) >= 1.0.4
 BuildRequires:  perl(Math::Geometry::Voronoi)
 BuildRequires:  perl(Math::PlanePath)
 BuildRequires:  perl(Module::Build)
-BuildRequires:  perl(Moo) >= 0.091009
+%if 0%{?fedora} > 19
+BuildRequires:  perl(Moo) >= 1.003001
+%else
+BuildRequires:  perl(Moo)
+%endif
 BuildRequires:  perl(parent)
 BuildRequires:  perl(Scalar::Util)
 BuildRequires:  perl(SVG)
@@ -46,6 +50,9 @@ BuildRequires:  perl(XML::SAX::ExpatXS)
 BuildRequires:  desktop-file-utils
 Requires:       perl(Class::XSAccessor)
 Requires:       perl(Growl::GNTP)
+%if 0%{?fedora} > 19
+Requires:       perl(Moo) >= 1.003001
+%endif
 Requires:       perl(XML::SAX)
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
@@ -92,6 +99,9 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
 %{_mandir}/man3/*
 
 %changelog
+* Fri Oct 18 2013 Miro Hrončok <mhroncok at redhat.com> - 0.9.10b-5
+- For F20+, require Moo >= 1.003001
+
 * Fri Oct 18 2013 Miro Hrončok <mhroncok at redhat.com> - 0.9.10b-4
 - Remove all filtering from provides, it is not needed anymore
 - Don't add MANIFEST to %%doc


More information about the scm-commits mailing list