clean up spec file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JSON?expand=0&rev=8
This commit is contained in:
parent
f155a4e78b
commit
3010953153
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 25 19:38:51 CEST 2009 - chris@computersalat.de
|
||||
|
||||
- spec mods
|
||||
* removed ^----------
|
||||
* removed ^#---------
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 20 19:09:23 CEST 2009 - chris@computersalat.de
|
||||
|
||||
|
@ -43,9 +43,7 @@ Requires: perl = %{perl_version}
|
||||
# other not perl || perl-base
|
||||
Requires: perl(JSON::XS)
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
%description
|
||||
#-------------------------------------------------------------------------------
|
||||
%{cpan_name} module for perl
|
||||
|
||||
JSON (JavaScript Object Notation) is a simple data format.
|
||||
@ -64,42 +62,29 @@ Requires: perl(JSON::XS)
|
||||
|
||||
Author: Makamaka Hannyaharamitu, <makamaka (at) cpan.org>
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
%prep
|
||||
#-------------------------------------------------------------------------------
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
%build
|
||||
#-------------------------------------------------------------------------------
|
||||
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
||||
%{__make}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
%install
|
||||
#-------------------------------------------------------------------------------
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
%clean
|
||||
#-------------------------------------------------------------------------------
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
%files -f %{name}.files
|
||||
#-------------------------------------------------------------------------------
|
||||
%defattr(-,root,root)
|
||||
%doc Changes README
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
%changelog
|
||||
#-------------------------------------------------------------------------------
|
||||
* Tue Sep 18 2007 - James Oakley <jfunk@funktronics.ca> - 1.14-1
|
||||
- Initial release
|
||||
|
Loading…
x
Reference in New Issue
Block a user