diff --git a/RT-Extension-JSGantt-1.03.tar.gz b/RT-Extension-JSGantt-1.03.tar.gz deleted file mode 100644 index 4986a2a..0000000 --- a/RT-Extension-JSGantt-1.03.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2150d78b018f0011d67957ddc2de3278d14553bf2b29e9a91d5e4fbb432ab872 -size 61532 diff --git a/RT-Extension-JSGantt-1.09.tar.gz b/RT-Extension-JSGantt-1.09.tar.gz new file mode 100644 index 0000000..7a61091 --- /dev/null +++ b/RT-Extension-JSGantt-1.09.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4bc4f1436dae06d12cbf2d7bc6f32e05c49e21923acf34a1513747f6f8425116 +size 60819 diff --git a/perl-RT-Extension-JSGantt.changes b/perl-RT-Extension-JSGantt.changes index 76c0dd1..0460c8e 100644 --- a/perl-RT-Extension-JSGantt.changes +++ b/perl-RT-Extension-JSGantt.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Wed Oct 8 14:32:59 UTC 2025 - Tina Müller + +- updated to 1.90.0 (1.09) + see /usr/share/doc/packages/perl-RT-Extension-JSGantt/Changes + + 1.09 2025-06-09 + - Update for RT 6.0 + 1.08 2023-02-02 + - Respect ticket search sort order + 1.07 2021-08-20 + - Align rows for RT 5 + 1.06 2020-07-17 + - Show "Gantt Chart" menu for ticket searches only + - Fix query stored in session for RT 5 + 1.05 2020-07-17 + - Update for RT 5.0 + 1.04 2016-04-08 + - Hide link to Gantt chart on simple search page when there's no query + - Fix Gantt chart page from throwing error when there's no search results + ------------------------------------------------------------------- Fri Dec 19 15:33:40 UTC 2014 - darin@darins.net diff --git a/perl-RT-Extension-JSGantt.spec b/perl-RT-Extension-JSGantt.spec index 197b858..0425ec4 100644 --- a/perl-RT-Extension-JSGantt.spec +++ b/perl-RT-Extension-JSGantt.spec @@ -1,7 +1,7 @@ # # spec file for package perl-RT-Extension-JSGantt # -# 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,67 +16,51 @@ # -# -%define cpan_name RT-Extension-JSGantt -%define git_name bestpractical-rt-extension-jsgantt-edbc5a8 -%define plug_dir /usr/share/request-tracker/local/plugins - +%define cpan_name RT-Extension-JSGantt Name: perl-RT-Extension-JSGantt -Version: 1.03 +Version: 1.90.0 Release: 0 -Summary: RT::Extension::JSGantt Perl module -License: GPL-2.0-only -Group: Development/Libraries/Perl -URL: http://search.cpan.org/dist/RT-Extension-JSGantt -Source: http://search.cpan.org/CPAN/authors/id/A/AL/ALEXMV/%{cpan_name}-%{version}.tar.gz +# 1.09 -> normalize -> 1.90.0 +%define cpan_version 1.09 +License: GPL-1.0-or-later +Summary: Gantt charts for your tickets +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 -Requires: request-tracker +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.59 +BuildRequires: perl(JSON) +BuildRequires: perl(List::MoreUtils) +Requires: perl(JSON) +Requires: perl(List::MoreUtils) +Provides: perl(RT::Extension::JSGantt) = %{version} +%undefine __perllib_provides %{perl_requires} %description -RT::Extension::JSGantt Perl module +This extension uses the Starts and Due dates, along with ticket +dependencies, to produce Gantt charts. %prep -%setup -q -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{cpan_version} -p1 + +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644 %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 -# -%{__install} -m 0755 -d %{buildroot}/%{plug_dir}/%{cpan_name} -%{__install} -m 0755 -d %{buildroot}/%{plug_dir}/%{cpan_name}/html - -# -%{__cp} -a html/Callbacks %{buildroot}/%{plug_dir}/%{cpan_name}/html -%{__cp} -a html/NoAuth %{buildroot}/%{plug_dir}/%{cpan_name}/html -%{__cp} -a html/Search %{buildroot}/%{plug_dir}/%{cpan_name}/html - -# 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 -%dir %{plug_dir}/%{cpan_name} -%{plug_dir}/%{cpan_name}/html %changelog