Automatic update to v1.110.0 (1.11)

This commit is contained in:
2025-10-08 14:33:39 +00:00
parent 38c780a0dc
commit c906ef10d6
4 changed files with 65 additions and 48 deletions

View File

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

BIN
RT-Extension-MergeUsers-1.11.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,34 @@
-------------------------------------------------------------------
Wed Oct 8 14:33:38 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 1.110.0 (1.11)
see /usr/share/doc/packages/perl-RT-Extension-MergeUsers/Changes
1.11 2025-06-10
- Update for RT 6.0
1.10 2024-09-03
- Handle merged users in group HasMember searches
1.09 2024-03-20
- Do not try to load user from an empty email address
- Fix uninitialized warnings cased by undefined FIELD
- Only limit roles by id for valid users
1.08 2023-05-16
- Cover merged user ids for ticket owner searches
- Cover merged user ids for ACL check in searches
1.07 2023-04-13
- Support the new CombineSearchAndCount feature in DBIx::SearchBuilder
(Fix the issue that the first page of user search results might be empty)
1.06 2020-07-17
- Add RT 5 support
1.05 2020-02-05
- Fix the logic of "skipping duplicated records" in users collections
1.04 2020-01-22
- Extend user search to merged users in ticket/asset search
- Check all the merged users for user's group memberships
- Support to delete group members for merged users
- Check user merge info in deeper RT::Users search code
- Update documentation
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 26 09:47:09 UTC 2019 - lars@linux-schulserver.de Thu Sep 26 09:47:09 UTC 2019 - lars@linux-schulserver.de

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-RT-Extension-MergeUsers # spec file for package perl-RT-Extension-MergeUsers
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2025 SUSE LLC and contributors
# #
# 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
@@ -16,28 +16,31 @@
# #
%define cpan_name RT-Extension-MergeUsers %define cpan_name RT-Extension-MergeUsers
Name: perl-RT-Extension-MergeUsers Name: perl-RT-Extension-MergeUsers
Version: 1.03 Version: 1.110.0
Release: 0 Release: 0
# 1.11 -> normalize -> 1.110.0
%define cpan_version 1.11
License: GPL-1.0-or-later
Summary: Merges two users into the same effective user Summary: Merges two users into the same effective user
License: GPL-2.0-or-later URL: https://metacpan.org/release/%{cpan_name}
Group: Development/Libraries/Perl Source0: https://cpan.metacpan.org/authors/id/B/BP/BPS/%{cpan_name}-%{cpan_version}.tar.gz
URL: https://search.cpan.org/dist/RT-Extension-MergeUsers/
#Source: http://www.cpan.org/authors/id/T/TS/TSIBLEY/RT-Extension-MergeUsers-%%{version}.tar.gz
Source0: %{cpan_name}-%{version}.tar.gz
Source1: rt-merge-users.1
Source2: rt-update-merged-users.1
Source3: rt-clean-merged-users.1
Source100: README.md Source100: README.md
BuildArch: noarch
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Hook::LexWrap) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.59
BuildRequires: perl(RT) Provides: perl(RT::ACL)
BuildRequires: perl(inc::Module::Install) Provides: perl(RT::Extension::MergeUsers) = %{version}
Requires: perl(Hook::LexWrap) Provides: perl(RT::Extension::MergeUsers::Test)
Requires: perl(RT) Provides: perl(RT::Group)
BuildArch: noarch Provides: perl(RT::Groups)
Provides: perl(RT::Principal)
Provides: perl(RT::Tickets)
Provides: perl(RT::User)
Provides: perl(RT::Users)
%undefine __perllib_provides
%{perl_requires} %{perl_requires}
%description %description
@@ -45,46 +48,29 @@ This RT extension adds a "Merge Users" box to the User Administration page,
which allows you to merge the user you are currently viewing with another which allows you to merge the user you are currently viewing with another
user on your RT instance. user on your RT instance.
It also adds the /MergeInto and /UnMerge functions to It also adds MergeInto and UnMerge functions to the RT::User class, which
the the RT::User class, which allow you to programmatically allow you to programmatically accomplish the same thing from your code.
accomplish the same thing from your code.
It also provides a version of the CanonicalizeEmailAddress, which It also provides a version of CanonicalizeEmailAddress, which means that
means that all e-mail sent from secondary users is displayed as coming from all e-mail sent from secondary users is displayed as coming from the
the primary user. primary user.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{cpan_version} -p1
%build %build
perl Makefile.PL INSTALLDIRS=vendor PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} %make_build
sed -i "s|/usr/bin/env perl|%{_bindir}/perl|g" bin/*
%check
make test
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist %perl_gen_filelist
cp -r html %{buildroot}/%{_datadir}/request-tracker/local/
mkdir -p %{buildroot}%{_bindir}
pushd bin >/dev/null
for i in *.in ; do
sed -e "s|/opt/rt4/local/lib|%{perl_vendorlib}/RT/Extension/|g; \
s|/opt/rt4/lib|%{_datadir}/request-tracker/local/lib/|g;" $i > %{buildroot}%{_bindir}/${i/.in/}
chmod 755 %{buildroot}%{_bindir}/${i/.in/}
done
# install man pages
install -D -m 644 %{SOURCE1} %{buildroot}%{_mandir}/man1/rt-merge-users.1
install -D -m 644 %{SOURCE2} %{buildroot}%{_mandir}/man1/rt-update-merged-users.1
install -D -m 644 %{SOURCE3} %{buildroot}%{_mandir}/man1/rt-clean-merged-users.1
%files -f %{name}.files %files -f %{name}.files
%doc Changes README %doc Changes README
%dir %{_datadir}/request-tracker/local/plugins/RT-Extension-MergeUsers
%dir %{_datadir}/request-tracker/local/plugins/RT-Extension-MergeUsers/lib
%{_bindir}/*
%{_datadir}/request-tracker/local/plugins/RT-Extension-MergeUsers/lib/perllocal.pod
%{_datadir}/request-tracker/local/html/*
%{_mandir}/man1/rt-*.1%{?ext_man}
%changelog %changelog