psabata pushed to perl-mixin (f22). "Initial import (#1207704)"
notifications at fedoraproject.org
notifications at fedoraproject.org
Thu Apr 2 15:49:25 UTC 2015
>From 4103b4b7fd55bc473dc0e04c8e2ff404f76f73ba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= <contyk at redhat.com>
Date: Thu, 2 Apr 2015 17:29:09 +0200
Subject: Initial import (#1207704)
diff --git a/.gitignore b/.gitignore
index e69de29..d00a187 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mixin-0.07.tar.gz
diff --git a/perl-mixin.spec b/perl-mixin.spec
new file mode 100644
index 0000000..ac013d7
--- /dev/null
+++ b/perl-mixin.spec
@@ -0,0 +1,55 @@
+Name: perl-mixin
+Version: 0.07
+Release: 1%{?dist}
+Summary: Mixin inheritance, an alternative to multiple inheritance
+# The FSF address is outdated, rt#103225
+License: GPL+ or Artistic
+URL: http://search.cpan.org/dist/mixin/
+Source0: http://www.cpan.org/authors/id/M/MS/MSCHWERN/mixin-%{version}.tar.gz
+BuildArch: noarch
+# Build
+BuildRequires: perl
+BuildRequires: perl(Module::Build)
+BuildRequires: perl(strict)
+BuildRequires: perl(warnings)
+# Runtime
+BuildRequires: perl(base)
+# XXX: BuildRequires: perl(Carp)
+BuildRequires: perl(vars)
+# Tests only
+BuildRequires: perl(constant)
+BuildRequires: perl(Exporter)
+BuildRequires: perl(lib)
+BuildRequires: perl(Test::NoWarnings)
+Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
+Requires: perl(base)
+Requires: perl(Carp)
+
+%description
+Mixin inheritance is an alternative to the usual multiple-inheritance and
+solves the problem of knowing which parent will be called. It also solves a
+number of tricky problems like diamond inheritance.
+
+%prep
+%setup -q -n mixin-%{version}
+
+%build
+perl Build.PL installdirs=vendor
+./Build
+
+%install
+./Build install destdir=%{buildroot} create_packlist=0
+%{_fixperms} %{buildroot}/*
+
+%check
+./Build test
+
+%files
+%license LICENSE
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Tue Mar 31 2015 Petr Ĺ abata <contyk at redhat.com> 0.07-1
+- Initial packaging
diff --git a/sources b/sources
index e69de29..d7e6d16 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2b764a8c29f50a3af0f8e8c24fa7b582 mixin-0.07.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-mixin.git/commit/?h=f22&id=4103b4b7fd55bc473dc0e04c8e2ff404f76f73ba
More information about the scm-commits
mailing list