## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## 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.8.2 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: python3-devel BuildRequires: python3-pytest BuildRequires: python3-pytest-asyncio 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 %check %{pytest} %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 * 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