Christian Wittmer
2009-06-21 13:34:54 +00:00
committed by Git OBS Bridge
parent 18a8d7b19c
commit 510a3281ad

View File

@@ -96,9 +96,9 @@ Requires: perl(XML::Dumper)
Requires: perl(YAML)
Requires: perl(YAML::Syck)
#----------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
%description
#----------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
%{cpan_name} module for perl
Provides a unified interface to the various serializing modules
@@ -107,42 +107,42 @@ Requires: perl(YAML::Syck)
Author: Neil Neely <neil (at) neely.cx>
-------------------------------------------------------------------------------
--------------------------------------------------------------------------------
#----------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
%prep
#----------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
%setup -q -n %{cpan_name}-%{version}
#----------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
%build
#----------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
CFLAGS="$RPM_OPT_FLAGS" perl Build.PL --prefix $RPM_BUILD_ROOT/usr --installdirs vendor
./Build
%check
./Build test
#----------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
%install
#----------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
./Build install
%perl_process_packlist
%perl_gen_filelist
#----------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
%clean
#----------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
%{__rm} -rf $RPM_BUILD_ROOT
#----------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
%files -f %{name}.files
#----------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
%defattr(-,root,root)
%doc Changes INSTALL README
#----------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
%changelog
#----------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
* Mon Aug 25 2008 - rpm@scorpio-it.net - 0.48
- initial Package