Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b9da0bf1e0 | ||
|
|
da27907b9e | ||
|
|
3012f8efa2 |
3 changed files with 39 additions and 3 deletions
34
.packit.yaml
Normal file
34
.packit.yaml
Normal 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
|
||||
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue