clang, lldb, llvm: upgrade to v15.0.1
Other changes: bcc: upgrade to v0.25.0 bpftrace: upgrade to v0.16.0 libbpf: upgrade to v1.0.0 mesa: upgrade to 22.2.0 powershell: upgrade to v7.3.0-preview.8 dotnet-runtime: 7.0.100-rc1 dotnet-sdk: 7.0.0-rc1 New additions: glslang: needed by mesa cereal: needed by bpftrace And corresponding version bumps. Change-Id: I8f407c1c201267746cf37a5ea05c3385306e0c15 Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com> Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/17996 Tested-by: gerrit-photon <photon-checkins@vmware.com> Reviewed-by: Vamsi Krishna Brahmajosyula <vbrahmajosyula@vmware.com>
This commit is contained in:
parent
4195d55095
commit
8f4f0811ad
|
@ -2,26 +2,22 @@
|
|||
|
||||
Name: bcc
|
||||
Summary: BPF Compiler Collection (BCC)
|
||||
Version: 0.19.0
|
||||
Release: 2%{?dist}
|
||||
Version: 0.25.0
|
||||
Release: 1%{?dist}
|
||||
License: ASL 2.0
|
||||
Vendor: VMware, Inc.
|
||||
Distribution: Photon
|
||||
Group: Development/Languages
|
||||
URL: https://github.com/iovisor/bcc
|
||||
|
||||
Source0: https://github.com/iovisor/bcc/archive/%{name}-%{version}.tar.gz
|
||||
%define sha512 %{name}=b6180462a45c768f219e026d8a4b43424b7cad4e07db8101725bd2bc31ee4de117774c0ad8d157502c97c1187057b45c7a491e7198ac2c59e6d56e58797f4df3
|
||||
Source0: https://github.com/iovisor/bcc/archive/%{name}-%{version}.tar.gz
|
||||
%define sha512 %{name}=9f71f6c21d1f66054985562168d5848352f5029383e9c65c907a6f044258bc23df842cc65db20bfaaf33789e69c9b8e7b606a32dc882cbdf093b71768c8b521d
|
||||
|
||||
#https://github.com/iovisor/bcc/releases/download/v%{version}/bcc-src-with-submodule.tar.gz
|
||||
Source1: bcc-src-with-submodule-%{version}.tar.gz
|
||||
%define sha512 bcc-src-with-submodule=66a1ac0199e3e0405a795d0e4f0d7895a9df38260ac0d77e857a69c81457ff9976e1eb285fe49818a8e21461abd748c66837ce49cc9d3e0952278db92c611fb5
|
||||
Source1: https://github.com/iovisor/bcc/releases/download/v%{version}/bcc-src-with-submodule-%{version}.tar.gz
|
||||
%define sha512 %{name}-src-with-submodule=842e0957dd3a7cbb60e8aba497ae0841bfa564306ba27effca5348466dae6735557dc0a871d63a2519e3bba105632bcb279af7cfacf378dff9de2638484dac63
|
||||
|
||||
BuildRequires: bison
|
||||
BuildRequires: cmake
|
||||
BuildRequires: flex
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
BuildRequires: build-essential
|
||||
BuildRequires: libstdc++
|
||||
BuildRequires: elfutils-libelf
|
||||
BuildRequires: elfutils-libelf-devel-static
|
||||
|
@ -30,6 +26,9 @@ BuildRequires: llvm-devel
|
|||
BuildRequires: clang-devel
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: curl-devel
|
||||
|
||||
Requires: curl-libs
|
||||
|
||||
%description
|
||||
BCC is a toolkit for creating efficient kernel tracing and manipulation programs,
|
||||
|
@ -45,16 +44,16 @@ Requires: %{name} = %{version}-%{release}
|
|||
%{name}-devel contains shared libraries and header files for
|
||||
developing application.
|
||||
|
||||
%package -n python3-bcc
|
||||
%package -n python3-%{name}
|
||||
Summary: Python3 bindings for BPF Compiler Collection (BCC)
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description -n python3-bcc
|
||||
%description -n python3-%{name}
|
||||
Python bindings for BPF Compiler Collection (BCC)
|
||||
|
||||
%package examples
|
||||
Summary: Examples for BPF Compiler Collection (BCC)
|
||||
Requires: python3-bcc = %{version}-%{release}
|
||||
Requires: python3-%{name} = %{version}-%{release}
|
||||
|
||||
%description examples
|
||||
Examples for BPF Compiler Collection (BCC)
|
||||
|
@ -70,9 +69,9 @@ Command line tools for BPF Compiler Collection (BCC)
|
|||
# Using autosetup is not feasible
|
||||
%setup -q -n %{name}-%{version}
|
||||
# Using autosetup is not feasible
|
||||
%setup -D -c -T -a 1 -n %{name}-%{version}
|
||||
cp -rf bcc/* .
|
||||
rm -r bcc
|
||||
%setup -D -c -T -a1 -n %{name}-%{version}
|
||||
cp -rf %{name}/* .
|
||||
rm -r %{name}
|
||||
|
||||
%build
|
||||
%cmake -DREVISION_LAST=%{version} \
|
||||
|
@ -87,41 +86,48 @@ rm -r bcc
|
|||
%install
|
||||
%cmake_install
|
||||
# mangle shebangs
|
||||
find %{buildroot}%{_datadir}/bcc/{tools,examples} -type f -exec \
|
||||
find %{buildroot}%{_datadir}/%{name}/{tools,examples} -type f -exec \
|
||||
sed -i -e '1 s|^#!/usr/bin/python$|#!'%{python3}'|' \
|
||||
-e '1 s|^#!/usr/bin/env python$|#!'%{python3}'|' {} \;
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%clean
|
||||
rm -rf %{buildroot}/*
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README.md
|
||||
%license LICENSE.txt
|
||||
%{_libdir}/lib%{name}.so.*
|
||||
%{_libdir}/libbcc_bpf.so.*
|
||||
%{_libdir}/lib%{name}_bpf.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/lib%{name}.so
|
||||
%{_libdir}/libbcc_bpf.so
|
||||
%{_libdir}/lib%{name}_bpf.so
|
||||
%{_libdir}/*.a
|
||||
%{_libdir}/pkgconfig/lib%{name}.pc
|
||||
%{_includedir}/%{name}/
|
||||
|
||||
%files -n python3-bcc
|
||||
%files -n python3-%{name}
|
||||
%defattr(-,root,root)
|
||||
%{python3_sitelib}/%{name}*
|
||||
|
||||
%files examples
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/%{name}/examples/*
|
||||
|
||||
%files tools
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/%{name}/introspection/*
|
||||
%{_datadir}/%{name}/tools/*
|
||||
%{_datadir}/%{name}/man/*
|
||||
|
||||
%changelog
|
||||
* Tue Sep 27 2022 Shreenidhi Shedi <sshedi@vmware.com> 0.25.0-1
|
||||
- Upgrade to v0.25.1
|
||||
* Mon Jun 20 2022 Shreenidhi Shedi <sshedi@vmware.com> 0.19.0-2
|
||||
- Use cmake macros for build and install
|
||||
* Mon Apr 12 2021 Gerrit Photon <photon-checkins@vmware.com> 0.19.0-1
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
Name: bpftrace
|
||||
Version: 0.12.1
|
||||
Release: 2%{?dist}
|
||||
Version: 0.16.0
|
||||
Release: 1%{?dist}
|
||||
Summary: High-level tracing language for Linux eBPF
|
||||
License: ASL 2.0
|
||||
Vendor: VMware, Inc.
|
||||
|
@ -8,8 +8,8 @@ Distribution: Photon
|
|||
Group: System Environment/Security
|
||||
URL: https://github.com/iovisor/bpftrace
|
||||
|
||||
Source0: https://github.com/iovisor/bpftrace/archive/%{name}-%{version}.tar.gz
|
||||
%define sha512 %{name}=a578499668bd2eb7342689b6c0ef3db6ca263a971d8e6f1b9a68c502c27170d24ede212a0fc2a72263e72aff58924f488a5c80d447397503a08512dc47b63345
|
||||
Source0: https://github.com/iovisor/bpftrace/archive/%{name}-%{version}.tar.gz
|
||||
%define sha512 %{name}=52ca4fea4e2f8d2cbf0f9f1bc69af0ee3408201f019006dd2e838b9458cfc01761eba3df24c39e05cf93220d85d0cecc69bb44ec72f9f44cec0eb94479bff734
|
||||
|
||||
BuildRequires: bison
|
||||
BuildRequires: flex
|
||||
|
@ -21,6 +21,8 @@ BuildRequires: clang-devel
|
|||
BuildRequires: bcc-devel >= 0.11.0-2
|
||||
BuildRequires: libbpf-devel
|
||||
BuildRequires: binutils-devel
|
||||
BuildRequires: cereal-devel
|
||||
BuildRequires: curl-devel
|
||||
|
||||
Requires: bcc
|
||||
Requires: bcc-tools
|
||||
|
@ -42,13 +44,13 @@ and predecessor tracers such as DTrace and SystemTap
|
|||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%cmake . \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DBUILD_TESTING:BOOL=OFF \
|
||||
-DBUILD_SHARED_LIBS:BOOL=OFF \
|
||||
-DENABLE_TESTS:BOOL=OFF \
|
||||
-DBUILD_DEPS=OFF \
|
||||
-DCMAKE_INSTALL_LIBDIR=%{_libdir}
|
||||
%cmake \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DBUILD_TESTING:BOOL=OFF \
|
||||
-DBUILD_SHARED_LIBS:BOOL=OFF \
|
||||
-DENABLE_TESTS:BOOL=OFF \
|
||||
-DBUILD_DEPS=OFF \
|
||||
-DCMAKE_INSTALL_LIBDIR=%{_libdir}
|
||||
|
||||
%cmake_build
|
||||
|
||||
|
@ -58,7 +60,11 @@ and predecessor tracers such as DTrace and SystemTap
|
|||
find %{buildroot}%{_datadir}/%{name}/tools -type f -exec \
|
||||
sed -i -e '1s=^#!/usr/bin/env %{name}\([0-9.]\+\)\?$=#!%{_bindir}/%{name}=' {} \;
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}/*
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README.md CONTRIBUTING-TOOLS.md
|
||||
%doc docs/reference_guide.md docs/tutorial_one_liners.md
|
||||
%license LICENSE
|
||||
|
@ -66,11 +72,15 @@ find %{buildroot}%{_datadir}/%{name}/tools -type f -exec \
|
|||
%dir %{_datadir}/%{name}/tools
|
||||
%dir %{_datadir}/%{name}/tools/doc
|
||||
%{_bindir}/%{name}
|
||||
%{_bindir}/%{name}-aotrt
|
||||
%{_mandir}/man8/*
|
||||
%attr(0755,-,-) %{_datadir}/%{name}/tools/*.bt
|
||||
%attr(0755,-,-) %{_datadir}/%{name}/tools/old/*.bt
|
||||
%{_datadir}/%{name}/tools/doc/*.txt
|
||||
|
||||
%changelog
|
||||
* Tue Sep 27 2022 Shreenidhi Shedi <sshedi@vmware.com> 0.16.0-1
|
||||
- Upgrade to v0.16.0
|
||||
* Fri Jun 17 2022 Shreenidhi Shedi <sshedi@vmware.com> 0.12.1-2
|
||||
- Fix build with latest cmake
|
||||
* Thu Apr 29 2021 Gerrit Photon <photon-checkins@vmware.com> 0.12.1-1
|
||||
|
|
|
@ -0,0 +1,71 @@
|
|||
%global debug_package %{nil}
|
||||
|
||||
Name: cereal
|
||||
Version: 1.3.2
|
||||
Release: 1%{?dist}
|
||||
Summary: A header-only C++11 serialization library
|
||||
License: BSD
|
||||
Url: http://uscilab.github.io/cereal
|
||||
Group: Development/Tools
|
||||
Vendor: VMware, Inc.
|
||||
Distribution: Photon
|
||||
|
||||
Source0: https://github.com/USCiLab/cereal/archive/refs/tags/%{name}-%{version}.tar.gz
|
||||
%define sha512 %{name}=98d306d6292789129675f1c5c5aedcb90cfcc1029c4482893a8f9b23f3c9755e5ed4762d7a528f215345cae6392e87cd8d89467115b6f031b41c8673d6b4b109
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: cmake >= 3.0
|
||||
|
||||
Requires: boost
|
||||
|
||||
%description
|
||||
cereal is a header-only C++11 serialization library. cereal takes arbitrary
|
||||
data types and reversibly turns them into different representations, such as
|
||||
compact binary encodings, XML, or JSON. cereal was designed to be fast,
|
||||
light-weight, and easy to extend - it has no external dependencies and can be
|
||||
easily bundled with other code or used standalone.
|
||||
|
||||
%package devel
|
||||
Summary: Development headers and libraries for %{name}
|
||||
Provides: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
cereal is a header-only C++11 serialization library. cereal takes arbitrary
|
||||
data types and reversibly turns them into different representations, such as
|
||||
compact binary encodings, XML, or JSON. cereal was designed to be fast,
|
||||
light-weight, and easy to extend - it has no external dependencies and can be
|
||||
easily bundled with other code or used standalone.
|
||||
|
||||
This package contains development headers and libraries for the cereal library
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%cmake \
|
||||
-DSKIP_PORTABILITY_TEST=ON \
|
||||
-DWITH_WERROR=OFF \
|
||||
-DCMAKE_INSTALL_LIBDIR=%{_libdir} \
|
||||
-DCMAKE_BUILD_TYPE=Debug
|
||||
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
%if 0%{?with_check}
|
||||
%check
|
||||
%ctest --output-on-failure %{?testargs}
|
||||
%endif
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{_includedir}/%{name}
|
||||
%{_libdir}/cmake/%{name}
|
||||
|
||||
%changelog
|
||||
* Wed Sep 28 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.3.2-1
|
||||
- First build, needed for bpftrace.
|
|
@ -1,15 +1,17 @@
|
|||
%global debug_package %{nil}
|
||||
|
||||
Summary: C, C++, Objective C and Objective C++ front-end for the LLVM compiler.
|
||||
Name: clang
|
||||
Version: 12.0.0
|
||||
Release: 4%{?dist}
|
||||
Version: 15.0.1
|
||||
Release: 1%{?dist}
|
||||
License: NCSA
|
||||
URL: http://clang.llvm.org
|
||||
Group: Development/Tools
|
||||
Vendor: VMware, Inc.
|
||||
Distribution: Photon
|
||||
|
||||
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/%{name}-%{version}.src.tar.xz
|
||||
%define sha512 %{name}=f5613b9bffc962467d3bedb7f66b4e057e2781eb63c5dadfd3cf0b02453e29eff0a4f844889031292f06a8b4c081d4d41c515b7f719826ce5c4209a09df9f1f6
|
||||
Source0: https://github.com/llvm/llvm-project/releases/tag/%{name}-%{version}.src.tar.xz
|
||||
%define sha512 %{name}=5e5cb8c82ad09df2fec8de4de391d5c6d85c88ce4f94ef2c5cee6cd54e3bde3071402d335cf7f5676a5cf9766af4978df7ef44673b414532b43a53a9f0e23d3d
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: llvm-devel = %{version}
|
||||
|
@ -44,7 +46,7 @@ The clang-devel package contains libraries, header files and documentation for d
|
|||
%cmake -G Ninja \
|
||||
-DLLVM_PARALLEL_LINK_JOBS=1 \
|
||||
-DCMAKE_INSTALL_PREFIX=%{_usr} \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DLLVM_MAIN_INCLUDE_DIR=%{_includedir} \
|
||||
-DBUILD_SHARED_LIBS=OFF \
|
||||
-Wno-dev
|
||||
|
@ -54,6 +56,9 @@ The clang-devel package contains libraries, header files and documentation for d
|
|||
%install
|
||||
%cmake_install
|
||||
|
||||
mkdir -p %{buildroot}%{python3_sitelib}
|
||||
mv %{buildroot}%{_libdir}/{libear,libscanbuild} %{buildroot}%{python3_sitelib}
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
|
@ -80,8 +85,12 @@ rm -rf %{buildroot}/*
|
|||
%{_libdir}/cmake/*
|
||||
%{_libdir}/clang/*
|
||||
%{_includedir}/*
|
||||
%{python3_sitelib}/libear
|
||||
%{python3_sitelib}/libscanbuild
|
||||
|
||||
%changelog
|
||||
* Tue Sep 27 2022 Shreenidhi Shedi <sshedi@vmware.com> 15.0.1-1
|
||||
- Upgrade to v15.0.1
|
||||
* Thu Jul 14 2022 Shreenidhi Shedi <sshedi@vmware.com> 12.0.0-4
|
||||
- Further fixes to cmake macro usages
|
||||
* Mon Jun 20 2022 Shreenidhi Shedi <sshedi@vmware.com> 12.0.0-3
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
Summary: Microsoft .NET Core Runtime
|
||||
Name: dotnet-runtime
|
||||
Version: 6.0.0
|
||||
Release: 3%{?dist}
|
||||
Version: 7.0.0
|
||||
Release: rc1%{?dist}
|
||||
Vendor: VMware, Inc.
|
||||
Distribution: Photon
|
||||
License: MIT
|
||||
|
@ -16,8 +16,8 @@ Group: Development/Tools
|
|||
# For example:
|
||||
# https://github.com/dotnet/core/blob/main/release-notes/6.0/6.0.0/6.0.0.md
|
||||
# https://download.visualstudio.microsoft.com/download/pr/0ce1c34f-0d9e-4d9b-964e-da676c8e605a/7a6c353b36477fa84f85b2821f2350c2/dotnet-runtime-6.0.0-linux-x64.tar.gz
|
||||
Source0: %{name}-%{version}-linux-x64.tar.gz
|
||||
%define sha512 %{name}=7cc8d93f9495b516e1b33bf82af3af605f1300bcfeabdd065d448cc126bd97ab4da5ec5e95b7775ee70ab4baf899ff43671f5c6f647523fb41cda3d96f334ae5
|
||||
Source0: %{name}-%{version}-rc1-linux-x64.tar.gz
|
||||
%define sha512 %{name}=62145fdaf182581cec5ba6bbafd66e3bb2df28379311f13e6849371a88cc2f428db3663f96ad006bbf4411eba609d486036d3b2aa1e3d86eee53216aec543fc1
|
||||
|
||||
BuildArch: x86_64
|
||||
|
||||
|
@ -56,6 +56,8 @@ ln -sf %{_libdir}/dotnet/dotnet %{buildroot}%{_bindir}/dotnet
|
|||
%{_libdir}/*
|
||||
|
||||
%changelog
|
||||
* Wed Oct 05 2022 Shreenidhi Shedi <sshedi@vmware.com> 7.0.0-rc1
|
||||
- Upgrade to v7.0.0-rc1
|
||||
* Thu Sep 29 2022 Shreenidhi Shedi <sshedi@vmware.com> 6.0.0-3
|
||||
- Bump version after lttng-ust upgrade
|
||||
* Tue Mar 01 2022 Shreenidhi Shedi <sshedi@vmware.com> 6.0.0-2
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
Summary: Microsoft .NET Core SDK
|
||||
Name: dotnet-sdk
|
||||
Version: 6.0.100
|
||||
Release: 2%{?dist}
|
||||
Version: 7.0.100
|
||||
Release: rc1%{?dist}
|
||||
Vendor: VMware, Inc.
|
||||
Distribution: Photon
|
||||
License: MIT
|
||||
|
@ -16,12 +16,12 @@ Group: Development/Tools
|
|||
# For example:
|
||||
# https://github.com/dotnet/core/blob/main/release-notes/6.0/6.0.0/6.0.0.md
|
||||
# https://download.visualstudio.microsoft.com/download/pr/17b6759f-1af0-41bc-ab12-209ba0377779/e8d02195dbf1434b940e0f05ae086453/dotnet-sdk-6.0.100-linux-x64.tar.gz
|
||||
Source0: %{name}-%{version}-linux-x64.tar.gz
|
||||
%define sha1 %{name}=eabf5a5f5b03881e9ddbc2a692288000343622b7
|
||||
Source0: %{name}-%{version}-rc1-linux-x64.tar.gz
|
||||
%define sha512 %{name}=7ecebf284bd1546e1575b9561f4e64bbb8d69680a7bbda6f06ff6fbf687d3a6c653b0e6a6c569241455c6f83620f0ddbe193ca5cd52384ac062c8565dd22b859
|
||||
|
||||
BuildArch: x86_64
|
||||
|
||||
Requires: dotnet-runtime
|
||||
Requires: dotnet-runtime >= 7.0.0
|
||||
Requires: icu >= 70.1
|
||||
|
||||
%description
|
||||
|
@ -29,13 +29,14 @@ Requires: icu >= 70.1
|
|||
applications, microservices and modern websites.
|
||||
|
||||
%prep
|
||||
%autosetup -c dotnet-sdk-%{version} -p1
|
||||
%autosetup -c %{name}-%{version} -p1
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
ver="7.0.100-rc.1.22431.12"
|
||||
mkdir -p %{buildroot}%{_libdir}/dotnet/sdk %{buildroot}%{_docdir}/%{name}-%{version}
|
||||
cp -r sdk/%{version} %{buildroot}%{_libdir}/dotnet/sdk
|
||||
cp -r sdk/${ver} %{buildroot}%{_libdir}/dotnet/sdk
|
||||
cp LICENSE.txt ThirdPartyNotices.txt %{buildroot}%{_docdir}/dotnet-sdk-%{version}
|
||||
|
||||
%files
|
||||
|
@ -44,6 +45,8 @@ cp LICENSE.txt ThirdPartyNotices.txt %{buildroot}%{_docdir}/dotnet-sdk-%{version
|
|||
%{_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Wed Oct 05 2022 Shreenidhi Shedi <sshedi@vmware.com> 7.0.100-rc1
|
||||
- Upgrade to v7.0.100-rc1
|
||||
* Tue Dec 07 2021 Alexey Makhalov <amakhalov@vmware.com> 6.0.100-2
|
||||
- Release bump to build with icu-70.1
|
||||
* Mon Nov 15 2021 Satya Naga Vasamsetty <svasamsetty@vmware.com> 6.0.100-1
|
||||
|
|
|
@ -0,0 +1,62 @@
|
|||
Name: glslang
|
||||
Version: 11.11.0
|
||||
Release: 1%{?dist}
|
||||
Summary: OpenGL and OpenGL ES shader front end and validator
|
||||
License: BSD and GPLv3+ and ASL 2.0
|
||||
URL: https://github.com/KhronosGroup/glslang
|
||||
Group: Development/Tools
|
||||
Vendor: VMware, Inc.
|
||||
Distribution: Photon
|
||||
|
||||
Source0: https://github.com/KhronosGroup/glslang/archive/refs/tags/%{name}-%{version}.tar.gz
|
||||
%define sha512 %{name}=c018271d499efff03540e4572a9c2f1f752c81c87efe7f2e63c2631ac47cecfedffdcfee68eddaf9187603eaae8ccd9a3e5640a022ba9fd7d05950f7827bf8cd
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc
|
||||
BuildRequires: ninja-build
|
||||
BuildRequires: python3-devel
|
||||
|
||||
%description
|
||||
%{name} is the official reference compiler front end for the OpenGL
|
||||
ES and OpenGL shading languages. It implements a strict
|
||||
interpretation of the specifications for these languages.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
%{name} is the official reference compiler front end for the OpenGL
|
||||
ES and OpenGL shading languages. It implements a strict
|
||||
interpretation of the specifications for these languages.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%cmake \
|
||||
-DBUILD_SHARED_LIBS=OFF \
|
||||
-DCMAKE_INSTALL_LIBDIR=%{_libdir} \
|
||||
-DCMAKE_BUILD_TYPE=Debug
|
||||
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README.md README-spirv-remap.txt
|
||||
%{_bindir}/%{name}Validator
|
||||
%{_bindir}/spirv-remap
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/%{name}/
|
||||
%{_datadir}/%{name}/*
|
||||
%{_libdir}/*.a
|
||||
%{_libdir}/cmake/*
|
||||
|
||||
%changelog
|
||||
* Tue Sep 27 2022 Shreenidhi Shedi <sshedi@vmware.com> 11.11.0-1
|
||||
- First build, needed for mesa-22.2.0
|
|
@ -0,0 +1,77 @@
|
|||
From 85f8b7c4dc87bfbb019478c5cde14eaa833f403c Mon Sep 17 00:00:00 2001
|
||||
From: Andrii Nakryiko <andrii@kernel.org>
|
||||
Date: Mon, 26 Sep 2022 21:29:39 -0700
|
||||
Subject: [PATCH] libbpf: Don't require full struct enum64 in UAPI headers
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Drop the requirement for system-wide kernel UAPI headers to provide full
|
||||
struct btf_enum64 definition. This is an unexpected requirement that
|
||||
slipped in libbpf 1.0 and put unnecessary pressure ([0]) on users to have
|
||||
a bleeding-edge kernel UAPI header from unreleased Linux 6.0.
|
||||
|
||||
To achieve this, we forward declare struct btf_enum64. But that's not
|
||||
enough as there is btf_enum64_value() helper that expects to know the
|
||||
layout of struct btf_enum64. So we get a bit creative with
|
||||
reinterpreting memory layout as array of __u32 and accesing lo32/hi32
|
||||
fields as array elements. Alternative way would be to have a local
|
||||
pointer variable for anonymous struct with exactly the same layout as
|
||||
struct btf_enum64, but that gets us into C++ compiler errors complaining
|
||||
about invalid type casts. So play it safe, if ugly.
|
||||
|
||||
[0] Closes: https://github.com/libbpf/libbpf/issues/562
|
||||
|
||||
Fixes: d90ec262b35b ("libbpf: Add enum64 support for btf_dump")
|
||||
Reported-by: Toke Høiland-Jørgensen <toke@toke.dk>
|
||||
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
|
||||
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
|
||||
Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
|
||||
Link: https://lore.kernel.org/bpf/20220927042940.147185-1-andrii@kernel.org
|
||||
---
|
||||
src/btf.h | 25 ++++++++++++++++++++++++-
|
||||
1 file changed, 24 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/btf.h b/src/btf.h
|
||||
index ae543144..8e6880d9 100644
|
||||
--- a/src/btf.h
|
||||
+++ b/src/btf.h
|
||||
@@ -486,6 +486,8 @@ static inline struct btf_enum *btf_enum(const struct btf_type *t)
|
||||
return (struct btf_enum *)(t + 1);
|
||||
}
|
||||
|
||||
+struct btf_enum64;
|
||||
+
|
||||
static inline struct btf_enum64 *btf_enum64(const struct btf_type *t)
|
||||
{
|
||||
return (struct btf_enum64 *)(t + 1);
|
||||
@@ -493,7 +495,28 @@ static inline struct btf_enum64 *btf_enum64(const struct btf_type *t)
|
||||
|
||||
static inline __u64 btf_enum64_value(const struct btf_enum64 *e)
|
||||
{
|
||||
- return ((__u64)e->val_hi32 << 32) | e->val_lo32;
|
||||
+ /* struct btf_enum64 is introduced in Linux 6.0, which is very
|
||||
+ * bleeding-edge. Here we are avoiding relying on struct btf_enum64
|
||||
+ * definition coming from kernel UAPI headers to support wider range
|
||||
+ * of system-wide kernel headers.
|
||||
+ *
|
||||
+ * Given this header can be also included from C++ applications, that
|
||||
+ * further restricts C tricks we can use (like using compatible
|
||||
+ * anonymous struct). So just treat struct btf_enum64 as
|
||||
+ * a three-element array of u32 and access second (lo32) and third
|
||||
+ * (hi32) elements directly.
|
||||
+ *
|
||||
+ * For reference, here is a struct btf_enum64 definition:
|
||||
+ *
|
||||
+ * const struct btf_enum64 {
|
||||
+ * __u32 name_off;
|
||||
+ * __u32 val_lo32;
|
||||
+ * __u32 val_hi32;
|
||||
+ * };
|
||||
+ */
|
||||
+ const __u32 *e64 = (const __u32 *)e;
|
||||
+
|
||||
+ return ((__u64)e64[2] << 32) | e64[1];
|
||||
}
|
||||
|
||||
static inline struct btf_member *btf_members(const struct btf_type *t)
|
|
@ -1,15 +1,17 @@
|
|||
Summary: Libbpf library
|
||||
Name: libbpf
|
||||
Version: 0.6.1
|
||||
Release: 2%{?dist}
|
||||
Version: 1.0.0
|
||||
Release: 1%{?dist}
|
||||
Group: Development/System
|
||||
Vendor: VMware, Inc.
|
||||
Distribution: Photon
|
||||
License: GPL-2.1 OR BSD-2-Clause
|
||||
URL: https://github.com/libbpf/libbpf
|
||||
|
||||
Source0: https://github.com/libbpf/libbpf/archive/refs/tags/libbpf-%{version}.tar.gz
|
||||
%define sha512 %{name}=5a8ca70c571fb306dd280f0526db48b78b13b57b4012f7bd3933d6e07d5e41e9370b2db6ed9bbc283c6dcbb21036810bf3093f462906b66557ce0d850c89083a
|
||||
Source0: https://github.com/libbpf/libbpf/archive/refs/tags/libbpf-%{version}.tar.gz
|
||||
%define sha512 %{name}=e99aea1ff477114549b41c272a975169a79ffc1daf4bcaba586cd13d0fc0b23c336cb406fd8e64b73350fe16e2d423fa68a29601d15e2477955c7a92358fb7f8
|
||||
|
||||
Patch0: btf_enum64.patch
|
||||
|
||||
BuildRequires: elfutils-libelf-devel
|
||||
BuildRequires: elfutils-devel
|
||||
|
@ -41,16 +43,19 @@ developing applications that use libbpf.
|
|||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%attr(0755,-,-) %{_libdir}/libbpf.so.*
|
||||
%{_libdir}/libbpf.so.0
|
||||
%{_libdir}/libbpf.so
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libbpf.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libbpf.so
|
||||
%attr(0644,-,-) %{_includedir}/bpf/*
|
||||
%attr(0644,-,-) %{_libdir}/libbpf.a
|
||||
%attr(0644,-,-) %{_libdir}/pkgconfig/libbpf.pc
|
||||
|
||||
%changelog
|
||||
* Wed Sep 28 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.0.0-1
|
||||
- Upgrade to v1.0.0
|
||||
* Mon Feb 21 2022 Mukul Sikka <msikka@vmware.com> 0.6.1-2
|
||||
- Fix build error in aarch64 platform
|
||||
* Wed Jan 12 2022 Susant Sahani <ssahani@vmware.com> 0.6.1-1
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
Summary: Module manipulating metadata files
|
||||
Name: libmodulemd
|
||||
Version: 2.13.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: MIT
|
||||
URL: https://github.com/fedora-modularity/libmodulemd
|
||||
Group: Applications/System
|
||||
Vendor: VMware, Inc.
|
||||
Distribution: Photon
|
||||
|
||||
Source0: https://github.com/fedora-modularity/libmodulemd/archive/%{name}-%{version}.tar.xz
|
||||
%define sha1 %{name}-%{version}=e83886f374922ecf6fa728c6c588d697d0748b99
|
||||
Source0: https://github.com/fedora-modularity/libmodulemd/archive/%{name}-%{version}.tar.xz
|
||||
%define sha512 %{name}-%{version}=b2a4fa4120d4dca714ef724a9e8f805d4f8a306a950e670f86f6184467c070ddb93360fff3bb079eb3a442b52024fe796ceb1195800d62bbb1f5cb67f8889e05
|
||||
|
||||
BuildRequires: meson
|
||||
BuildRequires: clang-devel
|
||||
|
@ -17,7 +17,6 @@ BuildRequires: gcc
|
|||
BuildRequires: glib-devel
|
||||
BuildRequires: valgrind
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3
|
||||
BuildRequires: python3-gobject-introspection
|
||||
BuildRequires: gobject-introspection-devel
|
||||
BuildRequires: python3-pygobject
|
||||
|
@ -29,6 +28,10 @@ BuildRequires: libyaml-devel
|
|||
BuildRequires: file-devel
|
||||
|
||||
Requires: libyaml
|
||||
Requires: file-libs
|
||||
Requires: python3
|
||||
Requires: rpm-libs
|
||||
Requires: glib
|
||||
|
||||
%description
|
||||
C Library for manipulating module metadata files
|
||||
|
@ -44,9 +47,10 @@ It contains the libraries and header files.
|
|||
%autosetup -p1 -n modulemd-%{version}
|
||||
|
||||
%build
|
||||
%meson -Dwith_py2=false \
|
||||
-Dwith_manpages=disabled \
|
||||
-Dwith_docs=false
|
||||
%meson \
|
||||
-Dwith_py2=false \
|
||||
-Dwith_manpages=disabled \
|
||||
-Dwith_docs=false
|
||||
|
||||
%meson_build
|
||||
|
||||
|
@ -55,7 +59,11 @@ It contains the libraries and header files.
|
|||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}/*
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README.md
|
||||
%{_bindir}/modulemd-validator
|
||||
%{_libdir}/girepository-1.0/Modulemd-2.0.typelib
|
||||
|
@ -63,12 +71,15 @@ It contains the libraries and header files.
|
|||
%{_datadir}/gir-1.0/Modulemd-2.0.gir
|
||||
%{python3_sitelib}/*
|
||||
|
||||
%files devel
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libmodulemd.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_includedir}/modulemd-2.0/*.h
|
||||
|
||||
%changelog
|
||||
* Wed Sep 28 2022 Shreenidhi Shedi <sshedi@vmware.com> 2.13.0-2
|
||||
- Bump version as a part of clang upgrade
|
||||
* Mon Aug 02 2021 Susant Sahani <ssahani@vmware.com> 2.13.0-1
|
||||
- Use autosetup, ldconfig scriptlets, switch to meson
|
||||
- and version bump
|
||||
|
|
|
@ -1,44 +1,55 @@
|
|||
Summary: LightStep distributed tracing library for C++
|
||||
Name: lightstep-tracer-cpp
|
||||
Version: 0.19
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: MIT
|
||||
URL: https://github.com/lightstep/lightstep-tracer-cpp
|
||||
Source0: https://github.com/lightstep/lightstep-tracer-cpp/releases/download/v0_19/%{name}-%{version}.tar.gz
|
||||
%define sha1 lightstep-tracer-cpp=ed536c8954ad7a47d9023b9bff8070361b44d06d
|
||||
Group: Development/Tools
|
||||
Vendor: VMware, Inc.
|
||||
Distribution: Photon
|
||||
|
||||
Source0: https://github.com/lightstep/lightstep-tracer-cpp/releases/download/v0_19/%{name}-%{version}.tar.gz
|
||||
%define sha512 %{name}=a9f0e86843e5997e8c5d1aa05b58e7df59beea832531c78d1a42ab37087f1de4036762af03a2d3f6f461eea52503000e6822f355abcabdca04608ba99fb9a9db
|
||||
|
||||
Patch0: 0001-lightstep-tracer-cpp-Fix-build-issues-with-gcc-7.3.patch
|
||||
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: clang
|
||||
BuildRequires: c-ares
|
||||
BuildRequires: c-ares-devel
|
||||
BuildRequires: gcc
|
||||
BuildRequires: protobuf
|
||||
BuildRequires: protobuf-devel
|
||||
Requires: protobuf
|
||||
|
||||
Patch0: 0001-lightstep-tracer-cpp-Fix-build-issues-with-gcc-7.3.patch
|
||||
Requires: protobuf
|
||||
|
||||
%description
|
||||
LightStep distributed tracing library for C++.
|
||||
|
||||
%package devel
|
||||
Summary: A Library providing C API for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Development files for %{name}
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--disable-silent-rules \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--disable-grpc
|
||||
%configure \
|
||||
--disable-silent-rules \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--disable-grpc
|
||||
|
||||
pushd src/c++11/envoy
|
||||
protoc --cpp_out=. envoy_carrier.proto
|
||||
mv envoy_carrier.pb.h ../lightstep/
|
||||
mv envoy_carrier.pb.cc ../proto/
|
||||
popd
|
||||
|
||||
pushd lightstep-tracer-common
|
||||
protoc --cpp_out=. collector.proto
|
||||
mv collector.pb.h ../src/c++11/lightstep/
|
||||
|
@ -46,19 +57,26 @@ mv collector.pb.cc ../src/c++11/proto/
|
|||
popd
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install
|
||||
%make_install %{?_smp_mflags}
|
||||
find %{buildroot} -name '*.la' -delete
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/liblightstep_*.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/lightstep/*.h
|
||||
%{_includedir}/mapbox_variant/*.hpp
|
||||
%{_libdir}/liblightstep_*
|
||||
%{_libdir}/liblightstep_*.so
|
||||
|
||||
%changelog
|
||||
* Fri Feb 19 2021 Harinadh D <hdommaraju@vmware.com> 0.19-3
|
||||
- Version bump up to build with latest protobuf
|
||||
* Fri Aug 31 2018 Srivatsa S. Bhat <srivatsa@csail.mit.edu> 0.19-2
|
||||
- Fix build issues with gcc 7.3
|
||||
* Wed Jul 05 2017 Vinay Kulkarni <kulkarniv@vmware.com> 0.19-1
|
||||
- Initial version of lightstep-tracer-cpp package for Photon.
|
||||
* Wed Sep 28 2022 Shreenidhi Shedi <sshedi@vmware.com> 0.19-4
|
||||
- Bump version as a part of clang upgrade
|
||||
- Add devel package
|
||||
* Fri Feb 19 2021 Harinadh D <hdommaraju@vmware.com> 0.19-3
|
||||
- Version bump up to build with latest protobuf
|
||||
* Fri Aug 31 2018 Srivatsa S. Bhat <srivatsa@csail.mit.edu> 0.19-2
|
||||
- Fix build issues with gcc 7.3
|
||||
* Wed Jul 05 2017 Vinay Kulkarni <kulkarniv@vmware.com> 0.19-1
|
||||
- Initial version of lightstep-tracer-cpp package for Photon.
|
||||
|
|
|
@ -1,15 +1,17 @@
|
|||
%global debug_package %{nil}
|
||||
|
||||
Summary: A next generation, high-performance debugger.
|
||||
Name: lldb
|
||||
Version: 12.0.0
|
||||
Release: 4%{?dist}
|
||||
Version: 15.0.1
|
||||
Release: 1%{?dist}
|
||||
License: NCSA
|
||||
URL: http://lldb.llvm.org
|
||||
Group: Development/Tools
|
||||
Vendor: VMware, Inc.
|
||||
Distribution: Photon
|
||||
|
||||
Source0: http://releases.llvm.org/%{version}/%{name}-%{version}.src.tar.xz
|
||||
%define sha512 %{name}=20acd58ea9a8a8f237dc7ade44702cf610c80f48d157f77a4f35cf210f4b89fa783e9e7bf747010a2ef921f8dc1658b63d3f3563c0e19c6019a3d9af41378a22
|
||||
Source0: https://github.com/llvm/llvm-project/releases/tag/%{name}-%{version}.src.tar.xz
|
||||
%define sha512 %{name}=77824fe6c70760048d5c97e429185281530f5755cab859c08d857ce686f4a338896fd51cc29daec6718490e08e170840755993f38da7bdafaef1b3ba303d6fed
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: llvm-devel = %{version}
|
||||
|
@ -53,13 +55,14 @@ The package contains the LLDB Python3 module.
|
|||
|
||||
%build
|
||||
%cmake -G Ninja\
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DLLDB_PATH_TO_LLVM_BUILD=%{_prefix} \
|
||||
-DLLDB_PATH_TO_CLANG_BUILD=%{_prefix} \
|
||||
-DLLVM_DIR=%{_libdir}/cmake/llvm \
|
||||
-DLLVM_BUILD_LLVM_DYLIB=ON \
|
||||
-DLLDB_DISABLE_LIBEDIT:BOOL=ON \
|
||||
-DCMAKE_INSTALL_LIBDIR=%{_libdir}
|
||||
-DCMAKE_INSTALL_LIBDIR=%{_libdir} \
|
||||
-DLLDB_PYTHON_EXE_RELATIVE_PATH=%{python3}
|
||||
|
||||
%cmake_build
|
||||
|
||||
|
@ -91,6 +94,8 @@ rm -rf %{buildroot}/*
|
|||
%{python3_sitelib}/*
|
||||
|
||||
%changelog
|
||||
* Tue Sep 27 2022 Shreenidhi Shedi <sshedi@vmware.com> 15.0.1-1
|
||||
- Upgrade to v15.0.1
|
||||
* Tue Jul 19 2022 Shreenidhi Shedi <sshedi@vmware.com> 12.0.0-4
|
||||
- Use cmake macros for build
|
||||
* Mon Nov 29 2021 Shreenidhi Shedi <sshedi@vmware.com> 12.0.0-3
|
||||
|
|
|
@ -1,21 +1,27 @@
|
|||
%global debug_package %{nil}
|
||||
|
||||
Summary: A collection of modular and reusable compiler and toolchain technologies.
|
||||
Name: llvm
|
||||
Version: 12.0.0
|
||||
Release: 4%{?dist}
|
||||
Version: 15.0.1
|
||||
Release: 1%{?dist}
|
||||
License: NCSA
|
||||
URL: http://lldb.llvm.org
|
||||
URL: https://llvm.org
|
||||
Group: Development/Tools
|
||||
Vendor: VMware, Inc.
|
||||
Distribution: Photon
|
||||
|
||||
Source0: http://releases.llvm.org/%{version}/%{name}-%{version}.src.tar.xz
|
||||
%define sha512 %{name}=ec17153ef774a1e08085763bda7d0dfce6802fbaa17e89831695ce1b2eb015a6c2aebfaa9fe7985a83b9c51bd75d40bb4f1fc706dc16d4c0dc2b2722a1d8a24e
|
||||
Source0: https://github.com/llvm/llvm-project/releases/tag/%{name}-%{version}.src.tar.xz
|
||||
%define sha512 %{name}=ec61b6d061ba71e00f6e9c1042705ab3512ff71a823e18ce75a3b8fd2ef40efff186b42d4be6ef948019e5bb5b3fb28f0c615ebb7872ec89f7643261eadf276a
|
||||
|
||||
Source1: https://github.com/llvm/llvm-project/releases/download/cmake-%{version}.src.tar.xz
|
||||
%define sha512 cmake=fbb29395a337be4e591567cc0f990857a2663cb2335b5ef30945c6b516dbc65e86f022ef3acc1dc572cf6791e1cd20f6754256e00b60cdbf579c04ed74460522
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: libffi-devel
|
||||
BuildRequires: python3
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: ninja-build
|
||||
BuildRequires: glibc-devel
|
||||
|
||||
Requires: libxml2
|
||||
|
||||
|
@ -40,19 +46,21 @@ Group: System Environment/Libraries
|
|||
The libllvm package contains shared libraries for llvm
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{name}-%{version}.src
|
||||
%autosetup -p1 -n %{name}-%{version}.src -a1
|
||||
|
||||
%build
|
||||
mv cmake-%{version}.src/Modules/*.cmake cmake/modules
|
||||
%cmake -G Ninja \
|
||||
-DCMAKE_INSTALL_PREFIX=%{_usr} \
|
||||
-DBUILD_SHARED_LIBS:BOOL=OFF \
|
||||
-DLLVM_PARALLEL_LINK_JOBS=1 \
|
||||
-DLLVM_ENABLE_FFI:BOOL=ON \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DLLVM_BUILD_LLVM_DYLIB:BOOL=ON \
|
||||
-DLLVM_TARGETS_TO_BUILD="host;AMDGPU;BPF" \
|
||||
-DLLVM_INCLUDE_GO_TESTS=No \
|
||||
-DLLVM_ENABLE_RTTI:BOOL=ON \
|
||||
-DLLVM_INCLUDE_BENCHMARKS=OFF \
|
||||
-Wno-dev
|
||||
|
||||
%cmake_build
|
||||
|
@ -98,6 +106,8 @@ rm -rf %{buildroot}/*
|
|||
%{_libdir}/libLLVM*.so
|
||||
|
||||
%changelog
|
||||
* Tue Sep 27 2022 Shreenidhi Shedi <sshedi@vmware.com> 15.0.1-1
|
||||
- Upgrade to v15.0.1
|
||||
* Mon Jun 20 2022 Shreenidhi Shedi <sshedi@vmware.com> 12.0.0-4
|
||||
- Use cmake macros for build
|
||||
* Wed May 11 2022 Shreenidhi Shedi <sshedi@vmware.com> 12.0.0-3
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
Summary: Mesa is an OpenGL compatible 3D graphics library.
|
||||
Name: mesa
|
||||
Version: 22.1.1
|
||||
Version: 22.2.0
|
||||
Release: 1%{?dist}
|
||||
License: MIT
|
||||
URL: http://www.mesa3d.org/
|
||||
URL: http://www.mesa3d.org
|
||||
Group: System Environment/Libraries
|
||||
Vendor: VMware, Inc.
|
||||
Distribution: Photon
|
||||
|
||||
Source0: http://ftp.freedesktop.org/pub/%{name}/%{version}/%{name}-%{version}.tar.gz
|
||||
%define sha512 mesa=04f827ac800e22c24923606fa5a3b6707db876ee973b2442efbd439675596f7481fb4eefcb94bc013afa7b223663324af8592af566d379bbb9c0601f2b700807
|
||||
Source0: https://archive.mesa3d.org/%{name}-%{version}.tar.xz
|
||||
%define sha512 %{name}=13a21b9ed6b0a5dfd0293b73df271a929c3155d83e8beb3d958fe18d79277f3611bf5b26a1186d446f4e1479a36bb13d0a13d6ac68937989fe7a0d917e12171e
|
||||
|
||||
BuildRequires: libdrm-devel >= 2.4.88
|
||||
BuildRequires: meson
|
||||
|
@ -27,9 +27,11 @@ BuildRequires: libwayland-client
|
|||
BuildRequires: libwayland-server
|
||||
BuildRequires: libwayland-egl
|
||||
BuildRequires: libpciaccess-devel
|
||||
BuildRequires: glslang-devel
|
||||
|
||||
Requires: libllvm
|
||||
Requires: expat-libs
|
||||
|
||||
Provides: pkg-config(dri)
|
||||
|
||||
%description
|
||||
|
@ -42,42 +44,44 @@ Summary: Mesa Vulkan drivers
|
|||
The drivers with support for the Vulkan API.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{name}-%{version} -p1
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
meson --prefix=%{_prefix} build/ \
|
||||
-Dgallium-vdpau=disabled \
|
||||
-Dgallium-xvmc=disabled \
|
||||
-Dgallium-omx=disabled \
|
||||
-Dgallium-va=disabled \
|
||||
-Dgallium-xa=disabled \
|
||||
-Dgallium-nine=false \
|
||||
-Dgallium-opencl=disabled \
|
||||
-Dvulkan-drivers=amd \
|
||||
-Dplatforms=wayland \
|
||||
-Dosmesa=false \
|
||||
-Dvulkan-layers=device-select \
|
||||
-Dshared-glapi=disabled \
|
||||
-Dgles1=disabled \
|
||||
-Dopengl=false \
|
||||
-Dgbm=disabled \
|
||||
-Dglx=disabled \
|
||||
-Degl=disabled \
|
||||
-Dglvnd=false \
|
||||
-Dllvm=enabled \
|
||||
-Dshared-llvm=enabled \
|
||||
-Dvalgrind=disabled \
|
||||
-Dbuild-tests=false \
|
||||
-Dselinux=false \
|
||||
-Dvulkan-drivers=auto \
|
||||
-Dintel-clc=disabled \
|
||||
-Dgles2=disabled \
|
||||
-Ddri3=disabled \
|
||||
-Dmicrosoft-clc=disabled \
|
||||
%{nil}
|
||||
%meson \
|
||||
-Dgallium-vdpau=disabled \
|
||||
-Dgallium-xvmc=disabled \
|
||||
-Dgallium-omx=disabled \
|
||||
-Dgallium-va=disabled \
|
||||
-Dgallium-xa=disabled \
|
||||
-Dgallium-nine=false \
|
||||
-Dgallium-opencl=disabled \
|
||||
-Dplatforms=wayland \
|
||||
-Dosmesa=false \
|
||||
-Dvulkan-layers=device-select \
|
||||
-Dshared-glapi=disabled \
|
||||
-Dgles1=disabled \
|
||||
-Dopengl=false \
|
||||
-Dgbm=disabled \
|
||||
-Dglx=disabled \
|
||||
-Degl=disabled \
|
||||
-Dglvnd=false \
|
||||
-Dllvm=enabled \
|
||||
-Dshared-llvm=enabled \
|
||||
-Dvalgrind=disabled \
|
||||
-Dbuild-tests=false \
|
||||
-Dselinux=false \
|
||||
-Dvulkan-drivers=auto \
|
||||
-Dintel-clc=disabled \
|
||||
-Dgles2=disabled \
|
||||
-Ddri3=disabled \
|
||||
-Dmicrosoft-clc=disabled \
|
||||
-Dbuild-aco-tests=false \
|
||||
%{nil}
|
||||
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
DESTDIR=%{buildroot}/ ninja -C build install
|
||||
%meson_install
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}/*
|
||||
|
@ -101,5 +105,7 @@ rm -rf %{buildroot}/*
|
|||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Sep 27 2022 Shreenidhi Shedi <sshedi@vmware.com> 22.2.0-1
|
||||
- Upgrade to v22.2.0
|
||||
* Fri Jun 10 2022 Shivani Agarwal <shivania2@vmware.com> 22.1.1-1
|
||||
- Initial Version
|
||||
|
|
|
@ -1,18 +1,17 @@
|
|||
%{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib;print(get_python_lib())")}
|
||||
%global major 78
|
||||
|
||||
%global major 78
|
||||
Summary: Mozilla's JavaScript engine.
|
||||
Name: mozjs
|
||||
Version: 78.15.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Group: Applications/System
|
||||
Vendor: VMware, Inc.
|
||||
License: GPLv2+ or LGPLv2+ or MPL-2.0
|
||||
URL: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey
|
||||
Distribution: Photon
|
||||
|
||||
Source0: https://ftp.mozilla.org/pub/firefox/releases/%{version}esr/source/firefox-%{version}esr.source.tar.xz
|
||||
%define sha1 firefox-%{version}=34231209e6ec933e86ab010181b1d89ae6e4e894
|
||||
Source0: https://ftp.mozilla.org/pub/firefox/releases/%{version}esr/source/firefox-%{version}esr.source.tar.xz
|
||||
%define sha512 firefox-%{version}=ac3de735b246ce4f0e1619cd2664321ffa374240ce6843e785d79a350dc30c967996bbcc5e3b301cb3d822ca981cbea116758fc4122f1738d75ddfd1165b6378
|
||||
|
||||
Patch0: emitter.patch
|
||||
Patch1: emitter_test.patch
|
||||
|
@ -62,11 +61,11 @@ cd js/src
|
|||
--disable-tests \
|
||||
--with-system-zlib
|
||||
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
cd js/src
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||
%make_install %{?_smp_mflags}
|
||||
chmod -x %{buildroot}%{_libdir}/pkgconfig/*.pc
|
||||
# remove non required files
|
||||
rm %{buildroot}%{_libdir}/libjs_static.ajs
|
||||
|
@ -74,6 +73,9 @@ find %{buildroot} -name '*.la' -delete
|
|||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}/*
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/js%{major}
|
||||
|
@ -86,6 +88,8 @@ find %{buildroot} -name '*.la' -delete
|
|||
%{_libdir}/pkgconfig/mozjs-%{major}.pc
|
||||
|
||||
%changelog
|
||||
* Wed Sep 28 2022 Shreenidhi Shedi <sshedi@vmware.com> 78.15.0-3
|
||||
- Bump version as a part of clang upgrade
|
||||
* Tue Dec 07 2021 Alexey Makhalov <amakhalov@vmware.com> 78.15.0-2
|
||||
- Require specific version of icu
|
||||
* Tue Oct 19 2021 Shreenidhi Shedi <sshedi@vmware.com> 78.15.0-1
|
||||
|
|
|
@ -0,0 +1,60 @@
|
|||
From 6ae10d75a032317fadc130909eba2a57d05f7063 Mon Sep 17 00:00:00 2001
|
||||
From: Shreenidhi Shedi <sshedi@vmare.com>
|
||||
Date: Wed, 28 Sep 2022 17:25:22 +0530
|
||||
Subject: [PATCH] rename LLVMJITCSymbolMapPair to LLVMOrcCSymbolMapPair
|
||||
|
||||
For more info, refer:
|
||||
https://github.com/llvm/llvm-project/commit/b425f556935c1105dea59871a46caa7af2d378ad
|
||||
|
||||
------------------------------------------------------------------------
|
||||
|
||||
Pass the right number of args to
|
||||
LLVMOrcCreateCustomCAPIDefinitionGenerator(...)
|
||||
|
||||
For more info, refer:
|
||||
https://github.com/llvm/llvm-project/commit/14b7c108a2bf46541efc3a5c9cbd589b3afc18e6
|
||||
|
||||
Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com>
|
||||
---
|
||||
src/backend/jit/llvm/llvmjit.c | 4 ++--
|
||||
src/backend/jit/llvm/llvmjit_inline.cpp | 2 +-
|
||||
2 files changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/src/backend/jit/llvm/llvmjit.c b/src/backend/jit/llvm/llvmjit.c
|
||||
index 120f523..35864e8 100644
|
||||
--- a/src/backend/jit/llvm/llvmjit.c
|
||||
+++ b/src/backend/jit/llvm/llvmjit.c
|
||||
@@ -1114,7 +1114,7 @@ llvm_resolve_symbols(LLVMOrcDefinitionGeneratorRef GeneratorObj, void *Ctx,
|
||||
LLVMOrcJITDylibRef JD, LLVMOrcJITDylibLookupFlags JDLookupFlags,
|
||||
LLVMOrcCLookupSet LookupSet, size_t LookupSetSize)
|
||||
{
|
||||
- LLVMOrcCSymbolMapPairs symbols = palloc0(sizeof(LLVMJITCSymbolMapPair) * LookupSetSize);
|
||||
+ LLVMOrcCSymbolMapPairs symbols = palloc0(sizeof(LLVMOrcCSymbolMapPair) * LookupSetSize);
|
||||
LLVMErrorRef error;
|
||||
LLVMOrcMaterializationUnitRef mu;
|
||||
|
||||
@@ -1232,7 +1232,7 @@ llvm_create_jit_instance(LLVMTargetMachineRef tm)
|
||||
* Symbol resolution support for "special" functions, e.g. a call into an
|
||||
* SQL callable function.
|
||||
*/
|
||||
- ref_gen = LLVMOrcCreateCustomCAPIDefinitionGenerator(llvm_resolve_symbols, NULL);
|
||||
+ ref_gen = LLVMOrcCreateCustomCAPIDefinitionGenerator(llvm_resolve_symbols, NULL, NULL);
|
||||
LLVMOrcJITDylibAddGenerator(LLVMOrcLLJITGetMainJITDylib(lljit), ref_gen);
|
||||
|
||||
return lljit;
|
||||
diff --git a/src/backend/jit/llvm/llvmjit_inline.cpp b/src/backend/jit/llvm/llvmjit_inline.cpp
|
||||
index 2d013b7..865b0d6 100644
|
||||
--- a/src/backend/jit/llvm/llvmjit_inline.cpp
|
||||
+++ b/src/backend/jit/llvm/llvmjit_inline.cpp
|
||||
@@ -62,7 +62,7 @@ extern "C"
|
||||
#include <llvm/IR/ModuleSummaryIndex.h>
|
||||
#include <llvm/Linker/IRMover.h>
|
||||
#include <llvm/Support/ManagedStatic.h>
|
||||
-
|
||||
+#include <llvm/Support/MemoryBuffer.h>
|
||||
|
||||
/*
|
||||
* Type used to represent modules InlineWorkListItem's subject is searched for
|
||||
--
|
||||
2.37.3
|
||||
|
|
@ -1,15 +1,17 @@
|
|||
Summary: PostgreSQL database engine
|
||||
Name: postgresql
|
||||
Version: 14.5
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: PostgreSQL
|
||||
URL: www.postgresql.org
|
||||
Group: Applications/Databases
|
||||
Vendor: VMware, Inc.
|
||||
Distribution: Photon
|
||||
|
||||
Source0: http://ftp.postgresql.org/pub/source/v%{version}/%{name}-%{version}.tar.bz2
|
||||
%define sha512 postgresql=3051c5ab729f6a55952c6108098b022517398b1de64f7fefbdd6c806c7e2eb0637d00f3c98a6203c5bee654656528c4ff3530db5a69470e7888864c77900178a
|
||||
Source0: http://ftp.postgresql.org/pub/source/v%{version}/%{name}-%{version}.tar.bz2
|
||||
%define sha512 %{name}=3051c5ab729f6a55952c6108098b022517398b1de64f7fefbdd6c806c7e2eb0637d00f3c98a6203c5bee654656528c4ff3530db5a69470e7888864c77900178a
|
||||
|
||||
Patch0: llvm-15.x-psql-build-err-fixes.patch
|
||||
|
||||
# Macros to be used by find_lang and such.
|
||||
%global pgmajorversion 14
|
||||
|
@ -79,9 +81,9 @@ to use any other PostgreSQL package or any clients that need to connect to a
|
|||
PostgreSQL server.
|
||||
|
||||
%package server
|
||||
Summary: The programs needed to create and run a PostgreSQL server
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
Summary: The programs needed to create and run a PostgreSQL server
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
|
||||
%description server
|
||||
PostgreSQL is an advanced Object-Relational database management system (DBMS).
|
||||
|
@ -91,45 +93,45 @@ and maintain PostgreSQL databases.
|
|||
|
||||
%package i18n
|
||||
Summary: Additional language files for PostgreSQL
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description i18n
|
||||
The postgresql-i18n package includes additional language files for
|
||||
PostgreSQL.
|
||||
|
||||
%package docs
|
||||
Summary: Extra documentation for PostgreSQL
|
||||
Summary: Extra documentation for PostgreSQL
|
||||
|
||||
%description docs
|
||||
The postgresql-docs package includes the documentation.
|
||||
|
||||
%package contrib
|
||||
Summary: Contributed source and binaries distributed with PostgreSQL
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
Requires: %{name}-server = %{version}-%{release}
|
||||
Summary: Contributed source and binaries distributed with PostgreSQL
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
Requires: %{name}-server = %{version}-%{release}
|
||||
|
||||
%description contrib
|
||||
The postgresql-contrib package contains various extension modules that are
|
||||
included in the PostgreSQL distribution.
|
||||
|
||||
%package devel
|
||||
Summary: PostgreSQL development header files and libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
Requires: clang-devel
|
||||
Requires: icu-devel
|
||||
Requires: krb5-devel
|
||||
Requires: libedit-devel
|
||||
Requires: libxml2-devel
|
||||
Requires: libxslt-devel
|
||||
Requires: llvm-devel
|
||||
Requires: lz4-devel
|
||||
Requires: openldap
|
||||
Requires: openssl-devel
|
||||
Requires: perl-IPC-Run
|
||||
Requires: python3-devel
|
||||
Requires: readline-devel
|
||||
Summary: PostgreSQL development header files and libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
Requires: clang-devel
|
||||
Requires: icu-devel
|
||||
Requires: krb5-devel
|
||||
Requires: libedit-devel
|
||||
Requires: libxml2-devel
|
||||
Requires: libxslt-devel
|
||||
Requires: llvm-devel
|
||||
Requires: lz4-devel
|
||||
Requires: openldap
|
||||
Requires: openssl-devel
|
||||
Requires: perl-IPC-Run
|
||||
Requires: python3-devel
|
||||
Requires: readline-devel
|
||||
|
||||
%description devel
|
||||
The postgresql-devel package contains the header files and libraries
|
||||
|
@ -148,8 +150,8 @@ The postgresql-llvmjit package contains support for just-in-time
|
|||
compilation with PostgreSQL queries.
|
||||
|
||||
%package plperl
|
||||
Summary: The Perl procedural language for PostgreSQL
|
||||
Requires: %{name}-server = %{version}-%{release}
|
||||
Summary: The Perl procedural language for PostgreSQL
|
||||
Requires: %{name}-server = %{version}-%{release}
|
||||
|
||||
%description plperl
|
||||
The postgresql-plperl package contains the PL/Perl procedural language,
|
||||
|
@ -157,10 +159,10 @@ which is an extension to the PostgreSQL database server.
|
|||
Install this if you want to write database functions in Perl.
|
||||
|
||||
%package plpython3
|
||||
Summary: The Python3 procedural language for PostgreSQL
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-server = %{version}-%{release}
|
||||
Requires: python3-libs
|
||||
Summary: The Python3 procedural language for PostgreSQL
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-server = %{version}-%{release}
|
||||
Requires: python3-libs
|
||||
|
||||
%description plpython3
|
||||
The postgresql-plpython3 package contains the PL/Python3 procedural language,
|
||||
|
@ -168,10 +170,10 @@ which is an extension to the PostgreSQL database server.
|
|||
Install this if you want to write database functions in Python 3.
|
||||
|
||||
%package pltcl
|
||||
Summary: The Tcl procedural language for PostgreSQL
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-server = %{version}-%{release}
|
||||
Requires: tcl
|
||||
Summary: The Tcl procedural language for PostgreSQL
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-server = %{version}-%{release}
|
||||
Requires: tcl
|
||||
|
||||
%description pltcl
|
||||
PostgreSQL is an advanced Object-Relational database management
|
||||
|
@ -206,17 +208,19 @@ sed -i '/DEFAULT_PGSOCKET_DIR/s@/tmp@/run/postgresql@' src/include/pg_config_man
|
|||
--with-system-tzdata=%{_datadir}/zoneinfo \
|
||||
--with-tcl \
|
||||
--with-uuid=e2fs \
|
||||
--docdir=%{_docdir}/postgresql
|
||||
--docdir=%{_docdir}/%{name}
|
||||
|
||||
make world %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
[ %{buildroot} != "/" ] && rm -rf %{buildroot}/*
|
||||
make install-world DESTDIR=%{buildroot} %{?_smp_mflags}
|
||||
|
||||
# Remove anything related to Python 2. These have no need to be
|
||||
# around as only Python 3 is supported.
|
||||
rm -f %{buildroot}/%{_datadir}/postgresql/extension/*plpython2u*
|
||||
rm -f %{buildroot}/%{_datadir}/postgresql/extension/*plpythonu-*
|
||||
rm -f %{buildroot}/%{_datadir}/postgresql/extension/*_plpythonu.control
|
||||
rm -f %{buildroot}%{_datadir}/%{name}/extension/*plpython2u* \
|
||||
%{buildroot}%{_datadir}/%{name}/extension/*plpythonu-* \
|
||||
%{buildroot}%{_datadir}/%{name}/extension/*_plpythonu.control
|
||||
|
||||
# Create file lists, for --enable-nls and i18n
|
||||
%find_lang ecpg-%{pgmajorversion}
|
||||
%find_lang ecpglib6-%{pgmajorversion}
|
||||
|
@ -248,18 +252,31 @@ cat plpython-%{pgmajorversion}.lang >> pg_i18n.lst
|
|||
cat pltcl-%{pgmajorversion}.lang >> pg_i18n.lst
|
||||
%find_lang postgres-%{pgmajorversion}
|
||||
%find_lang psql-%{pgmajorversion}
|
||||
cat libpq5-%{pgmajorversion}.lang >> pg_i18n.lst
|
||||
cat pg_config-%{pgmajorversion}.lang ecpg-%{pgmajorversion}.lang ecpglib6-%{pgmajorversion}.lang >> pg_i18n.lst
|
||||
cat initdb-%{pgmajorversion}.lang pg_amcheck-%{pgmajorversion}.lang pg_ctl-%{pgmajorversion}.lang psql-%{pgmajorversion}.lang pg_dump-%{pgmajorversion}.lang pg_basebackup-%{pgmajorversion}.lang pgscripts-%{pgmajorversion}.lang >> pg_i18n.lst
|
||||
cat postgres-%{pgmajorversion}.lang pg_resetwal-%{pgmajorversion}.lang pg_checksums-%{pgmajorversion}.lang pg_verifybackup-%{pgmajorversion}.lang pg_controldata-%{pgmajorversion}.lang plpgsql-%{pgmajorversion}.lang pg_test_timing-%{pgmajorversion}.lang pg_test_fsync-%{pgmajorversion}.lang pg_archivecleanup-%{pgmajorversion}.lang pg_waldump-%{pgmajorversion}.lang pg_rewind-%{pgmajorversion}.lang pg_upgrade-%{pgmajorversion}.lang >> pg_i18n.lst
|
||||
|
||||
cat libpq5-%{pgmajorversion}.lang >> pg_i18n.lst
|
||||
|
||||
cat pg_config-%{pgmajorversion}.lang ecpg-%{pgmajorversion}.lang ecpglib6-%{pgmajorversion}.lang >> pg_i18n.lst
|
||||
|
||||
cat initdb-%{pgmajorversion}.lang pg_amcheck-%{pgmajorversion}.lang \
|
||||
pg_ctl-%{pgmajorversion}.lang psql-%{pgmajorversion}.lang \
|
||||
pg_dump-%{pgmajorversion}.lang pg_basebackup-%{pgmajorversion}.lang \
|
||||
pgscripts-%{pgmajorversion}.lang >> pg_i18n.lst
|
||||
|
||||
cat postgres-%{pgmajorversion}.lang pg_resetwal-%{pgmajorversion}.lang \
|
||||
pg_checksums-%{pgmajorversion}.lang pg_verifybackup-%{pgmajorversion}.lang \
|
||||
pg_controldata-%{pgmajorversion}.lang plpgsql-%{pgmajorversion}.lang \
|
||||
pg_test_timing-%{pgmajorversion}.lang pg_test_fsync-%{pgmajorversion}.lang \
|
||||
pg_archivecleanup-%{pgmajorversion}.lang pg_waldump-%{pgmajorversion}.lang \
|
||||
pg_rewind-%{pgmajorversion}.lang pg_upgrade-%{pgmajorversion}.lang >> pg_i18n.lst
|
||||
|
||||
%if 0%{?with_check}
|
||||
%check
|
||||
# Run the main regression test suites in the source tree.
|
||||
run_test_path()
|
||||
{
|
||||
make_path="$1"
|
||||
chown -Rv nobody .
|
||||
sudo -u nobody -s /bin/bash -c "PATH=$PATH make -C $make_path -k check"
|
||||
make_path="$1"
|
||||
chown -Rv nobody .
|
||||
sudo -u nobody -s /bin/bash -c "PATH=$PATH make -C $make_path -k check"
|
||||
}
|
||||
# SQL test suites, mostly.
|
||||
run_test_path "src/test/regress"
|
||||
|
@ -272,9 +289,11 @@ run_test_path "src/test/authentication"
|
|||
run_test_path "src/test/recovery"
|
||||
run_test_path "src/test/ssl"
|
||||
run_test_path "src/test/subscription"
|
||||
%endif
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}/*
|
||||
|
||||
|
@ -297,7 +316,7 @@ rm -rf %{buildroot}/*
|
|||
%{_bindir}/psql
|
||||
%{_bindir}/reindexdb
|
||||
%{_bindir}/vacuumdb
|
||||
%{_datadir}/postgresql/errcodes.txt
|
||||
%{_datadir}/%{name}/errcodes.txt
|
||||
%{_mandir}/man1/clusterdb.*
|
||||
%{_mandir}/man1/createdb.*
|
||||
%{_mandir}/man1/createuser.*
|
||||
|
@ -322,7 +341,7 @@ rm -rf %{buildroot}/*
|
|||
%{_libdir}/libecpg.so*
|
||||
%{_libdir}/libpgtypes.so.*
|
||||
%{_libdir}/libecpg_compat.so.*
|
||||
%{_libdir}/postgresql/libpqwalreceiver.so
|
||||
%{_libdir}/%{name}/libpqwalreceiver.so
|
||||
|
||||
%files server
|
||||
%defattr(-,root,root)
|
||||
|
@ -356,145 +375,145 @@ rm -rf %{buildroot}/*
|
|||
%{_mandir}/man1/pg_waldump.*
|
||||
%{_mandir}/man1/postgres.*
|
||||
%{_mandir}/man1/postmaster.*
|
||||
%{_datadir}/postgresql/*.sample
|
||||
%{_datadir}/postgresql/postgres.bki
|
||||
%{_datadir}/postgresql/information_schema.sql
|
||||
%{_datadir}/postgresql/snowball_create.sql
|
||||
%{_datadir}/postgresql/sql_features.txt
|
||||
%{_datadir}/postgresql/system_constraints.sql
|
||||
%{_datadir}/postgresql/system_functions.sql
|
||||
%{_datadir}/postgresql/system_views.sql
|
||||
%dir %{_datadir}/postgresql/extension
|
||||
%{_datadir}/postgresql/extension/plpgsql*
|
||||
%{_datadir}/postgresql/timezonesets/*
|
||||
%{_datadir}/postgresql/tsearch_data/*.affix
|
||||
%{_datadir}/postgresql/tsearch_data/*.dict
|
||||
%{_datadir}/postgresql/tsearch_data/*.ths
|
||||
%{_datadir}/postgresql/tsearch_data/*.rules
|
||||
%{_datadir}/postgresql/tsearch_data/*.stop
|
||||
%{_datadir}/postgresql/tsearch_data/*.syn
|
||||
%{_libdir}/postgresql/dict_int.so
|
||||
%{_libdir}/postgresql/dict_snowball.so
|
||||
%{_libdir}/postgresql/dict_xsyn.so
|
||||
%{_libdir}/postgresql/euc2004_sjis2004.so
|
||||
%{_libdir}/postgresql/pgoutput.so
|
||||
%{_libdir}/postgresql/plpgsql.so
|
||||
%{_libdir}/postgresql/*_and_*.so
|
||||
%{_datadir}/%{name}/*.sample
|
||||
%{_datadir}/%{name}/postgres.bki
|
||||
%{_datadir}/%{name}/information_schema.sql
|
||||
%{_datadir}/%{name}/snowball_create.sql
|
||||
%{_datadir}/%{name}/sql_features.txt
|
||||
%{_datadir}/%{name}/system_constraints.sql
|
||||
%{_datadir}/%{name}/system_functions.sql
|
||||
%{_datadir}/%{name}/system_views.sql
|
||||
%dir %{_datadir}/%{name}/extension
|
||||
%{_datadir}/%{name}/extension/plpgsql*
|
||||
%{_datadir}/%{name}/timezonesets/*
|
||||
%{_datadir}/%{name}/tsearch_data/*.affix
|
||||
%{_datadir}/%{name}/tsearch_data/*.dict
|
||||
%{_datadir}/%{name}/tsearch_data/*.ths
|
||||
%{_datadir}/%{name}/tsearch_data/*.rules
|
||||
%{_datadir}/%{name}/tsearch_data/*.stop
|
||||
%{_datadir}/%{name}/tsearch_data/*.syn
|
||||
%{_libdir}/%{name}/dict_int.so
|
||||
%{_libdir}/%{name}/dict_snowball.so
|
||||
%{_libdir}/%{name}/dict_xsyn.so
|
||||
%{_libdir}/%{name}/euc2004_sjis2004.so
|
||||
%{_libdir}/%{name}/pgoutput.so
|
||||
%{_libdir}/%{name}/plpgsql.so
|
||||
%{_libdir}/%{name}/*_and_*.so
|
||||
|
||||
%files i18n -f pg_i18n.lst
|
||||
|
||||
%files docs
|
||||
%defattr(-,root,root)
|
||||
%{_docdir}/postgresql/html/*
|
||||
%{_docdir}/%{name}/html/*
|
||||
|
||||
%files contrib
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/oid2name
|
||||
%{_bindir}/vacuumlo
|
||||
%{_bindir}/pg_recvlogical
|
||||
%{_datadir}/postgresql/extension/adminpack*
|
||||
%{_datadir}/postgresql/extension/amcheck*
|
||||
%{_datadir}/postgresql/extension/autoinc*
|
||||
%{_datadir}/postgresql/extension/bloom*
|
||||
%{_datadir}/postgresql/extension/btree_gin*
|
||||
%{_datadir}/postgresql/extension/btree_gist*
|
||||
%{_datadir}/postgresql/extension/citext*
|
||||
%{_datadir}/postgresql/extension/cube*
|
||||
%{_datadir}/postgresql/extension/dblink*
|
||||
%{_datadir}/postgresql/extension/dict_int*
|
||||
%{_datadir}/postgresql/extension/dict_xsyn*
|
||||
%{_datadir}/postgresql/extension/earthdistance*
|
||||
%{_datadir}/postgresql/extension/file_fdw*
|
||||
%{_datadir}/postgresql/extension/fuzzystrmatch*
|
||||
%{_datadir}/postgresql/extension/hstore.control
|
||||
%{_datadir}/postgresql/extension/hstore--*.sql
|
||||
%{_datadir}/postgresql/extension/insert_username*
|
||||
%{_datadir}/postgresql/extension/intagg*
|
||||
%{_datadir}/postgresql/extension/intarray*
|
||||
%{_datadir}/postgresql/extension/isn*
|
||||
%{_datadir}/postgresql/extension/lo*
|
||||
%{_datadir}/postgresql/extension/ltree.control
|
||||
%{_datadir}/postgresql/extension/ltree--*.sql
|
||||
%{_datadir}/postgresql/extension/moddatetime*
|
||||
%{_datadir}/postgresql/extension/old_snapshot*
|
||||
%{_datadir}/postgresql/extension/pageinspect*
|
||||
%{_datadir}/postgresql/extension/pg_buffercache*
|
||||
%{_datadir}/postgresql/extension/pg_freespacemap*
|
||||
%{_datadir}/postgresql/extension/pg_prewarm*
|
||||
%{_datadir}/postgresql/extension/pg_stat_statements*
|
||||
%{_datadir}/postgresql/extension/pg_surgery*
|
||||
%{_datadir}/postgresql/extension/pg_trgm*
|
||||
%{_datadir}/postgresql/extension/pg_visibility*
|
||||
%{_datadir}/postgresql/extension/pgcrypto*
|
||||
%{_datadir}/postgresql/extension/pgrowlocks*
|
||||
%{_datadir}/postgresql/extension/pgstattuple*
|
||||
%{_datadir}/postgresql/extension/postgres_fdw*
|
||||
%{_datadir}/postgresql/extension/refint*
|
||||
%{_datadir}/postgresql/extension/seg*
|
||||
%{_datadir}/postgresql/extension/sslinfo*
|
||||
%{_datadir}/postgresql/extension/tablefunc*
|
||||
%{_datadir}/postgresql/extension/tcn*
|
||||
%{_datadir}/postgresql/extension/tsm_system_rows*
|
||||
%{_datadir}/postgresql/extension/tsm_system_time*
|
||||
%{_datadir}/postgresql/extension/unaccent*
|
||||
%{_datadir}/postgresql/extension/uuid-ossp*
|
||||
%{_datadir}/postgresql/extension/xml2*
|
||||
%{_docdir}/postgresql/extension/*.example
|
||||
%{_libdir}/postgresql/_int.so
|
||||
%{_libdir}/postgresql/adminpack.so
|
||||
%{_libdir}/postgresql/amcheck.so
|
||||
%{_libdir}/postgresql/auth_delay.so
|
||||
%{_libdir}/postgresql/autoinc.so
|
||||
%{_libdir}/postgresql/auto_explain.so
|
||||
%{_libdir}/postgresql/bloom.so
|
||||
%{_libdir}/postgresql/btree_gin.so
|
||||
%{_libdir}/postgresql/btree_gist.so
|
||||
%{_libdir}/postgresql/citext.so
|
||||
%{_libdir}/postgresql/cube.so
|
||||
%{_libdir}/postgresql/dblink.so
|
||||
%{_libdir}/postgresql/earthdistance.so
|
||||
%{_libdir}/postgresql/file_fdw.so*
|
||||
%{_libdir}/postgresql/fuzzystrmatch.so
|
||||
%{_libdir}/postgresql/insert_username.so
|
||||
%{_libdir}/postgresql/isn.so
|
||||
%{_libdir}/postgresql/hstore.so
|
||||
%{_libdir}/postgresql/lo.so
|
||||
%{_libdir}/postgresql/ltree.so
|
||||
%{_libdir}/postgresql/moddatetime.so
|
||||
%{_libdir}/postgresql/old_snapshot.so
|
||||
%{_libdir}/postgresql/pageinspect.so
|
||||
%{_libdir}/postgresql/passwordcheck.so
|
||||
%{_libdir}/postgresql/pgcrypto.so
|
||||
%{_libdir}/postgresql/pgrowlocks.so
|
||||
%{_libdir}/postgresql/pgstattuple.so
|
||||
%{_libdir}/postgresql/pg_buffercache.so
|
||||
%{_libdir}/postgresql/pg_freespacemap.so
|
||||
%{_libdir}/postgresql/pg_prewarm.so
|
||||
%{_libdir}/postgresql/pg_stat_statements.so
|
||||
%{_libdir}/postgresql/pg_surgery.so
|
||||
%{_libdir}/postgresql/pg_trgm.so
|
||||
%{_libdir}/postgresql/pg_visibility.so
|
||||
%{_libdir}/postgresql/pgxml.so
|
||||
%{_libdir}/postgresql/postgres_fdw.so
|
||||
%{_libdir}/postgresql/refint.so
|
||||
%{_libdir}/postgresql/seg.so
|
||||
%{_libdir}/postgresql/sslinfo.so
|
||||
%{_libdir}/postgresql/tablefunc.so
|
||||
%{_libdir}/postgresql/tcn.so
|
||||
%{_libdir}/postgresql/test_decoding.so
|
||||
%{_libdir}/postgresql/tsm_system_rows.so
|
||||
%{_libdir}/postgresql/tsm_system_time.so
|
||||
%{_libdir}/postgresql/unaccent.so
|
||||
%{_libdir}/postgresql/uuid-ossp.so
|
||||
%{_datadir}/%{name}/extension/adminpack*
|
||||
%{_datadir}/%{name}/extension/amcheck*
|
||||
%{_datadir}/%{name}/extension/autoinc*
|
||||
%{_datadir}/%{name}/extension/bloom*
|
||||
%{_datadir}/%{name}/extension/btree_gin*
|
||||
%{_datadir}/%{name}/extension/btree_gist*
|
||||
%{_datadir}/%{name}/extension/citext*
|
||||
%{_datadir}/%{name}/extension/cube*
|
||||
%{_datadir}/%{name}/extension/dblink*
|
||||
%{_datadir}/%{name}/extension/dict_int*
|
||||
%{_datadir}/%{name}/extension/dict_xsyn*
|
||||
%{_datadir}/%{name}/extension/earthdistance*
|
||||
%{_datadir}/%{name}/extension/file_fdw*
|
||||
%{_datadir}/%{name}/extension/fuzzystrmatch*
|
||||
%{_datadir}/%{name}/extension/hstore.control
|
||||
%{_datadir}/%{name}/extension/hstore--*.sql
|
||||
%{_datadir}/%{name}/extension/insert_username*
|
||||
%{_datadir}/%{name}/extension/intagg*
|
||||
%{_datadir}/%{name}/extension/intarray*
|
||||
%{_datadir}/%{name}/extension/isn*
|
||||
%{_datadir}/%{name}/extension/lo*
|
||||
%{_datadir}/%{name}/extension/ltree.control
|
||||
%{_datadir}/%{name}/extension/ltree--*.sql
|
||||
%{_datadir}/%{name}/extension/moddatetime*
|
||||
%{_datadir}/%{name}/extension/old_snapshot*
|
||||
%{_datadir}/%{name}/extension/pageinspect*
|
||||
%{_datadir}/%{name}/extension/pg_buffercache*
|
||||
%{_datadir}/%{name}/extension/pg_freespacemap*
|
||||
%{_datadir}/%{name}/extension/pg_prewarm*
|
||||
%{_datadir}/%{name}/extension/pg_stat_statements*
|
||||
%{_datadir}/%{name}/extension/pg_surgery*
|
||||
%{_datadir}/%{name}/extension/pg_trgm*
|
||||
%{_datadir}/%{name}/extension/pg_visibility*
|
||||
%{_datadir}/%{name}/extension/pgcrypto*
|
||||
%{_datadir}/%{name}/extension/pgrowlocks*
|
||||
%{_datadir}/%{name}/extension/pgstattuple*
|
||||
%{_datadir}/%{name}/extension/postgres_fdw*
|
||||
%{_datadir}/%{name}/extension/refint*
|
||||
%{_datadir}/%{name}/extension/seg*
|
||||
%{_datadir}/%{name}/extension/sslinfo*
|
||||
%{_datadir}/%{name}/extension/tablefunc*
|
||||
%{_datadir}/%{name}/extension/tcn*
|
||||
%{_datadir}/%{name}/extension/tsm_system_rows*
|
||||
%{_datadir}/%{name}/extension/tsm_system_time*
|
||||
%{_datadir}/%{name}/extension/unaccent*
|
||||
%{_datadir}/%{name}/extension/uuid-ossp*
|
||||
%{_datadir}/%{name}/extension/xml2*
|
||||
%{_docdir}/%{name}/extension/*.example
|
||||
%{_libdir}/%{name}/_int.so
|
||||
%{_libdir}/%{name}/adminpack.so
|
||||
%{_libdir}/%{name}/amcheck.so
|
||||
%{_libdir}/%{name}/auth_delay.so
|
||||
%{_libdir}/%{name}/autoinc.so
|
||||
%{_libdir}/%{name}/auto_explain.so
|
||||
%{_libdir}/%{name}/bloom.so
|
||||
%{_libdir}/%{name}/btree_gin.so
|
||||
%{_libdir}/%{name}/btree_gist.so
|
||||
%{_libdir}/%{name}/citext.so
|
||||
%{_libdir}/%{name}/cube.so
|
||||
%{_libdir}/%{name}/dblink.so
|
||||
%{_libdir}/%{name}/earthdistance.so
|
||||
%{_libdir}/%{name}/file_fdw.so*
|
||||
%{_libdir}/%{name}/fuzzystrmatch.so
|
||||
%{_libdir}/%{name}/insert_username.so
|
||||
%{_libdir}/%{name}/isn.so
|
||||
%{_libdir}/%{name}/hstore.so
|
||||
%{_libdir}/%{name}/lo.so
|
||||
%{_libdir}/%{name}/ltree.so
|
||||
%{_libdir}/%{name}/moddatetime.so
|
||||
%{_libdir}/%{name}/old_snapshot.so
|
||||
%{_libdir}/%{name}/pageinspect.so
|
||||
%{_libdir}/%{name}/passwordcheck.so
|
||||
%{_libdir}/%{name}/pgcrypto.so
|
||||
%{_libdir}/%{name}/pgrowlocks.so
|
||||
%{_libdir}/%{name}/pgstattuple.so
|
||||
%{_libdir}/%{name}/pg_buffercache.so
|
||||
%{_libdir}/%{name}/pg_freespacemap.so
|
||||
%{_libdir}/%{name}/pg_prewarm.so
|
||||
%{_libdir}/%{name}/pg_stat_statements.so
|
||||
%{_libdir}/%{name}/pg_surgery.so
|
||||
%{_libdir}/%{name}/pg_trgm.so
|
||||
%{_libdir}/%{name}/pg_visibility.so
|
||||
%{_libdir}/%{name}/pgxml.so
|
||||
%{_libdir}/%{name}/postgres_fdw.so
|
||||
%{_libdir}/%{name}/refint.so
|
||||
%{_libdir}/%{name}/seg.so
|
||||
%{_libdir}/%{name}/sslinfo.so
|
||||
%{_libdir}/%{name}/tablefunc.so
|
||||
%{_libdir}/%{name}/tcn.so
|
||||
%{_libdir}/%{name}/test_decoding.so
|
||||
%{_libdir}/%{name}/tsm_system_rows.so
|
||||
%{_libdir}/%{name}/tsm_system_time.so
|
||||
%{_libdir}/%{name}/unaccent.so
|
||||
%{_libdir}/%{name}/uuid-ossp.so
|
||||
%{_mandir}/man1/oid2name.*
|
||||
%{_mandir}/man1/pg_recvlogical.*
|
||||
%{_mandir}/man1/vacuumlo.*
|
||||
|
||||
%files llvmjit
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/postgresql/bitcode/*
|
||||
%{_libdir}/postgresql/llvmjit.so
|
||||
%{_libdir}/postgresql/llvmjit_types.bc
|
||||
%{_libdir}/%{name}/bitcode/*
|
||||
%{_libdir}/%{name}/llvmjit.so
|
||||
%{_libdir}/%{name}/llvmjit_types.bc
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
|
@ -514,140 +533,142 @@ rm -rf %{buildroot}/*
|
|||
%{_libdir}/libpgtypes.so
|
||||
%{_libdir}/libpgtypes.a
|
||||
%{_libdir}/pkgconfig/*
|
||||
%{_libdir}/postgresql/pgxs/*
|
||||
%{_libdir}/%{name}/pgxs/*
|
||||
%{_mandir}/man1/ecpg.*
|
||||
|
||||
%files plperl
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/postgresql/extension/bool_plperl*
|
||||
%{_datadir}/postgresql/extension/hstore_plperl*
|
||||
%{_datadir}/postgresql/extension/jsonb_plperl*
|
||||
%{_datadir}/postgresql/extension/plperl*
|
||||
%{_libdir}/postgresql/bool_plperl.so
|
||||
%{_libdir}/postgresql/hstore_plperl.so
|
||||
%{_libdir}/postgresql/jsonb_plperl.so
|
||||
%{_libdir}/postgresql/plperl.so
|
||||
%{_datadir}/%{name}/extension/bool_plperl*
|
||||
%{_datadir}/%{name}/extension/hstore_plperl*
|
||||
%{_datadir}/%{name}/extension/jsonb_plperl*
|
||||
%{_datadir}/%{name}/extension/plperl*
|
||||
%{_libdir}/%{name}/bool_plperl.so
|
||||
%{_libdir}/%{name}/hstore_plperl.so
|
||||
%{_libdir}/%{name}/jsonb_plperl.so
|
||||
%{_libdir}/%{name}/plperl.so
|
||||
|
||||
%files pltcl
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/postgresql/extension/pltcl*
|
||||
%{_libdir}/postgresql/pltcl.so
|
||||
%{_datadir}/%{name}/extension/pltcl*
|
||||
%{_libdir}/%{name}/pltcl.so
|
||||
|
||||
%files plpython3
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/postgresql/extension/hstore_plpython3*
|
||||
%{_datadir}/postgresql/extension/ltree_plpython3*
|
||||
%{_datadir}/postgresql/extension/jsonb_plpython3*
|
||||
%{_datadir}/postgresql/extension/plpython3*
|
||||
%{_libdir}/postgresql/hstore_plpython3.so
|
||||
%{_libdir}/postgresql/jsonb_plpython3.so
|
||||
%{_libdir}/postgresql/ltree_plpython3.so
|
||||
%{_libdir}/postgresql/plpython3.so
|
||||
%{_datadir}/%{name}/extension/hstore_plpython3*
|
||||
%{_datadir}/%{name}/extension/ltree_plpython3*
|
||||
%{_datadir}/%{name}/extension/jsonb_plpython3*
|
||||
%{_datadir}/%{name}/extension/plpython3*
|
||||
%{_libdir}/%{name}/hstore_plpython3.so
|
||||
%{_libdir}/%{name}/jsonb_plpython3.so
|
||||
%{_libdir}/%{name}/ltree_plpython3.so
|
||||
%{_libdir}/%{name}/plpython3.so
|
||||
|
||||
%changelog
|
||||
* Thu Aug 11 2022 Julien Rouhaud <jrouhaud@vmware.com> 14.5-1
|
||||
- Upgraded to version 14.5.
|
||||
* Wed Jun 22 2022 Michael Paquier <mpaquier@vmware.com> 14.4-1
|
||||
- Upgraded to version 14.4.
|
||||
* Thu Jun 16 2022 Ashwin Dayanand Kamat <kashwindayan@vmware.com> 14.3-2
|
||||
- Bump version as a part of libxslt upgrade
|
||||
* Fri May 13 2022 Michael Paquier <mpaquier@vmware.com> 14.3-1
|
||||
- Upgraded to version 14.3.
|
||||
* Mon Feb 14 2022 Michael Paquier <mpaquier@vmware.com> 14.2-1
|
||||
- Upgraded to version 14.2.
|
||||
* Fri Nov 19 2021 Nitesh Kumar <kunitesh@vmware.com> 14.1-3
|
||||
- Release bump up to use libxml2 2.9.12-1.
|
||||
* Thu Nov 18 2021 Satya Naga Vasamsetty <svasamsetty@vmware.com> 14.1-2
|
||||
- Bump up release for openssl
|
||||
* Mon Nov 15 2021 Michael Paquier <mpaquier@vmware.com> 14.1-1
|
||||
- Upgraded to version 14.1.
|
||||
* Wed Oct 20 2021 Michael Paquier <mpaquier@vmware.com> 14.0-3
|
||||
- Add support for LZ4
|
||||
* Tue Oct 19 2021 Michael Paquier <mpaquier@vmware.com> 14.0-2
|
||||
- Rework dependency list for -libs and -devel packages.
|
||||
* Thu Sep 30 2021 Michael Paquier <mpaquier@vmware.com> 14.0-1
|
||||
- Upgraded to version 14.0
|
||||
* Sat Aug 14 2021 Michael Paquier <mpaquier@vmware.com> 13.4-1
|
||||
- Upgraded to version 13.4
|
||||
* Fri May 14 2021 Michael Paquier <mpaquier@vmware.com> 13.3-1
|
||||
- Upgraded to version 13.3
|
||||
* Tue Mar 16 2021 Michael Paquier <mpaquier@vmware.com> 13.2-9
|
||||
- Add support for JIT and LLVM
|
||||
* Thu Mar 11 2021 Michael Paquier <mpaquier@vmware.com> 13.2-8
|
||||
- Add support for libxslt
|
||||
* Wed Mar 10 2021 Michael Paquier <mpaquier@vmware.com> 13.2-7
|
||||
- Add support for ICU, systemd, PAM, libuuid and dtrace
|
||||
* Mon Mar 08 2021 Michael Paquier <mpaquier@vmware.com> 13.2-6
|
||||
- Add tests for more modules in the %check phase, with TAP tests
|
||||
* Thu Mar 04 2021 Michael Paquier <mpaquier@vmware.com> 13.2-5
|
||||
- Add support for internationalization support
|
||||
* Tue Mar 02 2021 Michael Paquier <mpaquier@vmware.com> 13.2-4
|
||||
- Removed unnecessary tweak for pg_regress.c for check phase
|
||||
* Mon Mar 01 2021 Michael Paquier <mpaquier@vmware.com> 13.2-3
|
||||
- Add new packages for PL/Perl, PL/Python and PL/Tcl
|
||||
* Fri Feb 26 2021 Michael Paquier <mpaquier@vmware.com> 13.2-2
|
||||
- Bump sub-release number as per the package redesign.
|
||||
* Mon Feb 22 2021 Michael Paquier <mpaquier@vmware.com>
|
||||
- Redesign of the packages, splitting client, server and contrib.
|
||||
* Fri Feb 19 2021 Michael Paquier <mpaquier@vmware.com> 13.2-1
|
||||
- Upgraded to version 13.2
|
||||
* Fri Feb 5 2021 Michael Paquier <mpaquier@vmware.com> 13.1-1
|
||||
- Fix and reorganize list of BuildRequires
|
||||
- Removal of custom patch for CVE-2016-5423 committed in upstream.
|
||||
- Upgraded to version 13.1
|
||||
* Wed Sep 30 2020 Dweep Advani <dadvani@vmware.com> 13.0-3
|
||||
- Prefer libedit over readline
|
||||
* Tue Sep 29 2020 Satya Naga Vasamsetty <svasamsetty@vmware.com> 13.0-2
|
||||
- openssl 1.1.1
|
||||
* Thu Sep 24 2020 Gerrit Photon <photon-checkins@vmware.com> 13.0-1
|
||||
- Automatic Version Bump
|
||||
* Thu Aug 20 2020 Gerrit Photon <photon-checkins@vmware.com> 12.4-1
|
||||
- Automatic Version Bump
|
||||
* Mon Jun 22 2020 Gerrit Photon <photon-checkins@vmware.com> 12.3-1
|
||||
- Automatic Version Bump
|
||||
* Mon Aug 12 2019 Shreenidhi Shedi <sshedi@vmware.com> 11.5-1
|
||||
- Upgraded to version 11.5
|
||||
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 10.5-1
|
||||
- Updated to version 10.5
|
||||
* Tue Mar 27 2018 Dheeraj Shetty <dheerajs@vmware.com> 9.6.8-1
|
||||
- Updated to version 9.6.8 to fix CVE-2018-1058
|
||||
* Mon Feb 12 2018 Dheeraj Shetty <dheerajs@vmware.com> 9.6.7-1
|
||||
- Updated to version 9.6.7
|
||||
* Mon Nov 27 2017 Xiaolin Li <xiaolinl@vmware.com> 9.6.6-1
|
||||
- Updated to version 9.6.6
|
||||
* Fri Sep 08 2017 Xiaolin Li <xiaolinl@vmware.com> 9.6.5-1
|
||||
- Updated to version 9.6.5
|
||||
* Tue Aug 15 2017 Xiaolin Li <xiaolinl@vmware.com> 9.6.4-1
|
||||
- Updated to version 9.6.4
|
||||
* Thu Aug 10 2017 Rongrong Qiu <rqiu@vmware.com> 9.6.3-3
|
||||
- add sleep 5 when initdb in make check for bug 1900371
|
||||
* Wed Jul 05 2017 Divya Thaluru <dthaluru@vmware.com> 9.6.3-2
|
||||
- Added postgresql-devel
|
||||
* Tue Jun 06 2017 Divya Thaluru <dthaluru@vmware.com> 9.6.3-1
|
||||
- Upgraded to 9.6.3
|
||||
* Mon Apr 03 2017 Rongrong Qiu <rqiu@vmware.com> 9.6.2-1
|
||||
- Upgrade to 9.6.2 for Photon upgrade bump
|
||||
* Thu Dec 15 2016 Xiaolin Li <xiaolinl@vmware.com> 9.5.3-6
|
||||
- Applied CVE-2016-5423.patch
|
||||
* Thu Nov 24 2016 Alexey Makhalov <amakhalov@vmware.com> 9.5.3-5
|
||||
- Required krb5-devel.
|
||||
* Mon Oct 03 2016 ChangLee <changLee@vmware.com> 9.5.3-4
|
||||
- Modified %check
|
||||
* Thu May 26 2016 Xiaolin Li <xiaolinl@vmware.com> 9.5.3-3
|
||||
- Add tzdata to buildrequires and requires.
|
||||
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 9.5.3-2
|
||||
- GA - Bump release of all rpms
|
||||
* Fri May 20 2016 Divya Thaluru <dthaluru@vmware.com> 9.5.3-1
|
||||
- Updated to version 9.5.3
|
||||
* Wed Apr 13 2016 Michael Paquier <mpaquier@vmware.com> 9.5.2-1
|
||||
- Updated to version 9.5.2
|
||||
* Tue Feb 23 2016 Xiaolin Li <xiaolinl@vmware.com> 9.5.1-1
|
||||
- Updated to version 9.5.1
|
||||
* Thu Jan 21 2016 Xiaolin Li <xiaolinl@vmware.com> 9.5.0-1
|
||||
- Updated to version 9.5.0
|
||||
* Thu Aug 13 2015 Divya Thaluru <dthaluru@vmware.com> 9.4.4-1
|
||||
- Update to version 9.4.4.
|
||||
* Mon Jul 13 2015 Alexey Makhalov <amakhalov@vmware.com> 9.4.1-2
|
||||
- Exclude /usr/lib/debug
|
||||
* Fri May 15 2015 Sharath George <sharathg@vmware.com> 9.4.1-1
|
||||
- Initial build. First version
|
||||
* Wed Sep 28 2022 Shreenidhi Shedi <sshedi@vmware.com> 14.5-2
|
||||
- Bump version as a part of llvm upgrade
|
||||
* Thu Aug 11 2022 Julien Rouhaud <jrouhaud@vmware.com> 14.5-1
|
||||
- Upgraded to version 14.5.
|
||||
* Wed Jun 22 2022 Michael Paquier <mpaquier@vmware.com> 14.4-1
|
||||
- Upgraded to version 14.4.
|
||||
* Thu Jun 16 2022 Ashwin Dayanand Kamat <kashwindayan@vmware.com> 14.3-2
|
||||
- Bump version as a part of libxslt upgrade
|
||||
* Fri May 13 2022 Michael Paquier <mpaquier@vmware.com> 14.3-1
|
||||
- Upgraded to version 14.3.
|
||||
* Mon Feb 14 2022 Michael Paquier <mpaquier@vmware.com> 14.2-1
|
||||
- Upgraded to version 14.2.
|
||||
* Fri Nov 19 2021 Nitesh Kumar <kunitesh@vmware.com> 14.1-3
|
||||
- Release bump up to use libxml2 2.9.12-1.
|
||||
* Thu Nov 18 2021 Satya Naga Vasamsetty <svasamsetty@vmware.com> 14.1-2
|
||||
- Bump up release for openssl
|
||||
* Mon Nov 15 2021 Michael Paquier <mpaquier@vmware.com> 14.1-1
|
||||
- Upgraded to version 14.1.
|
||||
* Wed Oct 20 2021 Michael Paquier <mpaquier@vmware.com> 14.0-3
|
||||
- Add support for LZ4
|
||||
* Tue Oct 19 2021 Michael Paquier <mpaquier@vmware.com> 14.0-2
|
||||
- Rework dependency list for -libs and -devel packages.
|
||||
* Thu Sep 30 2021 Michael Paquier <mpaquier@vmware.com> 14.0-1
|
||||
- Upgraded to version 14.0
|
||||
* Sat Aug 14 2021 Michael Paquier <mpaquier@vmware.com> 13.4-1
|
||||
- Upgraded to version 13.4
|
||||
* Fri May 14 2021 Michael Paquier <mpaquier@vmware.com> 13.3-1
|
||||
- Upgraded to version 13.3
|
||||
* Tue Mar 16 2021 Michael Paquier <mpaquier@vmware.com> 13.2-9
|
||||
- Add support for JIT and LLVM
|
||||
* Thu Mar 11 2021 Michael Paquier <mpaquier@vmware.com> 13.2-8
|
||||
- Add support for libxslt
|
||||
* Wed Mar 10 2021 Michael Paquier <mpaquier@vmware.com> 13.2-7
|
||||
- Add support for ICU, systemd, PAM, libuuid and dtrace
|
||||
* Mon Mar 08 2021 Michael Paquier <mpaquier@vmware.com> 13.2-6
|
||||
- Add tests for more modules in the %check phase, with TAP tests
|
||||
* Thu Mar 04 2021 Michael Paquier <mpaquier@vmware.com> 13.2-5
|
||||
- Add support for internationalization support
|
||||
* Tue Mar 02 2021 Michael Paquier <mpaquier@vmware.com> 13.2-4
|
||||
- Removed unnecessary tweak for pg_regress.c for check phase
|
||||
* Mon Mar 01 2021 Michael Paquier <mpaquier@vmware.com> 13.2-3
|
||||
- Add new packages for PL/Perl, PL/Python and PL/Tcl
|
||||
* Fri Feb 26 2021 Michael Paquier <mpaquier@vmware.com> 13.2-2
|
||||
- Bump sub-release number as per the package redesign.
|
||||
* Mon Feb 22 2021 Michael Paquier <mpaquier@vmware.com>
|
||||
- Redesign of the packages, splitting client, server and contrib.
|
||||
* Fri Feb 19 2021 Michael Paquier <mpaquier@vmware.com> 13.2-1
|
||||
- Upgraded to version 13.2
|
||||
* Fri Feb 5 2021 Michael Paquier <mpaquier@vmware.com> 13.1-1
|
||||
- Fix and reorganize list of BuildRequires
|
||||
- Removal of custom patch for CVE-2016-5423 committed in upstream.
|
||||
- Upgraded to version 13.1
|
||||
* Wed Sep 30 2020 Dweep Advani <dadvani@vmware.com> 13.0-3
|
||||
- Prefer libedit over readline
|
||||
* Tue Sep 29 2020 Satya Naga Vasamsetty <svasamsetty@vmware.com> 13.0-2
|
||||
- openssl 1.1.1
|
||||
* Thu Sep 24 2020 Gerrit Photon <photon-checkins@vmware.com> 13.0-1
|
||||
- Automatic Version Bump
|
||||
* Thu Aug 20 2020 Gerrit Photon <photon-checkins@vmware.com> 12.4-1
|
||||
- Automatic Version Bump
|
||||
* Mon Jun 22 2020 Gerrit Photon <photon-checkins@vmware.com> 12.3-1
|
||||
- Automatic Version Bump
|
||||
* Mon Aug 12 2019 Shreenidhi Shedi <sshedi@vmware.com> 11.5-1
|
||||
- Upgraded to version 11.5
|
||||
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 10.5-1
|
||||
- Updated to version 10.5
|
||||
* Tue Mar 27 2018 Dheeraj Shetty <dheerajs@vmware.com> 9.6.8-1
|
||||
- Updated to version 9.6.8 to fix CVE-2018-1058
|
||||
* Mon Feb 12 2018 Dheeraj Shetty <dheerajs@vmware.com> 9.6.7-1
|
||||
- Updated to version 9.6.7
|
||||
* Mon Nov 27 2017 Xiaolin Li <xiaolinl@vmware.com> 9.6.6-1
|
||||
- Updated to version 9.6.6
|
||||
* Fri Sep 08 2017 Xiaolin Li <xiaolinl@vmware.com> 9.6.5-1
|
||||
- Updated to version 9.6.5
|
||||
* Tue Aug 15 2017 Xiaolin Li <xiaolinl@vmware.com> 9.6.4-1
|
||||
- Updated to version 9.6.4
|
||||
* Thu Aug 10 2017 Rongrong Qiu <rqiu@vmware.com> 9.6.3-3
|
||||
- add sleep 5 when initdb in make check for bug 1900371
|
||||
* Wed Jul 05 2017 Divya Thaluru <dthaluru@vmware.com> 9.6.3-2
|
||||
- Added postgresql-devel
|
||||
* Tue Jun 06 2017 Divya Thaluru <dthaluru@vmware.com> 9.6.3-1
|
||||
- Upgraded to 9.6.3
|
||||
* Mon Apr 03 2017 Rongrong Qiu <rqiu@vmware.com> 9.6.2-1
|
||||
- Upgrade to 9.6.2 for Photon upgrade bump
|
||||
* Thu Dec 15 2016 Xiaolin Li <xiaolinl@vmware.com> 9.5.3-6
|
||||
- Applied CVE-2016-5423.patch
|
||||
* Thu Nov 24 2016 Alexey Makhalov <amakhalov@vmware.com> 9.5.3-5
|
||||
- Required krb5-devel.
|
||||
* Mon Oct 03 2016 ChangLee <changLee@vmware.com> 9.5.3-4
|
||||
- Modified %check
|
||||
* Thu May 26 2016 Xiaolin Li <xiaolinl@vmware.com> 9.5.3-3
|
||||
- Add tzdata to buildrequires and requires.
|
||||
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 9.5.3-2
|
||||
- GA - Bump release of all rpms
|
||||
* Fri May 20 2016 Divya Thaluru <dthaluru@vmware.com> 9.5.3-1
|
||||
- Updated to version 9.5.3
|
||||
* Wed Apr 13 2016 Michael Paquier <mpaquier@vmware.com> 9.5.2-1
|
||||
- Updated to version 9.5.2
|
||||
* Tue Feb 23 2016 Xiaolin Li <xiaolinl@vmware.com> 9.5.1-1
|
||||
- Updated to version 9.5.1
|
||||
* Thu Jan 21 2016 Xiaolin Li <xiaolinl@vmware.com> 9.5.0-1
|
||||
- Updated to version 9.5.0
|
||||
* Thu Aug 13 2015 Divya Thaluru <dthaluru@vmware.com> 9.4.4-1
|
||||
- Update to version 9.4.4.
|
||||
* Mon Jul 13 2015 Alexey Makhalov <amakhalov@vmware.com> 9.4.1-2
|
||||
- Exclude /usr/lib/debug
|
||||
* Fri May 15 2015 Sharath George <sharathg@vmware.com> 9.4.1-1
|
||||
- Initial build. First version
|
||||
|
|
|
@ -1,19 +1,27 @@
|
|||
Summary: PostgreSQL database engine
|
||||
Name: postgresql12
|
||||
Version: 12.12
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: PostgreSQL
|
||||
URL: www.postgresql.org
|
||||
Group: Applications/Databases
|
||||
Vendor: VMware, Inc.
|
||||
Distribution: Photon
|
||||
|
||||
Source0: http://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
|
||||
%define sha512 postgresql=eeff79279ac11db04fdddeb2c52ba1ec6b549223b862222540e1f659fbfc3617130699c22694b465bde46b1a4a665c01aef70b68b86d80e58a5657efd019407d
|
||||
Source0: http://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
|
||||
%define sha512 postgresql=eeff79279ac11db04fdddeb2c52ba1ec6b549223b862222540e1f659fbfc3617130699c22694b465bde46b1a4a665c01aef70b68b86d80e58a5657efd019407d
|
||||
|
||||
Patch0: llvm-15.x-psql-build-err-fixes.patch
|
||||
|
||||
# Macros to be used by find_lang and such.
|
||||
%global pgmajorversion 12
|
||||
%global pgbaseinstdir /usr/pgsql/%{pgmajorversion}
|
||||
%global pgmajorversion 12
|
||||
%global _pgbaseinstdir %{_usr}/pgsql/%{pgmajorversion}
|
||||
%global _pgbindir %{_pgbaseinstdir}/bin
|
||||
%global _pgincludedir %{_pgbaseinstdir}/include
|
||||
%global _pgdatadir %{_pgbaseinstdir}/share
|
||||
%global _pgmandir %{_pgdatadir}/man
|
||||
%global _pglibdir %{_pgbaseinstdir}/lib
|
||||
%global _pgdocdir %{_pgbaseinstdir}/doc
|
||||
|
||||
# Common libraries needed
|
||||
# clang-devel is needed for LLVM.
|
||||
|
@ -42,6 +50,7 @@ BuildRequires: tcl-devel
|
|||
BuildRequires: tzdata
|
||||
BuildRequires: util-linux-libs
|
||||
BuildRequires: zlib-devel
|
||||
|
||||
Requires: krb5
|
||||
Requires: icu
|
||||
Requires: libedit
|
||||
|
@ -78,9 +87,9 @@ to use any other PostgreSQL package or any clients that need to connect to a
|
|||
PostgreSQL server.
|
||||
|
||||
%package server
|
||||
Summary: The programs needed to create and run a PostgreSQL server
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
Summary: The programs needed to create and run a PostgreSQL server
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
|
||||
%description server
|
||||
PostgreSQL is an advanced Object-Relational database management system (DBMS).
|
||||
|
@ -90,37 +99,36 @@ and maintain PostgreSQL databases.
|
|||
|
||||
%package i18n
|
||||
Summary: Additional language files for PostgreSQL
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description i18n
|
||||
The postgresql12-i18n package includes additional language files for
|
||||
PostgreSQL.
|
||||
|
||||
%package docs
|
||||
Summary: Extra documentation for PostgreSQL
|
||||
Summary: Extra documentation for PostgreSQL
|
||||
|
||||
%description docs
|
||||
The postgresql12-docs package includes the documentation.
|
||||
|
||||
%package contrib
|
||||
Summary: Contributed source and binaries distributed with PostgreSQL
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
Requires: %{name}-server = %{version}-%{release}
|
||||
Summary: Contributed source and binaries distributed with PostgreSQL
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
Requires: %{name}-server = %{version}-%{release}
|
||||
|
||||
%description contrib
|
||||
The postgresql12-contrib package contains various extension modules that are
|
||||
included in the PostgreSQL distribution.
|
||||
|
||||
%package devel
|
||||
Summary: PostgreSQL development header files and libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
Requires: clang-devel
|
||||
Requires: libxslt
|
||||
Requires: libxslt-devel
|
||||
Requires: llvm-devel
|
||||
Requires: perl-IPC-Run
|
||||
Summary: PostgreSQL development header files and libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
Requires: clang-devel
|
||||
Requires: libxslt-devel
|
||||
Requires: llvm-devel
|
||||
Requires: perl-IPC-Run
|
||||
|
||||
%description devel
|
||||
The postgresql12-devel package contains the header files and libraries
|
||||
|
@ -139,8 +147,8 @@ The postgresql12-llvmjit package contains support for just-in-time
|
|||
compilation with PostgreSQL queries.
|
||||
|
||||
%package plperl
|
||||
Summary: The Perl procedural language for PostgreSQL
|
||||
Requires: %{name}-server = %{version}-%{release}
|
||||
Summary: The Perl procedural language for PostgreSQL
|
||||
Requires: %{name}-server = %{version}-%{release}
|
||||
|
||||
%description plperl
|
||||
The postgresql12-plperl package contains the PL/Perl procedural language,
|
||||
|
@ -148,10 +156,10 @@ which is an extension to the PostgreSQL database server.
|
|||
Install this if you want to write database functions in Perl.
|
||||
|
||||
%package plpython3
|
||||
Summary: The Python3 procedural language for PostgreSQL
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-server = %{version}-%{release}
|
||||
Requires: python3-libs
|
||||
Summary: The Python3 procedural language for PostgreSQL
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-server = %{version}-%{release}
|
||||
Requires: python3-libs
|
||||
|
||||
%description plpython3
|
||||
The postgresql12-plpython3 package contains the PL/Python3 procedural language,
|
||||
|
@ -159,10 +167,10 @@ which is an extension to the PostgreSQL database server.
|
|||
Install this if you want to write database functions in Python 3.
|
||||
|
||||
%package pltcl
|
||||
Summary: The Tcl procedural language for PostgreSQL
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-server = %{version}-%{release}
|
||||
Requires: tcl
|
||||
Summary: The Tcl procedural language for PostgreSQL
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-server = %{version}-%{release}
|
||||
Requires: tcl
|
||||
|
||||
%description pltcl
|
||||
PostgreSQL is an advanced Object-Relational database management
|
||||
|
@ -178,7 +186,7 @@ sed -i '/DEFAULT_PGSOCKET_DIR/s@/tmp@/run/postgresql@' src/include/pg_config_man
|
|||
# Note that %configure is not used here as this command relies on non-default
|
||||
# values.
|
||||
sh ./configure \
|
||||
--prefix=%{pgbaseinstdir} \
|
||||
--prefix=%{_pgbaseinstdir} \
|
||||
--enable-dtrace \
|
||||
--enable-thread-safety \
|
||||
--enable-nls \
|
||||
|
@ -199,22 +207,24 @@ sh ./configure \
|
|||
--with-system-tzdata=%{_datadir}/zoneinfo \
|
||||
--with-tcl \
|
||||
--with-uuid=e2fs \
|
||||
--includedir=%{pgbaseinstdir}/include \
|
||||
--bindir=%{pgbaseinstdir}/bin \
|
||||
--mandir=%{pgbaseinstdir}/share/man \
|
||||
--datadir=%{pgbaseinstdir}/share \
|
||||
--libdir=%{pgbaseinstdir}/lib \
|
||||
--docdir=%{pgbaseinstdir}/doc
|
||||
--includedir=%{_pgincludedir} \
|
||||
--bindir=%{_pgbindir} \
|
||||
--mandir=%{_pgmandir} \
|
||||
--datadir=%{_pgdatadir} \
|
||||
--libdir=%{_pglibdir} \
|
||||
--docdir=%{_pgbaseinstdir}/doc
|
||||
|
||||
make world %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
[ %{buildroot} != "/" ] && rm -rf %{buildroot}/*
|
||||
make install-world DESTDIR=%{buildroot} %{?_smp_mflags}
|
||||
|
||||
# Remove anything related to Python 2. These have no need to be
|
||||
# around as only Python 3 is supported.
|
||||
rm -f %{buildroot}/%{pgbaseinstdir}/share/extension/*plpython2u*
|
||||
rm -f %{buildroot}/%{pgbaseinstdir}/share/extension/*plpythonu-*
|
||||
rm -f %{buildroot}/%{pgbaseinstdir}/share/extension/*_plpythonu.control
|
||||
rm -f %{buildroot}%{_pgdatadir}/extension/*plpython2u* \
|
||||
%{buildroot}%{_pgdatadir}/extension/*plpythonu-* \
|
||||
%{buildroot}%{_pgdatadir}/extension/*_plpythonu.control
|
||||
|
||||
# Create file lists, for --enable-nls and i18n
|
||||
%find_lang ecpg-%{pgmajorversion}
|
||||
%find_lang ecpglib6-%{pgmajorversion}
|
||||
|
@ -244,18 +254,31 @@ cat plpython-%{pgmajorversion}.lang >> pg_i18n.lst
|
|||
cat pltcl-%{pgmajorversion}.lang >> pg_i18n.lst
|
||||
%find_lang postgres-%{pgmajorversion}
|
||||
%find_lang psql-%{pgmajorversion}
|
||||
cat libpq5-%{pgmajorversion}.lang >> pg_i18n.lst
|
||||
cat pg_config-%{pgmajorversion}.lang ecpg-%{pgmajorversion}.lang ecpglib6-%{pgmajorversion}.lang >> pg_i18n.lst
|
||||
cat initdb-%{pgmajorversion}.lang pg_ctl-%{pgmajorversion}.lang psql-%{pgmajorversion}.lang pg_dump-%{pgmajorversion}.lang pg_basebackup-%{pgmajorversion}.lang pgscripts-%{pgmajorversion}.lang >> pg_i18n.lst
|
||||
cat postgres-%{pgmajorversion}.lang pg_resetwal-%{pgmajorversion}.lang pg_checksums-%{pgmajorversion}.lang pg_controldata-%{pgmajorversion}.lang plpgsql-%{pgmajorversion}.lang pg_test_timing-%{pgmajorversion}.lang pg_test_fsync-%{pgmajorversion}.lang pg_archivecleanup-%{pgmajorversion}.lang pg_waldump-%{pgmajorversion}.lang pg_rewind-%{pgmajorversion}.lang pg_upgrade-%{pgmajorversion}.lang >> pg_i18n.lst
|
||||
|
||||
cat libpq5-%{pgmajorversion}.lang >> pg_i18n.lst
|
||||
|
||||
cat pg_config-%{pgmajorversion}.lang ecpg-%{pgmajorversion}.lang \
|
||||
ecpglib6-%{pgmajorversion}.lang >> pg_i18n.lst
|
||||
|
||||
cat initdb-%{pgmajorversion}.lang pg_ctl-%{pgmajorversion}.lang \
|
||||
psql-%{pgmajorversion}.lang pg_dump-%{pgmajorversion}.lang \
|
||||
pg_basebackup-%{pgmajorversion}.lang pgscripts-%{pgmajorversion}.lang >> pg_i18n.lst
|
||||
|
||||
cat postgres-%{pgmajorversion}.lang pg_resetwal-%{pgmajorversion}.lang \
|
||||
pg_checksums-%{pgmajorversion}.lang pg_controldata-%{pgmajorversion}.lang \
|
||||
plpgsql-%{pgmajorversion}.lang pg_test_timing-%{pgmajorversion}.lang \
|
||||
pg_test_fsync-%{pgmajorversion}.lang pg_archivecleanup-%{pgmajorversion}.lang \
|
||||
pg_waldump-%{pgmajorversion}.lang pg_rewind-%{pgmajorversion}.lang \
|
||||
pg_upgrade-%{pgmajorversion}.lang >> pg_i18n.lst
|
||||
|
||||
%if 0%{?with_check}
|
||||
%check
|
||||
# Run the main regression test suites in the source tree.
|
||||
run_test_path()
|
||||
{
|
||||
make_path="$1"
|
||||
chown -Rv nobody .
|
||||
sudo -u nobody -s /bin/bash -c "PATH=$PATH make -C $make_path -k check"
|
||||
make_path="$1"
|
||||
chown -Rv nobody .
|
||||
sudo -u nobody -s /bin/bash -c "PATH=$PATH make -C $make_path -k check"
|
||||
}
|
||||
# SQL test suites, mostly.
|
||||
run_test_path "src/test/regress"
|
||||
|
@ -268,286 +291,290 @@ run_test_path "src/test/authentication"
|
|||
run_test_path "src/test/recovery"
|
||||
run_test_path "src/test/ssl"
|
||||
run_test_path "src/test/subscription"
|
||||
%endif
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}/*
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{pgbaseinstdir}/bin/clusterdb
|
||||
%{pgbaseinstdir}/bin/createdb
|
||||
%{pgbaseinstdir}/bin/createuser
|
||||
%{pgbaseinstdir}/bin/dropdb
|
||||
%{pgbaseinstdir}/bin/dropuser
|
||||
%{pgbaseinstdir}/bin/pgbench
|
||||
%{pgbaseinstdir}/bin/pg_basebackup
|
||||
%{pgbaseinstdir}/bin/pg_config
|
||||
%{pgbaseinstdir}/bin/pg_dump
|
||||
%{pgbaseinstdir}/bin/pg_dumpall
|
||||
%{pgbaseinstdir}/bin/pg_isready
|
||||
%{pgbaseinstdir}/bin/pg_receivewal
|
||||
%{pgbaseinstdir}/bin/pg_restore
|
||||
%{pgbaseinstdir}/bin/pg_waldump
|
||||
%{pgbaseinstdir}/bin/psql
|
||||
%{pgbaseinstdir}/bin/reindexdb
|
||||
%{pgbaseinstdir}/bin/vacuumdb
|
||||
%{pgbaseinstdir}/share/errcodes.txt
|
||||
%{pgbaseinstdir}/share/man/man1/clusterdb.*
|
||||
%{pgbaseinstdir}/share/man/man1/createdb.*
|
||||
%{pgbaseinstdir}/share/man/man1/createuser.*
|
||||
%{pgbaseinstdir}/share/man/man1/dropdb.*
|
||||
%{pgbaseinstdir}/share/man/man1/dropuser.*
|
||||
%{pgbaseinstdir}/share/man/man1/pgbench.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_basebackup.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_config.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_dump.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_dumpall.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_isready.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_restore.*
|
||||
%{pgbaseinstdir}/share/man/man1/psql.*
|
||||
%{pgbaseinstdir}/share/man/man1/reindexdb.*
|
||||
%{pgbaseinstdir}/share/man/man1/vacuumdb.*
|
||||
%{pgbaseinstdir}/share/man/man3/*
|
||||
%{pgbaseinstdir}/share/man/man7/*
|
||||
%{_pgbindir}/clusterdb
|
||||
%{_pgbindir}/createdb
|
||||
%{_pgbindir}/createuser
|
||||
%{_pgbindir}/dropdb
|
||||
%{_pgbindir}/dropuser
|
||||
%{_pgbindir}/pgbench
|
||||
%{_pgbindir}/pg_basebackup
|
||||
%{_pgbindir}/pg_config
|
||||
%{_pgbindir}/pg_dump
|
||||
%{_pgbindir}/pg_dumpall
|
||||
%{_pgbindir}/pg_isready
|
||||
%{_pgbindir}/pg_receivewal
|
||||
%{_pgbindir}/pg_restore
|
||||
%{_pgbindir}/pg_waldump
|
||||
%{_pgbindir}/psql
|
||||
%{_pgbindir}/reindexdb
|
||||
%{_pgbindir}/vacuumdb
|
||||
%{_pgdatadir}/errcodes.txt
|
||||
%{_pgmandir}/man1/clusterdb.*
|
||||
%{_pgmandir}/man1/createdb.*
|
||||
%{_pgmandir}/man1/createuser.*
|
||||
%{_pgmandir}/man1/dropdb.*
|
||||
%{_pgmandir}/man1/dropuser.*
|
||||
%{_pgmandir}/man1/pgbench.*
|
||||
%{_pgmandir}/man1/pg_basebackup.*
|
||||
%{_pgmandir}/man1/pg_config.*
|
||||
%{_pgmandir}/man1/pg_dump.*
|
||||
%{_pgmandir}/man1/pg_dumpall.*
|
||||
%{_pgmandir}/man1/pg_isready.*
|
||||
%{_pgmandir}/man1/pg_restore.*
|
||||
%{_pgmandir}/man1/psql.*
|
||||
%{_pgmandir}/man1/reindexdb.*
|
||||
%{_pgmandir}/man1/vacuumdb.*
|
||||
%{_pgmandir}/man3/*
|
||||
%{_pgmandir}/man7/*
|
||||
|
||||
%files libs
|
||||
%defattr(-,root,root)
|
||||
%{pgbaseinstdir}/lib/libpq.so.*
|
||||
%{pgbaseinstdir}/lib/libecpg.so*
|
||||
%{pgbaseinstdir}/lib/libpgtypes.so.*
|
||||
%{pgbaseinstdir}/lib/libecpg_compat.so.*
|
||||
%{pgbaseinstdir}/lib/libpqwalreceiver.so
|
||||
%{_pglibdir}/libpq.so.*
|
||||
%{_pglibdir}/libecpg.so*
|
||||
%{_pglibdir}/libpgtypes.so.*
|
||||
%{_pglibdir}/libecpg_compat.so.*
|
||||
%{_pglibdir}/libpqwalreceiver.so
|
||||
|
||||
%files server
|
||||
%defattr(-,root,root)
|
||||
%{pgbaseinstdir}/bin/initdb
|
||||
%{pgbaseinstdir}/bin/pg_archivecleanup
|
||||
%{pgbaseinstdir}/bin/pg_checksums
|
||||
%{pgbaseinstdir}/bin/pg_controldata
|
||||
%{pgbaseinstdir}/bin/pg_ctl
|
||||
%{pgbaseinstdir}/bin/pg_resetwal
|
||||
%{pgbaseinstdir}/bin/pg_rewind
|
||||
%{pgbaseinstdir}/bin/pg_test_fsync
|
||||
%{pgbaseinstdir}/bin/pg_test_timing
|
||||
%{pgbaseinstdir}/bin/pg_upgrade
|
||||
%{pgbaseinstdir}/bin/postgres
|
||||
%{pgbaseinstdir}/bin/postmaster
|
||||
%{pgbaseinstdir}/share/man/man1/initdb.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_archivecleanup.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_checksums.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_controldata.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_ctl.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_resetwal.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_receivewal.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_rewind.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_test_fsync.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_test_timing.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_upgrade.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_waldump.*
|
||||
%{pgbaseinstdir}/share/man/man1/postgres.*
|
||||
%{pgbaseinstdir}/share/man/man1/postmaster.*
|
||||
%{pgbaseinstdir}/share/*.sample
|
||||
%{pgbaseinstdir}/share/postgres.bki
|
||||
%{pgbaseinstdir}/share/postgres.description
|
||||
%{pgbaseinstdir}/share/postgres.shdescription
|
||||
%{pgbaseinstdir}/share/information_schema.sql
|
||||
%{pgbaseinstdir}/share/snowball_create.sql
|
||||
%{pgbaseinstdir}/share/sql_features.txt
|
||||
%{pgbaseinstdir}/share/system_views.sql
|
||||
%dir %{pgbaseinstdir}/share/extension
|
||||
%{pgbaseinstdir}/share/extension/plpgsql*
|
||||
%{pgbaseinstdir}/share/timezonesets/*
|
||||
%{pgbaseinstdir}/share/tsearch_data/*.affix
|
||||
%{pgbaseinstdir}/share/tsearch_data/*.dict
|
||||
%{pgbaseinstdir}/share/tsearch_data/*.ths
|
||||
%{pgbaseinstdir}/share/tsearch_data/*.rules
|
||||
%{pgbaseinstdir}/share/tsearch_data/*.stop
|
||||
%{pgbaseinstdir}/share/tsearch_data/*.syn
|
||||
%{pgbaseinstdir}/lib/dict_int.so
|
||||
%{pgbaseinstdir}/lib/dict_snowball.so
|
||||
%{pgbaseinstdir}/lib/dict_xsyn.so
|
||||
%{pgbaseinstdir}/lib/euc2004_sjis2004.so
|
||||
%{pgbaseinstdir}/lib/pgoutput.so
|
||||
%{pgbaseinstdir}/lib/plpgsql.so
|
||||
%{pgbaseinstdir}/lib/*_and_*.so
|
||||
%{_pgbindir}/initdb
|
||||
%{_pgbindir}/pg_archivecleanup
|
||||
%{_pgbindir}/pg_checksums
|
||||
%{_pgbindir}/pg_controldata
|
||||
%{_pgbindir}/pg_ctl
|
||||
%{_pgbindir}/pg_resetwal
|
||||
%{_pgbindir}/pg_rewind
|
||||
%{_pgbindir}/pg_test_fsync
|
||||
%{_pgbindir}/pg_test_timing
|
||||
%{_pgbindir}/pg_upgrade
|
||||
%{_pgbindir}/postgres
|
||||
%{_pgbindir}/postmaster
|
||||
%{_pgmandir}/man1/initdb.*
|
||||
%{_pgmandir}/man1/pg_archivecleanup.*
|
||||
%{_pgmandir}/man1/pg_checksums.*
|
||||
%{_pgmandir}/man1/pg_controldata.*
|
||||
%{_pgmandir}/man1/pg_ctl.*
|
||||
%{_pgmandir}/man1/pg_resetwal.*
|
||||
%{_pgmandir}/man1/pg_receivewal.*
|
||||
%{_pgmandir}/man1/pg_rewind.*
|
||||
%{_pgmandir}/man1/pg_test_fsync.*
|
||||
%{_pgmandir}/man1/pg_test_timing.*
|
||||
%{_pgmandir}/man1/pg_upgrade.*
|
||||
%{_pgmandir}/man1/pg_waldump.*
|
||||
%{_pgmandir}/man1/postgres.*
|
||||
%{_pgmandir}/man1/postmaster.*
|
||||
%{_pgdatadir}/*.sample
|
||||
%{_pgdatadir}/postgres.bki
|
||||
%{_pgdatadir}/postgres.description
|
||||
%{_pgdatadir}/postgres.shdescription
|
||||
%{_pgdatadir}/information_schema.sql
|
||||
%{_pgdatadir}/snowball_create.sql
|
||||
%{_pgdatadir}/sql_features.txt
|
||||
%{_pgdatadir}/system_views.sql
|
||||
%dir %{_pgdatadir}/extension
|
||||
%{_pgdatadir}/extension/plpgsql*
|
||||
%{_pgdatadir}/timezonesets/*
|
||||
%{_pgdatadir}/tsearch_data/*.affix
|
||||
%{_pgdatadir}/tsearch_data/*.dict
|
||||
%{_pgdatadir}/tsearch_data/*.ths
|
||||
%{_pgdatadir}/tsearch_data/*.rules
|
||||
%{_pgdatadir}/tsearch_data/*.stop
|
||||
%{_pgdatadir}/tsearch_data/*.syn
|
||||
%{_pglibdir}/dict_int.so
|
||||
%{_pglibdir}/dict_snowball.so
|
||||
%{_pglibdir}/dict_xsyn.so
|
||||
%{_pglibdir}/euc2004_sjis2004.so
|
||||
%{_pglibdir}/pgoutput.so
|
||||
%{_pglibdir}/plpgsql.so
|
||||
%{_pglibdir}/*_and_*.so
|
||||
|
||||
%files i18n -f pg_i18n.lst
|
||||
|
||||
%files docs
|
||||
%defattr(-,root,root)
|
||||
%{pgbaseinstdir}/doc/*
|
||||
%{_pgbaseinstdir}/doc/*
|
||||
|
||||
%files contrib
|
||||
%defattr(-,root,root)
|
||||
%{pgbaseinstdir}/bin/oid2name
|
||||
%{pgbaseinstdir}/bin/vacuumlo
|
||||
%{pgbaseinstdir}/bin/pg_recvlogical
|
||||
%{pgbaseinstdir}/bin/pg_standby
|
||||
%{pgbaseinstdir}/share/extension/adminpack*
|
||||
%{pgbaseinstdir}/share/extension/amcheck*
|
||||
%{pgbaseinstdir}/share/extension/autoinc*
|
||||
%{pgbaseinstdir}/share/extension/bloom*
|
||||
%{pgbaseinstdir}/share/extension/btree_gin*
|
||||
%{pgbaseinstdir}/share/extension/btree_gist*
|
||||
%{pgbaseinstdir}/share/extension/citext*
|
||||
%{pgbaseinstdir}/share/extension/cube*
|
||||
%{pgbaseinstdir}/share/extension/dblink*
|
||||
%{pgbaseinstdir}/share/extension/dict_int*
|
||||
%{pgbaseinstdir}/share/extension/dict_xsyn*
|
||||
%{pgbaseinstdir}/share/extension/earthdistance*
|
||||
%{pgbaseinstdir}/share/extension/file_fdw*
|
||||
%{pgbaseinstdir}/share/extension/fuzzystrmatch*
|
||||
%{pgbaseinstdir}/share/extension/hstore.control
|
||||
%{pgbaseinstdir}/share/extension/hstore--*.sql
|
||||
%{pgbaseinstdir}/share/extension/insert_username*
|
||||
%{pgbaseinstdir}/share/extension/intagg*
|
||||
%{pgbaseinstdir}/share/extension/intarray*
|
||||
%{pgbaseinstdir}/share/extension/isn*
|
||||
%{pgbaseinstdir}/share/extension/lo*
|
||||
%{pgbaseinstdir}/share/extension/ltree.control
|
||||
%{pgbaseinstdir}/share/extension/ltree--*.sql
|
||||
%{pgbaseinstdir}/share/extension/moddatetime*
|
||||
%{pgbaseinstdir}/share/extension/pageinspect*
|
||||
%{pgbaseinstdir}/share/extension/pg_buffercache*
|
||||
%{pgbaseinstdir}/share/extension/pg_freespacemap*
|
||||
%{pgbaseinstdir}/share/extension/pg_prewarm*
|
||||
%{pgbaseinstdir}/share/extension/pg_stat_statements*
|
||||
%{pgbaseinstdir}/share/extension/pg_trgm*
|
||||
%{pgbaseinstdir}/share/extension/pg_visibility*
|
||||
%{pgbaseinstdir}/share/extension/pgcrypto*
|
||||
%{pgbaseinstdir}/share/extension/pgrowlocks*
|
||||
%{pgbaseinstdir}/share/extension/pgstattuple*
|
||||
%{pgbaseinstdir}/share/extension/postgres_fdw*
|
||||
%{pgbaseinstdir}/share/extension/refint*
|
||||
%{pgbaseinstdir}/share/extension/seg*
|
||||
%{pgbaseinstdir}/share/extension/sslinfo*
|
||||
%{pgbaseinstdir}/share/extension/tablefunc*
|
||||
%{pgbaseinstdir}/share/extension/tcn*
|
||||
%{pgbaseinstdir}/share/extension/tsm_system_rows*
|
||||
%{pgbaseinstdir}/share/extension/tsm_system_time*
|
||||
%{pgbaseinstdir}/share/extension/unaccent*
|
||||
%{pgbaseinstdir}/share/extension/uuid-ossp*
|
||||
%{pgbaseinstdir}/share/extension/xml2*
|
||||
%{pgbaseinstdir}/doc/extension/*.example
|
||||
%{pgbaseinstdir}/lib/_int.so
|
||||
%{pgbaseinstdir}/lib/adminpack.so
|
||||
%{pgbaseinstdir}/lib/amcheck.so
|
||||
%{pgbaseinstdir}/lib/auth_delay.so
|
||||
%{pgbaseinstdir}/lib/autoinc.so
|
||||
%{pgbaseinstdir}/lib/auto_explain.so
|
||||
%{pgbaseinstdir}/lib/bloom.so
|
||||
%{pgbaseinstdir}/lib/btree_gin.so
|
||||
%{pgbaseinstdir}/lib/btree_gist.so
|
||||
%{pgbaseinstdir}/lib/citext.so
|
||||
%{pgbaseinstdir}/lib/cube.so
|
||||
%{pgbaseinstdir}/lib/dblink.so
|
||||
%{pgbaseinstdir}/lib/earthdistance.so
|
||||
%{pgbaseinstdir}/lib/file_fdw.so*
|
||||
%{pgbaseinstdir}/lib/fuzzystrmatch.so
|
||||
%{pgbaseinstdir}/lib/insert_username.so
|
||||
%{pgbaseinstdir}/lib/isn.so
|
||||
%{pgbaseinstdir}/lib/hstore.so
|
||||
%{pgbaseinstdir}/lib/lo.so
|
||||
%{pgbaseinstdir}/lib/ltree.so
|
||||
%{pgbaseinstdir}/lib/moddatetime.so
|
||||
%{pgbaseinstdir}/lib/pageinspect.so
|
||||
%{pgbaseinstdir}/lib/passwordcheck.so
|
||||
%{pgbaseinstdir}/lib/pgcrypto.so
|
||||
%{pgbaseinstdir}/lib/pgrowlocks.so
|
||||
%{pgbaseinstdir}/lib/pgstattuple.so
|
||||
%{pgbaseinstdir}/lib/pg_buffercache.so
|
||||
%{pgbaseinstdir}/lib/pg_freespacemap.so
|
||||
%{pgbaseinstdir}/lib/pg_prewarm.so
|
||||
%{pgbaseinstdir}/lib/pg_stat_statements.so
|
||||
%{pgbaseinstdir}/lib/pg_trgm.so
|
||||
%{pgbaseinstdir}/lib/pg_visibility.so
|
||||
%{pgbaseinstdir}/lib/pgxml.so
|
||||
%{pgbaseinstdir}/lib/postgres_fdw.so
|
||||
%{pgbaseinstdir}/lib/refint.so
|
||||
%{pgbaseinstdir}/lib/seg.so
|
||||
%{pgbaseinstdir}/lib/sslinfo.so
|
||||
%{pgbaseinstdir}/lib/tablefunc.so
|
||||
%{pgbaseinstdir}/lib/tcn.so
|
||||
%{pgbaseinstdir}/lib/test_decoding.so
|
||||
%{pgbaseinstdir}/lib/tsm_system_rows.so
|
||||
%{pgbaseinstdir}/lib/tsm_system_time.so
|
||||
%{pgbaseinstdir}/lib/unaccent.so
|
||||
%{pgbaseinstdir}/lib/uuid-ossp.so
|
||||
%{pgbaseinstdir}/share/man/man1/oid2name.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_recvlogical.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_standby.*
|
||||
%{pgbaseinstdir}/share/man/man1/vacuumlo.*
|
||||
%{_pgbindir}/oid2name
|
||||
%{_pgbindir}/vacuumlo
|
||||
%{_pgbindir}/pg_recvlogical
|
||||
%{_pgbindir}/pg_standby
|
||||
%{_pgdatadir}/extension/adminpack*
|
||||
%{_pgdatadir}/extension/amcheck*
|
||||
%{_pgdatadir}/extension/autoinc*
|
||||
%{_pgdatadir}/extension/bloom*
|
||||
%{_pgdatadir}/extension/btree_gin*
|
||||
%{_pgdatadir}/extension/btree_gist*
|
||||
%{_pgdatadir}/extension/citext*
|
||||
%{_pgdatadir}/extension/cube*
|
||||
%{_pgdatadir}/extension/dblink*
|
||||
%{_pgdatadir}/extension/dict_int*
|
||||
%{_pgdatadir}/extension/dict_xsyn*
|
||||
%{_pgdatadir}/extension/earthdistance*
|
||||
%{_pgdatadir}/extension/file_fdw*
|
||||
%{_pgdatadir}/extension/fuzzystrmatch*
|
||||
%{_pgdatadir}/extension/hstore.control
|
||||
%{_pgdatadir}/extension/hstore--*.sql
|
||||
%{_pgdatadir}/extension/insert_username*
|
||||
%{_pgdatadir}/extension/intagg*
|
||||
%{_pgdatadir}/extension/intarray*
|
||||
%{_pgdatadir}/extension/isn*
|
||||
%{_pgdatadir}/extension/lo*
|
||||
%{_pgdatadir}/extension/ltree.control
|
||||
%{_pgdatadir}/extension/ltree--*.sql
|
||||
%{_pgdatadir}/extension/moddatetime*
|
||||
%{_pgdatadir}/extension/pageinspect*
|
||||
%{_pgdatadir}/extension/pg_buffercache*
|
||||
%{_pgdatadir}/extension/pg_freespacemap*
|
||||
%{_pgdatadir}/extension/pg_prewarm*
|
||||
%{_pgdatadir}/extension/pg_stat_statements*
|
||||
%{_pgdatadir}/extension/pg_trgm*
|
||||
%{_pgdatadir}/extension/pg_visibility*
|
||||
%{_pgdatadir}/extension/pgcrypto*
|
||||
%{_pgdatadir}/extension/pgrowlocks*
|
||||
%{_pgdatadir}/extension/pgstattuple*
|
||||
%{_pgdatadir}/extension/postgres_fdw*
|
||||
%{_pgdatadir}/extension/refint*
|
||||
%{_pgdatadir}/extension/seg*
|
||||
%{_pgdatadir}/extension/sslinfo*
|
||||
%{_pgdatadir}/extension/tablefunc*
|
||||
%{_pgdatadir}/extension/tcn*
|
||||
%{_pgdatadir}/extension/tsm_system_rows*
|
||||
%{_pgdatadir}/extension/tsm_system_time*
|
||||
%{_pgdatadir}/extension/unaccent*
|
||||
%{_pgdatadir}/extension/uuid-ossp*
|
||||
%{_pgdatadir}/extension/xml2*
|
||||
%{_pgbaseinstdir}/doc/extension/*.example
|
||||
%{_pglibdir}/_int.so
|
||||
%{_pglibdir}/adminpack.so
|
||||
%{_pglibdir}/amcheck.so
|
||||
%{_pglibdir}/auth_delay.so
|
||||
%{_pglibdir}/autoinc.so
|
||||
%{_pglibdir}/auto_explain.so
|
||||
%{_pglibdir}/bloom.so
|
||||
%{_pglibdir}/btree_gin.so
|
||||
%{_pglibdir}/btree_gist.so
|
||||
%{_pglibdir}/citext.so
|
||||
%{_pglibdir}/cube.so
|
||||
%{_pglibdir}/dblink.so
|
||||
%{_pglibdir}/earthdistance.so
|
||||
%{_pglibdir}/file_fdw.so*
|
||||
%{_pglibdir}/fuzzystrmatch.so
|
||||
%{_pglibdir}/insert_username.so
|
||||
%{_pglibdir}/isn.so
|
||||
%{_pglibdir}/hstore.so
|
||||
%{_pglibdir}/lo.so
|
||||
%{_pglibdir}/ltree.so
|
||||
%{_pglibdir}/moddatetime.so
|
||||
%{_pglibdir}/pageinspect.so
|
||||
%{_pglibdir}/passwordcheck.so
|
||||
%{_pglibdir}/pgcrypto.so
|
||||
%{_pglibdir}/pgrowlocks.so
|
||||
%{_pglibdir}/pgstattuple.so
|
||||
%{_pglibdir}/pg_buffercache.so
|
||||
%{_pglibdir}/pg_freespacemap.so
|
||||
%{_pglibdir}/pg_prewarm.so
|
||||
%{_pglibdir}/pg_stat_statements.so
|
||||
%{_pglibdir}/pg_trgm.so
|
||||
%{_pglibdir}/pg_visibility.so
|
||||
%{_pglibdir}/pgxml.so
|
||||
%{_pglibdir}/postgres_fdw.so
|
||||
%{_pglibdir}/refint.so
|
||||
%{_pglibdir}/seg.so
|
||||
%{_pglibdir}/sslinfo.so
|
||||
%{_pglibdir}/tablefunc.so
|
||||
%{_pglibdir}/tcn.so
|
||||
%{_pglibdir}/test_decoding.so
|
||||
%{_pglibdir}/tsm_system_rows.so
|
||||
%{_pglibdir}/tsm_system_time.so
|
||||
%{_pglibdir}/unaccent.so
|
||||
%{_pglibdir}/uuid-ossp.so
|
||||
%{_pgmandir}/man1/oid2name.*
|
||||
%{_pgmandir}/man1/pg_recvlogical.*
|
||||
%{_pgmandir}/man1/pg_standby.*
|
||||
%{_pgmandir}/man1/vacuumlo.*
|
||||
|
||||
%files llvmjit
|
||||
%defattr(-,root,root)
|
||||
%{pgbaseinstdir}/lib/bitcode/*
|
||||
%{pgbaseinstdir}/lib/llvmjit.so
|
||||
%{pgbaseinstdir}/lib/llvmjit_types.bc
|
||||
%{_pglibdir}/bitcode/*
|
||||
%{_pglibdir}/llvmjit.so
|
||||
%{_pglibdir}/llvmjit_types.bc
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{pgbaseinstdir}/bin/ecpg
|
||||
%{pgbaseinstdir}/include/*
|
||||
%{pgbaseinstdir}/lib/libpq.so
|
||||
%{pgbaseinstdir}/lib/libecpg.so
|
||||
%{pgbaseinstdir}/lib/libpq.a
|
||||
%{pgbaseinstdir}/lib/libecpg.a
|
||||
%{pgbaseinstdir}/lib/libecpg_compat.so
|
||||
%{pgbaseinstdir}/lib/libecpg_compat.a
|
||||
%{pgbaseinstdir}/lib/libpgcommon.a
|
||||
%{pgbaseinstdir}/lib/libpgcommon_shlib.a
|
||||
%{pgbaseinstdir}/lib/libpgfeutils.a
|
||||
%{pgbaseinstdir}/lib/libpgport.a
|
||||
%{pgbaseinstdir}/lib/libpgport_shlib.a
|
||||
%{pgbaseinstdir}/lib/libpgtypes.so
|
||||
%{pgbaseinstdir}/lib/libpgtypes.a
|
||||
%{pgbaseinstdir}/lib/pkgconfig/*
|
||||
%{pgbaseinstdir}/lib/pgxs/*
|
||||
%{pgbaseinstdir}/share/man/man1/ecpg.*
|
||||
%{_pgbindir}/ecpg
|
||||
%{_pgincludedir}/*
|
||||
%{_pglibdir}/libpq.so
|
||||
%{_pglibdir}/libecpg.so
|
||||
%{_pglibdir}/libpq.a
|
||||
%{_pglibdir}/libecpg.a
|
||||
%{_pglibdir}/libecpg_compat.so
|
||||
%{_pglibdir}/libecpg_compat.a
|
||||
%{_pglibdir}/libpgcommon.a
|
||||
%{_pglibdir}/libpgcommon_shlib.a
|
||||
%{_pglibdir}/libpgfeutils.a
|
||||
%{_pglibdir}/libpgport.a
|
||||
%{_pglibdir}/libpgport_shlib.a
|
||||
%{_pglibdir}/libpgtypes.so
|
||||
%{_pglibdir}/libpgtypes.a
|
||||
%{_pglibdir}/pkgconfig/*
|
||||
%{_pglibdir}/pgxs/*
|
||||
%{_pgmandir}/man1/ecpg.*
|
||||
|
||||
%files plperl
|
||||
%defattr(-,root,root)
|
||||
%{pgbaseinstdir}/share/extension/hstore_plperl*
|
||||
%{pgbaseinstdir}/share/extension/jsonb_plperl*
|
||||
%{pgbaseinstdir}/share/extension/plperl*
|
||||
%{pgbaseinstdir}/lib/hstore_plperl.so
|
||||
%{pgbaseinstdir}/lib/jsonb_plperl.so
|
||||
%{pgbaseinstdir}/lib/plperl.so
|
||||
%{_pgdatadir}/extension/hstore_plperl*
|
||||
%{_pgdatadir}/extension/jsonb_plperl*
|
||||
%{_pgdatadir}/extension/plperl*
|
||||
%{_pglibdir}/hstore_plperl.so
|
||||
%{_pglibdir}/jsonb_plperl.so
|
||||
%{_pglibdir}/plperl.so
|
||||
|
||||
%files pltcl
|
||||
%defattr(-,root,root)
|
||||
%{pgbaseinstdir}/share/extension/pltcl*
|
||||
%{pgbaseinstdir}/lib/pltcl.so
|
||||
%{_pgdatadir}/extension/pltcl*
|
||||
%{_pglibdir}/pltcl.so
|
||||
|
||||
%files plpython3
|
||||
%defattr(-,root,root)
|
||||
%{pgbaseinstdir}/share/extension/hstore_plpython3*
|
||||
%{pgbaseinstdir}/share/extension/ltree_plpython3*
|
||||
%{pgbaseinstdir}/share/extension/jsonb_plpython3*
|
||||
%{pgbaseinstdir}/share/extension/plpython3*
|
||||
%{pgbaseinstdir}/lib/hstore_plpython3.so
|
||||
%{pgbaseinstdir}/lib/jsonb_plpython3.so
|
||||
%{pgbaseinstdir}/lib/ltree_plpython3.so
|
||||
%{pgbaseinstdir}/lib/plpython3.so
|
||||
%{_pgdatadir}/extension/hstore_plpython3*
|
||||
%{_pgdatadir}/extension/ltree_plpython3*
|
||||
%{_pgdatadir}/extension/jsonb_plpython3*
|
||||
%{_pgdatadir}/extension/plpython3*
|
||||
%{_pglibdir}/hstore_plpython3.so
|
||||
%{_pglibdir}/jsonb_plpython3.so
|
||||
%{_pglibdir}/ltree_plpython3.so
|
||||
%{_pglibdir}/plpython3.so
|
||||
|
||||
%changelog
|
||||
* Thu Aug 11 2022 Julien Rouhaud <jrouhaud@vmware.com> 12.12-1
|
||||
- Upgraded to version 12.12.
|
||||
* Thu Jun 16 2022 Ashwin Dayanand Kamat <kashwindayan@vmware.com> 12.11-2
|
||||
- Bump version as a part of libxslt upgrade
|
||||
* Fri May 13 2022 Michael Paquier <mpaquier@vmware.com> 12.11-1
|
||||
- Upgraded to version 12.11.
|
||||
* Mon Feb 14 2022 Michael Paquier <mpaquier@vmware.com> 12.10-1
|
||||
- Upgraded to version 12.10.
|
||||
* Wed Nov 17 2021 Nitesh Kumar <kunitesh@vmware.com> 12.9-2
|
||||
- Release bump up to use libxml2 2.9.12-1.
|
||||
* Mon Nov 15 2021 Michael Paquier <mpaquier@vmware.com> 12.9-1
|
||||
- Upgraded to version 12.9.
|
||||
* Sat Aug 14 2021 Michael Paquier <mpaquier@vmware.com> 12.8-1
|
||||
- Upgraded to version 12.8.
|
||||
* Fri May 14 2021 Michael Paquier <mpaquier@vmware.com> 12.7-1
|
||||
- Upgraded to version 12.7.
|
||||
* Tue Mar 23 2021 Michael Paquier <mpaquier@vmware.com> 12.6-1
|
||||
- Add new package for PostgreSQL 12.
|
||||
* Wed Sep 28 2022 Shreenidhi Shedi <sshedi@vmware.com> 12.12-2
|
||||
- Bump version as a part of llvm upgrade
|
||||
* Thu Aug 11 2022 Julien Rouhaud <jrouhaud@vmware.com> 12.12-1
|
||||
- Upgraded to version 12.12.
|
||||
* Thu Jun 16 2022 Ashwin Dayanand Kamat <kashwindayan@vmware.com> 12.11-2
|
||||
- Bump version as a part of libxslt upgrade
|
||||
* Fri May 13 2022 Michael Paquier <mpaquier@vmware.com> 12.11-1
|
||||
- Upgraded to version 12.11.
|
||||
* Mon Feb 14 2022 Michael Paquier <mpaquier@vmware.com> 12.10-1
|
||||
- Upgraded to version 12.10.
|
||||
* Wed Nov 17 2021 Nitesh Kumar <kunitesh@vmware.com> 12.9-2
|
||||
- Release bump up to use libxml2 2.9.12-1.
|
||||
* Mon Nov 15 2021 Michael Paquier <mpaquier@vmware.com> 12.9-1
|
||||
- Upgraded to version 12.9.
|
||||
* Sat Aug 14 2021 Michael Paquier <mpaquier@vmware.com> 12.8-1
|
||||
- Upgraded to version 12.8.
|
||||
* Fri May 14 2021 Michael Paquier <mpaquier@vmware.com> 12.7-1
|
||||
- Upgraded to version 12.7.
|
||||
* Tue Mar 23 2021 Michael Paquier <mpaquier@vmware.com> 12.6-1
|
||||
- Add new package for PostgreSQL 12.
|
||||
|
|
|
@ -1,19 +1,27 @@
|
|||
Summary: PostgreSQL database engine
|
||||
Name: postgresql13
|
||||
Version: 13.8
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: PostgreSQL
|
||||
URL: www.postgresql.org
|
||||
Group: Applications/Databases
|
||||
Vendor: VMware, Inc.
|
||||
Distribution: Photon
|
||||
|
||||
Source0: http://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
|
||||
%define sha512 postgresql=3b39448b291342a5e9b610d410c222aeb85f8acf95632e73e138ae316133af3dadc795a6e706f6447f543cf10df3c786da4f1afa1d91489b50eb77e2d9ed5d84
|
||||
Source0: http://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
|
||||
%define sha512 postgresql=3b39448b291342a5e9b610d410c222aeb85f8acf95632e73e138ae316133af3dadc795a6e706f6447f543cf10df3c786da4f1afa1d91489b50eb77e2d9ed5d84
|
||||
|
||||
Patch0: llvm-15.x-psql-build-err-fixes.patch
|
||||
|
||||
# Macros to be used by find_lang and such.
|
||||
%global pgmajorversion 13
|
||||
%global pgbaseinstdir /usr/pgsql/%{pgmajorversion}
|
||||
%global _pgbaseinstdir %{_usr}/pgsql/%{pgmajorversion}
|
||||
%global _pgbindir %{_pgbaseinstdir}/bin
|
||||
%global _pgincludedir %{_pgbaseinstdir}/include
|
||||
%global _pgdatadir %{_pgbaseinstdir}/share
|
||||
%global _pgmandir %{_pgdatadir}/man
|
||||
%global _pglibdir %{_pgbaseinstdir}/lib
|
||||
%global _pgdocdir %{_pgbaseinstdir}/doc
|
||||
|
||||
# Common libraries needed
|
||||
# clang-devel is needed for LLVM.
|
||||
|
@ -78,9 +86,9 @@ to use any other PostgreSQL package or any clients that need to connect to a
|
|||
PostgreSQL server.
|
||||
|
||||
%package server
|
||||
Summary: The programs needed to create and run a PostgreSQL server
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
Summary: The programs needed to create and run a PostgreSQL server
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
|
||||
%description server
|
||||
PostgreSQL is an advanced Object-Relational database management system (DBMS).
|
||||
|
@ -90,37 +98,36 @@ and maintain PostgreSQL databases.
|
|||
|
||||
%package i18n
|
||||
Summary: Additional language files for PostgreSQL
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description i18n
|
||||
The postgresql13-i18n package includes additional language files for
|
||||
PostgreSQL.
|
||||
|
||||
%package docs
|
||||
Summary: Extra documentation for PostgreSQL
|
||||
Summary: Extra documentation for PostgreSQL
|
||||
|
||||
%description docs
|
||||
The postgresql13-docs package includes the documentation.
|
||||
|
||||
%package contrib
|
||||
Summary: Contributed source and binaries distributed with PostgreSQL
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
Requires: %{name}-server = %{version}-%{release}
|
||||
Summary: Contributed source and binaries distributed with PostgreSQL
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
Requires: %{name}-server = %{version}-%{release}
|
||||
|
||||
%description contrib
|
||||
The postgresql13-contrib package contains various extension modules that are
|
||||
included in the PostgreSQL distribution.
|
||||
|
||||
%package devel
|
||||
Summary: PostgreSQL development header files and libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
Requires: clang-devel
|
||||
Requires: libxslt
|
||||
Requires: libxslt-devel
|
||||
Requires: llvm-devel
|
||||
Requires: perl-IPC-Run
|
||||
Summary: PostgreSQL development header files and libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
Requires: clang-devel
|
||||
Requires: libxslt-devel
|
||||
Requires: llvm-devel
|
||||
Requires: perl-IPC-Run
|
||||
|
||||
%description devel
|
||||
The postgresql13-devel package contains the header files and libraries
|
||||
|
@ -139,8 +146,8 @@ The postgresql13-llvmjit package contains support for just-in-time
|
|||
compilation with PostgreSQL queries.
|
||||
|
||||
%package plperl
|
||||
Summary: The Perl procedural language for PostgreSQL
|
||||
Requires: %{name}-server = %{version}-%{release}
|
||||
Summary: The Perl procedural language for PostgreSQL
|
||||
Requires: %{name}-server = %{version}-%{release}
|
||||
|
||||
%description plperl
|
||||
The postgresql13-plperl package contains the PL/Perl procedural language,
|
||||
|
@ -148,10 +155,10 @@ which is an extension to the PostgreSQL database server.
|
|||
Install this if you want to write database functions in Perl.
|
||||
|
||||
%package plpython3
|
||||
Summary: The Python3 procedural language for PostgreSQL
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-server = %{version}-%{release}
|
||||
Requires: python3-libs
|
||||
Summary: The Python3 procedural language for PostgreSQL
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-server = %{version}-%{release}
|
||||
Requires: python3-libs
|
||||
|
||||
%description plpython3
|
||||
The postgresql13-plpython3 package contains the PL/Python3 procedural language,
|
||||
|
@ -159,10 +166,10 @@ which is an extension to the PostgreSQL database server.
|
|||
Install this if you want to write database functions in Python 3.
|
||||
|
||||
%package pltcl
|
||||
Summary: The Tcl procedural language for PostgreSQL
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-server = %{version}-%{release}
|
||||
Requires: tcl
|
||||
Summary: The Tcl procedural language for PostgreSQL
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-server = %{version}-%{release}
|
||||
Requires: tcl
|
||||
|
||||
%description pltcl
|
||||
PostgreSQL is an advanced Object-Relational database management
|
||||
|
@ -178,7 +185,7 @@ sed -i '/DEFAULT_PGSOCKET_DIR/s@/tmp@/run/postgresql@' src/include/pg_config_man
|
|||
# Note that %configure is not used here as this command relies on non-default
|
||||
# values.
|
||||
sh ./configure \
|
||||
--prefix=%{pgbaseinstdir} \
|
||||
--prefix=%{_pgbaseinstdir} \
|
||||
--enable-dtrace \
|
||||
--enable-thread-safety \
|
||||
--enable-nls \
|
||||
|
@ -199,22 +206,24 @@ sh ./configure \
|
|||
--with-system-tzdata=%{_datadir}/zoneinfo \
|
||||
--with-tcl \
|
||||
--with-uuid=e2fs \
|
||||
--includedir=%{pgbaseinstdir}/include \
|
||||
--bindir=%{pgbaseinstdir}/bin \
|
||||
--mandir=%{pgbaseinstdir}/share/man \
|
||||
--datadir=%{pgbaseinstdir}/share \
|
||||
--libdir=%{pgbaseinstdir}/lib \
|
||||
--docdir=%{pgbaseinstdir}/doc
|
||||
--includedir=%{_pgincludedir} \
|
||||
--bindir=%{_pgbindir} \
|
||||
--mandir=%{_pgmandir} \
|
||||
--datadir=%{_pgdatadir} \
|
||||
--libdir=%{_pglibdir} \
|
||||
--docdir=%{_pgbaseinstdir}/doc
|
||||
|
||||
make world %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
[ %{buildroot} != "/" ] && rm -rf %{buildroot}/*
|
||||
make install-world DESTDIR=%{buildroot} %{?_smp_mflags}
|
||||
|
||||
# Remove anything related to Python 2. These have no need to be
|
||||
# around as only Python 3 is supported.
|
||||
rm -f %{buildroot}/%{pgbaseinstdir}/share/extension/*plpython2u*
|
||||
rm -f %{buildroot}/%{pgbaseinstdir}/share/extension/*plpythonu-*
|
||||
rm -f %{buildroot}/%{pgbaseinstdir}/share/extension/*_plpythonu.control
|
||||
rm -f %{buildroot}%{_pgdatadir}/extension/*plpython2u* \
|
||||
%{buildroot}%{_pgdatadir}/extension/*plpythonu-* \
|
||||
%{buildroot}%{_pgdatadir}/extension/*_plpythonu.control
|
||||
|
||||
# Create file lists, for --enable-nls and i18n
|
||||
%find_lang ecpg-%{pgmajorversion}
|
||||
%find_lang ecpglib6-%{pgmajorversion}
|
||||
|
@ -245,18 +254,31 @@ cat plpython-%{pgmajorversion}.lang >> pg_i18n.lst
|
|||
cat pltcl-%{pgmajorversion}.lang >> pg_i18n.lst
|
||||
%find_lang postgres-%{pgmajorversion}
|
||||
%find_lang psql-%{pgmajorversion}
|
||||
cat libpq5-%{pgmajorversion}.lang >> pg_i18n.lst
|
||||
cat pg_config-%{pgmajorversion}.lang ecpg-%{pgmajorversion}.lang ecpglib6-%{pgmajorversion}.lang >> pg_i18n.lst
|
||||
cat initdb-%{pgmajorversion}.lang pg_ctl-%{pgmajorversion}.lang psql-%{pgmajorversion}.lang pg_dump-%{pgmajorversion}.lang pg_basebackup-%{pgmajorversion}.lang pgscripts-%{pgmajorversion}.lang >> pg_i18n.lst
|
||||
cat postgres-%{pgmajorversion}.lang pg_resetwal-%{pgmajorversion}.lang pg_checksums-%{pgmajorversion}.lang pg_verifybackup-%{pgmajorversion}.lang pg_controldata-%{pgmajorversion}.lang plpgsql-%{pgmajorversion}.lang pg_test_timing-%{pgmajorversion}.lang pg_test_fsync-%{pgmajorversion}.lang pg_archivecleanup-%{pgmajorversion}.lang pg_waldump-%{pgmajorversion}.lang pg_rewind-%{pgmajorversion}.lang pg_upgrade-%{pgmajorversion}.lang >> pg_i18n.lst
|
||||
|
||||
cat libpq5-%{pgmajorversion}.lang >> pg_i18n.lst
|
||||
|
||||
cat pg_config-%{pgmajorversion}.lang ecpg-%{pgmajorversion}.lang \
|
||||
ecpglib6-%{pgmajorversion}.lang >> pg_i18n.lst
|
||||
|
||||
cat initdb-%{pgmajorversion}.lang pg_ctl-%{pgmajorversion}.lang \
|
||||
psql-%{pgmajorversion}.lang pg_dump-%{pgmajorversion}.lang \
|
||||
pg_basebackup-%{pgmajorversion}.lang pgscripts-%{pgmajorversion}.lang >> pg_i18n.lst
|
||||
|
||||
cat postgres-%{pgmajorversion}.lang pg_resetwal-%{pgmajorversion}.lang \
|
||||
pg_checksums-%{pgmajorversion}.lang pg_verifybackup-%{pgmajorversion}.lang \
|
||||
pg_controldata-%{pgmajorversion}.lang plpgsql-%{pgmajorversion}.lang \
|
||||
pg_test_timing-%{pgmajorversion}.lang pg_test_fsync-%{pgmajorversion}.lang \
|
||||
pg_archivecleanup-%{pgmajorversion}.lang pg_waldump-%{pgmajorversion}.lang \
|
||||
pg_rewind-%{pgmajorversion}.lang pg_upgrade-%{pgmajorversion}.lang >> pg_i18n.lst
|
||||
|
||||
%if 0%{?with_check}
|
||||
%check
|
||||
# Run the main regression test suites in the source tree.
|
||||
run_test_path()
|
||||
{
|
||||
make_path="$1"
|
||||
chown -Rv nobody .
|
||||
sudo -u nobody -s /bin/bash -c "PATH=$PATH make -C $make_path -k check"
|
||||
make_path="$1"
|
||||
chown -Rv nobody .
|
||||
sudo -u nobody -s /bin/bash -c "PATH=$PATH make -C $make_path -k check"
|
||||
}
|
||||
# SQL test suites, mostly.
|
||||
run_test_path "src/test/regress"
|
||||
|
@ -269,284 +291,288 @@ run_test_path "src/test/authentication"
|
|||
run_test_path "src/test/recovery"
|
||||
run_test_path "src/test/ssl"
|
||||
run_test_path "src/test/subscription"
|
||||
%endif
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}/*
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{pgbaseinstdir}/bin/clusterdb
|
||||
%{pgbaseinstdir}/bin/createdb
|
||||
%{pgbaseinstdir}/bin/createuser
|
||||
%{pgbaseinstdir}/bin/dropdb
|
||||
%{pgbaseinstdir}/bin/dropuser
|
||||
%{pgbaseinstdir}/bin/pgbench
|
||||
%{pgbaseinstdir}/bin/pg_basebackup
|
||||
%{pgbaseinstdir}/bin/pg_config
|
||||
%{pgbaseinstdir}/bin/pg_dump
|
||||
%{pgbaseinstdir}/bin/pg_dumpall
|
||||
%{pgbaseinstdir}/bin/pg_isready
|
||||
%{pgbaseinstdir}/bin/pg_receivewal
|
||||
%{pgbaseinstdir}/bin/pg_restore
|
||||
%{pgbaseinstdir}/bin/pg_waldump
|
||||
%{pgbaseinstdir}/bin/psql
|
||||
%{pgbaseinstdir}/bin/reindexdb
|
||||
%{pgbaseinstdir}/bin/vacuumdb
|
||||
%{pgbaseinstdir}/share/errcodes.txt
|
||||
%{pgbaseinstdir}/share/man/man1/clusterdb.*
|
||||
%{pgbaseinstdir}/share/man/man1/createdb.*
|
||||
%{pgbaseinstdir}/share/man/man1/createuser.*
|
||||
%{pgbaseinstdir}/share/man/man1/dropdb.*
|
||||
%{pgbaseinstdir}/share/man/man1/dropuser.*
|
||||
%{pgbaseinstdir}/share/man/man1/pgbench.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_basebackup.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_config.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_dump.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_dumpall.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_isready.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_restore.*
|
||||
%{pgbaseinstdir}/share/man/man1/psql.*
|
||||
%{pgbaseinstdir}/share/man/man1/reindexdb.*
|
||||
%{pgbaseinstdir}/share/man/man1/vacuumdb.*
|
||||
%{pgbaseinstdir}/share/man/man3/*
|
||||
%{pgbaseinstdir}/share/man/man7/*
|
||||
%{_pgbindir}/clusterdb
|
||||
%{_pgbindir}/createdb
|
||||
%{_pgbindir}/createuser
|
||||
%{_pgbindir}/dropdb
|
||||
%{_pgbindir}/dropuser
|
||||
%{_pgbindir}/pgbench
|
||||
%{_pgbindir}/pg_basebackup
|
||||
%{_pgbindir}/pg_config
|
||||
%{_pgbindir}/pg_dump
|
||||
%{_pgbindir}/pg_dumpall
|
||||
%{_pgbindir}/pg_isready
|
||||
%{_pgbindir}/pg_receivewal
|
||||
%{_pgbindir}/pg_restore
|
||||
%{_pgbindir}/pg_waldump
|
||||
%{_pgbindir}/psql
|
||||
%{_pgbindir}/reindexdb
|
||||
%{_pgbindir}/vacuumdb
|
||||
%{_pgdatadir}/errcodes.txt
|
||||
%{_pgmandir}/man1/clusterdb.*
|
||||
%{_pgmandir}/man1/createdb.*
|
||||
%{_pgmandir}/man1/createuser.*
|
||||
%{_pgmandir}/man1/dropdb.*
|
||||
%{_pgmandir}/man1/dropuser.*
|
||||
%{_pgmandir}/man1/pgbench.*
|
||||
%{_pgmandir}/man1/pg_basebackup.*
|
||||
%{_pgmandir}/man1/pg_config.*
|
||||
%{_pgmandir}/man1/pg_dump.*
|
||||
%{_pgmandir}/man1/pg_dumpall.*
|
||||
%{_pgmandir}/man1/pg_isready.*
|
||||
%{_pgmandir}/man1/pg_restore.*
|
||||
%{_pgmandir}/man1/psql.*
|
||||
%{_pgmandir}/man1/reindexdb.*
|
||||
%{_pgmandir}/man1/vacuumdb.*
|
||||
%{_pgmandir}/man3/*
|
||||
%{_pgmandir}/man7/*
|
||||
|
||||
%files libs
|
||||
%defattr(-,root,root)
|
||||
%{pgbaseinstdir}/lib/libpq.so.*
|
||||
%{pgbaseinstdir}/lib/libecpg.so*
|
||||
%{pgbaseinstdir}/lib/libpgtypes.so.*
|
||||
%{pgbaseinstdir}/lib/libecpg_compat.so.*
|
||||
%{pgbaseinstdir}/lib/libpqwalreceiver.so
|
||||
%{_pglibdir}/libpq.so.*
|
||||
%{_pglibdir}/libecpg.so*
|
||||
%{_pglibdir}/libpgtypes.so.*
|
||||
%{_pglibdir}/libecpg_compat.so.*
|
||||
%{_pglibdir}/libpqwalreceiver.so
|
||||
|
||||
%files server
|
||||
%defattr(-,root,root)
|
||||
%{pgbaseinstdir}/bin/initdb
|
||||
%{pgbaseinstdir}/bin/pg_archivecleanup
|
||||
%{pgbaseinstdir}/bin/pg_checksums
|
||||
%{pgbaseinstdir}/bin/pg_controldata
|
||||
%{pgbaseinstdir}/bin/pg_ctl
|
||||
%{pgbaseinstdir}/bin/pg_resetwal
|
||||
%{pgbaseinstdir}/bin/pg_rewind
|
||||
%{pgbaseinstdir}/bin/pg_test_fsync
|
||||
%{pgbaseinstdir}/bin/pg_test_timing
|
||||
%{pgbaseinstdir}/bin/pg_upgrade
|
||||
%{pgbaseinstdir}/bin/pg_verifybackup
|
||||
%{pgbaseinstdir}/bin/postgres
|
||||
%{pgbaseinstdir}/bin/postmaster
|
||||
%{pgbaseinstdir}/share/man/man1/initdb.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_archivecleanup.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_checksums.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_controldata.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_ctl.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_resetwal.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_receivewal.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_rewind.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_test_fsync.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_test_timing.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_upgrade.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_verifybackup.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_waldump.*
|
||||
%{pgbaseinstdir}/share/man/man1/postgres.*
|
||||
%{pgbaseinstdir}/share/man/man1/postmaster.*
|
||||
%{pgbaseinstdir}/share/*.sample
|
||||
%{pgbaseinstdir}/share/postgres.bki
|
||||
%{pgbaseinstdir}/share/information_schema.sql
|
||||
%{pgbaseinstdir}/share/snowball_create.sql
|
||||
%{pgbaseinstdir}/share/sql_features.txt
|
||||
%{pgbaseinstdir}/share/system_views.sql
|
||||
%dir %{pgbaseinstdir}/share/extension
|
||||
%{pgbaseinstdir}/share/extension/plpgsql*
|
||||
%{pgbaseinstdir}/share/timezonesets/*
|
||||
%{pgbaseinstdir}/share/tsearch_data/*.affix
|
||||
%{pgbaseinstdir}/share/tsearch_data/*.dict
|
||||
%{pgbaseinstdir}/share/tsearch_data/*.ths
|
||||
%{pgbaseinstdir}/share/tsearch_data/*.rules
|
||||
%{pgbaseinstdir}/share/tsearch_data/*.stop
|
||||
%{pgbaseinstdir}/share/tsearch_data/*.syn
|
||||
%{pgbaseinstdir}/lib/dict_int.so
|
||||
%{pgbaseinstdir}/lib/dict_snowball.so
|
||||
%{pgbaseinstdir}/lib/dict_xsyn.so
|
||||
%{pgbaseinstdir}/lib/euc2004_sjis2004.so
|
||||
%{pgbaseinstdir}/lib/pgoutput.so
|
||||
%{pgbaseinstdir}/lib/plpgsql.so
|
||||
%{pgbaseinstdir}/lib/*_and_*.so
|
||||
%{_pgbindir}/initdb
|
||||
%{_pgbindir}/pg_archivecleanup
|
||||
%{_pgbindir}/pg_checksums
|
||||
%{_pgbindir}/pg_controldata
|
||||
%{_pgbindir}/pg_ctl
|
||||
%{_pgbindir}/pg_resetwal
|
||||
%{_pgbindir}/pg_rewind
|
||||
%{_pgbindir}/pg_test_fsync
|
||||
%{_pgbindir}/pg_test_timing
|
||||
%{_pgbindir}/pg_upgrade
|
||||
%{_pgbindir}/pg_verifybackup
|
||||
%{_pgbindir}/postgres
|
||||
%{_pgbindir}/postmaster
|
||||
%{_pgmandir}/man1/initdb.*
|
||||
%{_pgmandir}/man1/pg_archivecleanup.*
|
||||
%{_pgmandir}/man1/pg_checksums.*
|
||||
%{_pgmandir}/man1/pg_controldata.*
|
||||
%{_pgmandir}/man1/pg_ctl.*
|
||||
%{_pgmandir}/man1/pg_resetwal.*
|
||||
%{_pgmandir}/man1/pg_receivewal.*
|
||||
%{_pgmandir}/man1/pg_rewind.*
|
||||
%{_pgmandir}/man1/pg_test_fsync.*
|
||||
%{_pgmandir}/man1/pg_test_timing.*
|
||||
%{_pgmandir}/man1/pg_upgrade.*
|
||||
%{_pgmandir}/man1/pg_verifybackup.*
|
||||
%{_pgmandir}/man1/pg_waldump.*
|
||||
%{_pgmandir}/man1/postgres.*
|
||||
%{_pgmandir}/man1/postmaster.*
|
||||
%{_pgdatadir}/*.sample
|
||||
%{_pgdatadir}/postgres.bki
|
||||
%{_pgdatadir}/information_schema.sql
|
||||
%{_pgdatadir}/snowball_create.sql
|
||||
%{_pgdatadir}/sql_features.txt
|
||||
%{_pgdatadir}/system_views.sql
|
||||
%dir %{_pgdatadir}/extension
|
||||
%{_pgdatadir}/extension/plpgsql*
|
||||
%{_pgdatadir}/timezonesets/*
|
||||
%{_pgdatadir}/tsearch_data/*.affix
|
||||
%{_pgdatadir}/tsearch_data/*.dict
|
||||
%{_pgdatadir}/tsearch_data/*.ths
|
||||
%{_pgdatadir}/tsearch_data/*.rules
|
||||
%{_pgdatadir}/tsearch_data/*.stop
|
||||
%{_pgdatadir}/tsearch_data/*.syn
|
||||
%{_pglibdir}/dict_int.so
|
||||
%{_pglibdir}/dict_snowball.so
|
||||
%{_pglibdir}/dict_xsyn.so
|
||||
%{_pglibdir}/euc2004_sjis2004.so
|
||||
%{_pglibdir}/pgoutput.so
|
||||
%{_pglibdir}/plpgsql.so
|
||||
%{_pglibdir}/*_and_*.so
|
||||
|
||||
%files i18n -f pg_i18n.lst
|
||||
|
||||
%files docs
|
||||
%defattr(-,root,root)
|
||||
%{pgbaseinstdir}/doc/*
|
||||
%{_pgbaseinstdir}/doc/*
|
||||
|
||||
%files contrib
|
||||
%defattr(-,root,root)
|
||||
%{pgbaseinstdir}/bin/oid2name
|
||||
%{pgbaseinstdir}/bin/vacuumlo
|
||||
%{pgbaseinstdir}/bin/pg_recvlogical
|
||||
%{pgbaseinstdir}/bin/pg_standby
|
||||
%{pgbaseinstdir}/share/extension/adminpack*
|
||||
%{pgbaseinstdir}/share/extension/amcheck*
|
||||
%{pgbaseinstdir}/share/extension/autoinc*
|
||||
%{pgbaseinstdir}/share/extension/bloom*
|
||||
%{pgbaseinstdir}/share/extension/btree_gin*
|
||||
%{pgbaseinstdir}/share/extension/btree_gist*
|
||||
%{pgbaseinstdir}/share/extension/citext*
|
||||
%{pgbaseinstdir}/share/extension/cube*
|
||||
%{pgbaseinstdir}/share/extension/dblink*
|
||||
%{pgbaseinstdir}/share/extension/dict_int*
|
||||
%{pgbaseinstdir}/share/extension/dict_xsyn*
|
||||
%{pgbaseinstdir}/share/extension/earthdistance*
|
||||
%{pgbaseinstdir}/share/extension/file_fdw*
|
||||
%{pgbaseinstdir}/share/extension/fuzzystrmatch*
|
||||
%{pgbaseinstdir}/share/extension/hstore.control
|
||||
%{pgbaseinstdir}/share/extension/hstore--*.sql
|
||||
%{pgbaseinstdir}/share/extension/insert_username*
|
||||
%{pgbaseinstdir}/share/extension/intagg*
|
||||
%{pgbaseinstdir}/share/extension/intarray*
|
||||
%{pgbaseinstdir}/share/extension/isn*
|
||||
%{pgbaseinstdir}/share/extension/lo*
|
||||
%{pgbaseinstdir}/share/extension/ltree.control
|
||||
%{pgbaseinstdir}/share/extension/ltree--*.sql
|
||||
%{pgbaseinstdir}/share/extension/moddatetime*
|
||||
%{pgbaseinstdir}/share/extension/pageinspect*
|
||||
%{pgbaseinstdir}/share/extension/pg_buffercache*
|
||||
%{pgbaseinstdir}/share/extension/pg_freespacemap*
|
||||
%{pgbaseinstdir}/share/extension/pg_prewarm*
|
||||
%{pgbaseinstdir}/share/extension/pg_stat_statements*
|
||||
%{pgbaseinstdir}/share/extension/pg_trgm*
|
||||
%{pgbaseinstdir}/share/extension/pg_visibility*
|
||||
%{pgbaseinstdir}/share/extension/pgcrypto*
|
||||
%{pgbaseinstdir}/share/extension/pgrowlocks*
|
||||
%{pgbaseinstdir}/share/extension/pgstattuple*
|
||||
%{pgbaseinstdir}/share/extension/postgres_fdw*
|
||||
%{pgbaseinstdir}/share/extension/refint*
|
||||
%{pgbaseinstdir}/share/extension/seg*
|
||||
%{pgbaseinstdir}/share/extension/sslinfo*
|
||||
%{pgbaseinstdir}/share/extension/tablefunc*
|
||||
%{pgbaseinstdir}/share/extension/tcn*
|
||||
%{pgbaseinstdir}/share/extension/tsm_system_rows*
|
||||
%{pgbaseinstdir}/share/extension/tsm_system_time*
|
||||
%{pgbaseinstdir}/share/extension/unaccent*
|
||||
%{pgbaseinstdir}/share/extension/uuid-ossp*
|
||||
%{pgbaseinstdir}/share/extension/xml2*
|
||||
%{pgbaseinstdir}/doc/extension/*.example
|
||||
%{pgbaseinstdir}/lib/_int.so
|
||||
%{pgbaseinstdir}/lib/adminpack.so
|
||||
%{pgbaseinstdir}/lib/amcheck.so
|
||||
%{pgbaseinstdir}/lib/auth_delay.so
|
||||
%{pgbaseinstdir}/lib/autoinc.so
|
||||
%{pgbaseinstdir}/lib/auto_explain.so
|
||||
%{pgbaseinstdir}/lib/bloom.so
|
||||
%{pgbaseinstdir}/lib/btree_gin.so
|
||||
%{pgbaseinstdir}/lib/btree_gist.so
|
||||
%{pgbaseinstdir}/lib/citext.so
|
||||
%{pgbaseinstdir}/lib/cube.so
|
||||
%{pgbaseinstdir}/lib/dblink.so
|
||||
%{pgbaseinstdir}/lib/earthdistance.so
|
||||
%{pgbaseinstdir}/lib/file_fdw.so*
|
||||
%{pgbaseinstdir}/lib/fuzzystrmatch.so
|
||||
%{pgbaseinstdir}/lib/insert_username.so
|
||||
%{pgbaseinstdir}/lib/isn.so
|
||||
%{pgbaseinstdir}/lib/hstore.so
|
||||
%{pgbaseinstdir}/lib/lo.so
|
||||
%{pgbaseinstdir}/lib/ltree.so
|
||||
%{pgbaseinstdir}/lib/moddatetime.so
|
||||
%{pgbaseinstdir}/lib/pageinspect.so
|
||||
%{pgbaseinstdir}/lib/passwordcheck.so
|
||||
%{pgbaseinstdir}/lib/pgcrypto.so
|
||||
%{pgbaseinstdir}/lib/pgrowlocks.so
|
||||
%{pgbaseinstdir}/lib/pgstattuple.so
|
||||
%{pgbaseinstdir}/lib/pg_buffercache.so
|
||||
%{pgbaseinstdir}/lib/pg_freespacemap.so
|
||||
%{pgbaseinstdir}/lib/pg_prewarm.so
|
||||
%{pgbaseinstdir}/lib/pg_stat_statements.so
|
||||
%{pgbaseinstdir}/lib/pg_trgm.so
|
||||
%{pgbaseinstdir}/lib/pg_visibility.so
|
||||
%{pgbaseinstdir}/lib/pgxml.so
|
||||
%{pgbaseinstdir}/lib/postgres_fdw.so
|
||||
%{pgbaseinstdir}/lib/refint.so
|
||||
%{pgbaseinstdir}/lib/seg.so
|
||||
%{pgbaseinstdir}/lib/sslinfo.so
|
||||
%{pgbaseinstdir}/lib/tablefunc.so
|
||||
%{pgbaseinstdir}/lib/tcn.so
|
||||
%{pgbaseinstdir}/lib/test_decoding.so
|
||||
%{pgbaseinstdir}/lib/tsm_system_rows.so
|
||||
%{pgbaseinstdir}/lib/tsm_system_time.so
|
||||
%{pgbaseinstdir}/lib/unaccent.so
|
||||
%{pgbaseinstdir}/lib/uuid-ossp.so
|
||||
%{pgbaseinstdir}/share/man/man1/oid2name.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_recvlogical.*
|
||||
%{pgbaseinstdir}/share/man/man1/pg_standby.*
|
||||
%{pgbaseinstdir}/share/man/man1/vacuumlo.*
|
||||
%{_pgbindir}/oid2name
|
||||
%{_pgbindir}/vacuumlo
|
||||
%{_pgbindir}/pg_recvlogical
|
||||
%{_pgbindir}/pg_standby
|
||||
%{_pgdatadir}/extension/adminpack*
|
||||
%{_pgdatadir}/extension/amcheck*
|
||||
%{_pgdatadir}/extension/autoinc*
|
||||
%{_pgdatadir}/extension/bloom*
|
||||
%{_pgdatadir}/extension/btree_gin*
|
||||
%{_pgdatadir}/extension/btree_gist*
|
||||
%{_pgdatadir}/extension/citext*
|
||||
%{_pgdatadir}/extension/cube*
|
||||
%{_pgdatadir}/extension/dblink*
|
||||
%{_pgdatadir}/extension/dict_int*
|
||||
%{_pgdatadir}/extension/dict_xsyn*
|
||||
%{_pgdatadir}/extension/earthdistance*
|
||||
%{_pgdatadir}/extension/file_fdw*
|
||||
%{_pgdatadir}/extension/fuzzystrmatch*
|
||||
%{_pgdatadir}/extension/hstore.control
|
||||
%{_pgdatadir}/extension/hstore--*.sql
|
||||
%{_pgdatadir}/extension/insert_username*
|
||||
%{_pgdatadir}/extension/intagg*
|
||||
%{_pgdatadir}/extension/intarray*
|
||||
%{_pgdatadir}/extension/isn*
|
||||
%{_pgdatadir}/extension/lo*
|
||||
%{_pgdatadir}/extension/ltree.control
|
||||
%{_pgdatadir}/extension/ltree--*.sql
|
||||
%{_pgdatadir}/extension/moddatetime*
|
||||
%{_pgdatadir}/extension/pageinspect*
|
||||
%{_pgdatadir}/extension/pg_buffercache*
|
||||
%{_pgdatadir}/extension/pg_freespacemap*
|
||||
%{_pgdatadir}/extension/pg_prewarm*
|
||||
%{_pgdatadir}/extension/pg_stat_statements*
|
||||
%{_pgdatadir}/extension/pg_trgm*
|
||||
%{_pgdatadir}/extension/pg_visibility*
|
||||
%{_pgdatadir}/extension/pgcrypto*
|
||||
%{_pgdatadir}/extension/pgrowlocks*
|
||||
%{_pgdatadir}/extension/pgstattuple*
|
||||
%{_pgdatadir}/extension/postgres_fdw*
|
||||
%{_pgdatadir}/extension/refint*
|
||||
%{_pgdatadir}/extension/seg*
|
||||
%{_pgdatadir}/extension/sslinfo*
|
||||
%{_pgdatadir}/extension/tablefunc*
|
||||
%{_pgdatadir}/extension/tcn*
|
||||
%{_pgdatadir}/extension/tsm_system_rows*
|
||||
%{_pgdatadir}/extension/tsm_system_time*
|
||||
%{_pgdatadir}/extension/unaccent*
|
||||
%{_pgdatadir}/extension/uuid-ossp*
|
||||
%{_pgdatadir}/extension/xml2*
|
||||
%{_pgbaseinstdir}/doc/extension/*.example
|
||||
%{_pglibdir}/_int.so
|
||||
%{_pglibdir}/adminpack.so
|
||||
%{_pglibdir}/amcheck.so
|
||||
%{_pglibdir}/auth_delay.so
|
||||
%{_pglibdir}/autoinc.so
|
||||
%{_pglibdir}/auto_explain.so
|
||||
%{_pglibdir}/bloom.so
|
||||
%{_pglibdir}/btree_gin.so
|
||||
%{_pglibdir}/btree_gist.so
|
||||
%{_pglibdir}/citext.so
|
||||
%{_pglibdir}/cube.so
|
||||
%{_pglibdir}/dblink.so
|
||||
%{_pglibdir}/earthdistance.so
|
||||
%{_pglibdir}/file_fdw.so*
|
||||
%{_pglibdir}/fuzzystrmatch.so
|
||||
%{_pglibdir}/insert_username.so
|
||||
%{_pglibdir}/isn.so
|
||||
%{_pglibdir}/hstore.so
|
||||
%{_pglibdir}/lo.so
|
||||
%{_pglibdir}/ltree.so
|
||||
%{_pglibdir}/moddatetime.so
|
||||
%{_pglibdir}/pageinspect.so
|
||||
%{_pglibdir}/passwordcheck.so
|
||||
%{_pglibdir}/pgcrypto.so
|
||||
%{_pglibdir}/pgrowlocks.so
|
||||
%{_pglibdir}/pgstattuple.so
|
||||
%{_pglibdir}/pg_buffercache.so
|
||||
%{_pglibdir}/pg_freespacemap.so
|
||||
%{_pglibdir}/pg_prewarm.so
|
||||
%{_pglibdir}/pg_stat_statements.so
|
||||
%{_pglibdir}/pg_trgm.so
|
||||
%{_pglibdir}/pg_visibility.so
|
||||
%{_pglibdir}/pgxml.so
|
||||
%{_pglibdir}/postgres_fdw.so
|
||||
%{_pglibdir}/refint.so
|
||||
%{_pglibdir}/seg.so
|
||||
%{_pglibdir}/sslinfo.so
|
||||
%{_pglibdir}/tablefunc.so
|
||||
%{_pglibdir}/tcn.so
|
||||
%{_pglibdir}/test_decoding.so
|
||||
%{_pglibdir}/tsm_system_rows.so
|
||||
%{_pglibdir}/tsm_system_time.so
|
||||
%{_pglibdir}/unaccent.so
|
||||
%{_pglibdir}/uuid-ossp.so
|
||||
%{_pgmandir}/man1/oid2name.*
|
||||
%{_pgmandir}/man1/pg_recvlogical.*
|
||||
%{_pgmandir}/man1/pg_standby.*
|
||||
%{_pgmandir}/man1/vacuumlo.*
|
||||
|
||||
%files llvmjit
|
||||
%defattr(-,root,root)
|
||||
%{pgbaseinstdir}/lib/bitcode/*
|
||||
%{pgbaseinstdir}/lib/llvmjit.so
|
||||
%{pgbaseinstdir}/lib/llvmjit_types.bc
|
||||
%{_pglibdir}/bitcode/*
|
||||
%{_pglibdir}/llvmjit.so
|
||||
%{_pglibdir}/llvmjit_types.bc
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{pgbaseinstdir}/bin/ecpg
|
||||
%{pgbaseinstdir}/include/*
|
||||
%{pgbaseinstdir}/lib/libpq.so
|
||||
%{pgbaseinstdir}/lib/libecpg.so
|
||||
%{pgbaseinstdir}/lib/libpq.a
|
||||
%{pgbaseinstdir}/lib/libecpg.a
|
||||
%{pgbaseinstdir}/lib/libecpg_compat.so
|
||||
%{pgbaseinstdir}/lib/libecpg_compat.a
|
||||
%{pgbaseinstdir}/lib/libpgcommon.a
|
||||
%{pgbaseinstdir}/lib/libpgcommon_shlib.a
|
||||
%{pgbaseinstdir}/lib/libpgfeutils.a
|
||||
%{pgbaseinstdir}/lib/libpgport.a
|
||||
%{pgbaseinstdir}/lib/libpgport_shlib.a
|
||||
%{pgbaseinstdir}/lib/libpgtypes.so
|
||||
%{pgbaseinstdir}/lib/libpgtypes.a
|
||||
%{pgbaseinstdir}/lib/pkgconfig/*
|
||||
%{pgbaseinstdir}/lib/pgxs/*
|
||||
%{pgbaseinstdir}/share/man/man1/ecpg.*
|
||||
%{_pgbindir}/ecpg
|
||||
%{_pgincludedir}/*
|
||||
%{_pglibdir}/libpq.so
|
||||
%{_pglibdir}/libecpg.so
|
||||
%{_pglibdir}/libpq.a
|
||||
%{_pglibdir}/libecpg.a
|
||||
%{_pglibdir}/libecpg_compat.so
|
||||
%{_pglibdir}/libecpg_compat.a
|
||||
%{_pglibdir}/libpgcommon.a
|
||||
%{_pglibdir}/libpgcommon_shlib.a
|
||||
%{_pglibdir}/libpgfeutils.a
|
||||
%{_pglibdir}/libpgport.a
|
||||
%{_pglibdir}/libpgport_shlib.a
|
||||
%{_pglibdir}/libpgtypes.so
|
||||
%{_pglibdir}/libpgtypes.a
|
||||
%{_pglibdir}/pkgconfig/*
|
||||
%{_pglibdir}/pgxs/*
|
||||
%{_pgmandir}/man1/ecpg.*
|
||||
|
||||
%files plperl
|
||||
%defattr(-,root,root)
|
||||
%{pgbaseinstdir}/share/extension/bool_plperl*
|
||||
%{pgbaseinstdir}/share/extension/hstore_plperl*
|
||||
%{pgbaseinstdir}/share/extension/jsonb_plperl*
|
||||
%{pgbaseinstdir}/share/extension/plperl*
|
||||
%{pgbaseinstdir}/lib/bool_plperl.so
|
||||
%{pgbaseinstdir}/lib/hstore_plperl.so
|
||||
%{pgbaseinstdir}/lib/jsonb_plperl.so
|
||||
%{pgbaseinstdir}/lib/plperl.so
|
||||
%{_pgdatadir}/extension/bool_plperl*
|
||||
%{_pgdatadir}/extension/hstore_plperl*
|
||||
%{_pgdatadir}/extension/jsonb_plperl*
|
||||
%{_pgdatadir}/extension/plperl*
|
||||
%{_pglibdir}/bool_plperl.so
|
||||
%{_pglibdir}/hstore_plperl.so
|
||||
%{_pglibdir}/jsonb_plperl.so
|
||||
%{_pglibdir}/plperl.so
|
||||
|
||||
%files pltcl
|
||||
%defattr(-,root,root)
|
||||
%{pgbaseinstdir}/share/extension/pltcl*
|
||||
%{pgbaseinstdir}/lib/pltcl.so
|
||||
%{_pgdatadir}/extension/pltcl*
|
||||
%{_pglibdir}/pltcl.so
|
||||
|
||||
%files plpython3
|
||||
%defattr(-,root,root)
|
||||
%{pgbaseinstdir}/share/extension/hstore_plpython3*
|
||||
%{pgbaseinstdir}/share/extension/ltree_plpython3*
|
||||
%{pgbaseinstdir}/share/extension/jsonb_plpython3*
|
||||
%{pgbaseinstdir}/share/extension/plpython3*
|
||||
%{pgbaseinstdir}/lib/hstore_plpython3.so
|
||||
%{pgbaseinstdir}/lib/jsonb_plpython3.so
|
||||
%{pgbaseinstdir}/lib/ltree_plpython3.so
|
||||
%{pgbaseinstdir}/lib/plpython3.so
|
||||
%{_pgdatadir}/extension/hstore_plpython3*
|
||||
%{_pgdatadir}/extension/ltree_plpython3*
|
||||
%{_pgdatadir}/extension/jsonb_plpython3*
|
||||
%{_pgdatadir}/extension/plpython3*
|
||||
%{_pglibdir}/hstore_plpython3.so
|
||||
%{_pglibdir}/jsonb_plpython3.so
|
||||
%{_pglibdir}/ltree_plpython3.so
|
||||
%{_pglibdir}/plpython3.so
|
||||
|
||||
%changelog
|
||||
* Thu Aug 11 2022 Julien Rouhaud <jrouhaud@vmware.com> 13.8-1
|
||||
- Upgraded to version 13.8.
|
||||
* Thu Jun 16 2022 Ashwin Dayanand Kamat <kashwindayan@vmware.com> 13.7-2
|
||||
- Bump version as a part of libxslt upgrade
|
||||
* Fri May 13 2022 Michael Paquier <mpaquier@vmware.com> 13.7-1
|
||||
- Upgraded to version 13.7.
|
||||
* Mon Feb 14 2022 Michael Paquier <mpaquier@vmware.com> 13.6-1
|
||||
- Upgraded to version 13.6.
|
||||
* Wed Nov 17 2021 Nitesh Kumar <kunitesh@vmware.com> 13.5-2
|
||||
- Release bump up to use libxml2 2.9.12-1.
|
||||
* Mon Nov 15 2021 Michael Paquier <mpaquier@vmware.com> 13.5-1
|
||||
- Upgraded to version 13.5.
|
||||
* Thu Sep 30 2021 Michael Paquier <mpaquier@vmware.com> 13.4-1
|
||||
- Add new package for PostgreSQL 13.
|
||||
* Wed Sep 28 2022 Shreenidhi Shedi <sshedi@vmware.com> 13.8-2
|
||||
- Bump version as a part of llvm upgrade
|
||||
* Thu Aug 11 2022 Julien Rouhaud <jrouhaud@vmware.com> 13.8-1
|
||||
- Upgraded to version 13.8.
|
||||
* Thu Jun 16 2022 Ashwin Dayanand Kamat <kashwindayan@vmware.com> 13.7-2
|
||||
- Bump version as a part of libxslt upgrade
|
||||
* Fri May 13 2022 Michael Paquier <mpaquier@vmware.com> 13.7-1
|
||||
- Upgraded to version 13.7.
|
||||
* Mon Feb 14 2022 Michael Paquier <mpaquier@vmware.com> 13.6-1
|
||||
- Upgraded to version 13.6.
|
||||
* Wed Nov 17 2021 Nitesh Kumar <kunitesh@vmware.com> 13.5-2
|
||||
- Release bump up to use libxml2 2.9.12-1.
|
||||
* Mon Nov 15 2021 Michael Paquier <mpaquier@vmware.com> 13.5-1
|
||||
- Upgraded to version 13.5.
|
||||
* Thu Sep 30 2021 Michael Paquier <mpaquier@vmware.com> 13.4-1
|
||||
- Add new package for PostgreSQL 13.
|
||||
|
|
|
@ -59,7 +59,7 @@ dotnet run ../System.Management.Automation/CoreCLR/CorePsTypeCatalog.cs powershe
|
|||
popd
|
||||
|
||||
touch DELETE_ME_TO_DISABLE_CONSOLEHOST_TELEMETRY
|
||||
dotnet publish /property:GenerateFullPaths=true --configuration Linux --framework net6.0 --runtime linux-x64 src/powershell-unix --output bin
|
||||
dotnet publish /property:GenerateFullPaths=true --configuration Linux --framework net7.0 --runtime linux-x64 src/powershell-unix --output bin
|
||||
|
||||
# Even after powershell rpm built, dotnet processes are alive, following to stop them:
|
||||
for pid in $(pgrep dotnet); do
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
%global ps_native_ver 7.2.0
|
||||
%global libmi_tag 1.6.9-0
|
||||
%global libmi_tag 1.6.10-2
|
||||
|
||||
Summary: PowerShell is an automation and configuration management platform.
|
||||
Name: powershell
|
||||
Version: 7.2.0
|
||||
Release: 3%{?dist}
|
||||
Version: 7.3.0
|
||||
Release: preview.8%{?dist}
|
||||
Vendor: VMware, Inc.
|
||||
Distribution: Photon
|
||||
License: MIT
|
||||
|
@ -19,8 +19,8 @@ Group: shells
|
|||
# mv PowerShell PowerShell-7.2.0 && cd PowerShell-7.2.0
|
||||
# git checkout -b v7.2.0 tags/v7.2.0
|
||||
# cd .. && tar czf powershell-7.2.0.tar.gz PowerShell-7.2.0
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
%define sha512 %{name}=30777e55c85880b31d974eb882cec3559739710121b875b8fcad7f7296686d850e9cd394eeba06284a8013f4c2fbbfdf628bd29082e87c908920e970836ba6df
|
||||
Source0: %{name}-%{version}-preview.8.tar.gz
|
||||
%define sha512 %{name}=f4906cf684e3a1033d0b1bf7b48aad0cafe4f5b18558b0bd3068944685f5a621ca738681bcee515894e8b4f075cd5da97429de9e3001d4409e578f021755b548
|
||||
|
||||
# Same as Source0 but from https://github.com/PowerShell/PowerShell-Native.git
|
||||
# And use --> git clone --recurse-submodules https://github.com/PowerShell/PowerShell-Native.git
|
||||
|
@ -31,8 +31,8 @@ Source1: %{name}-native-%{ps_native_ver}.tar.gz
|
|||
# This is downloaded from github release page of PowerShell
|
||||
# For example:
|
||||
# https://github.com/PowerShell/PowerShell/releases/download/v7.2.0/powershell-7.2.0-linux-x64.tar.gz
|
||||
Source2: %{name}-%{version}-linux-x64.tar.gz
|
||||
%define sha512 %{name}-%{version}-linux=f07a038ef8e7c4894f78139c08739a605ce0deb79d2f0e9d5abb8be5fda31a1636804c99c0dceedd5798e08e353263c338b98b7477eb40ebfb875545b0cbf3fb
|
||||
Source2: %{name}-%{version}-preview.8-linux-x64.tar.gz
|
||||
%define sha512 %{name}-%{version}-preview.8-linux=bb9ba361d75304fbeb8ceba6b4a4aa46c118cee5ec36db7fe6d4205a659bb7081892538ad642ac49713cd9ca349d82f0561dfafa9cb22c69748e9ca9c030bb35
|
||||
|
||||
Source3: build.sh
|
||||
Source4: Microsoft.PowerShell.SDK.csproj.TypeCatalog.targets
|
||||
|
@ -42,12 +42,12 @@ Source4: Microsoft.PowerShell.SDK.csproj.TypeCatalog.targets
|
|||
# Hence we need to re-build it.
|
||||
# https://github.com/microsoft/omi/archive/refs/tags/v1.6.9-0.tar.gz
|
||||
Source5: omi-%{libmi_tag}.tar.gz
|
||||
%define sha512 omi-%{libmi_tag}=97dbd968bd4a3075b534af9ebfe03c7003e3dfa07b0cc3923842fe6aecfbebff29fd2537195eb2ee27ff8e8e7a3779a4ba26156b7029a916c4a5eba4024d8009
|
||||
%define sha512 omi-%{libmi_tag}=226b7892a9962dd7f88248f3821f2fc7d7e46e7806edb4f6bc26ede0fbfd6b09ffd7cd05f6be236212fd1b96c1d2ab464298c850917514ab8ba81c35a5d0bdd7
|
||||
|
||||
BuildArch: x86_64
|
||||
|
||||
BuildRequires: dotnet-sdk = 6.0.100
|
||||
BuildRequires: dotnet-runtime = 6.0.0
|
||||
BuildRequires: dotnet-sdk = 7.0.100
|
||||
BuildRequires: dotnet-runtime = 7.0.0
|
||||
BuildRequires: psmisc
|
||||
BuildRequires: cmake
|
||||
BuildRequires: clang
|
||||
|
@ -75,7 +75,7 @@ It consists of a cross-platform command-line shell and associated scripting lang
|
|||
|
||||
%prep
|
||||
# Using autosetup is not feasible
|
||||
%setup -qn PowerShell-%{version}
|
||||
%setup -qn PowerShell-%{version}-preview.8
|
||||
# Using autosetup is not feasible
|
||||
%setup -qcTDa 1 -n PowerShell-Native
|
||||
# Using autosetup is not feasible
|
||||
|
@ -88,7 +88,7 @@ It consists of a cross-platform command-line shell and associated scripting lang
|
|||
cd %{_builddir}/omi/omi-%{libmi_tag}/Unix && sh ./configure && make %{?_smp_mflags}
|
||||
mv ./output/lib/libmi.so %{_builddir}/powershell-linux-%{version}
|
||||
|
||||
cd %{_builddir}/PowerShell-%{version}
|
||||
cd %{_builddir}/PowerShell-%{version}-preview.8
|
||||
cp %{SOURCE3} .
|
||||
cp %{SOURCE4} src
|
||||
bash -x build.sh
|
||||
|
@ -100,13 +100,15 @@ pushd src/libpsl-native
|
|||
popd
|
||||
|
||||
%install
|
||||
cd %{_builddir}/PowerShell-%{version}
|
||||
cd %{_builddir}/PowerShell-%{version}-preview.8
|
||||
rm -rf src/%{name}-unix/bin/{Debug,Linux}
|
||||
mkdir -p %{buildroot}%{_libdir}/%{name} %{buildroot}%{_docdir}/%{name}
|
||||
mv bin/ThirdPartyNotices.txt bin/LICENSE.txt %{buildroot}%{_docdir}/%{name}
|
||||
cp -r bin/* %{buildroot}%{_libdir}/%{name}
|
||||
rm -f %{buildroot}/%{_libdir}/%{name}/libpsl-native.so
|
||||
cp -rf %{_builddir}/PowerShell-Native/PowerShell-Native-%{ps_native_ver}/src/%{name}-unix/libpsl-native.so %{buildroot}%{_libdir}/%{name}
|
||||
rm -f %{buildroot}%{_libdir}/%{name}/libpsl-native.so
|
||||
|
||||
cp -rf %{_builddir}/PowerShell-Native/PowerShell-Native-%{ps_native_ver}/src/%{name}-unix/libpsl-native.so \
|
||||
%{buildroot}%{_libdir}/%{name}
|
||||
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
chmod 755 %{buildroot}%{_libdir}/%{name}/pwsh
|
||||
|
@ -115,8 +117,9 @@ mkdir -p %{buildroot}%{_libdir}/%{name}/ref
|
|||
|
||||
cp %{_builddir}/%{name}-linux-%{version}/ref/* %{buildroot}%{_libdir}/%{name}/ref
|
||||
cp %{_builddir}/%{name}-linux-%{version}/libmi.so %{buildroot}%{_libdir}/%{name}/
|
||||
|
||||
cp -r %{_builddir}/%{name}-linux-%{version}/Modules/{PSReadLine,PowerShellGet,PackageManagement} \
|
||||
%{buildroot}%{_libdir}/%{name}/Modules
|
||||
%{buildroot}%{_libdir}/%{name}/Modules
|
||||
|
||||
%if 0%{?with_check}
|
||||
%check
|
||||
|
@ -151,6 +154,8 @@ fi
|
|||
%{_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Wed Oct 05 2022 Shreenidhi Shedi <sshedi@vmware.com> 7.3.0-preview.8
|
||||
- Upgrade to v7.3.0-rc1
|
||||
* Mon Feb 28 2022 Shreenidhi Shedi <sshedi@vmware.com> 7.2.0-3
|
||||
- Fix binary path
|
||||
* Tue Dec 07 2021 Alexey Makhalov <amakhalov@vmware.com> 7.2.0-2
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
Name: vulkan-loader
|
||||
Version: 1.3.216.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Vulkan ICD desktop loader
|
||||
Group: Development/Tools
|
||||
Vendor: VMware, Inc.
|
||||
|
@ -93,5 +93,7 @@ rm -rf %{buildroot}/*
|
|||
%{_libdir}/*.so
|
||||
|
||||
%changelog
|
||||
* Wed Sep 28 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.3.216.0-2
|
||||
- Bump version as a part of mesa upgrade
|
||||
* Mon Jun 13 2022 Shivani Agarwal <shivania2@vmware.com> 1.3.216.0-1
|
||||
- Initial version
|
||||
|
|
Loading…
Reference in New Issue