rpms/perl-RPM-Specfile/devel perl-RPM-Specfile.spec,1.16,1.17
Robin Norwood (rnorwood)
fedora-extras-commits at redhat.com
Thu Jun 28 15:02:41 UTC 2007
Author: rnorwood
Update of /cvs/pkgs/rpms/perl-RPM-Specfile/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24011
Modified Files:
perl-RPM-Specfile.spec
Log Message:
Apply patch from Steven Pritchard.
Index: perl-RPM-Specfile.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-RPM-Specfile/devel/perl-RPM-Specfile.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- perl-RPM-Specfile.spec 4 Dec 2006 16:15:16 -0000 1.16
+++ perl-RPM-Specfile.spec 28 Jun 2007 15:02:02 -0000 1.17
@@ -1,6 +1,6 @@
Name: perl-RPM-Specfile
Version: 1.51
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Perl extension for creating RPM specfiles
Group: Development/Libraries
@@ -10,11 +10,15 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: perl
+BuildRequires: perl(Archive::Tar)
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(URI::Escape)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-Requires: perl(YAML)
+
%description
-%{summary}.
+This is a simple module for creation of RPM Spec files. Most of the methods
+in this module are the same name as the RPM Spec file element they
+represent but in lower case.
%prep
@@ -30,8 +34,8 @@
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
+%{_fixperms} $RPM_BUILD_ROOT/*
# This file probably shouldn't be in the upstream version.
rm $RPM_BUILD_ROOT/usr/bin/cpanflute2-old
@@ -46,13 +50,21 @@
%files
%defattr(-,root,root,-)
-%doc Changes
+%doc Changes README
%{_bindir}/cpanflute2
%{perl_vendorlib}/RPM
%{_mandir}/man3/RPM::Specfile.3*
%changelog
+* Tue Mar 20 2007 Steven Pritchard <steve at kspei.com> 1.51-3
+- Fix find option order.
+- Use fixperms macro instead of our own chmod incantation.
+- Improve description.
+- Add Archive::Tar, ExtUtils::MakeMaker, and URI::Escape build deps.
+- Remove redundant YAML explicit dep.
+- Package README.
+
* Mon Dec 03 2006 Robin Norwood <rnorwood at redhat.com> - 1.51-2
- Add Requires: perl(YAML)
More information about the scm-commits
mailing list