Compare commits

..

5 Commits
epel9 ... i9ce

Author SHA1 Message Date
MSVSphere Packaging Team 1ca9e4f108
import ansible-packaging-1-16.el9
5 months ago
MSVSphere Packaging Team 901cfeed04 import ansible-packaging-1-12.el9
1 year ago
MSVSphere Packaging Team 85c71c5ac7 Merge and update
1 year ago
MSVSphere Packaging Team b7bd526bc8 Remove unnecessary files
1 year ago
Arkady L. Shane e28671fdab
import ansible-packaging-1-10.el9
2 years ago

@ -168,6 +168,9 @@ echo "Ensure macro prefers the collection namespace and name passed as an argume
* Tue Dec 05 2023 Maxwell G <maxwell@gtmx.me> - 1-12 * Tue Dec 05 2023 Maxwell G <maxwell@gtmx.me> - 1-12
- %%ansible_collection_url: handle new URL scheme - %%ansible_collection_url: handle new URL scheme
* Tue Jul 25 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 1-11
- Rebuilt for MSVSphere 9.2
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1-11 * Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild

@ -1,16 +0,0 @@
summary: Rebuild dependents to ensure that builds pass
discover:
- name: Rebuild collection packages
how: shell
tests:
- name: Rebuild ansible-collection-community-docker
test: tests/rebuild.sh ansible-collection-community-docker
require:
- ansible-core
- ansible-packaging
- ansible-srpm-macros
- fedpkg
- rpm-build
- sudo
execute:
how: tmt

@ -1,27 +0,0 @@
#!/usr/bin/bash -x
set -euo pipefail
package="${1}"
cat <<'EOF' > ~/.rpmmacros
%_topdir %(echo $HOME)/rpmbuild
%_sourcedir %(pwd)
%_srcrpmdir %(pwd)
%_rpmdir %(pwd)/rpms
EOF
mkdir -p clones
cd clones
fedpkg clone -a "${package}"
cd "${package}"
fedpkg srpm
sudo dnf builddep -y *.src.rpm
rc=0
rpmbuild --rebuild *.src.rpm | tee build.log || rc=$?
# move the results to the artifacts directory, so we can examine them
artifacts="${TEST_ARTIFACTS:-/tmp/artifacts}"
mkdir -p "${artifacts}"
mv -v *.rpm rpms/*/* build.log "${artifacts}/" || :
exit "${rc}"
Loading…
Cancel
Save