now with temporary compat libtasn1 taken from old build

This commit is contained in:
Tomas Mraz 2013-02-05 13:08:34 +01:00
parent f5c24364f3
commit 0d0c458135

View File

@ -1,7 +1,7 @@
Summary: The ASN.1 library used in GNUTLS Summary: The ASN.1 library used in GNUTLS
Name: libtasn1 Name: libtasn1
Version: 3.2 Version: 3.2
Release: 1%{?dist} Release: 2%{?dist}
# The libtasn1 library is LGPLv2+, utilities are GPLv3+ # The libtasn1 library is LGPLv2+, utilities are GPLv3+
License: GPLv3+ and LGPLv2+ License: GPLv3+ and LGPLv2+
@ -17,6 +17,8 @@ BuildRequires: valgrind
%endif %endif
# Wildcard bundling exception https://fedorahosted.org/fpc/ticket/174 # Wildcard bundling exception https://fedorahosted.org/fpc/ticket/174
Provides: bundled(gnulib) = 20120913 Provides: bundled(gnulib) = 20120913
# temporary compat library for buildroots
BuildRequires: libtasn1
%package devel %package devel
Summary: Files for development of applications which will use libtasn1 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} 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 %check
make check make check
@ -91,6 +99,8 @@ test "$1" = 0 -a -f %_infodir/%name.info.gz && \
%doc doc/TODO doc/*.pdf %doc doc/TODO doc/*.pdf
%doc AUTHORS COPYING* NEWS README THANKS %doc AUTHORS COPYING* NEWS README THANKS
%_libdir/*.so.6* %_libdir/*.so.6*
# temporary compat library for buildroots
%_libdir/*.so.3*
%files tools %files tools
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -107,6 +117,9 @@ test "$1" = 0 -a -f %_infodir/%name.info.gz && \
%changelog %changelog
* Tue Feb 5 2013 Tomas Mraz <tmraz@redhat.com> - 3.2-2
- now with temporary compat libtasn1 taken from old build
* Tue Feb 5 2013 Tomas Mraz <tmraz@redhat.com> - 3.2-1 * Tue Feb 5 2013 Tomas Mraz <tmraz@redhat.com> - 3.2-1
- new upstream release - new upstream release
- SONAME bumped - SONAME bumped