Architecture specific change in rpms/petsc4py.git
by githook-noreply@fedoraproject.org
The package rpms/petsc4py.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/petsc4py.git/commit/?id=475ae52e7....
Change:
-ExcludeArch: s390x
Thanks.
Full change:
============
commit 475ae52e7a5b94301704beff2c21d1bcf3f5de5b
Author: sagitter <sagitter(a)fedoraproject.org>
Date: Tue Sep 4 18:26:29 2018 +0200
Deprecate Python2 on fedora 30+; prepare SPEC file for parallel python3X packaging on epel7.
diff --git a/petsc4py.spec b/petsc4py.spec
index 8561901..66eb283 100644
--- a/petsc4py.spec
+++ b/petsc4py.spec
@@ -1,58 +1,32 @@
-%if 0%{?rhel} && 0%{?rhel} <= 6
-%{!?__python2: %global __python2 /usr/bin/python2}
-%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
-%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
-
-%global python2_version 2.6
-%global with_python3 0
-%global pypi_name petsc4py
-%else
+%if 0%{?rhel} >= 8
%global with_python3 1
-%global pypi_name petsc4py
+%global with_python2 0
%endif
-%if 0%{?fedora}
+%if 0%{?rhel} < 8
%global with_python3 1
-%global pypi_name petsc4py
-
-%global with_mpich 1
-%global with_openmpi 1
+%global with_python2 1
%endif
-# No MPICH support on these arches
-%if 0%{?rhel} || 0%{?rhel} < 7
-%ifarch %{power64}
-%global with_mpich 0
-%endif
-%endif
-%if 0%{?rhel} || 0%{?rhel} < 7
-%ifnarch %{power64}
-%global with_mpich 1
+%if 0%{?fedora} < 30
+%global with_python3 1
+%global with_python2 1
%endif
+
+%if 0%{?fedora} >= 30
+%global with_python3 1
+%global with_python2 0
%endif
-%if 0%{?fedora} || 0%{?rhel} >= 7
+
%global with_mpich 1
%global with_openmpi 1
-%endif
-
-%global mpiarchdir -%{_arch}
%global petscver 3.9.0
-
-# PETSc does not provide MPI builds on s390x
-ExcludeArch: s390x
-
-#Macros not used in this release
-#%%global commit ac769fc79a91d574f53681a281d3fff816bd6961
-#%%global shortcommit %%(c=%%{commit}; echo ${c:0:7})
-#%%global datecommit 20170629
-
-## Make python?_shortver macros
-%{!?python3_shortver: %global python3_shortver %(%{__python3} -c 'import sys; print(str(sys.version_info.major) + "." + str(sys.version_info.minor))')}
+%global pypi_name petsc4py
Name: %{pypi_name}
Version: 3.9.1
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Python bindings for MPI PETSc
License: BSD
@@ -63,11 +37,16 @@ Source0: https://bitbucket.org/petsc/petsc4py/downloads/%{pypi_name}-%{ve
Patch0: %{name}-openmpi_set_dir.patch
Patch1: %{name}-mpich_set_dir.patch
+%if 0%{?with_python3_other}
+BuildRequires: python%{python3_other_pkgversion}-devel
+%endif
+
%description
This package provides Python bindings for PETSc,
the Portable, Extensible Toolkit for Scientific Computation.
%if 0%{?with_openmpi}
+%if 0%{?with_python2}
%package -n python2-%{pypi_name}-openmpi
Summary: Python2 bindings for OpenMPI PETSc
%{?python_provide:%python_provide python2-%{pypi_name}-openmpi}
@@ -87,6 +66,7 @@ Requires: openmpi%{?_isa}
%description -n python2-%{pypi_name}-openmpi
This package provides Python2 bindings for OpenMPI PETSc,
the Portable, Extensible Toolkit for Scientific Computation.
+%endif
%package -n %{pypi_name}-openmpi-devel
Summary: %{pypi_name} devel files
@@ -114,10 +94,32 @@ Requires: openmpi%{?_isa}
%description -n python%{python3_pkgversion}-%{pypi_name}-openmpi
This package provides Python3 bindings for OpenMPI PETSc,
the Portable, Extensible Toolkit for Scientific Computation.
+
+%if 0%{?with_python3_other}
+%package -n python%{python3_other_pkgversion}-%{pypi_name}-openmpi
+Summary: Python%{python3_other_pkgversion} bindings for OpenMPI PETSc
+%{?python_provide:%python_provide python%{python3_other_pkgversion}-%{pypi_name}-openmpi}
+
+BuildRequires: python%{python3_other_pkgversion}-devel
+BuildRequires: hdf5-openmpi-devel
+BuildRequires: scalapack-openmpi-devel
+BuildRequires: ptscotch-openmpi-devel
+BuildRequires: petsc-openmpi-devel >= %{petscver}
+BuildRequires: python%{python3_other_pkgversion}-numpy, python%{python3_other_pkgversion}-Cython
+Requires: petsc-openmpi%{?_isa} >= %{petscver}
+Requires: hdf5-openmpi%{?_isa}
+Requires: scalapack-openmpi%{?_isa}
+Requires: ptscotch-openmpi%{?_isa}
+Requires: openmpi%{?_isa}
+
+%description -n python%{python3_other_pkgversion}-%{pypi_name}-openmpi
+Python%{python3_other_pkgversion} bindings for OpenMPI PETSc.
+%endif
%endif
%endif
%if 0%{?with_mpich}
+%if 0%{?with_python2}
%package -n python2-%{pypi_name}-mpich
Summary: Python2 bindings for MPICH PETSc
%{?python_provide:%python_provide python2-%{pypi_name}-mpich}
@@ -137,6 +139,7 @@ Requires: mpich%{?_isa}
%description -n python2-%{pypi_name}-mpich
This package provides Python2 bindings for MPICH PETSc,
the Portable, Extensible Toolkit for Scientific Computation.
+%endif
%package -n %{pypi_name}-mpich-devel
Summary: %{pypi_name} devel files
@@ -164,6 +167,27 @@ Requires: mpich%{?_isa}
%description -n python%{python3_pkgversion}-%{pypi_name}-mpich
This package provides Python3 bindings for MPICH PETSc,
the Portable, Extensible Toolkit for Scientific Computation.
+
+%if 0%{?with_python3_other}
+%package -n python%{python3_other_pkgversion}-%{pypi_name}-mpich
+Summary: Python%{python3_other_pkgversion} bindings for MPICH PETSc
+%{?python_provide:%python_provide python%{python3_other_pkgversion}-%{pypi_name}-mpich}
+
+BuildRequires: python%{python3_other_pkgversion}-devel
+BuildRequires: hdf5-mpich-devel
+BuildRequires: scalapack-mpich-devel
+BuildRequires: ptscotch-mpich-devel
+BuildRequires: petsc-mpich-devel >= %{petscver}
+BuildRequires: python%{python3_other_pkgversion}-numpy, python%{python3_other_pkgversion}-Cython
+Requires: petsc-mpich%{?_isa} >= %{petscver}
+Requires: hdf5-mpich%{?_isa}
+Requires: scalapack-mpich%{?_isa}
+Requires: ptscotch-mpich%{?_isa}
+Requires: mpich%{?_isa}
+
+%description -n python%{python3_other_pkgversion}-%{pypi_name}-mpich
+Python%{python3_other_pkgversion} bindings for MPICH PETSc.
+%endif
%endif
%endif
@@ -211,9 +235,15 @@ popd
pushd %{pypi_name}-openmpi
%{_openmpi_load}
export PETSC_DIR=%{_prefix}
-CFLAGS="%{optflags}" %{__python2} setup.py build --executable="%{__python2} -s"
+%if 0%{?with_python2}
+%py2_build
+%endif
%if 0%{?with_python3}
-CFLAGS="%{optflags}" %{__python3} setup.py build --executable="%{__python3} -s"
+%py3_build
+
+%if 0%{?with_python3_other}
+%py3_other_build
+%endif
%endif
popd
%{_openmpi_unload}
@@ -224,9 +254,15 @@ popd
pushd %{pypi_name}-mpich
%{_mpich_load}
export PETSC_DIR=%{_prefix}
-CFLAGS="%{optflags}" %{__python2} setup.py build --executable="%{__python2} -s"
+%if 0%{?with_python2}
+%py2_build
+%endif
%if 0%{?with_python3}
-CFLAGS="%{optflags}" %{__python3} setup.py build --executable="%{__python3} -s"
+%py3_build
+
+%if 0%{?with_python3_other}
+%py3_other_build
+%endif
%endif
popd
%{_mpich_unload}
@@ -237,29 +273,52 @@ popd
%if 0%{?with_openmpi}
%{_openmpi_load}
pushd %{pypi_name}-openmpi
-CFLAGS="%{optflags}" %{__python2} setup.py install -O1 --skip-build --root %{buildroot}
-mkdir -p %{buildroot}%{_includedir}/openmpi%{mpiarchdir}
-cp -a %{buildroot}%{python2_sitearch}/%{pypi_name}/include/%{pypi_name} %{buildroot}%{_includedir}/openmpi%{mpiarchdir}/
-rm -rf %{buildroot}%{python2_sitearch}/%{pypi_name}/include
+%if 0%{?with_python2}
+%py2_install
-# Install petsc4py files into MPI directories
-mkdir -p %{buildroot}%{python2_sitearch}/openmpi
-cp -a %{buildroot}%{python2_sitearch}/%{pypi_name} %{buildroot}%{python2_sitearch}/openmpi/
+# Install petsc4py files into MPI directories
+%if 0%{?rhel}
+MPI_PYTHON2_SITEARCH=%{python2_sitearch}/openmpi
+%endif
+
+mkdir -p %{buildroot}$MPI_PYTHON2_SITEARCH
+cp -a %{buildroot}%{python2_sitearch}/%{pypi_name} %{buildroot}$MPI_PYTHON2_SITEARCH/
rm -rf %{buildroot}%{python2_sitearch}/%{pypi_name}
-cp -a %{buildroot}%{python2_sitearch}/%{pypi_name}-%{version}-py%{python2_version}.egg-info %{buildroot}%{python2_sitearch}/openmpi/
+cp -a %{buildroot}%{python2_sitearch}/%{pypi_name}-%{version}-py%{python2_version}.egg-info %{buildroot}$MPI_PYTHON2_SITEARCH/
rm -rf %{buildroot}%{python2_sitearch}/%{pypi_name}-%{version}-py%{python2_version}.egg-info
+%endif
%if 0%{?with_python3}
-CFLAGS="%{optflags}" %{__python3} setup.py install -O1 --skip-build --root %{buildroot}
+%py3_install
# Install petsc4py files into MPI directories
-mkdir -p %{buildroot}%{python3_sitearch}/openmpi
-cp -a %{buildroot}%{python3_sitearch}/%{pypi_name} %{buildroot}%{python3_sitearch}/openmpi/
+%if 0%{?rhel}
+MPI_PYTHON3_SITEARCH=%{python3_sitearch}/openmpi
+%endif
+
+mkdir -p %{buildroot}$MPI_PYTHON3_SITEARCH
+cp -a %{buildroot}%{python3_sitearch}/%{pypi_name} %{buildroot}$MPI_PYTHON3_SITEARCH/
rm -rf %{buildroot}%{python3_sitearch}/%{pypi_name}
-cp -a %{buildroot}%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info %{buildroot}%{python3_sitearch}/openmpi/
+cp -a %{buildroot}%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info %{buildroot}$MPI_PYTHON3_SITEARCH/
rm -rf %{buildroot}%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
+
+%if 0%{?with_python3_other}
+%py3_other_install
+
+# Install petsc4py files into MPI directories
+mkdir -p %{buildroot}%{python3_other_sitearch}/openmpi
+cp -a %{buildroot}%{python3_other_sitearch}/%{pypi_name} %{buildroot}%{python3_other_sitearch}/openmpi/
+rm -rf %{buildroot}%{python3_other_sitearch}/%{pypi_name}
+cp -a %{buildroot}%{python3_other_sitearch}/%{pypi_name}-%{version}-py%{__python3_other}.egg-info %{buildroot}%{python3_other_sitearch}/openmpi/
+rm -rf %{buildroot}%{python3_other_sitearch}/%{pypi_name}-%{version}-py%{__python3_other}.egg-info
%endif
+%endif
+
+# Install include files
+mkdir -p %{buildroot}$MPI_INCLUDE/%{pypi_name}
+cp -a src/include/* %{buildroot}$MPI_INCLUDE/%{pypi_name}/
+
%{_openmpi_unload}
popd
%endif
@@ -268,29 +327,52 @@ popd
%if 0%{?with_mpich}
pushd %{pypi_name}-mpich
%{_mpich_load}
-CFLAGS="%{optflags}" %{__python2} setup.py install -O1 --skip-build --root %{buildroot}
-mkdir -p %{buildroot}%{_includedir}/mpich%{mpiarchdir}
-cp -a %{buildroot}%{python2_sitearch}/%{pypi_name}/include/%{pypi_name} %{buildroot}%{_includedir}/mpich%{mpiarchdir}/
-rm -rf %{buildroot}%{python2_sitearch}/%{pypi_name}/include
+%if 0%{?with_python2}
+%py2_install
-# Install petsc4py files into MPI directories
-mkdir -p %{buildroot}%{python2_sitearch}/mpich
-cp -a %{buildroot}%{python2_sitearch}/%{pypi_name} %{buildroot}%{python2_sitearch}/mpich/
+# Install petsc4py files into MPI directories
+%if 0%{?rhel}
+MPI_PYTHON2_SITEARCH=%{python2_sitearch}/mpich
+%endif
+
+mkdir -p %{buildroot}$MPI_PYTHON2_SITEARCH
+cp -a %{buildroot}%{python2_sitearch}/%{pypi_name} %{buildroot}$MPI_PYTHON2_SITEARCH/
rm -rf %{buildroot}%{python2_sitearch}/%{pypi_name}
-cp -a %{buildroot}%{python2_sitearch}/%{pypi_name}-%{version}-py%{python2_version}.egg-info %{buildroot}%{python2_sitearch}/mpich/
+cp -a %{buildroot}%{python2_sitearch}/%{pypi_name}-%{version}-py%{python2_version}.egg-info %{buildroot}$MPI_PYTHON2_SITEARCH/
rm -rf %{buildroot}%{python2_sitearch}/%{pypi_name}-%{version}-py%{python2_version}.egg-info
+%endif
%if 0%{?with_python3}
-CFLAGS="%{optflags}" %{__python3} setup.py install -O1 --skip-build --root %{buildroot}
+%py3_install
-# Install petsc4py files into MPI directories
-mkdir -p %{buildroot}%{python3_sitearch}/mpich
-cp -a %{buildroot}%{python3_sitearch}/%{pypi_name} %{buildroot}%{python3_sitearch}/mpich/
+# Install petsc4py files into MPI directories
+%if 0%{?rhel}
+MPI_PYTHON3_SITEARCH=%{python3_sitearch}/mpich
+%endif
+
+mkdir -p %{buildroot}$MPI_PYTHON3_SITEARCH
+cp -a %{buildroot}%{python3_sitearch}/%{pypi_name} %{buildroot}$MPI_PYTHON3_SITEARCH/
rm -rf %{buildroot}%{python3_sitearch}/%{pypi_name}
-cp -a %{buildroot}%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info %{buildroot}%{python3_sitearch}/mpich/
+cp -a %{buildroot}%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info %{buildroot}$MPI_PYTHON3_SITEARCH/
rm -rf %{buildroot}%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
+
+%if 0%{?with_python3_other}
+%py3_other_install
+
+# Install petsc4py files into MPI directories
+mkdir -p %{buildroot}%{python3_other_sitearch}/mpich
+cp -a %{buildroot}%{python3_other_sitearch}/%{pypi_name} %{buildroot}%{python3_other_sitearch}/mpich/
+rm -rf %{buildroot}%{python3_other_sitearch}/%{pypi_name}
+cp -a %{buildroot}%{python3_other_sitearch}/%{pypi_name}-%{version}-py%{__python3_other}.egg-info %{buildroot}%{python3_other_sitearch}/mpich/
+rm -rf %{buildroot}%{python3_other_sitearch}/%{pypi_name}-%{version}-py%{__python3_other}.egg-info
+%endif
%endif
+
+# Install include files
+mkdir -p %{buildroot}$MPI_INCLUDE/%{pypi_name}
+cp -a src/include/* %{buildroot}$MPI_INCLUDE/%{pypi_name}/
+
%{_mpich_unload}
popd
%endif
@@ -298,14 +380,30 @@ popd
%check
# openmpi petsc4py
%if 0%{?with_openmpi}
-%{_openmpi_load}
pushd %{pypi_name}-openmpi
-export PYTHONPATH=$RPM_BUILD_ROOT%{python2_sitearch}/openmpi
+%{_openmpi_load}
+
+%if 0%{?with_python2}
+%if 0%{?rhel}
+MPI_PYTHON2_SITEARCH=%{python2_sitearch}/openmpi
+%endif
+
+export PYTHONPATH=$RPM_BUILD_ROOT$MPI_PYTHON2_SITEARCH
%{__python2} setup.py test
+%endif
%if 0%{?with_python3}
-export PYTHONPATH=$RPM_BUILD_ROOT%{python3_sitearch}/openmpi
+%if 0%{?rhel}
+MPI_PYTHON3_SITEARCH=%{python3_sitearch}/openmpi
+%endif
+
+export PYTHONPATH=$RPM_BUILD_ROOT$MPI_PYTHON3_SITEARCH
%{__python3} setup.py test
+
+%if 0%{?with_python3_other}
+export PYTHONPATH=$RPM_BUILD_ROOT%{python3_other_sitearch}/openmpi
+%{__python3_other} setup.py test
+%endif
%endif
%{_openmpi_unload}
popd
@@ -313,28 +411,46 @@ popd
# mpich petsc4py
%if 0%{?with_mpich}
-%{_mpich_load}
pushd %{pypi_name}-mpich
-export PYTHONPATH=$RPM_BUILD_ROOT%{python2_sitearch}/mpich
+%{_mpich_load}
+
+%if 0%{?with_python2}
+%if 0%{?rhel}
+MPI_PYTHON2_SITEARCH=%{python2_sitearch}/mpich
+%endif
+
+export PYTHONPATH=$RPM_BUILD_ROOT$MPI_PYTHON2_SITEARCH
%{__python2} setup.py test
+%endif
%if 0%{?with_python3}
-export PYTHONPATH=$RPM_BUILD_ROOT%{python3_sitearch}/mpich
+%if 0%{?rhel}
+MPI_PYTHON3_SITEARCH=%{python3_sitearch}/mpich
+%endif
+
+export PYTHONPATH=$RPM_BUILD_ROOT$MPI_PYTHON3_SITEARCH
%{__python3} setup.py test
+
+%if 0%{?with_python3_other}
+export PYTHONPATH=$RPM_BUILD_ROOT%{python3_other_sitearch}/mpich
+%{__python3_other} setup.py test
+%endif
%endif
%{_mpich_unload}
popd
%endif
%if 0%{?with_openmpi}
+%if 0%{?with_python2}
%files -n python2-%{pypi_name}-openmpi
%doc %{pypi_name}-openmpi/CHANGES.* %{pypi_name}-openmpi/README.*
%license %{pypi_name}-openmpi/LICENSE.rst
%{python2_sitearch}/openmpi/%{pypi_name}/
%{python2_sitearch}/openmpi/%{pypi_name}-%{version}-py%{python2_version}.egg-info
+%endif
%files -n %{pypi_name}-openmpi-devel
-%{_includedir}/openmpi%{mpiarchdir}/%{pypi_name}/
+%{_includedir}/openmpi-%{_arch}/%{pypi_name}/
%if 0%{?with_python3}
%files -n python%{python3_pkgversion}-%{pypi_name}-openmpi
@@ -342,18 +458,28 @@ popd
%license %{pypi_name}-openmpi/LICENSE.rst
%{python3_sitearch}/openmpi/%{pypi_name}/
%{python3_sitearch}/openmpi/%{pypi_name}-%{version}-py%{python3_version}.egg-info
+
+%if 0%{?with_python3_other}
+%files -n python%{python3_other_pkgversion}-%{pypi_name}-openmpi
+%doc %{pypi_name}-openmpi/CHANGES.* %{pypi_name}-openmpi/README.*
+%license %{pypi_name}-openmpi/LICENSE.rst
+%{python3_other_sitearch}/openmpi/%{pypi_name}/
+%{python3_other_sitearch}/openmpi/%{pypi_name}-%{version}-py%{__python3_other}.egg-info
+%endif
%endif
%endif
%if 0%{?with_mpich}
+%if 0%{?with_python2}
%files -n python2-%{pypi_name}-mpich
%doc %{pypi_name}-mpich/CHANGES.* %{pypi_name}-mpich/README.*
%license %{pypi_name}-mpich/LICENSE.rst
%{python2_sitearch}/mpich/%{pypi_name}/
%{python2_sitearch}/mpich/%{pypi_name}-%{version}-py%{python2_version}.egg-info
+%endif
%files -n %{pypi_name}-mpich-devel
-%{_includedir}/mpich%{mpiarchdir}/%{pypi_name}/
+%{_includedir}/mpich-%{_arch}/%{pypi_name}/
%if 0%{?with_python3}
%files -n python%{python3_pkgversion}-%{pypi_name}-mpich
@@ -361,10 +487,23 @@ popd
%license %{pypi_name}-mpich/LICENSE.rst
%{python3_sitearch}/mpich/%{pypi_name}/
%{python3_sitearch}/mpich/%{pypi_name}-%{version}-py%{python3_version}.egg-info
+
+%if 0%{?with_python3_other}
+%files -n python%{python3_other_pkgversion}-%{pypi_name}-mpich
+%doc %{pypi_name}-mpich/CHANGES.* %{pypi_name}-openmpi/README.*
+%license %{pypi_name}-mpich/LICENSE.rst
+%{python3_other_sitearch}/mpich/%{pypi_name}/
+%{python3_other_sitearch}/mpich/%{pypi_name}-%{version}-py%{__python3_other}.egg-info
+%endif
%endif
%endif
%changelog
+* Tue Sep 04 2018 Antonio Trande <sagitterATfedoraproject.org> - 3.9.1-4
+- Deprecate Python2 on fedora 30+
+- Prepare SPEC file for parallel python3X packaging on epel7
+- Remove ExcludeArch for fedora < 29
+
* Fri Aug 03 2018 Antonio Trande <sagitterATfedoraproject.org> - 3.9.1-3
- Fix RHEL BR packages
5 years, 8 months
Architecture specific change in rpms/java-11-openjdk.git
by githook-noreply@fedoraproject.org
The package rpms/java-11-openjdk.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/java-11-openjdk.git/commit/?id=b1....
Change:
-%ifarch %{jit_arches}
Thanks.
Full change:
============
commit b1721e43418aa5812b4cb2469b3d227e7933180f
Author: Jiri Vanek <jvanek(a)redhat.com>
Date: Tue Sep 4 16:46:02 2018 +0200
moved to +28
diff --git a/.gitignore b/.gitignore
index ba53645..26b9264 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/systemtap_3.2_tapsets_hg-icedtea8-9d464368e06d.tar.xz
/shenandoah-jdk11-b516c8c7a0a4.tar.xz
/shenandoah-jdk11-shenandoah-jdk-11+22.tar.xz
+/shenandoah-jdk11-shenandoah-jdk-11+28.tar.xz
diff --git a/README.md b/README.md
index 46f788b..00cae68 100644
--- a/README.md
+++ b/README.md
@@ -6,3 +6,4 @@ JDK11 is last LTS release of Java platform. It is bringing many cool improvement
See announcement: http://mail.openjdk.java.net/pipermail/discuss/2017-September/004281.html
See java SIG plans: https://jvanek.fedorapeople.org/devconf/2018/changesInjavaReleaseProcess.pdf
+https://fedoraproject.org/wiki/Changes/java-11-openjdk-TechPreview
diff --git a/RHBZ-1565658-system-nss-SunEC.patch b/RHBZ-1565658-system-nss-SunEC.patch
index 26df349..42ce7cd 100644
--- a/RHBZ-1565658-system-nss-SunEC.patch
+++ b/RHBZ-1565658-system-nss-SunEC.patch
@@ -94,8 +94,13 @@ diff --git a/make/lib/Lib-jdk.crypto.ec.gmk b/make/lib/Lib-jdk.crypto.ec.gmk
$(eval $(call SetupJdkLibrary, BUILD_LIBSUNEC, \
NAME := sunec, \
TOOLCHAIN := TOOLCHAIN_LINK_CXX, \
-@@ -58,6 +64,7 @@
- LDFLAGS := $(LDFLAGS_JDKLIB) $(LDFLAGS_CXX_JDK), \
+@@ -47,9 +52,11 @@
+ CXXFLAGS := $(BUILD_LIBSUNEC_CXXFLAGS_JDKLIB), \
+ DISABLED_WARNINGS_gcc := sign-compare implicit-fallthrough, \
+ DISABLED_WARNINGS_microsoft := 4101 4244 4146 4018, \
+- LDFLAGS := $(LDFLAGS_JDKLIB) $(LDFLAGS_CXX_JDK), \
++ LDFLAGS := $(subst -Xlinker --as-needed,, \
++ $(subst -Wl$(COMMA)--as-needed,, $(LDFLAGS_JDKLIB))) $(LDFLAGS_CXX_JDK), \
LDFLAGS_macosx := $(call SET_SHARED_LIBRARY_ORIGIN), \
LIBS := $(LIBCXX), \
+ LIBS_linux := -lc $(NSS_LIBS), \
diff --git a/java-11-openjdk.spec b/java-11-openjdk.spec
index a9e3ec7..9974e76 100644
--- a/java-11-openjdk.spec
+++ b/java-11-openjdk.spec
@@ -196,7 +196,7 @@
%global origin_nice OpenJDK
%global top_level_dir_name %{origin}
%global minorver 0
-%global buildver 22
+%global buildver 28
# priority must be 7 digits in total
# setting to 1, so debug ones can have 0
%global priority 00000%{minorver}1
@@ -499,7 +499,9 @@ exit 0
%{_jvmdir}/%{sdkdir -- %{?1}}/bin/rmiregistry
%{_jvmdir}/%{sdkdir -- %{?1}}/bin/unpack200
%dir %{_jvmdir}/%{sdkdir -- %{?1}}/lib
+%ifarch %{jit_arches}
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/classlist
+%endif
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/jexec
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/jrt-fs.jar
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/modules
@@ -546,12 +548,9 @@ exit 0
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/libunpack.so
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/libverify.so
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/libzip.so
-# Zero does not have JFR
-%ifarch %{jit_arches}
%dir %{_jvmdir}/%{sdkdir -- %{?1}}/lib/jfr
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/jfr/default.jfc
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/jfr/profile.jfc
-%endif
%{_mandir}/man1/java-%{uniquesuffix -- %{?1}}.1*
%{_mandir}/man1/jjs-%{uniquesuffix -- %{?1}}.1*
%{_mandir}/man1/keytool-%{uniquesuffix -- %{?1}}.1*
@@ -835,7 +834,7 @@ Provides: java-%{javaver}-%{origin}-src%{?1} = %{epoch}:%{version}-%{release}
Name: java-%{javaver}-%{origin}
Version: %{newjavaver}.%{buildver}
-Release: 7%{?dist}
+Release: 2%{?dist}
# java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons
# and this change was brought into RHEL-4. java-1.5.0-ibm packages
# also included the epoch in their virtual provides. This created a
@@ -1724,6 +1723,19 @@ require "copy_jdk_configs.lua"
%changelog
+* Thu Sep 4 2018 Jiri Vanek <jvanek(a)redhat.com> - 1:11.0.ea.28-2
+- jfr/*jfc files listed for all arches
+- lib/classlist do not exists s390, ifarch-ed via jit_arches out
+
+* Fri Aug 31 2018 Severin Gehwolf <sgehwolf(a)redhat.com> - 1:11.0.ea.28-1
+- Update to latest upstream build jdk11+28, the first release
+ candidate.
+
+* Wed Aug 29 2018 Severin Gehwolf <sgehwolf(a)redhat.com> - 1:11.0.ea.22-8
+- Adjust system NSS patch, RHBZ-1565658-system-nss-SunEC.patch, so
+ as to filter -Wl,--as-needed from linker flags. Fixes FTBFS issue.
+ Resolves: RHBZ#1623437
+
* Thu Aug 23 2018 Jiri Vanek <jvanek(a)redhat.com> - 1:11.0.ea.22-6
- dissabled accessibility, fixed provides for main package's debug variant
diff --git a/sources b/sources
index 210f6a4..104c218 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
SHA512 (systemtap_3.2_tapsets_hg-icedtea8-9d464368e06d.tar.xz) = cf578221b77d8c7e019f69909bc86c419c5fb5e10bceba9592ff6e7f96887b0a7f07c9cefe90800975247a078785ca190fdec5c2d0f841bb447cee784b570f7d
-SHA512 (shenandoah-jdk11-shenandoah-jdk-11+22.tar.xz) = 26b21be95d7302a4cf4afc63a0edc59ba3829303985654b5b6148a54f0bd6a36685463ccca86ed68f7498bfd8e7bec270e67210747e15b2d44105f4f00e48aa6
+SHA512 (shenandoah-jdk11-shenandoah-jdk-11+28.tar.xz) = 4ca6a69cb1b67dd6749861de5f49e50a43c9c7a6100d4b55c722960fec90bb280dc995be7d76e9b2d4519ce0d8fef54c25be8e9b33b80d6c6ec9130ef166e4ee
diff --git a/update_package.sh b/update_package.sh
index ced9ef2..7b47a26 100644
--- a/update_package.sh
+++ b/update_package.sh
@@ -35,7 +35,7 @@ fi
export PROJECT_NAME="shenandoah"
export REPO_NAME="jdk11"
# warning, clonning without shenadnaoh suffix, you will clone pure jdk - thus without shenandaoh GC
-export VERSION="shenandoah-jdk-11+22"
+export VERSION="shenandoah-jdk-11+28"
export COMPRESSION=xz
# unset tapsets overrides
export OPENJDK_URL=""
5 years, 8 months
Architecture specific change in rpms/java-11-openjdk.git
by githook-noreply@fedoraproject.org
The package rpms/java-11-openjdk.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/java-11-openjdk.git/commit/?id=56....
Change:
-%ifarch %{jit_arches}
Thanks.
Full change:
============
commit 5695c312a26752a73b258e65e876b03f09f2d22f
Author: Jiri Vanek <jvanek(a)redhat.com>
Date: Tue Sep 4 16:46:01 2018 +0200
moved to +28
diff --git a/.gitignore b/.gitignore
index ba53645..26b9264 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/systemtap_3.2_tapsets_hg-icedtea8-9d464368e06d.tar.xz
/shenandoah-jdk11-b516c8c7a0a4.tar.xz
/shenandoah-jdk11-shenandoah-jdk-11+22.tar.xz
+/shenandoah-jdk11-shenandoah-jdk-11+28.tar.xz
diff --git a/README.md b/README.md
index 46f788b..00cae68 100644
--- a/README.md
+++ b/README.md
@@ -6,3 +6,4 @@ JDK11 is last LTS release of Java platform. It is bringing many cool improvement
See announcement: http://mail.openjdk.java.net/pipermail/discuss/2017-September/004281.html
See java SIG plans: https://jvanek.fedorapeople.org/devconf/2018/changesInjavaReleaseProcess.pdf
+https://fedoraproject.org/wiki/Changes/java-11-openjdk-TechPreview
diff --git a/RHBZ-1565658-system-nss-SunEC.patch b/RHBZ-1565658-system-nss-SunEC.patch
index 26df349..42ce7cd 100644
--- a/RHBZ-1565658-system-nss-SunEC.patch
+++ b/RHBZ-1565658-system-nss-SunEC.patch
@@ -94,8 +94,13 @@ diff --git a/make/lib/Lib-jdk.crypto.ec.gmk b/make/lib/Lib-jdk.crypto.ec.gmk
$(eval $(call SetupJdkLibrary, BUILD_LIBSUNEC, \
NAME := sunec, \
TOOLCHAIN := TOOLCHAIN_LINK_CXX, \
-@@ -58,6 +64,7 @@
- LDFLAGS := $(LDFLAGS_JDKLIB) $(LDFLAGS_CXX_JDK), \
+@@ -47,9 +52,11 @@
+ CXXFLAGS := $(BUILD_LIBSUNEC_CXXFLAGS_JDKLIB), \
+ DISABLED_WARNINGS_gcc := sign-compare implicit-fallthrough, \
+ DISABLED_WARNINGS_microsoft := 4101 4244 4146 4018, \
+- LDFLAGS := $(LDFLAGS_JDKLIB) $(LDFLAGS_CXX_JDK), \
++ LDFLAGS := $(subst -Xlinker --as-needed,, \
++ $(subst -Wl$(COMMA)--as-needed,, $(LDFLAGS_JDKLIB))) $(LDFLAGS_CXX_JDK), \
LDFLAGS_macosx := $(call SET_SHARED_LIBRARY_ORIGIN), \
LIBS := $(LIBCXX), \
+ LIBS_linux := -lc $(NSS_LIBS), \
diff --git a/java-11-openjdk.spec b/java-11-openjdk.spec
index a9e3ec7..9974e76 100644
--- a/java-11-openjdk.spec
+++ b/java-11-openjdk.spec
@@ -196,7 +196,7 @@
%global origin_nice OpenJDK
%global top_level_dir_name %{origin}
%global minorver 0
-%global buildver 22
+%global buildver 28
# priority must be 7 digits in total
# setting to 1, so debug ones can have 0
%global priority 00000%{minorver}1
@@ -499,7 +499,9 @@ exit 0
%{_jvmdir}/%{sdkdir -- %{?1}}/bin/rmiregistry
%{_jvmdir}/%{sdkdir -- %{?1}}/bin/unpack200
%dir %{_jvmdir}/%{sdkdir -- %{?1}}/lib
+%ifarch %{jit_arches}
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/classlist
+%endif
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/jexec
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/jrt-fs.jar
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/modules
@@ -546,12 +548,9 @@ exit 0
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/libunpack.so
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/libverify.so
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/libzip.so
-# Zero does not have JFR
-%ifarch %{jit_arches}
%dir %{_jvmdir}/%{sdkdir -- %{?1}}/lib/jfr
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/jfr/default.jfc
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/jfr/profile.jfc
-%endif
%{_mandir}/man1/java-%{uniquesuffix -- %{?1}}.1*
%{_mandir}/man1/jjs-%{uniquesuffix -- %{?1}}.1*
%{_mandir}/man1/keytool-%{uniquesuffix -- %{?1}}.1*
@@ -835,7 +834,7 @@ Provides: java-%{javaver}-%{origin}-src%{?1} = %{epoch}:%{version}-%{release}
Name: java-%{javaver}-%{origin}
Version: %{newjavaver}.%{buildver}
-Release: 7%{?dist}
+Release: 2%{?dist}
# java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons
# and this change was brought into RHEL-4. java-1.5.0-ibm packages
# also included the epoch in their virtual provides. This created a
@@ -1724,6 +1723,19 @@ require "copy_jdk_configs.lua"
%changelog
+* Thu Sep 4 2018 Jiri Vanek <jvanek(a)redhat.com> - 1:11.0.ea.28-2
+- jfr/*jfc files listed for all arches
+- lib/classlist do not exists s390, ifarch-ed via jit_arches out
+
+* Fri Aug 31 2018 Severin Gehwolf <sgehwolf(a)redhat.com> - 1:11.0.ea.28-1
+- Update to latest upstream build jdk11+28, the first release
+ candidate.
+
+* Wed Aug 29 2018 Severin Gehwolf <sgehwolf(a)redhat.com> - 1:11.0.ea.22-8
+- Adjust system NSS patch, RHBZ-1565658-system-nss-SunEC.patch, so
+ as to filter -Wl,--as-needed from linker flags. Fixes FTBFS issue.
+ Resolves: RHBZ#1623437
+
* Thu Aug 23 2018 Jiri Vanek <jvanek(a)redhat.com> - 1:11.0.ea.22-6
- dissabled accessibility, fixed provides for main package's debug variant
diff --git a/sources b/sources
index 210f6a4..104c218 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
SHA512 (systemtap_3.2_tapsets_hg-icedtea8-9d464368e06d.tar.xz) = cf578221b77d8c7e019f69909bc86c419c5fb5e10bceba9592ff6e7f96887b0a7f07c9cefe90800975247a078785ca190fdec5c2d0f841bb447cee784b570f7d
-SHA512 (shenandoah-jdk11-shenandoah-jdk-11+22.tar.xz) = 26b21be95d7302a4cf4afc63a0edc59ba3829303985654b5b6148a54f0bd6a36685463ccca86ed68f7498bfd8e7bec270e67210747e15b2d44105f4f00e48aa6
+SHA512 (shenandoah-jdk11-shenandoah-jdk-11+28.tar.xz) = 4ca6a69cb1b67dd6749861de5f49e50a43c9c7a6100d4b55c722960fec90bb280dc995be7d76e9b2d4519ce0d8fef54c25be8e9b33b80d6c6ec9130ef166e4ee
diff --git a/update_package.sh b/update_package.sh
index ced9ef2..7b47a26 100644
--- a/update_package.sh
+++ b/update_package.sh
@@ -35,7 +35,7 @@ fi
export PROJECT_NAME="shenandoah"
export REPO_NAME="jdk11"
# warning, clonning without shenadnaoh suffix, you will clone pure jdk - thus without shenandaoh GC
-export VERSION="shenandoah-jdk-11+22"
+export VERSION="shenandoah-jdk-11+28"
export COMPRESSION=xz
# unset tapsets overrides
export OPENJDK_URL=""
5 years, 8 months
Architecture specific change in rpms/java-11-openjdk.git
by githook-noreply@fedoraproject.org
The package rpms/java-11-openjdk.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/java-11-openjdk.git/commit/?id=41....
Change:
-%ifarch %{jit_arches}
Thanks.
Full change:
============
commit 41018aa9510f085ba7bb87fee952d0d6eaa3bd17
Author: Jiri Vanek <jvanek(a)redhat.com>
Date: Tue Sep 4 16:45:58 2018 +0200
moved to +28
diff --git a/.gitignore b/.gitignore
index ba53645..26b9264 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/systemtap_3.2_tapsets_hg-icedtea8-9d464368e06d.tar.xz
/shenandoah-jdk11-b516c8c7a0a4.tar.xz
/shenandoah-jdk11-shenandoah-jdk-11+22.tar.xz
+/shenandoah-jdk11-shenandoah-jdk-11+28.tar.xz
diff --git a/README.md b/README.md
index 46f788b..00cae68 100644
--- a/README.md
+++ b/README.md
@@ -6,3 +6,4 @@ JDK11 is last LTS release of Java platform. It is bringing many cool improvement
See announcement: http://mail.openjdk.java.net/pipermail/discuss/2017-September/004281.html
See java SIG plans: https://jvanek.fedorapeople.org/devconf/2018/changesInjavaReleaseProcess.pdf
+https://fedoraproject.org/wiki/Changes/java-11-openjdk-TechPreview
diff --git a/RHBZ-1565658-system-nss-SunEC.patch b/RHBZ-1565658-system-nss-SunEC.patch
index 26df349..42ce7cd 100644
--- a/RHBZ-1565658-system-nss-SunEC.patch
+++ b/RHBZ-1565658-system-nss-SunEC.patch
@@ -94,8 +94,13 @@ diff --git a/make/lib/Lib-jdk.crypto.ec.gmk b/make/lib/Lib-jdk.crypto.ec.gmk
$(eval $(call SetupJdkLibrary, BUILD_LIBSUNEC, \
NAME := sunec, \
TOOLCHAIN := TOOLCHAIN_LINK_CXX, \
-@@ -58,6 +64,7 @@
- LDFLAGS := $(LDFLAGS_JDKLIB) $(LDFLAGS_CXX_JDK), \
+@@ -47,9 +52,11 @@
+ CXXFLAGS := $(BUILD_LIBSUNEC_CXXFLAGS_JDKLIB), \
+ DISABLED_WARNINGS_gcc := sign-compare implicit-fallthrough, \
+ DISABLED_WARNINGS_microsoft := 4101 4244 4146 4018, \
+- LDFLAGS := $(LDFLAGS_JDKLIB) $(LDFLAGS_CXX_JDK), \
++ LDFLAGS := $(subst -Xlinker --as-needed,, \
++ $(subst -Wl$(COMMA)--as-needed,, $(LDFLAGS_JDKLIB))) $(LDFLAGS_CXX_JDK), \
LDFLAGS_macosx := $(call SET_SHARED_LIBRARY_ORIGIN), \
LIBS := $(LIBCXX), \
+ LIBS_linux := -lc $(NSS_LIBS), \
diff --git a/java-11-openjdk.spec b/java-11-openjdk.spec
index a9e3ec7..9974e76 100644
--- a/java-11-openjdk.spec
+++ b/java-11-openjdk.spec
@@ -196,7 +196,7 @@
%global origin_nice OpenJDK
%global top_level_dir_name %{origin}
%global minorver 0
-%global buildver 22
+%global buildver 28
# priority must be 7 digits in total
# setting to 1, so debug ones can have 0
%global priority 00000%{minorver}1
@@ -499,7 +499,9 @@ exit 0
%{_jvmdir}/%{sdkdir -- %{?1}}/bin/rmiregistry
%{_jvmdir}/%{sdkdir -- %{?1}}/bin/unpack200
%dir %{_jvmdir}/%{sdkdir -- %{?1}}/lib
+%ifarch %{jit_arches}
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/classlist
+%endif
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/jexec
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/jrt-fs.jar
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/modules
@@ -546,12 +548,9 @@ exit 0
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/libunpack.so
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/libverify.so
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/libzip.so
-# Zero does not have JFR
-%ifarch %{jit_arches}
%dir %{_jvmdir}/%{sdkdir -- %{?1}}/lib/jfr
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/jfr/default.jfc
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/jfr/profile.jfc
-%endif
%{_mandir}/man1/java-%{uniquesuffix -- %{?1}}.1*
%{_mandir}/man1/jjs-%{uniquesuffix -- %{?1}}.1*
%{_mandir}/man1/keytool-%{uniquesuffix -- %{?1}}.1*
@@ -835,7 +834,7 @@ Provides: java-%{javaver}-%{origin}-src%{?1} = %{epoch}:%{version}-%{release}
Name: java-%{javaver}-%{origin}
Version: %{newjavaver}.%{buildver}
-Release: 7%{?dist}
+Release: 2%{?dist}
# java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons
# and this change was brought into RHEL-4. java-1.5.0-ibm packages
# also included the epoch in their virtual provides. This created a
@@ -1724,6 +1723,19 @@ require "copy_jdk_configs.lua"
%changelog
+* Thu Sep 4 2018 Jiri Vanek <jvanek(a)redhat.com> - 1:11.0.ea.28-2
+- jfr/*jfc files listed for all arches
+- lib/classlist do not exists s390, ifarch-ed via jit_arches out
+
+* Fri Aug 31 2018 Severin Gehwolf <sgehwolf(a)redhat.com> - 1:11.0.ea.28-1
+- Update to latest upstream build jdk11+28, the first release
+ candidate.
+
+* Wed Aug 29 2018 Severin Gehwolf <sgehwolf(a)redhat.com> - 1:11.0.ea.22-8
+- Adjust system NSS patch, RHBZ-1565658-system-nss-SunEC.patch, so
+ as to filter -Wl,--as-needed from linker flags. Fixes FTBFS issue.
+ Resolves: RHBZ#1623437
+
* Thu Aug 23 2018 Jiri Vanek <jvanek(a)redhat.com> - 1:11.0.ea.22-6
- dissabled accessibility, fixed provides for main package's debug variant
diff --git a/sources b/sources
index 210f6a4..104c218 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
SHA512 (systemtap_3.2_tapsets_hg-icedtea8-9d464368e06d.tar.xz) = cf578221b77d8c7e019f69909bc86c419c5fb5e10bceba9592ff6e7f96887b0a7f07c9cefe90800975247a078785ca190fdec5c2d0f841bb447cee784b570f7d
-SHA512 (shenandoah-jdk11-shenandoah-jdk-11+22.tar.xz) = 26b21be95d7302a4cf4afc63a0edc59ba3829303985654b5b6148a54f0bd6a36685463ccca86ed68f7498bfd8e7bec270e67210747e15b2d44105f4f00e48aa6
+SHA512 (shenandoah-jdk11-shenandoah-jdk-11+28.tar.xz) = 4ca6a69cb1b67dd6749861de5f49e50a43c9c7a6100d4b55c722960fec90bb280dc995be7d76e9b2d4519ce0d8fef54c25be8e9b33b80d6c6ec9130ef166e4ee
diff --git a/update_package.sh b/update_package.sh
index ced9ef2..7b47a26 100644
--- a/update_package.sh
+++ b/update_package.sh
@@ -35,7 +35,7 @@ fi
export PROJECT_NAME="shenandoah"
export REPO_NAME="jdk11"
# warning, clonning without shenadnaoh suffix, you will clone pure jdk - thus without shenandaoh GC
-export VERSION="shenandoah-jdk-11+22"
+export VERSION="shenandoah-jdk-11+28"
export COMPRESSION=xz
# unset tapsets overrides
export OPENJDK_URL=""
5 years, 8 months
Architecture specific change in rpms/freeipa.git
by githook-noreply@fedoraproject.org
The package rpms/freeipa.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/freeipa.git/commit/?id=0a65b457e9....
Change:
-%ifarch %{ix86}
Thanks.
Full change:
============
commit 0a65b457e983fe87f83e708af009339923478846
Author: Thomas Woerner <twoerner(a)redhat.com>
Date: Tue Sep 4 12:14:16 2018 +0200
Fix only client build for Fedora>=28 and RHEL>7, readd special patch handing
diff --git a/freeipa.spec b/freeipa.spec
index c0fa7cf..d3ffaae 100644
--- a/freeipa.spec
+++ b/freeipa.spec
@@ -1,7 +1,9 @@
# 389-ds-base 1.4 no longer supports i686 platform, build only client
# packages, https://bugzilla.redhat.com/show_bug.cgi?id=1544386
-%ifarch %{ix86}
-%{!?ONLY_CLIENT:%global ONLY_CLIENT 1}
+%if 0%{?fedora} >= 28 || 0%{?rhel} > 7
+ %ifarch %{ix86}
+ %{!?ONLY_CLIENT:%global ONLY_CLIENT 1}
+ %endif
%endif
# Define ONLY_CLIENT to only make the ipa-client and ipa-python
@@ -122,7 +124,7 @@
Name: %{package_name}
Version: %{IPA_VERSION}
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: The Identity, Policy and Audit system
Group: System Environment/Base
@@ -936,7 +938,30 @@ This package contains tests that verify IPA functionality under Python 3.
%prep
+# Fedora spec file only: START
+# Update timestamps on the files touched by a patch, to avoid non-equal
+# .pyc/.pyo files across the multilib peers within a build, where "Level"
+# is the patch prefix option (e.g. -p1)
+# Taken from specfile for sssd and python-simplejson
+UpdateTimestamps() {
+ Level=$1
+ PatchFile=$2
+
+ # Locate the affected files:
+ for f in $(diffstat $Level -l $PatchFile); do
+ # Set the files to have the same timestamp as that of the patch:
+ touch -r $PatchFile $f
+ done
+}
+
%setup -n freeipa-%{version} -q
+
+for p in %patches ; do
+ %__patch -p1 -i $p
+ UpdateTimestamps -p1 $p
+done
+# Fedora spec file only: END
+
# Workaround: We want to build Python things twice. To be sure we do not mess
# up something, do two separate builds in separate directories.
# freeipa-$VER-python3 for Python 3 build
@@ -1032,7 +1057,7 @@ ln -rs %{buildroot}%{_bindir}/ipa-test-task-%{python3_version} %{buildroot}%{_bi
pushd %{_builddir}/freeipa-%{version}-python2
%{__make} python_install DESTDIR=%{?buildroot} INSTALL="%{__install} -p"
popd
-%if 0%{?with_python2} && 0%{?fedora} < 29
+%if 0%{?with_ipatests} && 0%{?fedora} < 29
# Fedora 29 workaround: don't ship ipatests binaries
mv %{buildroot}%{_bindir}/ipa-run-tests %{buildroot}%{_bindir}/ipa-run-tests-%{python2_version}
mv %{buildroot}%{_bindir}/ipa-test-config %{buildroot}%{_bindir}/ipa-test-config-%{python2_version}
@@ -1714,6 +1739,11 @@ fi
%changelog
+* Tue Sep 4 2018 Thomas Woerner <twoerner(a)redhat.com> - 4.7.0-3
+- Force generation of aclocal.m4 and configuration scripts
+- Fix only client build for Fedora>=28 and RHEL>7
+- Bring back special patch handling for Fedora
+
* Mon Sep 3 2018 Thomas Woerner <twoerner(a)redhat.com> - 4.7.0-2
- Restore SELinux context of session_dir /etc/httpd/alias (pagure#7662)
- Restore SELinux context of template_dir /var/log/dirsrv/slapd-X (pagure#7662)
commit 544c38363b71f9a49d73599ccaff2c1180af8b4c
Author: Thomas Woerner <twoerner(a)redhat.com>
Date: Tue Sep 4 12:04:14 2018 +0200
Force generation of aclocal.m4 and configuration scripts
diff --git a/freeipa.spec b/freeipa.spec
index 20bf40a..c0fa7cf 100644
--- a/freeipa.spec
+++ b/freeipa.spec
@@ -973,6 +973,8 @@ find \
-type f -exec grep -qsm1 '^#!.*\bpython' {} \; \
-exec sed -i -e '1 s|^#!.*\bpython[^ ]*|#!%{__python2}|' {} \;
+aclocal --force
+autoconf --force
%configure --with-vendor-suffix=-%{release} \
%{enable_server_option} \
%{with_ipatests_option} \
@@ -982,6 +984,8 @@ popd
export PYTHON=%{__python3}
pushd %{_builddir}/freeipa-%{version}-python3
+aclocal --force
+autoconf --force
%configure --with-vendor-suffix=-%{release} \
%{enable_server_option} \
%{with_ipatests_option} \
5 years, 8 months
Architecture specific change in rpms/freeipa.git
by githook-noreply@fedoraproject.org
The package rpms/freeipa.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/freeipa.git/commit/?id=6cba982c06....
Change:
-%ifarch %{ix86}
Thanks.
Full change:
============
commit 6cba982c06b285e6332394769a652f5dc7a1ba8c
Author: Thomas Woerner <twoerner(a)redhat.com>
Date: Tue Sep 4 12:14:16 2018 +0200
Fix only client build for Fedora>=28 and RHEL>7, readd special patch handing
diff --git a/freeipa.spec b/freeipa.spec
index c0fa7cf..d3ffaae 100644
--- a/freeipa.spec
+++ b/freeipa.spec
@@ -1,7 +1,9 @@
# 389-ds-base 1.4 no longer supports i686 platform, build only client
# packages, https://bugzilla.redhat.com/show_bug.cgi?id=1544386
-%ifarch %{ix86}
-%{!?ONLY_CLIENT:%global ONLY_CLIENT 1}
+%if 0%{?fedora} >= 28 || 0%{?rhel} > 7
+ %ifarch %{ix86}
+ %{!?ONLY_CLIENT:%global ONLY_CLIENT 1}
+ %endif
%endif
# Define ONLY_CLIENT to only make the ipa-client and ipa-python
@@ -122,7 +124,7 @@
Name: %{package_name}
Version: %{IPA_VERSION}
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: The Identity, Policy and Audit system
Group: System Environment/Base
@@ -936,7 +938,30 @@ This package contains tests that verify IPA functionality under Python 3.
%prep
+# Fedora spec file only: START
+# Update timestamps on the files touched by a patch, to avoid non-equal
+# .pyc/.pyo files across the multilib peers within a build, where "Level"
+# is the patch prefix option (e.g. -p1)
+# Taken from specfile for sssd and python-simplejson
+UpdateTimestamps() {
+ Level=$1
+ PatchFile=$2
+
+ # Locate the affected files:
+ for f in $(diffstat $Level -l $PatchFile); do
+ # Set the files to have the same timestamp as that of the patch:
+ touch -r $PatchFile $f
+ done
+}
+
%setup -n freeipa-%{version} -q
+
+for p in %patches ; do
+ %__patch -p1 -i $p
+ UpdateTimestamps -p1 $p
+done
+# Fedora spec file only: END
+
# Workaround: We want to build Python things twice. To be sure we do not mess
# up something, do two separate builds in separate directories.
# freeipa-$VER-python3 for Python 3 build
@@ -1032,7 +1057,7 @@ ln -rs %{buildroot}%{_bindir}/ipa-test-task-%{python3_version} %{buildroot}%{_bi
pushd %{_builddir}/freeipa-%{version}-python2
%{__make} python_install DESTDIR=%{?buildroot} INSTALL="%{__install} -p"
popd
-%if 0%{?with_python2} && 0%{?fedora} < 29
+%if 0%{?with_ipatests} && 0%{?fedora} < 29
# Fedora 29 workaround: don't ship ipatests binaries
mv %{buildroot}%{_bindir}/ipa-run-tests %{buildroot}%{_bindir}/ipa-run-tests-%{python2_version}
mv %{buildroot}%{_bindir}/ipa-test-config %{buildroot}%{_bindir}/ipa-test-config-%{python2_version}
@@ -1714,6 +1739,11 @@ fi
%changelog
+* Tue Sep 4 2018 Thomas Woerner <twoerner(a)redhat.com> - 4.7.0-3
+- Force generation of aclocal.m4 and configuration scripts
+- Fix only client build for Fedora>=28 and RHEL>7
+- Bring back special patch handling for Fedora
+
* Mon Sep 3 2018 Thomas Woerner <twoerner(a)redhat.com> - 4.7.0-2
- Restore SELinux context of session_dir /etc/httpd/alias (pagure#7662)
- Restore SELinux context of template_dir /var/log/dirsrv/slapd-X (pagure#7662)
commit 9d032b111eeb0090a22a00daea4cad6b1220bda6
Author: Thomas Woerner <twoerner(a)redhat.com>
Date: Tue Sep 4 12:04:14 2018 +0200
Force generation of aclocal.m4 and configuration scripts
diff --git a/freeipa.spec b/freeipa.spec
index 20bf40a..c0fa7cf 100644
--- a/freeipa.spec
+++ b/freeipa.spec
@@ -973,6 +973,8 @@ find \
-type f -exec grep -qsm1 '^#!.*\bpython' {} \; \
-exec sed -i -e '1 s|^#!.*\bpython[^ ]*|#!%{__python2}|' {} \;
+aclocal --force
+autoconf --force
%configure --with-vendor-suffix=-%{release} \
%{enable_server_option} \
%{with_ipatests_option} \
@@ -982,6 +984,8 @@ popd
export PYTHON=%{__python3}
pushd %{_builddir}/freeipa-%{version}-python3
+aclocal --force
+autoconf --force
%configure --with-vendor-suffix=-%{release} \
%{enable_server_option} \
%{with_ipatests_option} \
5 years, 8 months
Architecture specific change in rpms/freeipa.git
by githook-noreply@fedoraproject.org
The package rpms/freeipa.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/freeipa.git/commit/?id=f076221002....
Change:
-%ifarch %{ix86}
Thanks.
Full change:
============
commit f076221002744b45619669309d58d550918282e7
Author: Thomas Woerner <twoerner(a)redhat.com>
Date: Tue Sep 4 12:14:16 2018 +0200
Fix only client build for Fedora>=28 and RHEL>7, readd special patch handing
diff --git a/freeipa.spec b/freeipa.spec
index c0fa7cf..d3ffaae 100644
--- a/freeipa.spec
+++ b/freeipa.spec
@@ -1,7 +1,9 @@
# 389-ds-base 1.4 no longer supports i686 platform, build only client
# packages, https://bugzilla.redhat.com/show_bug.cgi?id=1544386
-%ifarch %{ix86}
-%{!?ONLY_CLIENT:%global ONLY_CLIENT 1}
+%if 0%{?fedora} >= 28 || 0%{?rhel} > 7
+ %ifarch %{ix86}
+ %{!?ONLY_CLIENT:%global ONLY_CLIENT 1}
+ %endif
%endif
# Define ONLY_CLIENT to only make the ipa-client and ipa-python
@@ -122,7 +124,7 @@
Name: %{package_name}
Version: %{IPA_VERSION}
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: The Identity, Policy and Audit system
Group: System Environment/Base
@@ -936,7 +938,30 @@ This package contains tests that verify IPA functionality under Python 3.
%prep
+# Fedora spec file only: START
+# Update timestamps on the files touched by a patch, to avoid non-equal
+# .pyc/.pyo files across the multilib peers within a build, where "Level"
+# is the patch prefix option (e.g. -p1)
+# Taken from specfile for sssd and python-simplejson
+UpdateTimestamps() {
+ Level=$1
+ PatchFile=$2
+
+ # Locate the affected files:
+ for f in $(diffstat $Level -l $PatchFile); do
+ # Set the files to have the same timestamp as that of the patch:
+ touch -r $PatchFile $f
+ done
+}
+
%setup -n freeipa-%{version} -q
+
+for p in %patches ; do
+ %__patch -p1 -i $p
+ UpdateTimestamps -p1 $p
+done
+# Fedora spec file only: END
+
# Workaround: We want to build Python things twice. To be sure we do not mess
# up something, do two separate builds in separate directories.
# freeipa-$VER-python3 for Python 3 build
@@ -1032,7 +1057,7 @@ ln -rs %{buildroot}%{_bindir}/ipa-test-task-%{python3_version} %{buildroot}%{_bi
pushd %{_builddir}/freeipa-%{version}-python2
%{__make} python_install DESTDIR=%{?buildroot} INSTALL="%{__install} -p"
popd
-%if 0%{?with_python2} && 0%{?fedora} < 29
+%if 0%{?with_ipatests} && 0%{?fedora} < 29
# Fedora 29 workaround: don't ship ipatests binaries
mv %{buildroot}%{_bindir}/ipa-run-tests %{buildroot}%{_bindir}/ipa-run-tests-%{python2_version}
mv %{buildroot}%{_bindir}/ipa-test-config %{buildroot}%{_bindir}/ipa-test-config-%{python2_version}
@@ -1714,6 +1739,11 @@ fi
%changelog
+* Tue Sep 4 2018 Thomas Woerner <twoerner(a)redhat.com> - 4.7.0-3
+- Force generation of aclocal.m4 and configuration scripts
+- Fix only client build for Fedora>=28 and RHEL>7
+- Bring back special patch handling for Fedora
+
* Mon Sep 3 2018 Thomas Woerner <twoerner(a)redhat.com> - 4.7.0-2
- Restore SELinux context of session_dir /etc/httpd/alias (pagure#7662)
- Restore SELinux context of template_dir /var/log/dirsrv/slapd-X (pagure#7662)
commit d73b97aca6ab22e01a5c819442ca7d23f988a55e
Author: Thomas Woerner <twoerner(a)redhat.com>
Date: Tue Sep 4 12:04:14 2018 +0200
Force generation of aclocal.m4 and configuration scripts
diff --git a/freeipa.spec b/freeipa.spec
index 20bf40a..c0fa7cf 100644
--- a/freeipa.spec
+++ b/freeipa.spec
@@ -973,6 +973,8 @@ find \
-type f -exec grep -qsm1 '^#!.*\bpython' {} \; \
-exec sed -i -e '1 s|^#!.*\bpython[^ ]*|#!%{__python2}|' {} \;
+aclocal --force
+autoconf --force
%configure --with-vendor-suffix=-%{release} \
%{enable_server_option} \
%{with_ipatests_option} \
@@ -982,6 +984,8 @@ popd
export PYTHON=%{__python3}
pushd %{_builddir}/freeipa-%{version}-python3
+aclocal --force
+autoconf --force
%configure --with-vendor-suffix=-%{release} \
%{enable_server_option} \
%{with_ipatests_option} \
5 years, 8 months
Architecture specific change in rpms/wiredtiger.git
by githook-noreply@fedoraproject.org
The package rpms/wiredtiger.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/wiredtiger.git/commit/?id=b482025....
Change:
-ExclusiveArch: x86_64 aarch64 ppc64le
Thanks.
Full change:
============
commit b482025905998b62c6c5aec5f0f9659b918b379b
Author: Marek Skalick <mskalick(a)redhat.com>
Date: Tue Sep 4 09:54:11 2018 +0200
Upstream wiredtiger releases are behind bundled wiredtiger in mongodb. So mongodb uses bundled version and no else package uses wiredtoger. No reason to keep wiredtiger in Fedora.
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 7eb8ac3..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,9 +0,0 @@
-/wiredtiger-2.5.1.tar.bz2
-/wiredtiger-2.5.2.tar.bz2
-/wiredtiger-2.5.3.tar.bz2
-/wiredtiger-2.6.1.tar.bz2
-/wiredtiger-2.7.0.tar.bz2
-/wiredtiger-2.8.0.tar.bz2
-/wiredtiger-2.9.0.tar.bz2
-/wiredtiger-2.9.3.tar.bz2
-/wiredtiger-3.0.0.tar.bz2
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..cc3e5ac
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+Upstream wiredtiger releases are behind bundled wiredtiger in mongodb. So mongodb uses bundled version and no else package uses wiredtoger. No reason to keep wiredtiger in Fedora.
diff --git a/sources b/sources
deleted file mode 100644
index 770b639..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (wiredtiger-3.0.0.tar.bz2) = a1c4f3a3f0bf5f251cb3aecb0400589ab2a47cc9be6aa30afc49223124da7cd9438451e7778ca6aea64afaf3ddd2a94c1c7ec1295273934ca792695d8b9fb92f
diff --git a/wiredtiger.spec b/wiredtiger.spec
deleted file mode 100644
index d291458..0000000
--- a/wiredtiger.spec
+++ /dev/null
@@ -1,232 +0,0 @@
-Name: wiredtiger
-Version: 3.0.0
-Release: 2%{?dist}
-Summary: A data storage engine
-# http://source.wiredtiger.com/develop/license.html
-License: (GPLv2 or GPLv3) and MIT and BSD and ASL 2.0
-URL: http://www.wiredtiger.com/
-Source0: https://github.com/wiredtiger/wiredtiger/releases/download/%{version}/%{n...
-
-BuildRequires: gcc-c++
-BuildRequires: libtool
-BuildRequires: doxygen
-BuildRequires: swig
-BuildRequires: java-devel
-BuildRequires: python2-devel
-BuildRequires: snappy-devel
-BuildRequires: zlib-devel
-BuildRequires: lz4-devel
-BuildRequires: libzstd-devel
-BuildRequires: gperftools-devel
-BuildRequires: chrpath
-Requires: %{name}-libs%{?_isa} = %{version}-%{release}
-
-# WiredTiger does not support 32bit architectures (see bug #1208441)
-ExclusiveArch: x86_64 aarch64 ppc64le
-
-%description
-WiredTiger is a data storage engine that provides APIs for efficiently
-storing data in highly concurrent applications. It includes functionality
-for automatically maintaining indexes. It implements both row and column
-store formats - so that all types of data can be stored space efficiently.
-
-WiredTiger is a library that can be accessed via C, Python and Java APIs.
-
-%package libs
-Summary: The shared libraries provided by WiredTiger
-
-%description libs
-The wiredtiger-libs package provides the WiredTiger shared libraries.
-
-%package devel
-Summary: WiredTiger development files
-Requires: %{name}-libs%{?_isa} = %{version}-%{release}
-
-%description devel
-The wiredtiger-devel package provides the WiredTiger development files.
-
-%package -n python2-wiredtiger
-%{?python_provide:%python_provide python2-wiredtiger}
-# Remove before F30
-Provides: %{name}-python = %{version}-%{release}
-Provides: %{name}-python%{?_isa} = %{version}-%{release}
-Obsoletes: %{name}-python < %{version}-%{release}
-Summary: Python bindings for WiredTiger
-Requires: %{name}-libs%{?_isa} = %{version}-%{release}
-
-%description -n python2-wiredtiger
-The wiredtiger-python package provides WiredTiger python API.
-
-%package java
-Summary: Java bindings for WiredTiger
-Requires: %{name}-libs%{?_isa} = %{version}-%{release}
-Requires: javapackages-tools
-
-%description java
-The wiredtiger-java package provides WiredTiger java API.
-
-
-%prep
-%autosetup
-
-./autogen.sh
-# Disable -release for libtool -> disable building libwiredtiger-VERSION.so
-sed -i -r "s|^(libwiredtiger_la_LDFLAGS =) .*|\1|" Makefile.am
-
-# Remove shebang from python modules
-find lang/python/wiredtiger -name '*.py' -exec sed -i '1{\@^#!/usr/bin/env python@d}' {} \;
-
-
-%build
-%configure --disable-static \
- --with-builtins=zlib,snappy,lz4,zstd \
- --enable-python \
- --with-python-prefix=%{buildroot}%{python_sitearch} \
- --enable-java \
- JAR="%{java_home}/bin/jar" PYTHON="python2"
-# --enable-tcmalloc
-
-make %{?_smp_mflags} CFLAGS="%{optflags}"
-
-
-%install
-%make_install
-
-# Move python files into python_sitearch directory
-mv %{buildroot}%{python_sitearch}/_%{name}.so %{buildroot}%{python_sitearch}/%{name}
-mv %{buildroot}%{python_sitearch}/_workgen.so %{buildroot}%{python_sitearch}/workgen
-
-# Remove wiredtiger python test files
-#rm %{buildroot}%{python_sitearch}/%{name}/*-test.py*
-
-# Put java libs and .jar into right location
-mkdir %{buildroot}%{_libdir}/%{name}
-mv %{buildroot}%{_javadir}/%{name}-%{version}/lib* %{buildroot}%{_libdir}/%{name}
-rm %{buildroot}%{_libdir}/%{name}/lib*.so
-mkdir -p %{buildroot}%{_jnidir}
-mv %{buildroot}%{_javadir}/%{name}-%{version}/%{name}.jar %{buildroot}%{_jnidir}/
-rmdir %{buildroot}%{_javadir}/%{name}-%{version}
-
-# Remove rpath from libwiredtiger_java.so
-find . -name libwiredtiger_java.so -exec chrpath --delete {} \;
-
-# Remove .la files
-rm -f %{buildroot}%{_libdir}/lib%{name}.la
-rm -f %{buildroot}%{_libdir}/%{name}/lib%{name}_java.la
-
-%check
-make check
-
-%post libs -p /sbin/ldconfig
-%postun libs -p /sbin/ldconfig
-
-%post java -p /sbin/ldconfig
-%postun java -p /sbin/ldconfig
-
-
-%files
-%{_bindir}/wt
-%{_mandir}/man1/wt.1.gz
-
-%files libs
-%doc README NEWS
-%license LICENSE
-%{_libdir}/lib%{name}.so.*
-%{_mandir}/man3/%{name}.3.gz
-
-%files devel
-%{_libdir}/lib%{name}.so
-%{_libdir}/pkgconfig/%{name}.pc
-%{_includedir}/*
-
-%files -n python2-wiredtiger
-%dir %{python_sitearch}/%{name}
-%{python2_sitearch}/%{name}/*.py*
-%{python2_sitearch}/workgen/*.py*
-%attr(0755, -, -) %{python_sitearch}/%{name}/_%{name}.so
-%attr(0755, -, -) %{python_sitearch}/workgen/_workgen.so
-
-%files java
-%{_libdir}/%{name}
-%{_jnidir}/%{name}.jar
-
-%changelog
-* Sat Jul 14 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 3.0.0-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Tue Feb 20 2018 Marek Skalick <mskalick(a)redhat.com> - 3.0.0-1
-- Rebase to latest upstream release
-
-* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.9.3-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Tue Aug 22 2017 Marek Skalick <mskalick(a)redhat.com> - 2.9.3-1
-- Update to latest minor release
-- Disable using tcmalloc - depends on RHBZ#1483558
-
-* Sun Aug 20 2017 Zbigniew Jdrzejewski-Szmek <zbyszek(a)in.waw.pl> - 2.9.0-6
-- Add Provides for the old name without %%_isa
-
-* Sat Aug 19 2017 Zbigniew Jdrzejewski-Szmek <zbyszek(a)in.waw.pl> - 2.9.0-5
-- Python 2 binary package renamed to python2-wiredtiger
- See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
-
-* Thu Aug 03 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.9.0-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
-
-* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.9.0-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
-
-* Sat Feb 11 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.9.0-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
-
-* Mon Dec 12 2016 Marek Skalick <mskalick(a)redhat.com> - 2.9.0-1
-- Update to 2.9.0
-- Enable build-time testing
-- Enable lz4 and zstd compressor extension
-- Enable aarch64 and ppc64le
-
-* Tue Jul 19 2016 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 2.8.0-2
-- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_...
-
-* Mon Apr 11 2016 Marek Skalicky <mskalick(a)redhat.com> - 2.8.0-1
-- Upgrade to version 2.8.0
-
-* Fri Feb 05 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.7.0-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
-
-* Thu Dec 10 2015 Marek Skalicky <mskalick(a)redhat.com> - 2.7.0-1
-- Upgrade to version 2.7.0
-
-* Fri Jun 19 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 2.6.1-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
-
-* Tue Jun 9 2015 Marek Skalicky <mskalick(a)redhat.com> - 2.6.1-1
-- Upgrade to version 2.6.1 (#1228259)
-
-* Fri Apr 24 2015 Marek Skalicky <mskalick(a)redhat.com> - 2.5.3-1
-- Update to version 2.5.3
-
-* Wed Apr 08 2015 Fedora Release Monitoring <release-monitoring(a)fedoraproject.org> - 2.5.2-1
-- Update to 2.5.2 (#1210072)
-
-* Thu Apr 2 2015 Marek Skalicky <mskalick(a)redhat.com> - 2.5.1-6
-- Added ExclusiveArch: x86_64
-
-* Fri Mar 27 2015 Marek Skalicky <mskalick(a)redhat.com> - 2.5.1-5
-- Fixed java and python requires
-
-* Wed Mar 25 2015 Marek Skalicky <mskalick(a)redhat.com> - 2.5.1-4
-- Fixed python _wiretiger.so permissions
-- Use python_sitearch location and with-python-prefix
-
-* Mon Mar 23 2015 Marek Skalicky <mskalick(a)redhat.com> - 2.5.1-3
-- Removed python test files
-- Fixed java JNI location
-- Add +x permission for .so file
-
-* Mon Mar 23 2015 Marek Skalicky <mskalick(a)redhat.com> - 2.5.1-2
-- Fixed package-review issues
-
-* Thu Mar 12 2015 Marek Skalicky <mskalick(a)redhat.com> - 2.5.1-1
-- Initial packaging
5 years, 8 months
Architecture specific change in rpms/wiredtiger.git
by githook-noreply@fedoraproject.org
The package rpms/wiredtiger.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/wiredtiger.git/commit/?id=257d057....
Change:
-ExclusiveArch: x86_64 aarch64 ppc64le
Thanks.
Full change:
============
commit 257d057afa68049315774d8b4d328f4f9ec0e6ed
Author: Marek Skalick <mskalick(a)redhat.com>
Date: Tue Sep 4 09:50:47 2018 +0200
Upstream wiredtiger releases are behind bundled wiredtiger in mongodb. So mongodb uses bundled version and no else package uses wiredtoger. No reason to keep wiredtiger in Fedora.
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 7eb8ac3..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,9 +0,0 @@
-/wiredtiger-2.5.1.tar.bz2
-/wiredtiger-2.5.2.tar.bz2
-/wiredtiger-2.5.3.tar.bz2
-/wiredtiger-2.6.1.tar.bz2
-/wiredtiger-2.7.0.tar.bz2
-/wiredtiger-2.8.0.tar.bz2
-/wiredtiger-2.9.0.tar.bz2
-/wiredtiger-2.9.3.tar.bz2
-/wiredtiger-3.0.0.tar.bz2
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..cc3e5ac
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+Upstream wiredtiger releases are behind bundled wiredtiger in mongodb. So mongodb uses bundled version and no else package uses wiredtoger. No reason to keep wiredtiger in Fedora.
diff --git a/sources b/sources
deleted file mode 100644
index 770b639..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (wiredtiger-3.0.0.tar.bz2) = a1c4f3a3f0bf5f251cb3aecb0400589ab2a47cc9be6aa30afc49223124da7cd9438451e7778ca6aea64afaf3ddd2a94c1c7ec1295273934ca792695d8b9fb92f
diff --git a/wiredtiger.spec b/wiredtiger.spec
deleted file mode 100644
index d291458..0000000
--- a/wiredtiger.spec
+++ /dev/null
@@ -1,232 +0,0 @@
-Name: wiredtiger
-Version: 3.0.0
-Release: 2%{?dist}
-Summary: A data storage engine
-# http://source.wiredtiger.com/develop/license.html
-License: (GPLv2 or GPLv3) and MIT and BSD and ASL 2.0
-URL: http://www.wiredtiger.com/
-Source0: https://github.com/wiredtiger/wiredtiger/releases/download/%{version}/%{n...
-
-BuildRequires: gcc-c++
-BuildRequires: libtool
-BuildRequires: doxygen
-BuildRequires: swig
-BuildRequires: java-devel
-BuildRequires: python2-devel
-BuildRequires: snappy-devel
-BuildRequires: zlib-devel
-BuildRequires: lz4-devel
-BuildRequires: libzstd-devel
-BuildRequires: gperftools-devel
-BuildRequires: chrpath
-Requires: %{name}-libs%{?_isa} = %{version}-%{release}
-
-# WiredTiger does not support 32bit architectures (see bug #1208441)
-ExclusiveArch: x86_64 aarch64 ppc64le
-
-%description
-WiredTiger is a data storage engine that provides APIs for efficiently
-storing data in highly concurrent applications. It includes functionality
-for automatically maintaining indexes. It implements both row and column
-store formats - so that all types of data can be stored space efficiently.
-
-WiredTiger is a library that can be accessed via C, Python and Java APIs.
-
-%package libs
-Summary: The shared libraries provided by WiredTiger
-
-%description libs
-The wiredtiger-libs package provides the WiredTiger shared libraries.
-
-%package devel
-Summary: WiredTiger development files
-Requires: %{name}-libs%{?_isa} = %{version}-%{release}
-
-%description devel
-The wiredtiger-devel package provides the WiredTiger development files.
-
-%package -n python2-wiredtiger
-%{?python_provide:%python_provide python2-wiredtiger}
-# Remove before F30
-Provides: %{name}-python = %{version}-%{release}
-Provides: %{name}-python%{?_isa} = %{version}-%{release}
-Obsoletes: %{name}-python < %{version}-%{release}
-Summary: Python bindings for WiredTiger
-Requires: %{name}-libs%{?_isa} = %{version}-%{release}
-
-%description -n python2-wiredtiger
-The wiredtiger-python package provides WiredTiger python API.
-
-%package java
-Summary: Java bindings for WiredTiger
-Requires: %{name}-libs%{?_isa} = %{version}-%{release}
-Requires: javapackages-tools
-
-%description java
-The wiredtiger-java package provides WiredTiger java API.
-
-
-%prep
-%autosetup
-
-./autogen.sh
-# Disable -release for libtool -> disable building libwiredtiger-VERSION.so
-sed -i -r "s|^(libwiredtiger_la_LDFLAGS =) .*|\1|" Makefile.am
-
-# Remove shebang from python modules
-find lang/python/wiredtiger -name '*.py' -exec sed -i '1{\@^#!/usr/bin/env python@d}' {} \;
-
-
-%build
-%configure --disable-static \
- --with-builtins=zlib,snappy,lz4,zstd \
- --enable-python \
- --with-python-prefix=%{buildroot}%{python_sitearch} \
- --enable-java \
- JAR="%{java_home}/bin/jar" PYTHON="python2"
-# --enable-tcmalloc
-
-make %{?_smp_mflags} CFLAGS="%{optflags}"
-
-
-%install
-%make_install
-
-# Move python files into python_sitearch directory
-mv %{buildroot}%{python_sitearch}/_%{name}.so %{buildroot}%{python_sitearch}/%{name}
-mv %{buildroot}%{python_sitearch}/_workgen.so %{buildroot}%{python_sitearch}/workgen
-
-# Remove wiredtiger python test files
-#rm %{buildroot}%{python_sitearch}/%{name}/*-test.py*
-
-# Put java libs and .jar into right location
-mkdir %{buildroot}%{_libdir}/%{name}
-mv %{buildroot}%{_javadir}/%{name}-%{version}/lib* %{buildroot}%{_libdir}/%{name}
-rm %{buildroot}%{_libdir}/%{name}/lib*.so
-mkdir -p %{buildroot}%{_jnidir}
-mv %{buildroot}%{_javadir}/%{name}-%{version}/%{name}.jar %{buildroot}%{_jnidir}/
-rmdir %{buildroot}%{_javadir}/%{name}-%{version}
-
-# Remove rpath from libwiredtiger_java.so
-find . -name libwiredtiger_java.so -exec chrpath --delete {} \;
-
-# Remove .la files
-rm -f %{buildroot}%{_libdir}/lib%{name}.la
-rm -f %{buildroot}%{_libdir}/%{name}/lib%{name}_java.la
-
-%check
-make check
-
-%post libs -p /sbin/ldconfig
-%postun libs -p /sbin/ldconfig
-
-%post java -p /sbin/ldconfig
-%postun java -p /sbin/ldconfig
-
-
-%files
-%{_bindir}/wt
-%{_mandir}/man1/wt.1.gz
-
-%files libs
-%doc README NEWS
-%license LICENSE
-%{_libdir}/lib%{name}.so.*
-%{_mandir}/man3/%{name}.3.gz
-
-%files devel
-%{_libdir}/lib%{name}.so
-%{_libdir}/pkgconfig/%{name}.pc
-%{_includedir}/*
-
-%files -n python2-wiredtiger
-%dir %{python_sitearch}/%{name}
-%{python2_sitearch}/%{name}/*.py*
-%{python2_sitearch}/workgen/*.py*
-%attr(0755, -, -) %{python_sitearch}/%{name}/_%{name}.so
-%attr(0755, -, -) %{python_sitearch}/workgen/_workgen.so
-
-%files java
-%{_libdir}/%{name}
-%{_jnidir}/%{name}.jar
-
-%changelog
-* Sat Jul 14 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 3.0.0-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Tue Feb 20 2018 Marek Skalick <mskalick(a)redhat.com> - 3.0.0-1
-- Rebase to latest upstream release
-
-* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.9.3-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Tue Aug 22 2017 Marek Skalick <mskalick(a)redhat.com> - 2.9.3-1
-- Update to latest minor release
-- Disable using tcmalloc - depends on RHBZ#1483558
-
-* Sun Aug 20 2017 Zbigniew Jdrzejewski-Szmek <zbyszek(a)in.waw.pl> - 2.9.0-6
-- Add Provides for the old name without %%_isa
-
-* Sat Aug 19 2017 Zbigniew Jdrzejewski-Szmek <zbyszek(a)in.waw.pl> - 2.9.0-5
-- Python 2 binary package renamed to python2-wiredtiger
- See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
-
-* Thu Aug 03 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.9.0-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
-
-* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.9.0-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
-
-* Sat Feb 11 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.9.0-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
-
-* Mon Dec 12 2016 Marek Skalick <mskalick(a)redhat.com> - 2.9.0-1
-- Update to 2.9.0
-- Enable build-time testing
-- Enable lz4 and zstd compressor extension
-- Enable aarch64 and ppc64le
-
-* Tue Jul 19 2016 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 2.8.0-2
-- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_...
-
-* Mon Apr 11 2016 Marek Skalicky <mskalick(a)redhat.com> - 2.8.0-1
-- Upgrade to version 2.8.0
-
-* Fri Feb 05 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.7.0-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
-
-* Thu Dec 10 2015 Marek Skalicky <mskalick(a)redhat.com> - 2.7.0-1
-- Upgrade to version 2.7.0
-
-* Fri Jun 19 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 2.6.1-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
-
-* Tue Jun 9 2015 Marek Skalicky <mskalick(a)redhat.com> - 2.6.1-1
-- Upgrade to version 2.6.1 (#1228259)
-
-* Fri Apr 24 2015 Marek Skalicky <mskalick(a)redhat.com> - 2.5.3-1
-- Update to version 2.5.3
-
-* Wed Apr 08 2015 Fedora Release Monitoring <release-monitoring(a)fedoraproject.org> - 2.5.2-1
-- Update to 2.5.2 (#1210072)
-
-* Thu Apr 2 2015 Marek Skalicky <mskalick(a)redhat.com> - 2.5.1-6
-- Added ExclusiveArch: x86_64
-
-* Fri Mar 27 2015 Marek Skalicky <mskalick(a)redhat.com> - 2.5.1-5
-- Fixed java and python requires
-
-* Wed Mar 25 2015 Marek Skalicky <mskalick(a)redhat.com> - 2.5.1-4
-- Fixed python _wiretiger.so permissions
-- Use python_sitearch location and with-python-prefix
-
-* Mon Mar 23 2015 Marek Skalicky <mskalick(a)redhat.com> - 2.5.1-3
-- Removed python test files
-- Fixed java JNI location
-- Add +x permission for .so file
-
-* Mon Mar 23 2015 Marek Skalicky <mskalick(a)redhat.com> - 2.5.1-2
-- Fixed package-review issues
-
-* Thu Mar 12 2015 Marek Skalicky <mskalick(a)redhat.com> - 2.5.1-1
-- Initial packaging
5 years, 8 months
Architecture specific change in rpms/git-lfs.git
by githook-noreply@fedoraproject.org
The package rpms/git-lfs.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/git-lfs.git/commit/?id=6612d3e25f....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm} aarch64 ppc64le s390x}
Thanks.
Full change:
============
commit 5ac88e69a80c716e8e1b70e053a450f3be9978a3
Author: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
Date: Tue Sep 4 02:52:19 2018 -0400
Update to latest version.
diff --git a/.gitignore b/.gitignore
index 8b48279..fa7adbb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
/git-lfs-2.4.1.tar.gz
/git-lfs-2.4.2.tar.gz
/git-lfs-2.5.0.tar.gz
+/git-lfs-2.5.1.tar.gz
diff --git a/git-lfs.spec b/git-lfs.spec
index c485f0c..1d73104 100644
--- a/git-lfs.spec
+++ b/git-lfs.spec
@@ -1,5 +1,5 @@
%global goipath github.com/git-lfs/git-lfs
-Version: 2.5.0
+Version: 2.5.1
%gometa
@@ -115,6 +115,9 @@ PATH=%{buildroot}%{_bindir}:$PWD/_bin:$PATH \
%changelog
+* Tue Sep 04 2018 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 2.5.1-1
+- Update to latest version
+
* Mon Sep 03 2018 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 2.5.0-1
- Update to 2.5.0
diff --git a/sources b/sources
index 89f3f64..9305c43 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (git-lfs-2.5.0.tar.gz) = e0e5a812b63d0ba8a4930921f54708b67009430ab5e4c7ec9e28ddbb5986774745707b75a9fa8695d64fd3f823af27f5590ae0bca9d3ae53d1320198e5be52c1
+SHA512 (git-lfs-2.5.1.tar.gz) = 86b277795ffaba47244f3467e58c1103804f526511c4b0c21566dc05a97eb5d48d0de36f944d906255a8652b9fd698dca4dd50f89d344703b3c6d87117f7fbc1
commit 4b5133ce0645e2b94b87fdeeaa522d9bf3e8bae8
Author: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
Date: Tue Sep 4 02:09:13 2018 -0400
Switch to upstream's testing Makefile.
diff --git a/git-lfs.spec b/git-lfs.spec
index 6631a43..c485f0c 100644
--- a/git-lfs.spec
+++ b/git-lfs.spec
@@ -55,6 +55,9 @@ which use import path with %{goipath} prefix.
rm -rf vendor
+# Modify Makefile so that it expects binaries where we build them.
+sed -i -e 's!/bin/!/_bin/!g' t/Makefile
+
%build
%gobuildroot
@@ -96,14 +99,12 @@ exit 0
%check
%gochecks
-export GOPATH=%{buildroot}%{gopath}:$(pwd):%{gopath}
-export GIT_LFS_TEST_MAXPROCS=$(getconf _NPROCESSORS_ONLN) SKIPCOMPILE=1
-pushd _build/src/%{goipath}
-./script/cibuild
-popd
+PATH=%{buildroot}%{_bindir}:$PWD/_bin:$PATH \
+ make -C t PROVE_EXTRA_ARGS="-j$(getconf _NPROCESSORS_ONLN)"
%files
+%doc README.md CHANGELOG.md
%license LICENSE.md
%{_bindir}/%{name}
%{_mandir}/man1/%{name}*.1*
commit 6612d3e25f1dac8cc64f0e9f867997d979cf9a65
Author: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
Date: Mon Sep 3 18:09:13 2018 -0400
Switch to new Go packaging macros.
diff --git a/git-lfs.spec b/git-lfs.spec
index 2cc89e4..6631a43 100644
--- a/git-lfs.spec
+++ b/git-lfs.spec
@@ -1,98 +1,37 @@
-# Generate devel rpm
-%global with_devel 0
-# Build project from bundled dependencies
-%global with_bundled %{?rhel:1}%{!?rhel:0}
-# Build with debug info rpm
-%global with_debug 1
-# Run tests in check section
-%global with_check %{?rhel:0}%{!?rhel:1}
-# Generate unit-test rpm
-%global with_unit_test 0
-# Build man pages
-%global with_manpages %{?rhel:0}%{!?rhel:1}
-
-%if 0%{?with_debug}
-%global _dwz_low_mem_die_limit 0
-%else
-%global debug_package %{nil}
-%endif
-
-%if ! 0%{?gobuild:1}
-%define gobuild(o:) go build -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n')" -a -v -x %{?**};
-%endif
-
-%global provider github
-%global provider_tld com
-%global project git-lfs
-%global repo git-lfs
-# https://github.com/git-lfs/git-lfs
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
-%global commit 9377560199b9d7cd2d3c38524a2a7f61aedc89db
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global goipath github.com/git-lfs/git-lfs
+Version: 2.5.0
+
+%gometa
Name: git-lfs
-Version: 2.5.0
Release: 1%{?dist}
Summary: Git extension for versioning large files
License: MIT
URL: https://git-lfs.github.io/
-Source0: https://%{provider_prefix}/archive/v%{version}/%{name}-%{version}.tar.gz
-
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm} aarch64 ppc64le s390x}
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
-
-%if 0%{?with_bundled}
-Provides: bundled(golang(github.com/git-lfs/gitobj)) = 0fcb9c3796fa00bd974c86dc25b1919da1479007
-Provides: bundled(golang(github.com/git-lfs/go-netrc/netrc)) = e0e9ca483a183481412e6f5a700ff20a36177503
-Provides: bundled(golang(github.com/git-lfs/wildmatch)) = b31c34466d64fcd421b503261f815a303e74296e
-Provides: bundled(golang(github.com/inconshreveable/mousetrap)) = 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75
-Provides: bundled(golang(github.com/kr/pty)) = 5cf931ef8f76dccd0910001d74a58a7fca84a83d
-Provides: bundled(golang(github.com/olekukonko/ts)) = ecf753e7c962639ab5a1fb46f7da627d4c0a04b8
-Provides: bundled(golang(github.com/pkg/errors)) = c605e284fe17294bda444b34710735b29d1a9d90
-Provides: bundled(golang(github.com/rubyist/tracerx)) = 787959303086f44a8c361240dfac53d3e9d53ed2
-Provides: bundled(golang(github.com/spf13/cobra)) = c55cdf33856a08e4822738728b41783292812889
-Provides: bundled(golang(github.com/spf13/pflag)) = 580b9be06c33d8ba9dcc8757ea56b7642472c2f5
-Provides: bundled(golang(github.com/stretchr/testify)) = 6cb3b85ef5a0efef77caef88363ec4d4b5c0976d
-Provides: bundled(golang(github.com/ThomsonReutersEikon/go-ntlm/ntlm)) = b00ec39bbdd04f845950f4dbb4fd0a2c3155e830
-Provides: bundled(golang(github.com/xeipuuv/gojsonschema)) = 6b67b3fab74d992bd07f72550006ab2c6907c416
-%else
+Source0: %{gosource}
+
+BuildRequires: golang(github.com/ThomsonReutersEikon/go-ntlm/ntlm)
BuildRequires: golang(github.com/git-lfs/gitobj)
BuildRequires: golang(github.com/git-lfs/go-netrc/netrc) >= 0-0.1.20180827gite0e9ca4
BuildRequires: golang(github.com/git-lfs/wildmatch) >= 0-0.3.20180815gitb31c344
-BuildRequires: golang(github.com/inconshreveable/mousetrap)
BuildRequires: golang(github.com/kr/pty)
BuildRequires: golang(github.com/olekukonko/ts)
BuildRequires: golang(github.com/pkg/errors)
BuildRequires: golang(github.com/rubyist/tracerx)
BuildRequires: golang(github.com/spf13/cobra)
-BuildRequires: golang(github.com/spf13/pflag)
-BuildRequires: golang(github.com/ThomsonReutersEikon/go-ntlm/ntlm)
-BuildRequires: golang(github.com/xeipuuv/gojsonpointer)
-BuildRequires: golang(github.com/xeipuuv/gojsonreference)
-BuildRequires: golang(github.com/xeipuuv/gojsonschema)
-%endif
-
-%if 0%{?with_manpages}
# Generate mans
BuildRequires: /usr/bin/ronn
-%endif
-
-%if 0%{?with_check}
# For tests
-%if ! 0%{?with_bundled}
-BuildRequires: golang(github.com/stretchr/testify)
-%endif
+BuildRequires: golang(github.com/stretchr/testify/assert)
+BuildRequires: golang(github.com/stretchr/testify/require)
+BuildRequires: golang(github.com/xeipuuv/gojsonschema)
BuildRequires: perl-Digest-SHA
BuildRequires: perl-Test-Harness
# Tests require full git suite, but not generally needed.
-BuildRequires: git >= 1.8.2
-%endif
+BuildRequires: git >= 1.8.5
-# https://github.com/git-lfs/git-lfs/commit/263bfd784aa0bb23e942033605fce6c...
-# 1.8.5 needed for macOS, but 1.8.2 sufficient for Linux.
-Requires: git-core >= 1.8.2
+Requires: git-core >= 1.8.5
%description
Git Large File Storage (LFS) replaces large files such as audio samples,
@@ -100,116 +39,49 @@ videos, datasets, and graphics with text pointers inside Git, while
storing the file contents on a remote server.
-%if 0%{?with_devel}
-%package -n golang-%{provider}-%{project}-%{repo}-devel
+%package -n %{goname}-devel
Summary: %{summary}
BuildArch: noarch
-%description -n golang-%{provider}-%{project}-%{repo}-devel
-%{summary}
-
-This package contains library source intended for
-building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package -n golang-%{provider}-%{project}-%{repo}-unit-test-devel
-Summary: Unit tests for %{name} package
-
-# test subpackage tests code from devel subpackage
-Requires: golang-%{provider}-%{project}-%{repo}-devel = %{version}-%{release}
-
-
-%description -n golang-%{provider}-%{project}-%{repo}-unit-test-devel
+%description -n %{goname}-devel
%{summary}
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+This package contains library source intended for building other packages
+which use import path with %{goipath} prefix.
%prep
-%autosetup -p1
+%gosetup -q
-%if ! 0%{?with_bundled}
rm -rf vendor
-%endif
%build
-mkdir -p src/%{provider}.%{provider_tld}/%{project}/
-ln -s $(pwd) src/%{provider}.%{provider_tld}/%{project}/%{repo}
-export GOPATH=$(pwd):%{gopath}
+%gobuildroot
# Build manpages first (some embedding in the executable is done.)
pushd docs
-%if 0%{?with_manpages}
ronn --roff man/*.ronn
-%endif
-%gobuild -o mangen man/mangen.go
-./mangen
+%gobuild -o ../_bin/mangen man/mangen.go
+../_bin/mangen
popd
-%gobuild -o bin/git-lfs %{import_path}
+%gobuild -o _bin/git-lfs %{goipath}
-%if 0%{?with_check}
# Build test executables
for go in t/cmd/*.go; do
- %gobuild -o "bin/$(basename $go .go)" "$go"
+ %gobuild -o "_bin/$(basename $go .go)" "$go"
done
-%gobuild -o "bin/git-lfs-test-server-api" t/git-lfs-test-server-api/*.go
-%endif
+%gobuild -o "_bin/git-lfs-test-server-api" t/git-lfs-test-server-api/*.go
%install
-install -Dpm0755 bin/git-lfs %{buildroot}%{_bindir}/%{name}
-%if 0%{?with_manpages}
+%goinstall
+install -Dpm0755 _bin/git-lfs %{buildroot}%{_bindir}/%{name}
install -d -p %{buildroot}%{_mandir}/man1/
install -Dpm0644 docs/man/*.1 %{buildroot}%{_mandir}/man1/
install -d -p %{buildroot}%{_mandir}/man5/
install -Dpm0644 docs/man/*.5 %{buildroot}%{_mandir}/man5/
-%endif
-
-# source codes for building projects
-%if 0%{?with_devel}
-install -d -p %{buildroot}%{gopath}/src/%{import_path}/
-echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list
-# find all *.go but no *_test.go files and generate devel.file-list
-for file in $(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go") ; do
- dirprefix=$(dirname $file)
- install -d -p %{buildroot}%{gopath}/src/%{import_path}/$dirprefix
- cp -pav $file %{buildroot}%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list
-
- while [ "$dirprefix" != "." ]; do
- echo "%%dir %%{gopath}/src/%%{import_path}/$dirprefix" >> devel.file-list
- dirprefix=$(dirname $dirprefix)
- done
-done
-%endif
-
-# testing files for this project
-%if 0%{?with_unit_test} && 0%{?with_devel}
-install -d -p %{buildroot}%{gopath}/src/%{import_path}/
-# find all *_test.go files and generate unit-test-devel.file-list
-for file in $(find . -iname "*_test.go") ; do
- dirprefix=$(dirname $file)
- install -d -p %{buildroot}%{gopath}/src/%{import_path}/$dirprefix
- cp -pav $file %{buildroot}%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test-devel.file-list
-
- while [ "$dirprefix" != "." ]; do
- echo "%%dir %%{gopath}/src/%%{import_path}/$dirprefix" >> devel.file-list
- dirprefix=$(dirname $dirprefix)
- done
-done
-%endif
-
-%if 0%{?with_devel}
-sort -u -o devel.file-list devel.file-list
-%endif
%post
@@ -223,33 +95,22 @@ exit 0
%check
-%if 0%{?with_check}
+%gochecks
export GOPATH=%{buildroot}%{gopath}:$(pwd):%{gopath}
export GIT_LFS_TEST_MAXPROCS=$(getconf _NPROCESSORS_ONLN) SKIPCOMPILE=1
-pushd src/%{provider}.%{provider_tld}/%{project}/%{name}
+pushd _build/src/%{goipath}
./script/cibuild
popd
-%endif
%files
%license LICENSE.md
%{_bindir}/%{name}
-%if 0%{?with_manpages}
%{_mandir}/man1/%{name}*.1*
%{_mandir}/man5/%{name}*.5*
-%endif
-
-%if 0%{?with_devel}
-%files -n golang-%{provider}-%{project}-%{repo}-devel -f devel.file-list
-%license LICENSE.md
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%endif
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%files -n golang-%{provider}-%{project}-%{repo}-unit-test-devel -f unit-test-devel.file-list
+%files -n %{goname}-devel -f devel.file-list
%license LICENSE.md
-%endif
%changelog
commit 452c2a3a54c23be24d405429687f796f325eb6d3
Author: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
Date: Mon Sep 3 05:03:36 2018 -0400
Update to 2.5.0.
diff --git a/.gitignore b/.gitignore
index e677599..8b48279 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/git-lfs-2.4.0.tar.gz
/git-lfs-2.4.1.tar.gz
/git-lfs-2.4.2.tar.gz
+/git-lfs-2.5.0.tar.gz
diff --git a/git-lfs.spec b/git-lfs.spec
index 7079980..2cc89e4 100644
--- a/git-lfs.spec
+++ b/git-lfs.spec
@@ -28,11 +28,11 @@
# https://github.com/git-lfs/git-lfs
%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
%global import_path %{provider_prefix}
-%global commit 6f4b2e98e038530a3e26d26726799832290c61c4
+%global commit 9377560199b9d7cd2d3c38524a2a7f61aedc89db
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: git-lfs
-Version: 2.4.2
+Version: 2.5.0
Release: 1%{?dist}
Summary: Git extension for versioning large files
@@ -44,7 +44,9 @@ ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm} aa
BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
%if 0%{?with_bundled}
+Provides: bundled(golang(github.com/git-lfs/gitobj)) = 0fcb9c3796fa00bd974c86dc25b1919da1479007
Provides: bundled(golang(github.com/git-lfs/go-netrc/netrc)) = e0e9ca483a183481412e6f5a700ff20a36177503
+Provides: bundled(golang(github.com/git-lfs/wildmatch)) = b31c34466d64fcd421b503261f815a303e74296e
Provides: bundled(golang(github.com/inconshreveable/mousetrap)) = 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75
Provides: bundled(golang(github.com/kr/pty)) = 5cf931ef8f76dccd0910001d74a58a7fca84a83d
Provides: bundled(golang(github.com/olekukonko/ts)) = ecf753e7c962639ab5a1fb46f7da627d4c0a04b8
@@ -55,12 +57,14 @@ Provides: bundled(golang(github.com/spf13/pflag)) = 580b9be06c33d8ba9dcc87
Provides: bundled(golang(github.com/stretchr/testify)) = 6cb3b85ef5a0efef77caef88363ec4d4b5c0976d
Provides: bundled(golang(github.com/ThomsonReutersEikon/go-ntlm/ntlm)) = b00ec39bbdd04f845950f4dbb4fd0a2c3155e830
Provides: bundled(golang(github.com/xeipuuv/gojsonschema)) = 6b67b3fab74d992bd07f72550006ab2c6907c416
-Provides: bundled(golang(github.com/git-lfs/wildmatch)) = 8a0518641565a619e62a2738c7d4498fc345daf6
%else
-BuildRequires: golang(github.com/git-lfs/go-netrc/netrc)
-BuildRequires: golang(github.com/kr/pty)
+BuildRequires: golang(github.com/git-lfs/gitobj)
+BuildRequires: golang(github.com/git-lfs/go-netrc/netrc) >= 0-0.1.20180827gite0e9ca4
+BuildRequires: golang(github.com/git-lfs/wildmatch) >= 0-0.3.20180815gitb31c344
BuildRequires: golang(github.com/inconshreveable/mousetrap)
+BuildRequires: golang(github.com/kr/pty)
BuildRequires: golang(github.com/olekukonko/ts)
+BuildRequires: golang(github.com/pkg/errors)
BuildRequires: golang(github.com/rubyist/tracerx)
BuildRequires: golang(github.com/spf13/cobra)
BuildRequires: golang(github.com/spf13/pflag)
@@ -68,8 +72,6 @@ BuildRequires: golang(github.com/ThomsonReutersEikon/go-ntlm/ntlm)
BuildRequires: golang(github.com/xeipuuv/gojsonpointer)
BuildRequires: golang(github.com/xeipuuv/gojsonreference)
BuildRequires: golang(github.com/xeipuuv/gojsonschema)
-BuildRequires: golang(github.com/pkg/errors)
-BuildRequires: golang(github.com/git-lfs/wildmatch)
%endif
%if 0%{?with_manpages}
@@ -83,6 +85,7 @@ BuildRequires: /usr/bin/ronn
BuildRequires: golang(github.com/stretchr/testify)
%endif
BuildRequires: perl-Digest-SHA
+BuildRequires: perl-Test-Harness
# Tests require full git suite, but not generally needed.
BuildRequires: git >= 1.8.2
%endif
@@ -153,10 +156,10 @@ popd
%if 0%{?with_check}
# Build test executables
-for go in test/cmd/*.go; do
+for go in t/cmd/*.go; do
%gobuild -o "bin/$(basename $go .go)" "$go"
done
-%gobuild -o "bin/git-lfs-test-server-api" test/git-lfs-test-server-api/*.go
+%gobuild -o "bin/git-lfs-test-server-api" t/git-lfs-test-server-api/*.go
%endif
@@ -250,6 +253,9 @@ popd
%changelog
+* Mon Sep 03 2018 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 2.5.0-1
+- Update to 2.5.0
+
* Wed Aug 29 2018 Elliott Sales de Andrade <quantum.analyst(a)gmail.com> - 2.4.2-1
- Update to 2.4.2
diff --git a/sources b/sources
index 41a2fb6..89f3f64 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (git-lfs-2.4.2.tar.gz) = c89a15c36b9d52091eb6e89f8e1db23b03f35333794467432ee49728ba83fc5d25d238f5df49bf736a4a3079778d70a527db01c2299ecd96a7b5f70059616967
+SHA512 (git-lfs-2.5.0.tar.gz) = e0e5a812b63d0ba8a4930921f54708b67009430ab5e4c7ec9e28ddbb5986774745707b75a9fa8695d64fd3f823af27f5590ae0bca9d3ae53d1320198e5be52c1
5 years, 8 months