Accepting request 843874 from devel:languages:perl:autoupdate

- updated to 1.00
   see /usr/share/doc/packages/perl-RT-Extension-ReferenceIDoitObjects/Changelog.md

OBS-URL: https://build.opensuse.org/request/show/843874
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-RT-Extension-ReferenceIDoitObjects?expand=0&rev=3
This commit is contained in:
2020-10-27 13:02:27 +00:00
committed by Git OBS Bridge
parent 54a0eb9290
commit fba453055f
5 changed files with 65 additions and 48 deletions

View File

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

View File

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

34
cpanspec.yml Normal file
View File

@@ -0,0 +1,34 @@
---
#description_paragraphs: 3
description: |-
This extension gives you the opportunity to combine an issue tracker like RT
with an IT documentation tool / CMDB like i-doit. It uses i-doit's API to
relate a ticket with one or more CIs / objects managed by i-doit. On i-doit's
side you are able to view all tickets related to an object. This extension also
supports i-doit's multi-mandator functionality.
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
preamble: |-
BuildRequires: perl(RT) >= 1.4.0
Requires: perl(RT) >= 1.4.0
#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: |-
# remove special files
find %{buildroot} -name "perllocal.pod" |xargs -i rm -f {}
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
ignore_requires: rt

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Oct 25 10:20:04 UTC 2020 - Dirk Stoecker <opensuse@dstoecker.de>
- updated to 1.00
see /usr/share/doc/packages/perl-RT-Extension-ReferenceIDoitObjects/Changelog.md
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jun 24 08:57:39 UTC 2014 - lars@linux-schulserver.de Tue Jun 24 08:57:39 UTC 2014 - lars@linux-schulserver.de

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-RT-Extension-ReferenceIDoitObjects # spec file for package perl-RT-Extension-ReferenceIDoitObjects
# #
# Copyright (c) 2014 SUSE LINUX Products 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
@@ -12,37 +12,31 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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 plug_dir /usr/share/request-tracker/local/plugins
Name: perl-RT-Extension-ReferenceIDoitObjects Name: perl-RT-Extension-ReferenceIDoitObjects
Version: 0.93 Version: 1.00
Release: 0 Release: 0
%define cpan_name RT-Extension-ReferenceIDoitObjects %define cpan_name RT-Extension-ReferenceIDoitObjects
Summary: Create a ticket in relation to one or more i-doit objects Summary: Create a ticket in relation to one or more i-doit objects
License: Artistic-1.0 and GPL-2.0+ License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://search.cpan.org/perldoc?%{cpan_name} URL: https://metacpan.org/release/%{cpan_name}
Source: http://search.cpan.org/CPAN/authors/id/B/BH/BHEISIG//%{cpan_name}-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/B/BH/BHEISIG/%{cpan_name}-%{version}.tar.gz
Source1: %{cpan_name}.README.SUSE Source1: cpanspec.yml
Source2: %{cpan_name}.DESCRIPTION
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: request-tracker #BuildRequires: perl(rt) >= 4.4.0
#BuildRequires: perl(inc::Module::Install) #Requires: perl(rt) >= 4.4.0
#BuildRequires: perl(JSON)
#BuildRequires: perl(LWP::Simple)
#BuildRequires: perl(Module::Build)
#BuildRequires: perl(Module::Install::Base)
#BuildRequires: perl(Parse::CPAN::Meta)
#BuildRequires: perl(RT::Action)
#BuildRequires: perl(YAML::Tiny)
%{perl_requires} %{perl_requires}
# MANUAL BEGIN
BuildRequires: perl(RT) >= 1.4.0
Requires: perl(RT) >= 1.4.0
# MANUAL END
%description %description
This extension gives you the opportunity to combine an issue tracker like RT This extension gives you the opportunity to combine an issue tracker like RT
@@ -51,46 +45,29 @@ relate a ticket with one or more CIs / objects managed by i-doit. On i-doit's
side you are able to view all tickets related to an object. This extension also side you are able to view all tickets related to an object. This extension also
supports i-doit's multi-mandator functionality. supports i-doit's multi-mandator functionality.
i-doit ("I document IT") is a web-based tool to document complex IT
infrastructures. It provides several modules like a ITIL compliant
Configuration Management Database (CMDB). More information about i-doit is
available under http://www.i-doit.org/. Its core is Free and Open Source
Software. Visit http://www.i-doit.com/ for commercial support and additional
services. Please note, that i-doit's API (which is essential for this
extension) is currently only implemented in the commercial branch.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
%{__install} -m 0644 %SOURCE1 README.SUSE find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%{__install} -m 0644 %SOURCE2 README.DESCRIPTION
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags} make %{?_smp_mflags}
%check %check
%{__make} test make test
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist # MANUAL BEGIN
%{__install} -m 0755 -d %{buildroot}/%{plug_dir}/%{cpan_name}
%{__cp} -a etc %{buildroot}/%{plug_dir}/%{cpan_name}
# remove special files # remove special files
find %{buildroot} -name "perllocal.pod" |xargs -i rm -f {} find %{buildroot} -name "perllocal.pod" |xargs -i rm -f {}
# MANUAL END
%clean %perl_gen_filelist
%{__rm} -rf %{buildroot}
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755) %defattr(-,root,root,755)
%doc Changes COPYING README TODO README.SUSE README.DESCRIPTION %doc Changelog.md README.md TODO.md
%dir %{plug_dir}/%{cpan_name} %license COPYING
%{plug_dir}/%{cpan_name}/etc
%changelog %changelog