source: projects/specs/trunk/p/perl-Dist-CheckConflicts/perl-Dist-CheckConflicts-vl.spec @ 9167

Revision 9167, 3.4 KB checked in by inagaki, 9 years ago (diff)

2014-12-19 Ryoichi INAGAKI <ryo1@…>

  • perl-Authen-{Captcha, Radius, SASL}, perl-DBM-Deep, perl-DateTime?-Format-{HTTP, Mail}, perl-Dist-CheckConflicts?, perl-Eval-Closure, perl-Package-DeprecationManager?, perl-Regexp-Common, perl-Term-ReadLine?-Gnu, perl-Text-Template: updated
  • perl-DateTime?-Format-{IBeat, W3CDTF}, perl-Declare-Constraints-Simple, perl-Text-Markdown: rebuilt
  • perl-String-Random: NEW


Line 
1Name:           perl-Dist-CheckConflicts
2Version:        0.11
3Release:        1%{?_dist_release}
4Summary:        Declare version conflicts for your dist
5Group:          Development/Libraries
6License:        GPL+ or Artistic
7URL:            http://search.cpan.org/dist/Dist-CheckConflicts/
8Source0:        http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Dist-CheckConflicts-%{version}.tar.gz
9Patch0:         Dist-CheckConflicts-0.02-old-eumm.patch
10Patch1:         Dist-CheckConflicts-0.02-old-Test::More.patch
11BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
12BuildArch:      noarch
13BuildRequires:  perl(Carp)
14BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
15BuildRequires:  perl(IPC::Open3)
16BuildRequires:  perl(List::MoreUtils) >= 0.12
17BuildRequires:  perl(Module::Runtime)
18BuildRequires:  perl(Pod::Coverage::TrustPod)
19BuildRequires:  perl(Sub::Exporter)
20BuildRequires:  perl(Test::EOL)
21BuildRequires:  perl(Test::Fatal)
22BuildRequires:  perl(Test::More) >= 0.88
23BuildRequires:  perl(Test::NoTabs)
24BuildRequires:  perl(Test::Pod) >= 1.41
25BuildRequires:  perl(Test::Pod::Coverage) >= 1.08
26Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
27
28%description
29One shortcoming of the CPAN clients that currently exist is that they have no
30way of specifying conflicting downstream dependencies of modules. This module
31attempts to work around this issue by allowing you to specify conflicting
32versions of modules separately, and deal with them after the module is done
33installing.
34
35For instance, say you have a module Foo, and some other module Bar uses Foo. If
36Foo were to change its API in a non-backwards-compatible way, this would cause
37Bar to break until it is updated to use the new API. Foo can't just depend on
38the fixed version of Bar, because this will cause a circular dependency
39(because Bar is already depending on Foo), and this doesn't express intent
40properly anyway - Foo doesn't use Bar at all. The ideal solution would be for
41there to be a way to specify conflicting versions of modules in a way that would
42let CPAN clients update conflicting modules automatically after an existing
43module is upgraded, but until that happens, this module will allow users to do
44this manually.
45
46%prep
47%setup -q -n Dist-CheckConflicts-%{version}
48
49%build
50perl Makefile.PL INSTALLDIRS=vendor
51make %{?_smp_mflags}
52
53%install
54rm -rf %{buildroot}
55make pure_install DESTDIR=%{buildroot}
56find %{buildroot} -type f -name .packlist -exec rm -f {} \;
57find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
58%{_fixperms} %{buildroot}
59
60%check
61make test RELEASE_TESTING=1
62
63%clean
64rm -rf %{buildroot}
65
66%files
67%defattr(-,root,root,-)
68%doc Changes LICENSE README
69%{perl_vendorlib}/Dist/
70%{_mandir}/man3/Dist::CheckConflicts.3pm*
71
72%changelog
73* Fri Dec 19 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.11-1
74- updated to 0.11
75- built with perl 5.16.3
76- added BR: perl(Module::Runtime)
77
78* Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.02-1
79- initial build for Vine Linux
80
81* Wed Jan 11 2012 Paul Howarth <paul@city-fan.org> - 0.02-5
82- Pod::Coverage::TrustPod now available in all supported releases
83- BR: perl(Carp)
84
85* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.02-4
86- Perl mass rebuild
87
88* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.02-3
89- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
90
91* Wed Jan  5 2011 Paul Howarth <paul@city-fan.org> - 0.02-2
92- Sanitize for Fedora submission
93
94* Tue Jan  4 2011 Paul Howarth <paul@city-fan.org> - 0.02-1
95- Initial RPM version
Note: See TracBrowser for help on using the repository browser.