compat: fix Provides
For some reason, the 'mvn(org.postgresql:postgresql)' is not generated automatically. I'm adding 'mvn(postgresql:postgresql)' as some other packages already depend on this. Removing old symlinks which nobody probably used. Version: 9.4.1209-1
This commit is contained in:
parent
8a374e609a
commit
0af97ce32d
@ -56,6 +56,9 @@ URL: http://jdbc.postgresql.org/
|
||||
Source0: https://github.com/pgjdbc/pgjdbc/archive/REL%version.tar.gz
|
||||
Source1: postgres-testing.sh
|
||||
|
||||
Provides: mvn(org.postgresql:postgresql)
|
||||
Provides: mvn(postgresql:postgresql)
|
||||
|
||||
# Upstream moved parent pom.xml into separate project (even though there is only
|
||||
# one dependant project on it?). Let's try to not complicate packaging by
|
||||
# having separate spec file for it, too.
|
||||
@ -185,15 +188,6 @@ done
|
||||
cd %parent_poms_builddir
|
||||
%mvn_install
|
||||
|
||||
pushd $RPM_BUILD_ROOT%{_javadir}
|
||||
# Also, for backwards compatibility with our old postgresql-jdbc packages,
|
||||
# add these symlinks. (Probably only the jdbc3 symlink really makes sense?)
|
||||
ln -s %{name}/postgresql.jar postgresql-jdbc.jar
|
||||
ln -s %{name}/postgresql.jar postgresql-jdbc2.jar
|
||||
ln -s %{name}/postgresql.jar postgresql-jdbc2ee.jar
|
||||
ln -s %{name}/postgresql.jar postgresql-jdbc3.jar
|
||||
popd
|
||||
|
||||
|
||||
%check
|
||||
|
||||
@ -201,10 +195,6 @@ popd
|
||||
%files -f .mfiles
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_javadir}/%{name}.jar
|
||||
%{_javadir}/%{name}2.jar
|
||||
%{_javadir}/%{name}2ee.jar
|
||||
%{_javadir}/%{name}3.jar
|
||||
|
||||
%files parent-poms -f %parent_poms_builddir/.mfiles
|
||||
|
||||
@ -217,6 +207,7 @@ popd
|
||||
* Wed Jul 20 2016 Pavel Raiskup <praiskup@redhat.com> - 9.4.1209-1
|
||||
- update to latest release version, thanks to Pavel Kajaba, Michael Simacek and
|
||||
Vladimir Sitnikov for big help
|
||||
- fix Provides, remove old compatibility hacks
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 9.4.1200-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
Loading…
Reference in New Issue
Block a user