diff --git a/Data-FormValidator-4.81.tar.gz b/Data-FormValidator-4.81.tar.gz deleted file mode 100644 index d49f48a..0000000 --- a/Data-FormValidator-4.81.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f844056231b2eeb4068cafbcab1ddf5d46cb348bd5cfb1d234421c09ee8a0de3 -size 109870 diff --git a/Data-FormValidator-4.83.tar.gz b/Data-FormValidator-4.83.tar.gz new file mode 100644 index 0000000..40cfd62 --- /dev/null +++ b/Data-FormValidator-4.83.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b960f2f4b5830d0076cadc49c9f852cf9cb7d9cf9a15e33f171870aae01c9cb6 +size 99188 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..76ad4a4 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,28 @@ +--- +#description_paragraphs: 3 +#description: |- +# override description from CPAN +#summary: override summary from CPAN +#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_build: |- +# rm unused.files +#post_install: |- +# sed on %{name}.files +#license: SUSE-NonFree +#skip_noarch: 1 +#custom_build: |- +#./Build build flags=%{?_smp_mflags} --myflag +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module diff --git a/perl-Data-FormValidator.changes b/perl-Data-FormValidator.changes index baed769..e9d2dee 100644 --- a/perl-Data-FormValidator.changes +++ b/perl-Data-FormValidator.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Fri Feb 24 06:19:44 UTC 2017 - coolo@suse.com + +- updated to 4.83 + see /usr/share/doc/packages/perl-Data-FormValidator/Changes + + 4.83 Feb 23rd, 2017 + + [MAINTENANCE] + - Re-release of 4.82: tarball was missing files as "make dist" errored when it didn't find MANIFEST + - Deleted unused Perl6 files + + 4.82 Feb 23rd, 2017 + + [MAINTENANCE] + - Made CGI dependency optional + - Replaced Build.PL with Makefile.PL + - Updated Makefile.PL constraints + - Removed dependency on Perl6::Junctions + - Moved the code to GitHub + - Applied patches from: RT 77765, 78443, 10489 + - Added shebang, warnings pragma to all test scripts + - Perltidied tests scripts + - Replaced is_tainted() sub with Scalar::Util::tainted() + ------------------------------------------------------------------- Mon Apr 13 18:29:47 UTC 2015 - coolo@suse.com diff --git a/perl-Data-FormValidator.spec b/perl-Data-FormValidator.spec index f226cde..c52824b 100644 --- a/perl-Data-FormValidator.spec +++ b/perl-Data-FormValidator.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Data-FormValidator # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,34 +17,31 @@ Name: perl-Data-FormValidator -Version: 4.81 +Version: 4.83 Release: 0 %define cpan_name Data-FormValidator Summary: Validates user input (usually from an HTML form) based License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Data-FormValidator/ -Source: http://www.cpan.org/authors/id/M/MA/MARKSTOS/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/D/DF/DFARRELL/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(CGI) >= 3.48 BuildRequires: perl(Date::Calc) >= 5 BuildRequires: perl(Email::Valid) BuildRequires: perl(File::MMagic) >= 1.17 BuildRequires: perl(Image::Size) BuildRequires: perl(MIME::Types) >= 1.005 -BuildRequires: perl(Module::Build) >= 0.38 -BuildRequires: perl(Perl6::Junction) >= 1.1 -BuildRequires: perl(Regexp::Common) +BuildRequires: perl(Regexp::Common) >= 0.03 Requires: perl(Date::Calc) >= 5 Requires: perl(Email::Valid) Requires: perl(File::MMagic) >= 1.17 Requires: perl(Image::Size) Requires: perl(MIME::Types) >= 1.005 -Requires: perl(Perl6::Junction) >= 1.1 -Requires: perl(Regexp::Common) +Requires: perl(Regexp::Common) >= 0.03 %{perl_requires} %description @@ -60,20 +57,22 @@ or process the resulting valid data. %prep %setup -q -n %{cpan_name}-%{version} +find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %build -%{__perl} Build.PL installdirs=vendor -./Build build flags=%{?_smp_mflags} +%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__make} %{?_smp_mflags} %check -./Build test +%{__make} test %install -./Build install destdir=%{buildroot} create_packlist=0 +%perl_make_install +%perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes RELEASE_NOTES test +%doc Changes RELEASE_NOTES %changelog