[perl-Module-Install-Authority] Import

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

 



commit 52dcf3370c1cd2cd445524f6bbba7945cbef47f2
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Fri Feb 20 08:08:17 2015 +0100

    Import

 .gitignore                                         |  1 +
 ...e-M-I-Authority-under-build-when-building.patch | 30 +++++++++
 perl-Module-Install-Authority.spec                 | 72 ++++++++++++++++++++++
 sources                                            |  1 +
 4 files changed, 104 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..18490d0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Module-Install-Authority-0.03.tar.gz
diff --git a/Module-Install-Authority-0.03-Use-M-I-Authority-under-build-when-building.patch b/Module-Install-Authority-0.03-Use-M-I-Authority-under-build-when-building.patch
new file mode 100644
index 0000000..7ff5917
--- /dev/null
+++ b/Module-Install-Authority-0.03-Use-M-I-Authority-under-build-when-building.patch
@@ -0,0 +1,30 @@
+From f120d96b03fd1d9f908e0fef965c4c9da55b947c Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@xxxxxxxxxx>
+Date: Thu, 19 Feb 2015 15:27:04 +0100
+Subject: [PATCH] Use M::I::Authority under build when building
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+This is needed for boostrap
+
+Signed-off-by: Petr Písař <ppisar@xxxxxxxxxx>
+---
+ Makefile.PL | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index a8c0511..94d7890 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -1,6 +1,7 @@
+ use strict;
+ use warnings;
+ no warnings 'redefine';
++use lib 'lib';
+ use inc::Module::Install 0.91;
+ use Module::Install::AuthorRequires;
+ use Module::Install::AuthorTests;
+-- 
+2.1.0
+
diff --git a/perl-Module-Install-Authority.spec b/perl-Module-Install-Authority.spec
new file mode 100644
index 0000000..cfa10b4
--- /dev/null
+++ b/perl-Module-Install-Authority.spec
@@ -0,0 +1,72 @@
+Name:           perl-Module-Install-Authority
+Version:        0.03
+Release:        1%{?dist}
+Summary:        Add an x_authority key to META.yml
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Module-Install-Authority/
+Source0:        http://www.cpan.org/authors/id/B/BO/BOBTFISH/Module-Install-Authority-%{version}.tar.gz
+# Makefile.PL needs a module delivered by this package
+Patch0:         Module-Install-Authority-0.03-Use-M-I-Authority-under-build-when-building.patch
+BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(inc::Module::Install) >= 0.91
+BuildRequires:  perl(lib)
+BuildRequires:  perl(Module::Install::AuthorRequires)
+BuildRequires:  perl(Module::Install::AuthorTests)
+BuildRequires:  perl(Module::Install::Metadata)
+BuildRequires:  perl(Module::Install::ReadmeFromPod)
+BuildRequires:  perl(Module::Install::WriteAll)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Run-time:
+BuildRequires:  perl(base)
+BuildRequires:  perl(Module::Install::Base)
+# Tests:
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(Test::More) >= 0.88
+BuildRequires:  perl(Test::NoTabs)
+BuildRequires:  perl(Test::Pod) >= 1.14
+BuildRequires:  perl(Test::Pod::Coverage) >= 1.04
+BuildRequires:  perl(YAML)
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+%description
+If you upload a distribution which contains an x_authority key in the
+META.yml then PAUSE will assign 'firstcome' permissions on any packages in
+that distribution to the user given by the x_authority key (and assign co-
+maintenance to the uploader).
+
+This makes coordination (and maintenance sharing) much easier for large
+CPAN distributions, or those maintained by a pool of people.
+
+
+%prep
+%setup -q -n Module-Install-Authority-%{version}
+%patch0 -p1
+# Remove bundled modules
+rm -rf inc
+sed -i -e '/inc\//d' MANIFEST
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Feb 19 2015 Petr Pisar <ppisar@xxxxxxxxxx> 0.03-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..ab42480 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+0695d0b3c572fa0a53ec26846622e6ff  Module-Install-Authority-0.03.tar.gz
--
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