## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: btrfs-backup-ng Version: 0.9.16 Release: %autorelease Summary: Intelligent, feature-rich backups for btrfs License: MIT URL: https://github.com/berrym/btrfs-backup-ng Source: %{pypi_source btrfs_backup_ng} BuildArch: noarch BuildRequires: btrfs-progs BuildRequires: openssl BuildRequires: python3-devel BuildRequires: python3-pytest BuildRequires: python3-pytest-asyncio Buildrequires: /bin/ps BuildRequires: dash Requires: btrfs-progs Requires: openssh-clients Requires: pv Requires: gzip Requires: bzip2 Requires: zstd Requires: xz Requires: lz4 Requires: lzo Requires: pigz Requires: pbzip2 %description Complete btrfs backup solution with automated snapshots, incremental transfers, restore functionality, snapper integration, btrbk migration, and systemd scheduling %prep %autosetup -p1 -n btrfs_backup_ng-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l btrfs_backup_ng install -d %{buildroot}%{_mandir}/man1 install -m 0644 man/man1/btrfs*.1* %{buildroot}%{_mandir}/man1 %define bash_compdir %{_prefix}/share/bash-completions/completions %define zsh_compdir %{_prefix}/share/zsh/site-functions %define fish_compdir %{_prefix}/share/fish/vendor_completions.d install -d %{buildroot}%{bash_compdir} install -d %{buildroot}%{zsh_compdir} install -d %{buildroot}%{fish_compdir} install -m 0644 completions/btrfs-backup-ng.bash %{buildroot}%{bash_compdir}/btrfs-backup-ng install -m 0644 completions/btrfs-backup-ng.zsh %{buildroot}%{zsh_compdir}/_btrfs-backup-ng install -m 0644 completions/btrfs-backup-ng.fish %{buildroot}%{fish_compdir}/btrfs-backup-ng.fish # no need for a second copy rm -r %{buildroot}%{_prefix}/share/btrfs-backup-ng/completions %check # test requires install or checkout SKIP="not test_source_checkout_still_resolves" # depending on tmpdir, config might be valid and usable ("can run"), exits 0 SKIP="$SKIP and not test_a_valid_file_this_machine_cannot_run_exits_2" # test fails in mock (even with sudo installed) SKIP="$SKIP and not test_ssh_commit_wraps_in_sudo_when_configured" # tests succeed on bare metal (mock) but fail in vm (mock) SKIP="$SKIP and not test_a_subdirectory_gets_the_mount_point and not test_a_deep_target_finds_the_real_mount and not test_a_raw_uri_target_is_seen_through" # test apparantly assumes writable path which is not (mock) SKIP="$SKIP and not test_send_snapper_btrfs_receives_into_incoming_temp_slot" %{pytest} -k "$SKIP" %files -n btrfs-backup-ng -f %{pyproject_files} %doc README.md CHANGELOG.md %{_mandir}/man1/btrfs*.1.gz %{_bindir}/btrfs-backup-ng %{_prefix}/share/bash-completions/completions/btrfs-backup-ng %{_prefix}/share/zsh/site-functions/_btrfs-backup-ng %{_prefix}/share/fish/vendor_completions.d/btrfs-backup-ng.fish %changelog ## START: Generated by rpmautospec * Fri Oct 23 2026 Michael J Gruber - 0.9.16-1 - Update package to v0.9.16 * Fri Oct 23 2026 Michael J Gruber - 0.9.15-1 - Update package to v0.9.15 * Mon Oct 19 2026 Michael J Gruber - 0.9.14-1 - Update package to v0.9.14 * Mon Oct 19 2026 Michael J Gruber - 0.9.13-1 - Update package to v0.9.13 * Mon Sep 28 2026 Michael J Gruber - 0.9.12-1 - Update package to v0.9.12 * Mon Sep 28 2026 Michael J Gruber - 0.9.11-1 - Update package to v0.9.11 * Thu Sep 24 2026 Michael J Gruber - 0.9.10-1 - Update package to v0.9.10 * Wed Sep 23 2026 Michael J Gruber - 0.9.9-1 - Update package to v0.9.9 * Tue Sep 22 2026 Michael J Gruber - 0.9.8-1 - Update package to v0.9.8 * Sun Sep 20 2026 Michael J Gruber - 0.9.7-1 - Update package to v0.9.7 * Sun Sep 20 2026 Michael J Gruber - 0.9.6-1 - Update package to v0.9.6 * Mon Aug 24 2026 Michael J Gruber - 0.9.5-1 - Update package to v0.9.5 * Fri Aug 21 2026 Michael J Gruber - 0.9.4-1 - Update package to v0.9.4 * Sun Aug 16 2026 Michael J Gruber - 0.9.3-1 - Update package to v0.9.3 * Fri Aug 07 2026 Michael J Gruber - 0.9.2-1 - Update package to v0.9.2 * Sun Aug 02 2026 Michael J Gruber - 0.9.1-1 - Update package to v0.9.1 * Wed Jul 22 2026 Michael J Gruber - 0.8.5-1 - Update package to v0.8.5 * Mon Jul 20 2026 Michael J Gruber - 0.8.4-1 - Update package to v0.8.4 * Wed Jul 15 2026 Fedora Release Engineering - 0.8.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Thu Jun 04 2026 Python Maint - 0.8.2-4 - Rebuilt for Python 3.15 * Fri Jan 16 2026 Fedora Release Engineering - 0.8.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Jan 16 2026 Fedora Release Engineering - 0.8.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Sat Jan 10 2026 Michael Berry - 0.8.2-1 - Update package to v0.8.2 * Fri Sep 19 2025 Python Maint - 0.6.8-5 - Rebuilt for Python 3.14.0rc3 bytecode * Fri Aug 15 2025 Python Maint - 0.6.8-4 - Rebuilt for Python 3.14.0rc2 bytecode * Wed Jul 23 2025 Fedora Release Engineering - 0.6.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Tue Jun 03 2025 Python Maint - 0.6.8-2 - Rebuilt for Python 3.14 * Tue May 13 2025 Michael Berry - 0.6.8-1 - Update to v0.6.8. Bug fixes and refactored to reduce cyclomatic complexity. * Sun May 11 2025 Michael Berry - 0.6.6-1 - local build * Thu Jan 23 2025 Michael Berry - 0.6.5-1 - Update to v0.6.5 * Thu Jan 16 2025 Fedora Release Engineering - 0.6.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Fri Sep 13 2024 Michael Berry - 0.6.4-2 - Use autospec macros for spec file * Thu Sep 12 2024 Michael Berry - 0.6.4-1 - Fixed duplicated log messages -v0.6.4 * Wed Sep 11 2024 Michael Berry - 0.6.3-3 - Updated README.md * Tue Sep 10 2024 Michael Berry - 0.6.3-2 - Upstream README.md * Tue Sep 10 2024 Michael Berry - 0.6.3-1 - Initial import (fedora#2305930). ## END: Generated by rpmautospec