Пакет perl-Test-Synopsis: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 | # BEGIN SourceDeps(oneline): BuildRequires(pre): rpm-build-perl BuildRequires: perl-podlators # END SourceDeps(oneline) # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} # noarch, but to avoid debug* files interfering with manifest test: %global debug_package %{nil} Name: perl-Test-Synopsis Version: 0.16 Release: alt1 Summary: Test your SYNOPSIS code Group: Development/Other License: GPL+ or Artistic URL: https://metacpan.org/release/Test-Synopsis Source0: http://www.cpan.org/authors/id/Z/ZO/ZOFFIX/Test-Synopsis-%{version}.tar.gz BuildArch: noarch # Module Build BuildRequires: coreutils BuildRequires: findutils BuildRequires: perl-devel BuildRequires: rpm-build-perl BuildRequires: perl(ExtUtils/MakeMaker.pm) # Module Runtime BuildRequires: perl(ExtUtils/Manifest.pm) BuildRequires: perl(parent.pm) BuildRequires: perl(Pod/Simple.pm) BuildRequires: perl(strict.pm) BuildRequires: perl(Test/Builder/Module.pm) BuildRequires: perl(warnings.pm) # Test Suite BuildRequires: perl(File/Spec.pm) BuildRequires: perl(IO/Handle.pm) BuildRequires: perl(IPC/Open3.pm) BuildRequires: perl(Test/Builder.pm) BuildRequires: perl(Test/Builder/Tester.pm) BuildRequires: perl(Test/More.pm) # Extra Tests; can't run these when bootstrapping or in EL since many # of these packages won't be available %if 0%{!?perl_bootstrap:1} && 0%{!?rhel:1} BuildRequires: perl(Pod/Coverage/TrustPod.pm) BuildRequires: perl(Pod/Wordlist.pm) BuildRequires: perl(Test/CPAN/Changes.pm) BuildRequires: perl(Test/CPAN/Meta.pm) BuildRequires: perl(Test/CPAN/Meta/JSON.pm) BuildRequires: perl(Test/DistManifest.pm) BuildRequires: perl(Test/EOL.pm) BuildRequires: perl(Test/Kwalitee.pm) BuildRequires: perl(Test/MinimumVersion.pm) BuildRequires: perl(Test/Mojibake.pm) BuildRequires: perl(Test/More.pm) BuildRequires: perl(Test/NoTabs.pm) BuildRequires: perl(Test/Pod.pm) BuildRequires: perl(Test/Pod/Coverage.pm) BuildRequires: perl(Test/Portability/Files.pm) BuildRequires: perl(Test/Spelling.pm), hunspell-en BuildRequires: perl(Test/Version.pm) %endif # Runtime Requires: perl(Test/Builder/Module.pm) Source44: import.info %description Test::Synopsis is an (author) test module to find .pm or .pod files under your lib directory and then make sure the example snippet code in your SYNOPSIS section passes the perl compile check. Note that this module only checks the perl syntax (by wrapping the code with sub) and doesn't actually run the code. %prep %setup -q -n Test-Synopsis-%{version} %build perl Makefile.PL INSTALLDIRS=vendor %make_build %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; # %{_fixperms} %{buildroot} %check make test %if 0%{!?perl_bootstrap:1} && 0%{!?rhel:1} make test TEST_FILES="$(echo $(find xt/ -name '*.t'))" %endif %files %if 0%{?_licensedir:1} %doc LICENSE %else %doc LICENSE %endif %doc Changes README README.md %{perl_vendor_privlib}/Test/ %changelog * Sat May 25 2019 Igor Vlasenko <viy@altlinux.ru> 0.16-alt1 - automated CPAN update * Sat Jul 14 2018 Igor Vlasenko <viy@altlinux.ru> 0.15-alt1_10 - update to new release by fcimport * Mon Oct 02 2017 Igor Vlasenko <viy@altlinux.ru> 0.15-alt1_7 - update to new release by fcimport * Thu Aug 03 2017 Igor Vlasenko <viy@altlinux.ru> 0.15-alt1_6 - update to new release by fcimport * Thu Mar 16 2017 Igor Vlasenko <viy@altlinux.ru> 0.15-alt1_4 - update to new release by fcimport * Mon Dec 19 2016 Igor Vlasenko <viy@altlinux.ru> 0.15-alt1_3 - update to new release by fcimport * Mon Mar 07 2016 Igor Vlasenko <viy@altlinux.ru> 0.15-alt1_1 - update to new release by fcimport * Thu Mar 03 2016 Igor Vlasenko <viy@altlinux.ru> 0.15-alt1 - automated CPAN update * Wed Feb 10 2016 Igor Vlasenko <viy@altlinux.ru> 0.13-alt1 - automated CPAN update * Mon Dec 28 2015 Igor Vlasenko <viy@altlinux.ru> 0.12-alt1 - automated CPAN update * Sun Sep 20 2015 Igor Vlasenko <viy@altlinux.ru> 0.11-alt1_4 - update to new release by fcimport * Thu Dec 18 2014 Igor Vlasenko <viy@altlinux.ru> 0.11-alt1_1 - update to new release by fcimport * Tue Oct 07 2014 Igor Vlasenko <viy@altlinux.ru> 0.11-alt1 - automated CPAN update * Tue Jul 01 2014 Igor Vlasenko <viy@altlinux.ru> 0.10-alt1_2 - update to new release by fcimport * Tue Feb 25 2014 Igor Vlasenko <viy@altlinux.ru> 0.10-alt1_1 - update to new release by fcimport * Sat Feb 08 2014 Igor Vlasenko <viy@altlinux.ru> 0.10-alt1 - automated CPAN update * Wed Feb 05 2014 Igor Vlasenko <viy@altlinux.ru> 0.07-alt1 - automated CPAN update * Wed Oct 16 2013 Igor Vlasenko <viy@altlinux.ru> 0.06-alt3_19 - Sisyphus build * Mon Sep 02 2013 Igor Vlasenko <viy@altlinux.ru> 0.06-alt2_19 - update to new release by fcimport * Mon Aug 05 2013 Igor Vlasenko <viy@altlinux.ru> 0.06-alt2_17 - update to new release by fcimport * Mon Mar 04 2013 Igor Vlasenko <viy@altlinux.ru> 0.06-alt2_16 - update to new release by fcimport * Sat Nov 10 2012 Igor Vlasenko <viy@altlinux.ru> 0.06-alt2_15 - update to new release by fcimport * Tue Jul 31 2012 Igor Vlasenko <viy@altlinux.ru> 0.06-alt2_14 - update to new release by fcimport * Fri May 25 2012 Igor Vlasenko <viy@altlinux.ru> 0.06-alt2_9 - fc import * Thu May 24 2012 Igor Vlasenko <viy@altlinux.ru> 0.06-alt1_9 - fc import |