|
|
|
@ -1,40 +1,40 @@
|
|
|
|
|
Summary: The ASN.1 library used in GNUTLS
|
|
|
|
|
Name: libtasn1
|
|
|
|
|
Version: 4.16.0
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
Version: 4.13
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
|
|
|
|
|
# The libtasn1 library is LGPLv2+, utilities are GPLv3+
|
|
|
|
|
License: GPLv3+ and LGPLv2+
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
URL: http://www.gnu.org/software/libtasn1/
|
|
|
|
|
Source0: http://ftp.gnu.org/gnu/libtasn1/%name-%version.tar.gz
|
|
|
|
|
Source1: http://ftp.gnu.org/gnu/libtasn1/%name-%version.tar.gz.sig
|
|
|
|
|
Source2: gpgkey-1F42418905D8206AA754CCDC29EE58B996865171.gpg
|
|
|
|
|
Patch1: libtasn1-3.4-rpath.patch
|
|
|
|
|
Patch200: libtasn1-4.16-coverity.patch
|
|
|
|
|
Patch300: libtasn1-4.19-CVE-2021-46848.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: gnupg2
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: bison, pkgconfig, help2man
|
|
|
|
|
BuildRequires: autoconf, automake, libtool
|
|
|
|
|
%ifarch %{valgrind_arches}
|
|
|
|
|
BuildRequires: valgrind-devel
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
%endif
|
|
|
|
|
# Wildcard bundling exception https://fedorahosted.org/fpc/ticket/174
|
|
|
|
|
Provides: bundled(gnulib) = 20130324
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Files for development of applications which will use libtasn1
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: %name = %version-%release
|
|
|
|
|
Requires: %{name}-tools = %{version}-%{release}
|
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
Requires(post): /sbin/install-info
|
|
|
|
|
Requires(postun): /sbin/install-info
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
|
Summary: Some ASN.1 tools
|
|
|
|
|
Group: Applications/Text
|
|
|
|
|
License: GPLv3+
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: %name = %version-%release
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -57,7 +57,6 @@ gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
%patch1 -p1 -b .rpath
|
|
|
|
|
%patch200 -p1 -b .coverity
|
|
|
|
|
%patch300 -p1 -b .CVE-2021-46848
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
@ -66,11 +65,11 @@ autoreconf -v -f --install
|
|
|
|
|
# libtasn1 likes to regenerate docs
|
|
|
|
|
touch doc/stamp_docs
|
|
|
|
|
|
|
|
|
|
%make_build
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
make DESTDIR="$RPM_BUILD_ROOT" install
|
|
|
|
|
|
|
|
|
|
rm -f $RPM_BUILD_ROOT{%_libdir/*.la,%_infodir/dir}
|
|
|
|
|
|
|
|
|
@ -78,9 +77,23 @@ rm -f $RPM_BUILD_ROOT{%_libdir/*.la,%_infodir/dir}
|
|
|
|
|
%check
|
|
|
|
|
make check
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post devel
|
|
|
|
|
test -f %_infodir/%name.info.gz && \
|
|
|
|
|
/sbin/install-info --info-dir=%_infodir %_infodir/%name.info || :
|
|
|
|
|
|
|
|
|
|
%preun devel
|
|
|
|
|
test "$1" = 0 -a -f %_infodir/%name.info.gz && \
|
|
|
|
|
/sbin/install-info --info-dir=%_infodir --delete %_infodir/%name.info || :
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license LICENSE doc/COPYING*
|
|
|
|
|
%doc AUTHORS NEWS README.md
|
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
|
%license COPYING*
|
|
|
|
|
%doc AUTHORS NEWS README THANKS
|
|
|
|
|
%{_libdir}/*.so.6*
|
|
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
@ -97,59 +110,14 @@ make check
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Nov 30 2022 Simo Sorce <simo@redhat.com> - 4.16.0-9
|
|
|
|
|
- Resolves: rhbz#2140602
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 4.16.0-7
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 4.16.0-6
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Mon Apr 12 2021 Dmitry Belyavskiy <dbelyavs@redhat.com> - 4.16.0-5
|
|
|
|
|
- Coverity-related fixes (#1938797)
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.16.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.16.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 4.16.0-2
|
|
|
|
|
- Use make macros
|
|
|
|
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
|
|
|
|
|
|
|
|
|
* Sun Feb 02 2020 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.16.0-1
|
|
|
|
|
- Update to 4.14 (#1621973)
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.15.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Nov 21 2019 Simo Sorce <simo@redhat.com> - 4.15.0-1
|
|
|
|
|
- Update to 4.15.0 (#1775065)
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.14-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jul 22 2019 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.14-1
|
|
|
|
|
- Update to 4.14 (#1621973)
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.13-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Oct 29 2018 James Antill <james.antill@redhat.com> - 4.13-6
|
|
|
|
|
- Remove ldconfig scriptlet, now done via. transfiletrigger in glibc.
|
|
|
|
|
|
|
|
|
|
* Mon Oct 22 2018 Nikos Mavrogiannopoulos <nmav@redhat.com> - 4.13-5
|
|
|
|
|
- libtasn1-devel requires the tools subpackage; it is necessary for
|
|
|
|
|
development.
|
|
|
|
|
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 4.13-4
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
|
|
|
|
|
* Sat Jul 21 2018 Peter Robinson <pbrobinson@fedoraproject.org> 4.13-4
|
|
|
|
|
- Add missing gcc/gnupg2 deps, spec cleanups
|
|
|
|
|
* Wed Nov 30 2022 Simo Sorce <simo@redhat.com> - 4.13-4
|
|
|
|
|
- Resolves: rhbz#2140600
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.13-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
* Fri Aug 3 2018 Florian Weimer <fweimer@redhat.com> - 4.13-3
|
|
|
|
|
- Honor %%{valgrind_arches}
|
|
|
|
|
|
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.13-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|