Accepting request 295989 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/295989 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-Quoted?expand=0&rev=11
This commit is contained in:
		
				
					committed by
					
						 Git OBS Bridge
						Git OBS Bridge
					
				
			
			
				
	
			
			
			
						parent
						
							a0525349f6
						
					
				
				
					commit
					44b365fb65
				
			| @@ -1,3 +0,0 @@ | ||||
| version https://git-lfs.github.com/spec/v1 | ||||
| oid sha256:faf0b6fa314c31b264bc1d8d6523ed32a098040fdc513075ccaecbab0526cfdb | ||||
| size 25365 | ||||
							
								
								
									
										3
									
								
								Text-Quoted-2.09.tar.gz
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								Text-Quoted-2.09.tar.gz
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| version https://git-lfs.github.com/spec/v1 | ||||
| oid sha256:446c3e8da7e65f7988cd36e9da1159614eb0b337d6c4c0dec8f6df7673b96c5f | ||||
| size 27978 | ||||
| @@ -1,3 +1,9 @@ | ||||
| ------------------------------------------------------------------- | ||||
| Mon Apr 13 18:55:02 UTC 2015 - coolo@suse.com | ||||
|  | ||||
| - updated to 2.09 | ||||
|    see /usr/share/doc/packages/perl-Text-Quoted/Changes | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Thu Sep 26 18:18:21 UTC 2013 - darin@darins.net | ||||
|  | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
| # | ||||
| # spec file for package perl-Text-Quoted | ||||
| # | ||||
| # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. | ||||
| # Copyright (c) 2015 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 | ||||
| @@ -17,55 +17,74 @@ | ||||
|  | ||||
|  | ||||
| Name:           perl-Text-Quoted | ||||
| %define        real_name Text-Quoted | ||||
| Summary:        Extract the structure of a quoted mail message | ||||
| License:        Artistic-1.0 | ||||
| Group:          Development/Libraries/Perl | ||||
| Url:            http://search.cpan.org/perldoc?Text::Quoted | ||||
| Version:        2.08 | ||||
| Version:        2.09 | ||||
| Release:        0 | ||||
| Source:         %{real_name}-%{version}.tar.gz | ||||
| BuildRequires:  perl-Text-Autoformat | ||||
| BuildRequires:  perl-macros | ||||
| Requires:       perl-Text-Autoformat | ||||
| %define cpan_name Text-Quoted | ||||
| Summary:        Extract the structure of a quoted mail message | ||||
| License:        Artistic-1.0 or GPL-1.0+ | ||||
| Group:          Development/Libraries/Perl | ||||
| Url:            http://search.cpan.org/dist/Text-Quoted/ | ||||
| Source:         http://www.cpan.org/authors/id/A/AL/ALEXMV/%{cpan_name}-%{version}.tar.gz | ||||
| BuildArch:      noarch | ||||
| BuildRoot:      %{_tmppath}/%{name}-%{version}-build | ||||
| BuildRequires:  perl | ||||
| BuildRequires:  perl-macros | ||||
| BuildRequires:  perl(Text::Autoformat) | ||||
| Requires:       perl(Text::Autoformat) | ||||
| %{perl_requires} | ||||
|  | ||||
| %description | ||||
| Text::Quoted examines the structure of some text which may contain multiple | ||||
| different levels of quoting, and turns the text into a nested data structure. | ||||
| 'Text::Quoted' examines the structure of some text which may contain | ||||
| multiple different levels of quoting, and turns the text into a nested data | ||||
| structure. | ||||
|  | ||||
| The structure is an array reference containing hash references for each | ||||
| paragraph belonging to the same author. Each level of quoting recursively adds | ||||
| another list reference. | ||||
| paragraph belonging to the same author. Each level of quoting recursively | ||||
| adds another list reference. So for instance, this: | ||||
|  | ||||
| Authors: | ||||
| -------- | ||||
|     Kasei Limited  | ||||
|     Simon Cozens | ||||
|     Best Practical Solutions | ||||
|     > foo | ||||
|     > # Bar | ||||
|     > baz | ||||
|  | ||||
|     quux | ||||
|  | ||||
| turns into: | ||||
|  | ||||
|     [ | ||||
|       [ | ||||
|         { text => 'foo', quoter => '>', raw => '> foo' }, | ||||
|         [ | ||||
|             { text => 'Bar', quoter => '> #', raw => '> # Bar' } | ||||
|         ], | ||||
|         { text => 'baz', quoter => '>', raw => '> baz' } | ||||
|       ], | ||||
|  | ||||
|       { empty => 1 }, | ||||
|       { text => 'quux', quoter => '', raw => 'quux' } | ||||
|     ]; | ||||
|  | ||||
| This also tells you about what's in the hash references: 'raw' is the | ||||
| paragraph of text as it appeared in the original input; 'text' is what it | ||||
| looked like when we stripped off the quotation characters, and 'quoter' is | ||||
| the quotation string. | ||||
|  | ||||
| %prep | ||||
| %setup -n %{real_name}-%{version} | ||||
| %setup -q -n %{cpan_name}-%{version} | ||||
|  | ||||
| %build | ||||
| perl Makefile.PL  | ||||
| make %{?jobs:-j%jobs} | ||||
| %{__perl} Makefile.PL INSTALLDIRS=vendor | ||||
| %{__make} %{?_smp_mflags} | ||||
|  | ||||
| %check | ||||
| make test | ||||
| %{__make} test | ||||
|  | ||||
| %install | ||||
| %perl_make_install | ||||
| %perl_process_packlist | ||||
| %perl_gen_filelist | ||||
|  | ||||
| %clean | ||||
| rm -rf %{buildroot} | ||||
|  | ||||
| %files -f %{name}.files  | ||||
| %defattr(-, root, root) | ||||
| %doc Changes README MANIFEST | ||||
| %files -f %{name}.files | ||||
| %defattr(-,root,root,755) | ||||
| %doc Changes README | ||||
|  | ||||
| %changelog | ||||
|   | ||||
		Reference in New Issue
	
	Block a user