Fedora Account System
Red Hat Associate
Red Hat Customer
Spec URL: https://download.copr.fedorainfracloud.org/results/luhaoran/git-diff-html/fedora-rawhide-x86_64/11164538-git-diff-html/git-diff-html.spec SRPM URL: https://download.copr.fedorainfracloud.org/results/luhaoran/git-diff-html/fedora-rawhide-x86_64/11164538-git-diff-html/git-diff-html-1.0-1.fc46.src.rpm Description: git-diff-html renders the differences in a Git repository as a Gerrit/BeyondCompare-style side-by-side HTML report. It supports comparing the working tree against HEAD or any commit, two commits against each other, and staged changes. Reports feature line-level and character-level diff highlighting, C/C++ syntax highlighting, a navigable file list, and an interactive two-pane viewer. Fedora Account System Username: luhaoran Reproducible: Always
> Source0: %{name}-%{version}.tar.gz Ideally, this should be a downloadable URL. Since you're hosting on GitHub, you should consider using git tags for marking new releases. Then, you can use the forge macros to auto-generate the URLs. https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/ > install -D -m 0755 git_diff_html.py %{buildroot}%{_bindir}/git-diff-html > install -D -m 0644 git-diff-html.1 %{buildroot}%{_mandir}/man1/git-diff-html.1 You should use `-p` here to preserve file timestamps. https://docs.fedoraproject.org/en-US/packaging-guidelines/#_timestamps
Thanks for the review! Both points are fixed: 1. Source0 is now a downloadable GitHub archive URL using the v%{version} release tag (git tags now mark releases): https://github.com/LuHaoran1981/GitDiffLocal/archive/refs/tags/v%{version}.tar.gz 2. Added -p to the install commands to preserve file timestamps. Updated: Spec URL: https://download.copr.fedorainfracloud.org/results/luhaoran/git-diff-html/srpm-builds/11173452/git-diff-html.spec SRPM URL: https://download.copr.fedorainfracloud.org/results/luhaoran/git-diff-html/srpm-builds/11173452/git-diff-html-1.0-1.src.rpm Copr build: https://copr.fedorainfracloud.org/coprs/luhaoran/git-diff-html/build/11173452/
Please upload the files to some persistent storage. COPR deletes the files after a couple of days; both the spec and srpm links are now 404.