clean up spec file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Validator-Schema?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
4cf6292b1f
commit
130112c959
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 25 19:46:45 CEST 2009 - chris@computersalat.de
|
||||
|
||||
- spec mods
|
||||
* removed ^----------
|
||||
* removed ^#---------
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 15 14:57:15 CEST 2009 - chris@computersalat.de
|
||||
|
||||
|
@@ -52,9 +52,7 @@ Requires: perl(XML::SAX::ExpatXS) >= 1.00
|
||||
Requires: perl(XML::Filter::BufferText)
|
||||
Requires: perl(XML::Filter::ExceptionLocator)
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
%description
|
||||
#-------------------------------------------------------------------------------
|
||||
This module allows you to validate XML documents against a W3C XML
|
||||
Schema. This module does not implement the full W3C XML Schema
|
||||
recommendation (http://www.w3.org/XML/Schema), but a useful subset. See
|
||||
@@ -67,41 +65,28 @@ Requires: perl(XML::Filter::ExceptionLocator)
|
||||
your errors are, so using these modules is highly recommeded!
|
||||
|
||||
Author: Sam Tregar <sam@tregar.com>
|
||||
--------------------------------------------------------------------------------
|
||||
#-------------------------------------------------------------------------------
|
||||
%prep
|
||||
#-------------------------------------------------------------------------------
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
%build
|
||||
#-------------------------------------------------------------------------------
|
||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
%{__make}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
%install
|
||||
#-------------------------------------------------------------------------------
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
%clean
|
||||
#-------------------------------------------------------------------------------
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
%files -f %{name}.files
|
||||
#-------------------------------------------------------------------------------
|
||||
# normally you only need to check for doc files
|
||||
%defattr(-,root,root)
|
||||
%doc ANNOUNCE Changes README TODO
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
%changelog
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
|
Reference in New Issue
Block a user