auto-import changelog data from perl-libxml-perl-0.07-25.src.rpm

Tue Aug 06 2002 Chip Turner <cturner@redhat.com>
- automated release bump and build
This commit is contained in:
cvsdist 2004-09-09 10:25:30 +00:00
parent a5f9fb2fde
commit 02c2390047

View File

@ -1,53 +1,57 @@
%define module libxml-perl %define module libxml-perl
%define version 0.07 Summary: A collection of Perl modules for working with XML.
%define release 14 Name: perl-%{module}
Summary: %{module} module for perl Version: 0.07
Name: perl-%{module} Release: 25
Version: %{version} License: distributable
Release: %{release} Group: System Environment/Libraries
License: distributable Source0: %{module}-%{version}.tar.bz2
Group: System Environment/Libraries Url: http://www.cpan.org
Source0: %{module}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-buildroot/
Url: http://www.cpan.org Requires: perl >= 5.6.0, perl-XML-Parser
BuildRoot: %{_tmppath}/%{name}-buildroot/ BuildRequires: perl-XML-Parser
Requires: perl >= 5.6.0, perl-XML-Parser BuildArch: noarch
BuildRequires: perl-XML-Parser
BuildArch: noarch
%description %description
%{module} module for perl libxml-perl is a collection of smaller Perl modules, scripts, and
documents for working with XML in Perl. libxml-perl software works in
combination with XML::Parser, PerlSAX, XML::DOM, XML::Grove and
others.
%prep %prep
%setup -q -n %{module}-%{version} %setup -q -n %{module}-%{version}
%build %build
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor
make make
# fucks up build make test || /bin/true
#make test
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
eval `perl '-V:installarchlib'` make install
mkdir -p $RPM_BUILD_ROOT/$installarchlib
make PREFIX=$RPM_BUILD_ROOT%{_prefix} INSTALLDIRS=vendor install
# call spec-helper before creating the file list [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
s=/usr/share/spec-helper/spec-helper ; [ -x $s ] && $s
%files find $RPM_BUILD_ROOT/usr -type f -print |
sed "s@^$RPM_BUILD_ROOT@@g" |
grep -v perllocal.pod |
grep -v "\.packlist" > perl-libxml-perl-%{version}-filelist
if [ "$(cat perl-libxml-perl-%{version}-filelist)X" = "X" ] ; then
echo "ERROR: EMPTY FILE LIST"
exit -1
fi
%files -f perl-libxml-perl-%{version}-filelist
%defattr(-,root,root) %defattr(-,root,root)
%{_mandir}/*/*
%{_prefix}/lib/perl5/vendor_perl/*/Data/*.pm
%{_prefix}/lib/perl5/vendor_perl/*/Data/*/*.pm
%{_prefix}/lib/perl5/vendor_perl/*/XML/*.pm
%{_prefix}/lib/perl5/vendor_perl/*/XML/*/*.pm
%doc Change* MANIFEST README
%changelog %changelog
* Tue Aug 6 2002 Chip Turner <cturner@redhat.com>
- automated release bump and build
* Wed Mar 27 2002 Chip Turner <cturner@redhat.com> * Wed Mar 27 2002 Chip Turner <cturner@redhat.com>
- move to vendor_perl - move to vendor_perl