Accepting request 738705 from home:tinita:branches:devel:languages:perl
- Regenerate spec with newest cpanspec * Add PERL_USE_UNSAFE_INC * Removed dependencies which are in perl core 5.26: * perl(File::Spec) >= 0.80 OBS-URL: https://build.opensuse.org/request/show/738705 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-PPI-HTML?expand=0&rev=7
This commit is contained in:
		
				
					committed by
					
						 Git OBS Bridge
						Git OBS Bridge
					
				
			
			
				
	
			
			
			
						parent
						
							d7cedd41ec
						
					
				
				
					commit
					4e976c94e9
				
			
							
								
								
									
										28
									
								
								cpanspec.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								cpanspec.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,28 @@ | ||||
| --- | ||||
| #description_paragraphs: 3 | ||||
| #description: |- | ||||
| #  override description from CPAN | ||||
| #summary: override summary from CPAN | ||||
| #no_testing: broken upstream | ||||
| #sources: | ||||
| #  - source1 | ||||
| #  - source2 | ||||
| #patches: | ||||
| #  foo.patch: -p1 | ||||
| #  bar.patch: | ||||
| #preamble: |- | ||||
| # BuildRequires:  gcc-c++ | ||||
| #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: |- | ||||
| # sed on %{name}.files | ||||
| #license: SUSE-NonFree | ||||
| #skip_noarch: 1 | ||||
| #custom_build: |- | ||||
| #./Build build flags=%{?_smp_mflags} --myflag | ||||
| #custom_test: |- | ||||
| #startserver && make test | ||||
| #ignore_requires: Bizarre::Module | ||||
| @@ -1,3 +1,11 @@ | ||||
| ------------------------------------------------------------------- | ||||
| Tue Oct 15 20:40:49 UTC 2019 - Tina Mueller <tina.mueller@suse.com> | ||||
|  | ||||
| - Regenerate spec with newest cpanspec | ||||
|    * Add PERL_USE_UNSAFE_INC | ||||
|    * Removed dependencies which are in perl core 5.26: | ||||
|    * perl(File::Spec) >= 0.80 | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Wed Dec  1 13:34:40 UTC 2010 - coolo@novell.com | ||||
|  | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
| # | ||||
| # spec file for package perl-PPI-HTML | ||||
| # | ||||
| # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. | ||||
| # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. | ||||
| # | ||||
| # All modifications and additions to the file contributed by third parties | ||||
| # remain the property of their copyright owners, unless otherwise agreed | ||||
| @@ -12,33 +12,31 @@ | ||||
| # 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/ | ||||
| # | ||||
|  | ||||
| # norootforbuild | ||||
|  | ||||
|  | ||||
| Name:           perl-PPI-HTML | ||||
| Version:        1.08 | ||||
| Release:        0 | ||||
| %define cpan_name PPI-HTML | ||||
| Summary:        Generate syntax-hightlighted HTML for Perl using PPI | ||||
| Version:        1.08 | ||||
| Release:        1 | ||||
| License:        GPL+ or Artistic | ||||
| License:        Artistic-1.0 OR GPL-1.0-or-later | ||||
| Group:          Development/Libraries/Perl | ||||
| Url:            http://search.cpan.org/dist/PPI-HTML/ | ||||
| Source:         http://www.cpan.org/authors/id/A/AD/ADAMK/PPI-HTML-%{version}.tar.gz | ||||
| Url:            https://metacpan.org/release/%{cpan_name} | ||||
| Source0:        https://cpan.metacpan.org/authors/id/A/AD/ADAMK/%{cpan_name}-%{version}.tar.gz | ||||
| Source1:        cpanspec.yml | ||||
| BuildArch:      noarch | ||||
| BuildRoot:      %{_tmppath}/%{name}-%{version}-build | ||||
| %{perl_requires} | ||||
| BuildRequires:  perl | ||||
| BuildRequires:  perl-macros | ||||
| BuildRequires:  perl(CSS::Tiny) >= 1.10 | ||||
| BuildRequires:  perl(File::Spec) >= 0.80 | ||||
| BuildRequires:  perl(Params::Util) >= 0.05 | ||||
| BuildRequires:  perl(PPI) >= 0.990 | ||||
| BuildRequires:  perl(Params::Util) >= 0.05 | ||||
| Requires:       perl(CSS::Tiny) >= 1.10 | ||||
| Requires:       perl(Params::Util) >= 0.05 | ||||
| Requires:       perl(PPI) >= 0.990 | ||||
| Requires:       perl(Params::Util) >= 0.05 | ||||
| %{perl_requires} | ||||
|  | ||||
| %description | ||||
| PPI::HTML converts Perl documents into syntax highlighted HTML pages. | ||||
| @@ -47,26 +45,20 @@ PPI::HTML converts Perl documents into syntax highlighted HTML pages. | ||||
| %setup -q -n %{cpan_name}-%{version} | ||||
|  | ||||
| %build | ||||
| %{__perl} Makefile.PL INSTALLDIRS=vendor | ||||
| %{__make} %{?_smp_mflags} | ||||
| PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor | ||||
| make %{?_smp_mflags} | ||||
|  | ||||
| %check | ||||
| %{__make} test | ||||
| make test | ||||
|  | ||||
| %install | ||||
| %perl_make_install | ||||
| # do not perl_process_packlist (noarch) | ||||
| # remove .packlist file | ||||
| %{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch | ||||
| # remove perllocal.pod file | ||||
| %{__rm} -rf $RPM_BUILD_ROOT%perl_archlib | ||||
| %perl_process_packlist | ||||
| %perl_gen_filelist | ||||
|  | ||||
| %clean | ||||
| %{__rm} -rf $RPM_BUILD_ROOT | ||||
|  | ||||
| %files -f %{name}.files | ||||
| %defattr(-,root,root,-) | ||||
| %doc Changes LICENSE README | ||||
| %defattr(-,root,root,755) | ||||
| %doc Changes README | ||||
| %license LICENSE | ||||
|  | ||||
| %changelog | ||||
|   | ||||
		Reference in New Issue
	
	Block a user