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