From 4aff5fc57a757d7d835eb17aac0533b88b2987a7 Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Sun, 25 Aug 2024 08:27:18 +0800 Subject: [PATCH] cleanup spec --- libtasn1-4.19.0.tar.gz.sig | 7 ------- libtasn1.spec | 30 +++++++++--------------------- 2 files changed, 9 insertions(+), 28 deletions(-) delete mode 100644 libtasn1-4.19.0.tar.gz.sig diff --git a/libtasn1-4.19.0.tar.gz.sig b/libtasn1-4.19.0.tar.gz.sig deleted file mode 100644 index b2b8fec..0000000 --- a/libtasn1-4.19.0.tar.gz.sig +++ /dev/null @@ -1,7 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iHUEABYIAB0WIQSjzJyHC50xCrrUzy9RcisI/kdFogUCYwUS9wAKCRBRcisI/kdF -ouWTAP95jlnitHZ2gCNZgtei9tEjdUVVL8CsFbQnvogFVUvieQD/XzHxaRGluLTh -DuHAJzrPScJUtPGImSUsoqcgozUv4w8= -=zX4n ------END PGP SIGNATURE----- diff --git a/libtasn1.spec b/libtasn1.spec index f12a2ba..35d5a9b 100644 --- a/libtasn1.spec +++ b/libtasn1.spec @@ -1,13 +1,12 @@ Summary: Libtasn1 is a ASN.1 parsing library Name: libtasn1 Version: 4.19.0 -Release: 1 +Release: 2 # The libtasn1 library is LGPLv2+, utilities are GPLv3+ -License: GPLv3+ and LGPLv2+ -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 +License: GPL-3.0-or-later AND LGPL-2.1-or-later +URL: https://www.gnu.org/software/libtasn1/ +Source0: https://ftp.gnu.org/gnu/libtasn1/%{name}-%{version}.tar.gz Patch0: fix-memleaks-in-asn1-arrat2tree.patch @@ -31,8 +30,6 @@ and Distinguished Encoding Rules (DER, as per X.690) encoding and decoding funct %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: pkgconfig -Requires: info %description devel This package contains header files and so files for development. @@ -45,8 +42,7 @@ This package contains header files and so files for development. %build autoreconf -vfi %configure --disable-static --disable-silent-rules - -make %{?_smp_mflags} +%make_build %install %make_install @@ -54,18 +50,7 @@ make %{?_smp_mflags} rm -f $RPM_BUILD_ROOT%{_infodir}/dir %check -make check - -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig - -%post help -test -f %_infodir/%name.info.gz && \ - /sbin/install-info --info-dir=%_infodir %_infodir/%name.info || : - -%preun help -test "$1" = 0 -a -f %_infodir/%name.info.gz && \ - /sbin/install-info --info-dir=%_infodir --delete %_infodir/%name.info || : +%make_build check %files %license doc/COPYING* @@ -85,6 +70,9 @@ test "$1" = 0 -a -f %_infodir/%name.info.gz && \ %{_infodir}/*.info.* %changelog +* Sun Aug 25 2024 Funda Wang - 4.19.0-2 +- cleanup spec + * Thu Jul 13 2023 yixiangzhike - 4.19.0-1 - update to 4.19.0 -- Gitee