--- #description_paragraphs: 3 #no_testing: broken upstream #sources: # - source1 # - source2 #patches: # foo.patch: -p1 # bar.patch: #preamble: |- # BuildRequires: gcc-c++ #post_prep: |- # hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` # sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL post_install: |- mkdir -p %{buildroot}/%{_bindir} sed -e "s|/usr/bin/env perl|%{_bindir}/perl|g" %{buildroot}/%{perl_vendorlib}/Mozilla/mk-ca-bundle.pl > %{buildroot}/%{_bindir}/mk-ca-bundle.pl chmod +x %{buildroot}/%{_bindir}/mk-ca-bundle.pl rm %{buildroot}/%{perl_vendorlib}/Mozilla/mk-ca-bundle.pl sed -i "s|./mk-ca-bundle.pl|%{_bindir}/mk-ca-bundle.pl|g; \ s|lib/Mozilla/CA.pm|%{perl_vendorlib}/Mozilla/CA.pm|g; \ s|lib/Mozilla/CA/cacert.pem|%{perl_vendorlib}/Mozilla/CA/cacert.pem|g" update-cacert-file license: MPL-1.1 or GPL-2.0+ or LGPL-2.1+ #skip_noarch: 1 #custom_build: - #./Build build flags=%{?_smp_mflags} --myflag