Christian Wittmer
2009-07-25 17:38:16 +00:00
committed by Git OBS Bridge
parent 5c6315aedb
commit edc8218bd4
2 changed files with 7 additions and 17 deletions

View File

@@ -37,11 +37,7 @@ BuildRequires: perl(Digest::MD5)
Requires: perl = %{perl_version}
Requires: perl(Digest::MD5)
#-------------------------------------------------------------------------------
%description
#-------------------------------------------------------------------------------
%{cpan_name} module for perl
This module provides a framework for generating UUIDs (Universally Unique
Identifiers, also known as GUIDs (Globally Unique Identifiers). A UUID is 128
bits long, and is guaranteed to be different from all other UUIDs/GUIDs
@@ -64,42 +60,29 @@ Requires: perl(Digest::MD5)
Author: Alexander Golomshtok <agolomsh@cpan.org>
--------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
%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 Changes LICENSE README
#-------------------------------------------------------------------------------
%changelog
#-------------------------------------------------------------------------------