Compare commits

..

No commits in common. "c9" and "c8s" have entirely different histories.
c9 ... c8s

7 changed files with 19 additions and 70 deletions

4
.gitignore vendored
View File

@ -1,2 +1,2 @@
SOURCES/gpgkey-1CB27DBC98614B2D5841646D08302DB6A2670428.gpg /libidn2-*.tar.gz
SOURCES/libidn2-2.3.0.tar.gz /libidn2-*.tar.gz.sig

View File

@ -1,2 +0,0 @@
97f7ff7a9ca0c5beef95ba137b88b87bf1d4f807 SOURCES/gpgkey-1CB27DBC98614B2D5841646D08302DB6A2670428.gpg
53f54fd3c305d871ed5716406c0695fad5c34c45 SOURCES/libidn2-2.3.0.tar.gz

Binary file not shown.

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}

View File

@ -1,21 +1,17 @@
Summary: Library to support IDNA2008 internationalized domain names Summary: Library to support IDNA2008 internationalized domain names
Name: libidn2 Name: libidn2
Version: 2.3.0 Version: 2.2.0
Release: 7%{?dist} Release: 1%{?dist}
License: (GPLv2+ or LGPLv3+) and GPLv3+ License: (GPLv2+ or LGPLv3+) and GPLv3+
URL: https://www.gnu.org/software/libidn/#libidn2 URL: https://www.gnu.org/software/libidn/#libidn2
Source0: https://ftp.gnu.org/gnu/libidn/%{name}-%{version}.tar.gz Source0: https://ftp.gnu.org/gnu/libidn/%{name}-%{version}.tar.gz
Source1: https://ftp.gnu.org/gnu/libidn/%{name}-%{version}.tar.gz.sig Source1: https://ftp.gnu.org/gnu/libidn/%{name}-%{version}.tar.gz.sig
Source2: gpgkey-1CB27DBC98614B2D5841646D08302DB6A2670428.gpg
Patch0: libidn2-2.0.0-rpath.patch Patch0: libidn2-2.0.0-rpath.patch
BuildRequires: gnupg2
BuildRequires: gcc BuildRequires: gcc
BuildRequires: make
BuildRequires: gettext BuildRequires: gettext
BuildRequires: libunistring-devel BuildRequires: libunistring-devel
BuildRequires: automake
Provides: bundled(gnulib) Provides: bundled(gnulib)
%description %description
@ -35,32 +31,26 @@ developing applications that use libidn2.
Summary: IDNA2008 internationalized domain names conversion tool Summary: IDNA2008 internationalized domain names conversion tool
License: GPLv3+ License: GPLv3+
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
%if 0%{?rhel} && 0%{?rhel} <= 7
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
%endif
%description -n idn2 %description -n idn2
The idn2 package contains the idn2 command line tool for testing The idn2 package contains the idn2 command line tool for testing
IDNA2008 conversions. IDNA2008 conversions.
%prep %prep
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%setup -q %setup -q
%patch0 -p1 -b .rpath %patch0 -p1 -b .rpath
touch -c -r configure.rpath configure touch -c -r configure.rpath configure
touch -c -r m4/libtool.m4.rpath m4/libtool.m4 touch -c -r m4/libtool.m4.rpath m4/libtool.m4
touch -c -r m4/libtool.m4.rpath aclocal.m4
%build %build
%configure --disable-static %configure --disable-static
%make_build make %{?_smp_mflags}
%install %install
%make_install make DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install
# Clean-up examples for documentation # Clean-up examples for documentation
%make_build -C examples distclean make %{?_smp_mflags} -C examples distclean
rm -f examples/Makefile* rm -f examples/Makefile*
# Don't install any libtool .la files # Don't install any libtool .la files
@ -72,20 +62,10 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir
%find_lang %{name} %find_lang %{name}
%check %check
%make_build -C tests check make %{?_smp_mflags} -C tests check
%ldconfig_scriptlets %ldconfig_scriptlets
%if 0%{?rhel} && 0%{?rhel} <= 7
%post -n idn2
/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
%preun -n idn2
if [ $1 = 0 ]; then
/sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
fi
%endif
%files -f %{name}.lang %files -f %{name}.lang
%license COPYING COPYING.LESSERv3 COPYING.unicode COPYINGv2 %license COPYING COPYING.LESSERv3 COPYING.unicode COPYINGv2
%doc AUTHORS NEWS README.md %doc AUTHORS NEWS README.md
@ -105,46 +85,9 @@ fi
%{_infodir}/%{name}.info* %{_infodir}/%{name}.info*
%changelog %changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.3.0-7 * Mon Jun 10 2019 Miroslav Lichvar <mlichvar@redhat.com> 2.2.0-1
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Update to 2.2.0 (#1674201)
Related: rhbz#1991688 - Drop obsolete scriptlets
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.3.0-6
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue May 26 2020 Jeff Law <law@redhat.com> - 2.3.0-3
- Touch a couple autoconf related files to prevent undesired rebuilding
if %%configure changes one or more configure files.
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Nov 16 2019 Robert Scheck <robert@fedoraproject.org> 2.3.0-1
- Upgrade to 2.3.0 (#1764345, #1772703)
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu May 23 2019 Robert Scheck <robert@fedoraproject.org> 2.2.0-1
- Upgrade to 2.2.0 (#1713402)
* Sat Feb 09 2019 Robert Scheck <robert@fedoraproject.org> 2.1.1a-1
- Upgrade to 2.1.1a (#1674002 #c1)
* Sat Feb 09 2019 Robert Scheck <robert@fedoraproject.org> 2.1.1-1
- Upgrade to 2.1.1 (#1674002, #1674023)
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Mon May 21 2018 Robert Scheck <robert@fedoraproject.org> 2.0.5-1 * Mon May 21 2018 Robert Scheck <robert@fedoraproject.org> 2.0.5-1
- Upgrade to 2.0.5 (#1577864, #1579825) - Upgrade to 2.0.5 (#1577864, #1579825)

2
sources Normal file
View File

@ -0,0 +1,2 @@
SHA512 (libidn2-2.2.0.tar.gz) = ccf56056a378d49a28ff67a2a23cd3d32ce51f86a78f84839b98dad709a1d0d03ac8d7c1496f0e4d3536bca00e3d09d34d76a37317b2ce87e3aa66bdf4e877b8
SHA512 (libidn2-2.2.0.tar.gz.sig) = eeaa88542340ddd7a5a029a0072344378410f6b437f521cdecefbdb1ceb7539236959a9fb8a24464d55658ecca949c28664bc0c00e9786282ac0209b53a72612