forked from pool/perl-Code-TidyAll
Accepting request 843335 from devel:languages:perl:autoupdate
- 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.
OBS-URL: https://build.opensuse.org/request/show/843335
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Code-TidyAll?expand=0&rev=2
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d8fc78338b9a91dce8feb9707d3795edc60628af354999bc08abc85df0387cbb
|
|
||||||
size 103728
|
|
||||||
3
Code-TidyAll-0.78.tar.gz
Normal file
3
Code-TidyAll-0.78.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:325ebb41d859006ee32b6426bbe8658678eacb03c01120aa628659f6e637b9b6
|
||||||
|
size 698643
|
||||||
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal file
@@ -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
|
||||||
@@ -1,3 +1,40 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 22 03:07:06 UTC 2020 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- 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 <coolo@suse.com>
|
Wed Apr 3 07:45:54 UTC 2019 - Stephan Kulow <coolo@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Code-TidyAll
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,14 +17,15 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-Code-TidyAll
|
Name: perl-Code-TidyAll
|
||||||
Version: 0.73
|
Version: 0.78
|
||||||
Release: 0
|
Release: 0
|
||||||
%define cpan_name Code-TidyAll
|
%define cpan_name Code-TidyAll
|
||||||
Summary: Engine for tidyall, your all-in-one code tidier and validator
|
Summary: Engine for tidyall, your all-in-one code tidier and validator
|
||||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Group: Development/Libraries/Perl
|
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
|
Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz
|
||||||
|
Source1: cpanspec.yml
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
@@ -98,6 +99,7 @@ You can call this API from your own program instead of executing 'tidyall'.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%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
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
@@ -113,7 +115,7 @@ make test
|
|||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
%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
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user