toolchain: Remove nspr package (#3167)
This commit is contained in:
Родитель
fbaa34dda0
Коммит
a6e777eb43
|
@ -1,13 +1,15 @@
|
|||
Summary: Platform-neutral API
|
||||
Name: nspr
|
||||
Version: 4.30
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: MPLv2.0
|
||||
URL: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR
|
||||
Group: Applications/System
|
||||
Vendor: Microsoft Corporation
|
||||
Distribution: Mariner
|
||||
Group: Applications/System
|
||||
URL: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR
|
||||
Source0: https://archive.mozilla.org/pub/nspr/releases/v%{version}/src/%{name}-%{version}.tar.gz
|
||||
BuildRequires: gcc
|
||||
BuildRequires: make
|
||||
|
||||
%description
|
||||
Netscape Portable Runtime (NSPR) provides a platform-neutral API
|
||||
|
@ -16,34 +18,31 @@ for system level and libc like functions.
|
|||
%package devel
|
||||
Summary: Header and development files for nspr
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
It contains the libraries and header files to create applications
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup
|
||||
cd nspr
|
||||
sed -ri 's#^(RELEASE_BINS =).*#\1#' pr/src/misc/Makefile.in
|
||||
sed -i 's#$(LIBRARY) ##' config/rules.mk
|
||||
|
||||
%build
|
||||
cd nspr
|
||||
./configure \
|
||||
--prefix=%{_prefix} \
|
||||
--bindir=%{_bindir} \
|
||||
%configure \
|
||||
--with-mozilla \
|
||||
--with-pthreads \
|
||||
$([ $(uname -m) = x86_64 ] && echo --enable-64bit) \
|
||||
--enable-64bit \
|
||||
--disable-silent-rules
|
||||
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
cd nspr
|
||||
make DESTDIR=%{buildroot} install
|
||||
%make_install
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
|
@ -58,33 +57,48 @@ make DESTDIR=%{buildroot} install
|
|||
%{_datarootdir}/aclocal/*
|
||||
|
||||
%changelog
|
||||
* Tue Jun 14 2022 Olivia Crain <oliviacrain@microsoft.com> - 4.30-2
|
||||
- Add explicit build requirements
|
||||
- Lint spec
|
||||
|
||||
* Wed Feb 23 2022 Max Brodeur-Urbas <maxbr@microsoft.com> - 4.30-1
|
||||
- Upgrading to v4.30 for nss
|
||||
|
||||
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> - 4.21-2
|
||||
- Added %%license line automatically
|
||||
|
||||
* Tue Mar 17 2020 Andrew Phelps <anphel@microsoft.com> 4.21-1
|
||||
- Update version to 4.21. License verified.
|
||||
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 4.20-2
|
||||
- Initial CBL-Mariner import from Photon (license: Apache2).
|
||||
* Mon Sep 10 2018 Him Kalyan Bordoloi <bordoloih@vmware.com> 4.20-1
|
||||
- Upgrade to 4.20.
|
||||
* Tue Jun 20 2017 Xiaolin Li <xiaolinl@vmware.com> 4.15-1
|
||||
- Upgrade to 4.15.
|
||||
* Fri May 05 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 4.14-2
|
||||
- Fix error - binary packed in devel.
|
||||
* Sat Apr 15 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 4.14-1
|
||||
- Update to 4.14
|
||||
* Fri Apr 14 2017 Alexey Makhalov <amakhalov@vmware.com> 4.12-3
|
||||
- Added -devel subpackage
|
||||
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 4.12-2
|
||||
- GA - Bump release of all rpms
|
||||
* Thu Feb 25 2016 Kumar Kaushik <kaushikk@vmware.com> 4.12-1
|
||||
- Updated to version 4.12
|
||||
* Thu Jan 21 2016 Xiaolin Li <xiaolinl@vmware.com> 4.11-1
|
||||
- Updated to version 4.11
|
||||
* Fri May 29 2015 Alexey Makhalov <amakhalov@vmware.com> 4.10.8-1
|
||||
- Version update. Firefox requirement.
|
||||
* Wed Nov 5 2014 Divya Thaluru <dthaluru@vmware.com> 4.10.3-1
|
||||
- Initial build. First version
|
||||
* Tue Mar 17 2020 Andrew Phelps <anphel@microsoft.com> - 4.21-1
|
||||
- Update version to 4.21. License verified.
|
||||
|
||||
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> - 4.20-2
|
||||
- Initial CBL-Mariner import from Photon (license: Apache2).
|
||||
|
||||
* Mon Sep 10 2018 Him Kalyan Bordoloi <bordoloih@vmware.com> - 4.20-1
|
||||
- Upgrade to 4.20.
|
||||
|
||||
* Tue Jun 20 2017 Xiaolin Li <xiaolinl@vmware.com> - 4.15-1
|
||||
- Upgrade to 4.15.
|
||||
|
||||
* Fri May 05 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> - 4.14-2
|
||||
- Fix error - binary packed in devel.
|
||||
|
||||
* Sat Apr 15 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> - 4.14-1
|
||||
- Update to 4.14
|
||||
|
||||
* Fri Apr 14 2017 Alexey Makhalov <amakhalov@vmware.com> - 4.12-3
|
||||
- Added -devel subpackage
|
||||
|
||||
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> - 4.12-2
|
||||
- GA - Bump release of all rpms
|
||||
|
||||
* Thu Feb 25 2016 Kumar Kaushik <kaushikk@vmware.com> - 4.12-1
|
||||
- Updated to version 4.12
|
||||
|
||||
* Thu Jan 21 2016 Xiaolin Li <xiaolinl@vmware.com> - 4.11-1
|
||||
- Updated to version 4.11
|
||||
|
||||
* Fri May 29 2015 Alexey Makhalov <amakhalov@vmware.com> - 4.10.8-1
|
||||
- Version update. Firefox requirement.
|
||||
|
||||
* Wed Nov 5 2014 Divya Thaluru <dthaluru@vmware.com> - 4.10.3-1
|
||||
- Initial build. First version
|
||||
|
|
|
@ -82,8 +82,6 @@ bison-3.7.6-1.cm2.aarch64.rpm
|
|||
popt-1.18-1.cm2.aarch64.rpm
|
||||
popt-devel-1.18-1.cm2.aarch64.rpm
|
||||
popt-lang-1.18-1.cm2.aarch64.rpm
|
||||
nspr-4.30-1.cm2.aarch64.rpm
|
||||
nspr-devel-4.30-1.cm2.aarch64.rpm
|
||||
sqlite-3.36.0-3.cm2.aarch64.rpm
|
||||
sqlite-devel-3.36.0-3.cm2.aarch64.rpm
|
||||
sqlite-libs-3.36.0-3.cm2.aarch64.rpm
|
||||
|
|
|
@ -82,8 +82,6 @@ bison-3.7.6-1.cm2.x86_64.rpm
|
|||
popt-1.18-1.cm2.x86_64.rpm
|
||||
popt-devel-1.18-1.cm2.x86_64.rpm
|
||||
popt-lang-1.18-1.cm2.x86_64.rpm
|
||||
nspr-4.30-1.cm2.x86_64.rpm
|
||||
nspr-devel-4.30-1.cm2.x86_64.rpm
|
||||
sqlite-3.36.0-3.cm2.x86_64.rpm
|
||||
sqlite-devel-3.36.0-3.cm2.x86_64.rpm
|
||||
sqlite-libs-3.36.0-3.cm2.x86_64.rpm
|
||||
|
|
|
@ -255,9 +255,6 @@ ninja-build-debuginfo-1.10.2-2.cm2.aarch64.rpm
|
|||
npth-1.6-4.cm2.aarch64.rpm
|
||||
npth-debuginfo-1.6-4.cm2.aarch64.rpm
|
||||
npth-devel-1.6-4.cm2.aarch64.rpm
|
||||
nspr-4.30-1.cm2.aarch64.rpm
|
||||
nspr-debuginfo-4.30-1.cm2.aarch64.rpm
|
||||
nspr-devel-4.30-1.cm2.aarch64.rpm
|
||||
ntsysv-1.20-3.cm2.aarch64.rpm
|
||||
openssl-1.1.1k-15.cm2.aarch64.rpm
|
||||
openssl-debuginfo-1.1.1k-15.cm2.aarch64.rpm
|
||||
|
|
|
@ -255,9 +255,6 @@ ninja-build-debuginfo-1.10.2-2.cm2.x86_64.rpm
|
|||
npth-1.6-4.cm2.x86_64.rpm
|
||||
npth-debuginfo-1.6-4.cm2.x86_64.rpm
|
||||
npth-devel-1.6-4.cm2.x86_64.rpm
|
||||
nspr-4.30-1.cm2.x86_64.rpm
|
||||
nspr-debuginfo-4.30-1.cm2.x86_64.rpm
|
||||
nspr-devel-4.30-1.cm2.x86_64.rpm
|
||||
ntsysv-1.20-3.cm2.x86_64.rpm
|
||||
openssl-1.1.1k-15.cm2.x86_64.rpm
|
||||
openssl-debuginfo-1.1.1k-15.cm2.x86_64.rpm
|
||||
|
|
|
@ -245,7 +245,6 @@ generate_pkggen_core () {
|
|||
grep "^flex-" $TmpPkgGen
|
||||
grep "^bison-" $TmpPkgGen
|
||||
grep "^popt-" $TmpPkgGen
|
||||
grep "^nspr-" $TmpPkgGen
|
||||
grep "^sqlite-" $TmpPkgGen
|
||||
grep "^elfutils-" $TmpPkgGen
|
||||
grep "^expat-" $TmpPkgGen
|
||||
|
|
|
@ -234,7 +234,6 @@ build_rpm_in_chroot_no_install gdbm
|
|||
build_rpm_in_chroot_no_install coreutils
|
||||
build_rpm_in_chroot_no_install gettext
|
||||
build_rpm_in_chroot_no_install sqlite
|
||||
build_rpm_in_chroot_no_install nspr
|
||||
build_rpm_in_chroot_no_install expat
|
||||
build_rpm_in_chroot_no_install libffi
|
||||
build_rpm_in_chroot_no_install xz
|
||||
|
|
|
@ -55,7 +55,6 @@ https://ftp.gnu.org/gnu/gzip/gzip-1.11.tar.xz
|
|||
https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.60.tar.xz
|
||||
http://download.savannah.gnu.org/releases/libpipeline/libpipeline-1.5.0.tar.gz
|
||||
https://download.savannah.gnu.org/releases/man-db/man-db-2.10.1.tar.xz
|
||||
https://archive.mozilla.org/pub/nspr/releases/v4.21/src/nspr-4.21.tar.gz
|
||||
https://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-Warnings-0.028.tar.gz
|
||||
https://cpan.metacpan.org/authors/id/M/MS/MSCHOUT/Text-Template-1.51.tar.gz
|
||||
https://www.openssl.org/source/openssl-1.1.1k.tar.gz
|
||||
|
|
|
@ -41,7 +41,6 @@ c2faa85e625cd7567dc1dec9f23d1af1f73e2ca6468bce1bdc13387ec56f97e8 man-pages-5.02
|
|||
17503d2c395dfcf106b622dc142683c1199431d095367c6aacba6eec30340459 mpc-1.2.1.tar.gz
|
||||
0c98a3f1732ff6ca4ea690552079da9c597872d30e96ec28414ee23c95558a7f mpfr-4.1.0.tar.xz
|
||||
30306e0c76e0f9f1f0de987cf1c82a5c21e1ce6568b9227f7da5b71cbea86c9d ncurses-6.2.tar.gz
|
||||
15ea32c7b100217b6e3193bc03e77f485d9bf7504051443ba9ce86d1c17c6b5a nspr-4.21.tar.gz
|
||||
892a0875b9872acd04a9fde79b1f943075d5ea162415de3047c327df33fbaee5 openssl-1.1.1k.tar.gz
|
||||
ac610bda97abe0d9f6b7c963255a11dcb196c25e337c61f94e4778d632f1d8fd patch-2.7.6.tar.xz
|
||||
6f436b447cf56d22464f980fac1916e707a040e96d52172984c5d184c09b859b perl-5.32.0.tar.xz
|
||||
|
|
|
@ -1011,22 +1011,6 @@ popd
|
|||
rm -rf sqlite-autoconf-3360000
|
||||
touch /logs/status_sqlite-autoconf_complete
|
||||
|
||||
echo nspr-4.21
|
||||
tar xf nspr-4.21.tar.gz
|
||||
pushd nspr-4.21
|
||||
cd nspr
|
||||
sed -ri 's#^(RELEASE_BINS =).*#\1#' pr/src/misc/Makefile.in
|
||||
sed -i 's#$(LIBRARY) ##' config/rules.mk
|
||||
./configure --prefix=/usr \
|
||||
--with-mozilla \
|
||||
--with-pthreads \
|
||||
--enable-64bit
|
||||
make -j$(nproc)
|
||||
make install
|
||||
popd
|
||||
rm -rf nspr-4.21
|
||||
touch /logs/status_nspr_complete
|
||||
|
||||
echo popt-1.18
|
||||
tar xf popt-1.18.tar.gz
|
||||
pushd popt-1.18
|
||||
|
|
Загрузка…
Ссылка в новой задаче