WIP: Automatic update to v3.20.0 (3.02) #1

Closed
cpanmirror wants to merge 1 commits from cpanmirror:autoupdate into main
4 changed files with 60 additions and 41 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ce2801705373e3dd81bad46705454b501088e89bfe12c6ea52287e9d67b03710
size 56020

BIN
RT-Extension-CommandByMail-3.02.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,34 @@
-------------------------------------------------------------------
Wed Oct 8 12:51:40 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 3.20.0 (3.02)
see /usr/share/doc/packages/perl-RT-Extension-CommandByMail/Changes
3.02 2025-06-16
- Updated documentation for RT 6.0
3.01 2020-07-17
- Updated documentation for RT 5.0
3.00 2016-09-09
- Change default behavior for unknown commands: Unknown commands no longer
generate an unknown command email. There will be a warning in the logs
whenever an ignored command is encountered.
- Add new config option $CommandByMailErrorOnUnknown to restore previous
behavior before the above change
2.03 2016-08-03
- Explicitly decode all values extracted from MIME headers to align
with RT's handling. This allows for proper handling of characters
like umlauts in subjects. Fixes #115654. Thanks to Alex Vandiver.
2.02 2016-07-13
- Allow email through for normal processing when CommandByMailGroup
is set and the From: user is not in the group. Fixes #114132
2.01 2016-04-11
- Recreate ParseCcAddressesFromHead to support create with
ParseNewMessageForTicketCcs set
2.00 2016-03-29
- Refactor to add support for RT 4.4
- Update docs to clarify header handling
- Update perl minimum version to 5.10.1
-------------------------------------------------------------------
Tue Dec 16 13:29:39 UTC 2014 - darin@darins.net

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-RT-Extension-CommandByMail
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,65 +16,53 @@
#
#
%define cpan_name RT-Extension-CommandByMail
%define git_name bestpractical-rt-extension-commandbymail-01022ee
%define plug_dir /usr/share/request-tracker/local/plugins
%define cpan_name RT-Extension-CommandByMail
Name: perl-RT-Extension-CommandByMail
Version: 1.00
Version: 3.20.0
Release: 0
Summary: RT::Extension::CommandByMail Perl module
License: GPL-2.0-or-later
Group: Development/Libraries/Perl
URL: https://github.com/bestpractical/rt-extension-commandbymail
Source: http://search.cpan.org/CPAN/authors/id/A/AL/ALEXMV/%{cpan_name}-%{version}.tar.gz
# 3.02 -> normalize -> 3.20.0
%define cpan_version 3.02
License: GPL-1.0-or-later
Summary: Change ticket metadata via email
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/B/BP/BPS/%{cpan_name}-%{cpan_version}.tar.gz
Source100: README.md
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: request-tracker
BuildRequires: perl(IPC::Open2)
BuildRequires: perl(MIME::Entity)
BuildRequires: perl(Test::More)
BuildRequires: perl(UNIVERSAL::require)
Requires: request-tracker
Requires: perl(IPC::Open2)
Requires: perl(MIME::Entity)
Requires: perl(Test::More)
Requires: perl(UNIVERSAL::require)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.59
Provides: perl(RT::Extension::CommandByMail) = %{version}
Provides: perl(RT::Extension::CommandByMail::Test)
Provides: perl(RT::Interface::Email::Action::CommandByMail)
Provides: perl(RT::Interface::Email::Filter::TakeAction)
%undefine __perllib_provides
%{perl_requires}
%description
RT::Extension::CommandByMail Perl module
This extension allows you to manage ticket metadata via email. You may put
commands into the beginning of an email, and the extension will apply them.
The list of commands is detailed below.
*CAVEAT:* commands are line oriented, so you can't expand to multiple lines
for each command, i.e. values can't contains new lines. The module also
currently expects and parses text, not HTML.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
%{__make} test
make test
%install
%{__rm} -rf %{buildroot}
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
# remove special files
find %{buildroot} -name "perllocal.pod" |xargs -i rm -f {}
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
%changelog