116 строки
3.2 KiB
Plaintext
116 строки
3.2 KiB
Plaintext
%define aprver 1
|
|
Summary: The Apache Portable Runtime
|
|
Name: apr
|
|
Version: 1.7.2
|
|
Release: 2%{?dist}
|
|
License: ASL 2.0
|
|
Vendor: Microsoft Corporation
|
|
Distribution: Mariner
|
|
Group: System Environment/Libraries
|
|
URL: https://apr.apache.org/
|
|
Source0: https://dlcdn.apache.org/%{name}/%{name}-%{version}.tar.gz
|
|
%if %{with_check}
|
|
# test_serv_by_name test requires /etc/services file from iana-etc package
|
|
BuildRequires: iana-etc
|
|
%endif
|
|
|
|
%description
|
|
The Apache Portable Runtime.
|
|
|
|
%package devel
|
|
Summary: Header and development files
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description devel
|
|
It contains the libraries and header files to create applications
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
./configure --prefix=%{_prefix} \
|
|
--includedir=%{_includedir}/apr-%{aprver} \
|
|
--with-installbuilddir=%{_libdir}/apr/build-%{aprver} \
|
|
--with-devrandom=/dev/urandom \
|
|
CC=gcc CXX=g++
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make DESTDIR=%{buildroot} install
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
%check
|
|
# Running single-threaded by design. Tests tend to randomly crash otherwise.
|
|
make -j1 check
|
|
|
|
%post
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%license LICENSE
|
|
%{_libdir}/*
|
|
%exclude %{_libdir}/debug
|
|
%exclude %{_libdir}/*.a
|
|
%exclude %{_libdir}/*.so
|
|
%exclude %{_libdir}/pkgconfig
|
|
%{_bindir}/*
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/*
|
|
%{_libdir}/*.a
|
|
%{_libdir}/*.so
|
|
%{_libdir}/pkgconfig
|
|
|
|
%changelog
|
|
* Wed Sep 20 2023 Jon Slobodzian <joslobo@microsoft.com> - 1.7.2-2
|
|
- Recompile with stack-protection fixed gcc version (CVE-2023-4039)
|
|
|
|
* Tue Feb 14 2023 Suresh Thelkar <sthelkar@microsoft.com> - 1.7.2-1
|
|
- Upgrade to version 1.7.2 to fix CVE-2022-24963
|
|
|
|
* Tue Jan 04 2022 Nicolas Guibourge <nicolasg@microsoft.com> - 1.7.0-1
|
|
- Upgrade to version 1.7.0.
|
|
|
|
* Thu Oct 28 2021 Pawel Winogrodzki <pawel.winogrodzki@microsoft.com> - 1.6.5-6
|
|
- Fixing tests further by making them run on a single thread.
|
|
- Removed `%%sha1` macro.
|
|
- License verified.
|
|
|
|
* Fri Sep 10 2021 Thomas Crain <thcrain@microsoft.com> - 1.6.5-5
|
|
- Remove libtool archive files from final packaging
|
|
|
|
* Mon Dec 07 2020 Andrew Phelps <anphel@microsoft.com> - 1.6.5-4
|
|
- Fix check tests.
|
|
|
|
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> - 1.6.5-3
|
|
- Added %%license line automatically
|
|
|
|
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> - 1.6.5-2
|
|
- Initial CBL-Mariner import from Photon (license: Apache2).
|
|
|
|
* Tue Sep 18 2018 Ankit Jain <ankitja@vmware.com> - 1.6.5-1
|
|
- Updated to version 1.6.5
|
|
|
|
* Fri Dec 08 2017 Xiaolin Li <xiaolinl@vmware.com> - 1.5.2-7
|
|
- Fix CVE-2017-12613
|
|
|
|
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> - 1.5.2-6
|
|
- GA - Bump release of all rpms
|
|
|
|
* Mon Sep 21 2015 Harish Udaiya Kumar<hudaiyakumar@vmware.com> - 1.5.2-5
|
|
- Repacked to move the include files in devel package.
|
|
|
|
* Wed Jul 15 2015 Sarah Choi <sarahc@vmware.com> - 1.5.2-4
|
|
- Use aprver(=1) instead of version for mesos
|
|
|
|
* Mon Jul 13 2015 Alexey Makhalov <amakhalov@vmware.com> - 1.5.2-3
|
|
- Exclude /usr/lib/debug
|
|
|
|
* Wed Jul 01 2015 Touseef Liaqat <tliaqat@vmware.com> - 1.5.2-2
|
|
- Fix tags and paths.
|
|
|
|
* Wed May 20 2015 Touseef Liaqat <tliaqat@vmware.com> - 1.5.2-1
|
|
- Initial build. First version
|