forked from pool/perl-XML-Writer
		
	Updating link to change in openSUSE:Factory/perl-XML-Writer revision 15.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Writer?expand=0&rev=410169a84d9a99391acbfe2adbce788f
This commit is contained in:
		
				
					committed by
					
						
						Git OBS Bridge
					
				
			
			
				
	
			
			
			
						parent
						
							a8fff4f70d
						
					
				
				
					commit
					40b7adf2ad
				
			
							
								
								
									
										
											BIN
										
									
								
								XML-Writer-0.611.tar.bz2
									 (Stored with Git LFS)
									
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								XML-Writer-0.611.tar.bz2
									 (Stored with Git LFS)
									
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								XML-Writer-0.612.tar.bz2
									 (Stored with Git LFS)
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								XML-Writer-0.612.tar.bz2
									 (Stored with Git LFS)
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							@@ -1,3 +1,14 @@
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Tue Aug 17 20:06:42 UTC 2010 - chris@computersalat.de
 | 
			
		||||
 | 
			
		||||
- update to 0.612
 | 
			
		||||
  * Allow DATA_INDENT to specify arbitrary white space for
 | 
			
		||||
    indentation. If it is numeric then use that many space
 | 
			
		||||
    characters.
 | 
			
		||||
- recreated by cpanspec 1.78
 | 
			
		||||
- noarch pkg
 | 
			
		||||
- added bcond_with pod
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Fri Jul 16 15:08:13 CEST 2010 - anicka@suse.cz
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
#
 | 
			
		||||
# spec file for package perl-XML-Writer (Version 0.611)
 | 
			
		||||
# spec file for package perl-XML-Writer (Version 0.612)
 | 
			
		||||
#
 | 
			
		||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
 | 
			
		||||
#
 | 
			
		||||
@@ -17,54 +17,64 @@
 | 
			
		||||
 | 
			
		||||
# norootforbuild
 | 
			
		||||
 | 
			
		||||
%bcond_with pod
 | 
			
		||||
 | 
			
		||||
Name:           perl-XML-Writer
 | 
			
		||||
Version:        0.611
 | 
			
		||||
%define cpan_name XML-Writer
 | 
			
		||||
Summary:        Perl extension for writing XML documents
 | 
			
		||||
Version:        0.612
 | 
			
		||||
Release:        1
 | 
			
		||||
Requires:       perl = %{perl_version}
 | 
			
		||||
AutoReqProv:    on
 | 
			
		||||
License:        Distributable, see LICENSE
 | 
			
		||||
Group:          Development/Libraries/Perl
 | 
			
		||||
License:        MIT License (or similar)
 | 
			
		||||
Url:            http://cpan.org/modules/by-module/XML/
 | 
			
		||||
Summary:        A Perl Extension for Writing XML Documents
 | 
			
		||||
Source:         XML-Writer-%{version}.tar.bz2
 | 
			
		||||
Url:            http://search.cpan.org/dist/XML-Writer/
 | 
			
		||||
#Source:         http://www.cpan.org/modules/by-module/XML/XML-Writer-%{version}.tar.gz
 | 
			
		||||
Source:         %{cpan_name}-%{version}.tar.bz2
 | 
			
		||||
BuildArch:      noarch
 | 
			
		||||
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 | 
			
		||||
BuildRequires:  perl
 | 
			
		||||
%if 0%{?suse_version} < 1120
 | 
			
		||||
BuildRequires:  perl-macros
 | 
			
		||||
%endif
 | 
			
		||||
%if %{with pod}
 | 
			
		||||
BuildRequires:  perl(Test::Pod) >= 1.00
 | 
			
		||||
BuildRequires:  perl(Test::Pod::Coverage)
 | 
			
		||||
%endif
 | 
			
		||||
Requires:       perl = %{perl_version}
 | 
			
		||||
 | 
			
		||||
%description
 | 
			
		||||
XML::Writer is a helper module for Perl programs that write XML
 | 
			
		||||
documents.  The module handles all escaping for attribute values and
 | 
			
		||||
XML::Writer is a helper module for Perl programs that write an XML
 | 
			
		||||
document. The module handles all escaping for attribute values and
 | 
			
		||||
character data and constructs different types of markup, such as tags,
 | 
			
		||||
comments, and processing instructions.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Authors:
 | 
			
		||||
--------
 | 
			
		||||
    David Megginson <david@megginson.com>
 | 
			
		||||
 | 
			
		||||
%prep
 | 
			
		||||
%setup -n XML-Writer-%{version}
 | 
			
		||||
%setup -q -n %{cpan_name}-%{version}
 | 
			
		||||
 | 
			
		||||
%build
 | 
			
		||||
perl Makefile.PL
 | 
			
		||||
make %{?_smp_mflags}
 | 
			
		||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
 | 
			
		||||
%{__make} %{?_smp_mflags}
 | 
			
		||||
 | 
			
		||||
%check
 | 
			
		||||
make test
 | 
			
		||||
%{__make} test
 | 
			
		||||
 | 
			
		||||
%install
 | 
			
		||||
%perl_make_install
 | 
			
		||||
%perl_process_packlist
 | 
			
		||||
# 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_gen_filelist
 | 
			
		||||
 | 
			
		||||
%clean
 | 
			
		||||
rm -rf $RPM_BUILD_ROOT
 | 
			
		||||
%{__rm} -rf $RPM_BUILD_ROOT
 | 
			
		||||
 | 
			
		||||
%files
 | 
			
		||||
%defattr(-,root,root)
 | 
			
		||||
%doc Changes README
 | 
			
		||||
%doc %{_mandir}/man?/*
 | 
			
		||||
%{perl_vendorlib}/XML
 | 
			
		||||
%{perl_vendorarch}/auto/XML
 | 
			
		||||
/var/adm/perl-modules/%{name}
 | 
			
		||||
%files -f %{name}.files
 | 
			
		||||
%defattr(-,root,root,-)
 | 
			
		||||
%doc Changes LICENSE README TODO
 | 
			
		||||
 | 
			
		||||
%changelog
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user