From 8e4212c2f238aaeb12a2ae28e678c657cd72b3a4aec932809d284a7da5c9c406 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Sat, 15 Dec 2018 14:31:52 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-dbcp1?expand=0&rev=2 --- apache-commons-dbcp1.spec | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/apache-commons-dbcp1.spec b/apache-commons-dbcp1.spec index 14c7aa0..ad65008 100644 --- a/apache-commons-dbcp1.spec +++ b/apache-commons-dbcp1.spec @@ -50,7 +50,6 @@ Requires(post): update-alternatives Requires(preun): update-alternatives Provides: %{short_name} = %{version}-%{release} Obsoletes: %{short_name} < %{version}-%{release} -Provides: hibernate_jdbc_cache Provides: jakarta-%{short_name} = %{version}-%{release} Obsoletes: jakarta-%{short_name} < %{version}-%{release} BuildArch: noarch @@ -113,18 +112,6 @@ install -m 644 pom.xml %{buildroot}%{_mavenpomdir}/apache-%{short_name}-%{versio install -d -m 755 %{buildroot}%{_javadocdir}/%{name} cp -pr dist/docs/* %{buildroot}%{_javadocdir}/%{name} %fdupes -s %{buildroot}%{_javadocdir}/%{name} -# hibernate_jdbc_cache ghost symlink -mkdir -p %{buildroot}%{_sysconfdir}/alternatives/ -ln -sf %{_sysconfdir}/alternatives/hibernate_jdbc_cache.jar %{buildroot}%{_javadir}/hibernate_jdbc_cache.jar - -%post -update-alternatives --install %{_javadir}/hibernate_jdbc_cache.jar \ - hibernate_jdbc_cache %{_javadir}/apache-%{short_name}.jar 60 - -%preun -if [ $1 -eq 0 ] ; then - update-alternatives --remove hibernate_jdbc_cache %{_javadir}/apache-%{short_name}.jar -fi %files %license LICENSE.txt @@ -132,8 +119,6 @@ fi %{_javadir}/apache-%{short_name}-%{version}.jar %{_javadir}/%{short_name}.jar %{_javadir}/%{short_name}-%{version}.jar -%{_javadir}/hibernate_jdbc_cache.jar -%ghost %{_sysconfdir}/alternatives/hibernate_jdbc_cache.jar %{_mavenpomdir}/apache-%{short_name}-%{version}.pom %if %{defined _maven_repository} %{_mavendepmapfragdir}/%{name}