WIP: Automatic update to v1.10.0 (1.01) #1

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

View File

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

BIN
RT-Extension-AddAdminCcsOnQueueChange-1.01.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Oct 8 12:50:23 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 1.10.0 (1.01)
see /usr/share/doc/packages/perl-RT-Extension-AddAdminCcsOnQueueChange/Changes
-------------------------------------------------------------------
Tue Dec 16 13:49:10 UTC 2014 - darin@darins.net

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-RT-Extension-AddAdminCcsOnQueueChange
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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
@@ -12,67 +12,57 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cpan_name RT-Extension-AddAdminCcsOnQueueChange
%define plug_dir /usr/share/request-tracker/local/plugins
Name: perl-RT-Extension-AddAdminCcsOnQueueChange
Version: 1.00
Version: 1.10.0
Release: 0
Summary: On queue change, adds queue AdminCcs as ticket AdminCcs
License: GPL-2.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/RT-Extension-AddAdminCcsOnQueueChange/
Source: http://search.cpan.org/CPAN/authors/id/A/AL/ALEXMV/%{cpan_name}-%{version}.tar.gz
# 1.01 -> normalize -> 1.10.0
%define cpan_version 1.01
License: GPL-1.0-or-later
Summary: RT-Extension-AddAdminCcsOnQueueChange Extension
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: perl(RT)
Requires: request-tracker
#BuildRequires: perl(inc::Module::Install)
#BuildRequires: perl(JSON)
#BuildRequires: perl(LWP::Simple)
#BuildRequires: perl(Module::Build)
#BuildRequires: perl(Module::Install::Base)
#BuildRequires: perl(Parse::CPAN::Meta)
#BuildRequires: perl(RT)
#BuildRequires: perl(RT::Action)
#BuildRequires: perl(YAML::Tiny)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.59
Provides: perl(RT::Action::AddQueueAdminCcs)
Provides: perl(RT::Extension::AddAdminCcsOnQueueChange) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
Request Tracker extension that on queue change, adds queue AdminCcs as ticket AdminCcs
This extension adds a new action, 'Add Queue AdminCcs to Ticket', as well
as a global scrip using it, which copies over Queue AdminCcs to the ticket
when it is moved between queues. This ensures that the previous queue's
AdminCcs are still notified of changes to the ticket, and potentially
granted rights as well.
Install this extension if you have multiple queues with differing sets of
AdminCcs, move tickets between queues often, and want the old queue's
AdminCcs to be kept updated after it is moved.
%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
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%{__install} -m 0755 -d %{buildroot}/%{plug_dir}/%{cpan_name}
%{__cp} -a etc %{buildroot}/%{plug_dir}/%{cpan_name}/
# remove special files
find %{buildroot} -name "perllocal.pod" | xargs -i rm -f {}
%files -f %{name}.files
%defattr(-,root,root,755)
%doc README
%dir %{plug_dir}/%{cpan_name}
%{plug_dir}/%{cpan_name}/etc
%doc Changes README
%changelog