forked from pool/perl-Net-Dropbox-API
		
	Accepting request 1244432 from devel:languages:perl
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/1244432 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Net-Dropbox-API?expand=0&rev=3
This commit is contained in:
		@@ -1,3 +1,9 @@
 | 
				
			|||||||
 | 
					-------------------------------------------------------------------
 | 
				
			||||||
 | 
					Thu Feb  6 22:27:01 UTC 2025 - Tina Müller <tina.mueller@suse.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- Normalize CPAN version
 | 
				
			||||||
 | 
					  See https://github.com/openSUSE/cpanspec/issues/47 for details
 | 
				
			||||||
 | 
					
 | 
				
			||||||
-------------------------------------------------------------------
 | 
					-------------------------------------------------------------------
 | 
				
			||||||
Sat Mar 17 05:15:01 UTC 2018 - bwiedemann@suse.com
 | 
					Sat Mar 17 05:15:01 UTC 2018 - bwiedemann@suse.com
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
#
 | 
					#
 | 
				
			||||||
# spec file for package perl-Net-Dropbox-API
 | 
					# spec file for package perl-Net-Dropbox-API
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 | 
					# Copyright (c) 2025 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,24 +12,25 @@
 | 
				
			|||||||
# 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/
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Name:           perl-Net-Dropbox-API
 | 
					 | 
				
			||||||
Version:        1.9
 | 
					 | 
				
			||||||
Release:        0
 | 
					 | 
				
			||||||
%define cpan_name Net-Dropbox-API
 | 
					%define cpan_name Net-Dropbox-API
 | 
				
			||||||
Summary:        A dropbox API interface
 | 
					Name:           perl-Net-Dropbox-API
 | 
				
			||||||
License:        Artistic-1.0 or GPL-1.0+
 | 
					Version:        1.900.0
 | 
				
			||||||
Group:          Development/Libraries/Perl
 | 
					Release:        0
 | 
				
			||||||
Url:            http://search.cpan.org/dist/Net-Dropbox-API/
 | 
					# 1.9 -> normalize -> 1.900.0
 | 
				
			||||||
Source:         http://www.cpan.org/authors/id/N/NO/NORBU/%{cpan_name}-%{version}.tar.gz
 | 
					%define cpan_version 1.9
 | 
				
			||||||
 | 
					License:        Artistic-1.0 OR GPL-1.0-or-later
 | 
				
			||||||
 | 
					Summary:        Dropbox API interface
 | 
				
			||||||
 | 
					URL:            https://metacpan.org/release/%{cpan_name}
 | 
				
			||||||
 | 
					Source0:        https://cpan.metacpan.org/authors/id/N/NO/NORBU/%{cpan_name}-%{cpan_version}.tar.gz
 | 
				
			||||||
BuildArch:      noarch
 | 
					BuildArch:      noarch
 | 
				
			||||||
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 | 
					 | 
				
			||||||
BuildRequires:  perl
 | 
					BuildRequires:  perl
 | 
				
			||||||
BuildRequires:  perl-macros
 | 
					BuildRequires:  perl-macros
 | 
				
			||||||
BuildRequires:  perl(Data::Random)
 | 
					BuildRequires:  perl(Data::Random)
 | 
				
			||||||
 | 
					BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.36
 | 
				
			||||||
BuildRequires:  perl(HTTP::Request::Common)
 | 
					BuildRequires:  perl(HTTP::Request::Common)
 | 
				
			||||||
BuildRequires:  perl(JSON)
 | 
					BuildRequires:  perl(JSON)
 | 
				
			||||||
BuildRequires:  perl(LWP::UserAgent)
 | 
					BuildRequires:  perl(LWP::UserAgent)
 | 
				
			||||||
@@ -45,21 +46,24 @@ Requires:       perl(Mouse)
 | 
				
			|||||||
Requires:       perl(Net::OAuth)
 | 
					Requires:       perl(Net::OAuth)
 | 
				
			||||||
Requires:       perl(URI)
 | 
					Requires:       perl(URI)
 | 
				
			||||||
Requires:       perl(common::sense)
 | 
					Requires:       perl(common::sense)
 | 
				
			||||||
 | 
					Provides:       perl(Net::Dropbox::API) = %{version}
 | 
				
			||||||
 | 
					%undefine       __perllib_provides
 | 
				
			||||||
%{perl_requires}
 | 
					%{perl_requires}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%description
 | 
					%description
 | 
				
			||||||
A dropbox API interface
 | 
					A dropbox API interface
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%prep
 | 
					%prep
 | 
				
			||||||
%setup -q -n %{cpan_name}-%{version}
 | 
					%autosetup  -n %{cpan_name}-%{cpan_version} -p1
 | 
				
			||||||
find . -type f -print0 | xargs -0 chmod 644
 | 
					
 | 
				
			||||||
 | 
					find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%build
 | 
					%build
 | 
				
			||||||
PERL5LIB=. %{__perl} Makefile.PL INSTALLDIRS=vendor
 | 
					PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
 | 
				
			||||||
%{__make} %{?_smp_mflags}
 | 
					%make_build
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%check
 | 
					%check
 | 
				
			||||||
%{__make} test
 | 
					make test
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%install
 | 
					%install
 | 
				
			||||||
%perl_make_install
 | 
					%perl_make_install
 | 
				
			||||||
@@ -67,7 +71,6 @@ PERL5LIB=. %{__perl} Makefile.PL INSTALLDIRS=vendor
 | 
				
			|||||||
%perl_gen_filelist
 | 
					%perl_gen_filelist
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%files -f %{name}.files
 | 
					%files -f %{name}.files
 | 
				
			||||||
%defattr(-,root,root,755)
 | 
					 | 
				
			||||||
%doc Changes examples ignore.txt README
 | 
					%doc Changes examples ignore.txt README
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%changelog
 | 
					%changelog
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user