diff --git a/Code-TidyAll-0.73.tar.gz b/Code-TidyAll-0.73.tar.gz deleted file mode 100644 index e804176..0000000 --- a/Code-TidyAll-0.73.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d8fc78338b9a91dce8feb9707d3795edc60628af354999bc08abc85df0387cbb -size 103728 diff --git a/Code-TidyAll-0.78.tar.gz b/Code-TidyAll-0.78.tar.gz new file mode 100644 index 0000000..5f1be37 --- /dev/null +++ b/Code-TidyAll-0.78.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:325ebb41d859006ee32b6426bbe8658678eacb03c01120aa628659f6e637b9b6 +size 698643 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-Code-TidyAll.changes b/perl-Code-TidyAll.changes index 542fdcc..a851786 100644 --- a/perl-Code-TidyAll.changes +++ b/perl-Code-TidyAll.changes @@ -1,3 +1,40 @@ +------------------------------------------------------------------- +Thu Oct 22 03:07:06 UTC 2020 - Tina Müller + +- updated to 0.78 + see /usr/share/doc/packages/perl-Code-TidyAll/Changes + + 0.78 2020-04-25 + - Fix an issue with the pre-commit hook code when commit after a merge. If + tidyall invoked `git stash` in the hook and there was content to stash, this + would break the merge commit, leading to the commit to fail entirely. Now + the pre-commit hook code will simply never call `git stash` when merging a + merge commit. Reported by Damien Prystay. GH #100. + - This release also includes the changes from the 0.76 and 0.77 trial + releases. + 0.77 2020-01-04 (TRIAL RELEASE) + - Made some more line ending fixes in the test code. + - Fixed a test to handle spaces with paths (on Windows, at least). + 0.76 2019-12-24 (TRIAL RELEASE) + - Preserve line endings in files but using raw mode to read and + write. Otherwise Perl will automatically write files with the + platform-appropriate ending. This could lead to ending "flapping" if you + have developers working on the same project on different platforms, and + probably lots of other annoying issues. Based on PR #97 from Kenneth Ölwing. + 0.75 2019-12-24 + - Git v2.24.0 introduced a serious bug when running `git stash` with the + `--quiet` flag that causes it to delete files. This in turn caused this + package's pre-commit hook code to be seriously broken. We no longer pass the + `--quiet` flag if the git version is >= 2.24. We re-enable the flag once + there is a version that fixes this bug. + - The pre-commit hook code now uses `git rev-parse -q --verify refs/stash` to + determine if the call to `git stash` actually does anything. This seems + better than attempting to parse the output of the `git stash` call for a + user-facing message. + 0.74 2019-05-24 + - Fix a warning that would happen when applying shebang matching to empty + files. Fixed by Greg Oschwald. GH #93. + ------------------------------------------------------------------- Wed Apr 3 07:45:54 UTC 2019 - Stephan Kulow diff --git a/perl-Code-TidyAll.spec b/perl-Code-TidyAll.spec index 8d8c801..ed9079f 100644 --- a/perl-Code-TidyAll.spec +++ b/perl-Code-TidyAll.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Code-TidyAll # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,14 +17,15 @@ Name: perl-Code-TidyAll -Version: 0.73 +Version: 0.78 Release: 0 %define cpan_name Code-TidyAll Summary: Engine for tidyall, your all-in-one code tidier and validator License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url: https://metacpan.org/release/%{cpan_name} +URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl @@ -98,6 +99,7 @@ You can call this API from your own program instead of executing 'tidyall'. %prep %setup -q -n %{cpan_name}-%{version} +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build perl Makefile.PL INSTALLDIRS=vendor @@ -113,7 +115,7 @@ make test %files -f %{name}.files %defattr(-,root,root,755) -%doc appveyor.yml Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md +%doc appveyor.yml Changes CODE_OF_CONDUCT.md CONTRIBUTING.md package.json package-lock.json README.md %license LICENSE %changelog