[libtasn1] now with temporary compat libtasn1 taken from old build
Tomáš Mráz
tmraz at fedoraproject.org
Tue Feb 5 12:08:40 UTC 2013
commit 0d0c458135ca16197f02ffe6c3b6c7e2d9c12e94
Author: Tomas Mraz <tmraz at fedoraproject.org>
Date: Tue Feb 5 13:08:34 2013 +0100
now with temporary compat libtasn1 taken from old build
libtasn1.spec | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/libtasn1.spec b/libtasn1.spec
index 965e96c..25245a3 100644
--- a/libtasn1.spec
+++ b/libtasn1.spec
@@ -1,7 +1,7 @@
Summary: The ASN.1 library used in GNUTLS
Name: libtasn1
Version: 3.2
-Release: 1%{?dist}
+Release: 2%{?dist}
# The libtasn1 library is LGPLv2+, utilities are GPLv3+
License: GPLv3+ and LGPLv2+
@@ -17,6 +17,8 @@ BuildRequires: valgrind
%endif
# Wildcard bundling exception https://fedorahosted.org/fpc/ticket/174
Provides: bundled(gnulib) = 20120913
+# temporary compat library for buildroots
+BuildRequires: libtasn1
%package devel
Summary: Files for development of applications which will use libtasn1
@@ -69,6 +71,12 @@ make DESTDIR="$RPM_BUILD_ROOT" install
rm -f $RPM_BUILD_ROOT{%_libdir/*.la,%_infodir/dir}
+# temporary compat library for buildroots
+install %{_libdir}/libtasn1.so.3.*.* $RPM_BUILD_ROOT/%{_libdir}
+pushd $RPM_BUILD_ROOT/%{_libdir}
+ln -s libtasn1.so.3.*.* $RPM_BUILD_ROOT/%{_libdir}/libtasn1.so.3
+popd
+
%check
make check
@@ -91,6 +99,8 @@ test "$1" = 0 -a -f %_infodir/%name.info.gz && \
%doc doc/TODO doc/*.pdf
%doc AUTHORS COPYING* NEWS README THANKS
%_libdir/*.so.6*
+# temporary compat library for buildroots
+%_libdir/*.so.3*
%files tools
%defattr(-,root,root,-)
@@ -107,6 +117,9 @@ test "$1" = 0 -a -f %_infodir/%name.info.gz && \
%changelog
+* Tue Feb 5 2013 Tomas Mraz <tmraz at redhat.com> - 3.2-2
+- now with temporary compat libtasn1 taken from old build
+
* Tue Feb 5 2013 Tomas Mraz <tmraz at redhat.com> - 3.2-1
- new upstream release
- SONAME bumped
More information about the scm-commits
mailing list