Compare commits

...
Sign in to create a new pull request.

3 commits

Author SHA1 Message Date
Tulio Magno Quites Machado Filho
b9da0bf1e0 Remove rpmdeplint from gating
This test is only enabled on Rawhide and does not run on branched
targets causing errors in our Bodhi updates.
There is no way to require rpmdeplint only on Rawhide because Bodhi does
not understand the concept of Rawhide.

More information: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/QTAGRWMHZBQOXWI5S3O2JSYCDRU6IT4D/
2025-02-28 16:37:31 -03:00
Tulio Magno Quites Machado Filho
da27907b9e Enable -fPIC for static compat libraries
Generate static compat libraries with Position Independent Code in order
to let these files to be used when linking to shared libraries.
2025-02-25 16:17:50 -03:00
Lukas Javorsky
3012f8efa2 Setup Packit Bot
Jobs: koji_build, bodhi_update, pull_from_upstream
2025-01-22 11:09:51 +00:00
3 changed files with 39 additions and 3 deletions

34
.packit.yaml Normal file
View file

@ -0,0 +1,34 @@
# We want to use the following Packit functions in the zlib-ng package:
# koji_build, bodhi_update, pull_from_upstream
# See the documentation for more information:
# https://packit.dev/docs/configuration/
specfile_path: zlib-ng.spec
# name in upstream package repository or registry (e.g. in PyPI)
upstream_package_name: zlib-ng
upstream_project_url: https://github.com/zlib-ng/zlib-ng/
# downstream (Fedora) RPM package name
downstream_package_name: zlib-ng
jobs:
- job: pull_from_upstream
trigger: release
dist_git_branches:
- fedora-latest
- fedora-rawhide
- job: koji_build
trigger: commit
allowed_pr_authors: ["ljavorsk", "tuliom", "aekoroglu", "packit"]
allowed_committers: ["ljavorsk", "tuliom", "aekoroglu", "packit"]
dist_git_branches:
- fedora-latest
- fedora-rawhide
- job: bodhi_update
trigger: commit
dist_git_branches:
- fedora-latest # rawhide updates are created automatically

View file

@ -8,6 +8,5 @@ decision_contexts:
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpmdeplint.functional}
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis}
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.installability.functional}

View file

@ -19,7 +19,7 @@
Name: zlib-ng
Version: 2.2.3
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Zlib replacement with optimizations
License: Zlib
Url: https://github.com/zlib-ng/zlib-ng
@ -118,7 +118,7 @@ _EOF_
# defining BUILD_SHARED_LIBS disables the static library
%undefine _cmake_shared_libs
# Disable new strategies in order to keep compatibility with zlib.
%cmake %{cmake_param} -DZLIB_COMPAT=ON -DWITH_NEW_STRATEGIES=OFF
%cmake %{cmake_param} -DZLIB_COMPAT=ON -DWITH_NEW_STRATEGIES=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON
%cmake_build
%endif
@ -215,6 +215,9 @@ CHOST=%{target_cpu}-%{cpu_vendor}-linux-gnu sh test/abicheck.sh --zlib-compat
%changelog
* Tue Feb 25 2025 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 2.2.3-2
- Build compat-static libraries with -fPIC
* Wed Jan 08 2025 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 2.2.3-1
- Update to version 2.2.3