fix license tag, clean up spec file.
This commit is contained in:
parent
976cb81222
commit
1ef8d3a969
@ -1,20 +1,19 @@
|
||||
Name: perl-DBD-Pg
|
||||
Version: 1.49
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: A PostgreSQL interface for perl
|
||||
|
||||
Group: Development/Libraries
|
||||
License: GPL or Artistic
|
||||
License: GPL+ or Artistic
|
||||
URL: http://search.cpan.org/dist/DBD-Pg/
|
||||
Source0: http://www.cpan.org/authors/id/D/DB/DBDPG/DBD-Pg-%{version}.tar.gz
|
||||
Source0: http://www.cpan.org/authors/id/D/DB/DBDPG/DBD-Pg-%{version}.tar.gz
|
||||
Patch: perl-DBD-1.31-fixver.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: perl >= 1:5.6.1
|
||||
BuildRequires: perl-DBI >= 1.38, postgresql-devel >= 7.2
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Requires: perl-DBI >= 1.38
|
||||
Provides: perl(DBD::Pg) = %{version}
|
||||
|
||||
%description
|
||||
An implementation of DBI for PostgreSQL for Perl.
|
||||
@ -25,8 +24,9 @@ An implementation of DBI for PostgreSQL for Perl.
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@ -36,7 +36,7 @@ find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
|
||||
%check || :
|
||||
%check
|
||||
# Full test coverage requires a live PostgreSQL database (see the README file)
|
||||
#export DBI_DSN=dbi:Pg:dbname=<database>
|
||||
#export DBI_USER=<username>
|
||||
@ -49,12 +49,19 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes README README.dev TODO
|
||||
%{perl_vendorarch}/DBD/
|
||||
%{perl_vendorarch}/auto/DBD/
|
||||
%{_mandir}/man3/*.3*
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Aug 24 2007 Robin Norwood <rnorwood@redhat.com> - 1.49-5
|
||||
- Fix license tag
|
||||
- Add %%doc
|
||||
- Remove explicit Provides: perl(DBD::Pg) = %%{version}
|
||||
- Other cleanups
|
||||
|
||||
* Tue Jul 17 2007 Robin Norwood <rnorwood@redhat.com> - 1.49-4
|
||||
- Fix summary
|
||||
|
||||
@ -141,25 +148,25 @@ rm -rf $RPM_BUILD_ROOT
|
||||
* Wed Nov 20 2002 Chip Turner <cturner@redhat.com>
|
||||
- rebuild
|
||||
|
||||
* Wed Aug 7 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.13-5
|
||||
* Wed Aug 7 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.13-5
|
||||
- Rebuild
|
||||
|
||||
* Tue Jun 25 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.13-4
|
||||
* Tue Jun 25 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.13-4
|
||||
- Rebuild, to fix #66304
|
||||
|
||||
* Wed Jun 5 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.13-3
|
||||
* Wed Jun 5 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.13-3
|
||||
- Integrate with newer perl
|
||||
|
||||
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
||||
- automated rebuild
|
||||
|
||||
* Tue May 7 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.13-1
|
||||
* Tue May 7 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.13-1
|
||||
- 1.13
|
||||
|
||||
* Fri Feb 22 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.01-8
|
||||
* Fri Feb 22 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.01-8
|
||||
- Rebuild
|
||||
|
||||
* Thu Feb 7 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.01-7
|
||||
* Thu Feb 7 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.01-7
|
||||
- Rebuild
|
||||
|
||||
* Thu Jan 31 2002 Tim Powers <timp@redhat.com>
|
||||
@ -168,27 +175,27 @@ rm -rf $RPM_BUILD_ROOT
|
||||
* Tue Jan 29 2002 Bill Nottingham <notting@redhat.com> 1.01-5
|
||||
- rebuild (dependencies)
|
||||
|
||||
* Tue Jan 22 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.01-4
|
||||
* Tue Jan 22 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.01-4
|
||||
- Rebuild
|
||||
|
||||
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
||||
- automated rebuild
|
||||
|
||||
* Tue Jan 8 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.01-2
|
||||
* Tue Jan 8 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.01-2
|
||||
- Rebuild
|
||||
|
||||
* Sun Jul 1 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
||||
* Sun Jul 1 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
||||
- 1.01 bugfix release ("bytea" coredumped with values outside 0...127)
|
||||
- Add perl-DBI and perl to BuildRequires (they were just in Requires: previously)
|
||||
|
||||
* Wed May 30 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
||||
* Wed May 30 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
||||
- 1.00
|
||||
- change group to Applications/Databases from Applications/CPAN
|
||||
|
||||
* Tue May 1 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
||||
* Tue May 1 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
||||
- 0.98, for postgresql-7.1
|
||||
- add doc files
|
||||
- cleanups
|
||||
|
||||
* Thu Nov 30 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||
* Thu Nov 30 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||
- First cut
|
||||
|
||||
Loading…
Reference in New Issue
Block a user