/[smeserver]/rpms/perl-Mail-DMARC/sme10/perl-Mail-DMARC.spec
ViewVC logotype

Diff of /rpms/perl-Mail-DMARC/sme10/perl-Mail-DMARC.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.4 by vip-ire, Sat May 20 11:24:19 2017 UTC Revision 1.5 by jpp, Tue Apr 19 21:22:48 2022 UTC
# Line 1  Line 1 
1  Name:           perl-Mail-DMARC  Name:           perl-Mail-DMARC
2  Version:        1.20141206  Version:        1.20200214
3  Release:        2%{?dist}  Release: 1%{?dist}
4  Summary:        Perl implementation of DMARC  Summary:        Perl implementation of DMARC
5  License:        GPL+ or Artistic  License:        GPL+ or Artistic
6  Group:          Development/Libraries  Group:          Development/Libraries
7  URL:            http://search.cpan.org/dist/Mail-DMARC/  URL:            http://search.cpan.org/dist/Mail-DMARC/
8  Source0:        http://www.cpan.org/modules/by-module/Mail/Mail-DMARC-%{version}.tar.gz  Source0:        http://www.cpan.org/modules/by-module/Mail/Mail-DMARC-%{version}.tar.gz
 Patch0:         Mail-DMARC-1.20141206-build_fix.patch  
 Patch1:         Mail-DMARC-1.20141206-use_email_mime_creator.patch  
9  Patch2:         Mail-DMARC-1.20141206-dont_set_date_manually.patch  Patch2:         Mail-DMARC-1.20141206-dont_set_date_manually.patch
10  Patch3:         Mail-DMARC-1.20141206-handle_undef_domains.patch  Patch3:         Mail-DMARC-1.20200214-handle_undef_domains.patch
11    
12  BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)  BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13  BuildArch:      noarch  BuildArch:      noarch
14  BuildRequires:  perl >= 0:5.008  BuildRequires:  perl >= 0:5.008
# Line 18  BuildRequires:  perl(CGI) Line 17  BuildRequires:  perl(CGI)
17  BuildRequires:  perl(Config::Tiny)  BuildRequires:  perl(Config::Tiny)
18  BuildRequires:  perl(CPAN)  BuildRequires:  perl(CPAN)
19  BuildRequires:  perl(Data::Dumper)  BuildRequires:  perl(Data::Dumper)
20  #BuildRequires:  perl(DBD::SQLite) >= 1.31  BuildRequires:  perl(DBD::SQLite) >= 1.31
21  BuildRequires:  perl(DBIx::Simple)  BuildRequires:  perl(DBIx::Simple)
22  BuildRequires:  perl(Email::MIME)  BuildRequires:  perl(Email::MIME)
23  BuildRequires:  perl(Email::MIME::Creator)  BuildRequires:  perl(Email::MIME::Creator)
# Line 31  BuildRequires:  perl(IO::Compress::Zip) Line 30  BuildRequires:  perl(IO::Compress::Zip)
30  BuildRequires:  perl(IO::Uncompress::Gunzip)  BuildRequires:  perl(IO::Uncompress::Gunzip)
31  BuildRequires:  perl(IO::Uncompress::Unzip)  BuildRequires:  perl(IO::Uncompress::Unzip)
32  BuildRequires:  perl(JSON)  BuildRequires:  perl(JSON)
33    BuildRequires:  perl(Mail::DKIM)
34  BuildRequires:  perl(Module::Build)  BuildRequires:  perl(Module::Build)
35  BuildRequires:  perl(Net::DNS::Resolver)  BuildRequires:  perl(Net::DNS::Resolver)
36  BuildRequires:  perl(Net::HTTP)  BuildRequires:  perl(Net::HTTP)
37    BuildRequires:  perl(Net::IDN::Encode)
38  BuildRequires:  perl(Net::IMAP::Simple)  BuildRequires:  perl(Net::IMAP::Simple)
39  BuildRequires:  perl(Net::IP)  BuildRequires:  perl(Net::IP)
40    BuildRequires:  perl(Net::Server)
41  BuildRequires:  perl(Net::SMTPS)  BuildRequires:  perl(Net::SMTPS)
42  BuildRequires:  perl(parent)  BuildRequires:  perl(parent)
43  BuildRequires:  perl(Pod::Usage)  BuildRequires:  perl(Pod::Usage)
# Line 43  BuildRequires:  perl(Regexp::Common) >= Line 45  BuildRequires:  perl(Regexp::Common) >=
45  BuildRequires:  perl(Socket)  BuildRequires:  perl(Socket)
46  BuildRequires:  perl(Socket6) >= 0.23  BuildRequires:  perl(Socket6) >= 0.23
47  BuildRequires:  perl(Test::More)  BuildRequires:  perl(Test::More)
48    BuildRequires:  perl(Test::File::ShareDir)
49    BuildRequires:  perl(Test::Exception)
50    BuildRequires:  perl(Test::Output)
51  BuildRequires:  perl(URI)  BuildRequires:  perl(URI)
52  BuildRequires:  perl(XML::LibXML)  BuildRequires:  perl(XML::LibXML)
53  Requires:       perl(Carp)  Requires:       perl(Carp)
# Line 58  Requires:       perl(Email::Simple) Line 63  Requires:       perl(Email::Simple)
63  Requires:       perl(Encode)  Requires:       perl(Encode)
64  Requires:       perl(File::ShareDir)  Requires:       perl(File::ShareDir)
65  Requires:       perl(Getopt::Long)  Requires:       perl(Getopt::Long)
66    Requires:       perl(HTTP::Tiny)
67  Requires:       perl(IO::Compress::Gzip)  Requires:       perl(IO::Compress::Gzip)
68  Requires:       perl(IO::Compress::Zip)  Requires:       perl(IO::Compress::Zip)
69  Requires:       perl(IO::Uncompress::Gunzip)  Requires:       perl(IO::Uncompress::Gunzip)
70  Requires:       perl(IO::Uncompress::Unzip)  Requires:       perl(IO::Uncompress::Unzip)
71    Requires:       perl(IO::File)
72    Requires:       perl(IO::Socket::SSL)
73  Requires:       perl(JSON)  Requires:       perl(JSON)
74  Requires:       perl(Net::DNS::Resolver)  Requires:       perl(Net::DNS::Resolver)
75  Requires:       perl(Net::HTTP)  Requires:       perl(Net::HTTP)
76  Requires:       perl(Net::IMAP::Simple)  Requires:       perl(Net::IMAP::Simple)
77    Requires:       perl(Net::IDN::Encode)
78  Requires:       perl(Net::IP)  Requires:       perl(Net::IP)
79  Requires:       perl(Net::SMTPS)  Requires:       perl(Net::SMTPS)
80    Requires:       perl(Net::SSLeay)
81  Requires:       perl(parent)  Requires:       perl(parent)
82  Requires:       perl(Pod::Usage)  Requires:       perl(Pod::Usage)
83  Requires:       perl(Regexp::Common) >= 2013031301  Requires:       perl(Regexp::Common) >= 2013031301
84  Requires:       perl(Socket)  Requires:       perl(Socket)
85  Requires:       perl(Socket6) >= 0.23  Requires:       perl(Socket6) >= 0.23
86    Requires:       perl(Sys::Hostname)
87    Requires:       perl(Sys::Syslog)
88  Requires:       perl(URI)  Requires:       perl(URI)
89  Requires:       perl(XML::LibXML)  Requires:       perl(XML::LibXML)
90  Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))  Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
# Line 84  every SHOULD. Line 96  every SHOULD.
96    
97  %prep  %prep
98  %setup -q -n Mail-DMARC-%{version}  %setup -q -n Mail-DMARC-%{version}
 %patch0 -p1  
 %patch1 -p1  
99  %patch2 -p1  %patch2 -p1
100  %patch3 -p1  %patch3 -p1
101    
# Line 99  rm -rf $RPM_BUILD_ROOT Line 109  rm -rf $RPM_BUILD_ROOT
109  ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0  ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
110  %{__mkdir_p} $RPM_BUILD_ROOT/%{_sysconfdir}/  %{__mkdir_p} $RPM_BUILD_ROOT/%{_sysconfdir}/
111  %{__mkdir_p} $RPM_BUILD_ROOT/%{perl_vendorlib}/auto/share/dist/Mail-DMARC  %{__mkdir_p} $RPM_BUILD_ROOT/%{perl_vendorlib}/auto/share/dist/Mail-DMARC
112  cp mail-dmarc.ini $RPM_BUILD_ROOT/%{_sysconfdir}/  cp share/mail-dmarc.ini $RPM_BUILD_ROOT/%{_sysconfdir}/
113  find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;  find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
114    
115  %{_fixperms} $RPM_BUILD_ROOT/*  %{_fixperms} $RPM_BUILD_ROOT/*
116    
117    
118  %check  %check
119    # fails in mock
120    sed -i t/04.PurePerl.t   -e '/test_fetch_dmarc_record();/d' -e '/test_discover_policy();/d'
121  ./Build test  ./Build test
122    
123  %clean  %clean
# Line 113  rm -rf $RPM_BUILD_ROOT Line 125  rm -rf $RPM_BUILD_ROOT
125    
126  %files  %files
127  %defattr(-,root,root,-)  %defattr(-,root,root,-)
128  %doc Changes DEVELOP.md dist.ini example FAQ.md LICENSE mail-dmarc.ini README README.mkdn share TODO.md  %doc Changes.md DEVELOP.md example FAQ.md LICENSE README.md share TODO.md
129  %config(noreplace) %{_sysconfdir}/mail-dmarc.ini  %config(noreplace) %{_sysconfdir}/mail-dmarc.ini
130  %{perl_vendorlib}/*  %{perl_vendorlib}/*
131  %{_mandir}/man3/*  %{_mandir}/man3/*
# Line 121  rm -rf $RPM_BUILD_ROOT Line 133  rm -rf $RPM_BUILD_ROOT
133  %{_bindir}/dmarc_*  %{_bindir}/dmarc_*
134    
135  %changelog  %changelog
136    * Tue Apr 19 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.20200214-1.sme
137    - upate to 1.20200214 [SME: 10103]
138    - remove t/04.PurePerl.t tests that are failing inside mock
139    
140  * Sat May 20 2017 Daniel Berteaud <daniel@firewall-services.com> 1.20141206-2  * Sat May 20 2017 Daniel Berteaud <daniel@firewall-services.com> 1.20141206-2
141  - Handle undef domains (like bounces) [SME: 10318]  - Handle undef domains (like bounces) [SME: 10318]
142    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed