diff --git a/perl-gettext.changes b/perl-gettext.changes index 1cd4e90..e8f85a7 100644 --- a/perl-gettext.changes +++ b/perl-gettext.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Apr 10 16:08:29 UTC 2011 - crrodriguez@opensuse.org + +- USe perl macros to generate filelist + ------------------------------------------------------------------- Wed Dec 1 13:32:37 UTC 2010 - coolo@novell.com diff --git a/perl-gettext.spec b/perl-gettext.spec index 131f92b..70c1f50 100644 --- a/perl-gettext.spec +++ b/perl-gettext.spec @@ -33,7 +33,11 @@ Release: 146 Source: gettext-%{version}.tar.bz2 Patch: %{name}-%{version}-POSIX.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?suse_version} < 1140 +Requires: perl = %{perl_version} +%else %{perl_requires} +%endif %description Gettext for perl. @@ -58,17 +62,15 @@ make %{?jobs:-j%jobs} make test %install -make CFLAGS="$RPM_OPT_FLAGS" DESTDIR=$RPM_BUILD_ROOT install_vendor +%perl_make_install %perl_process_packlist +%perl_gen_filelist %clean rm -rf $RPM_BUILD_ROOT -%files +%files -f %{name}.files %defattr(-,root,root) -%{perl_vendorarch}/Locale -%{perl_vendorarch}/auto/Locale -%doc %{_mandir}/man3/Locale::gettext.3pm.gz %doc README %changelog