# generated by cabal-rpm-2.0.9 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ Name: git-repair Version: 1.20220404 Release: 2%{?dist} Summary: Repairs a damaged git repository License: AGPLv3 Url: https://hackage.haskell.org/package/%{name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz # End cabal-rpm sources # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-IfElse-static BuildRequires: ghc-QuickCheck-static BuildRequires: ghc-async-static BuildRequires: ghc-attoparsec-static BuildRequires: ghc-base-static BuildRequires: ghc-bytestring-static BuildRequires: ghc-containers-static BuildRequires: ghc-data-default-static BuildRequires: ghc-deepseq-static BuildRequires: ghc-directory-static BuildRequires: ghc-exceptions-static BuildRequires: ghc-filepath-static BuildRequires: ghc-filepath-bytestring-static BuildRequires: ghc-hslogger-static BuildRequires: ghc-mtl-static BuildRequires: ghc-network-static BuildRequires: ghc-network-uri-static BuildRequires: ghc-optparse-applicative-static BuildRequires: ghc-process-static BuildRequires: ghc-split-static BuildRequires: ghc-text-static BuildRequires: ghc-time-static BuildRequires: ghc-transformers-static BuildRequires: ghc-unix-static BuildRequires: ghc-unix-compat-static BuildRequires: ghc-utf8-string-static # End cabal-rpm deps BuildRequires: git-core Requires: git-core %description Git-repair can repair various forms of damage to git repositories. It is a complement to git fsck, which finds problems, but does not fix them. As well as avoiding the need to rm -rf a damaged repository and re-clone, using git-repair can help rescue commits you've made to the damaged repository and not yet pushed out. %prep # Begin cabal-rpm setup: %setup -q # End cabal-rpm setup %build # Begin cabal-rpm build: %ghc_bin_build # End cabal-rpm build %install # Begin cabal-rpm install %ghc_bin_install mkdir -p %{buildroot}%{_datadir}/bash-completion/completions/ %{buildroot}%{_bindir}/%{name} --bash-completion-script %{name} | sed s/filenames/default/ > %{buildroot}%{_datadir}/bash-completion/completions/%{name} # End cabal-rpm install %files # Begin cabal-rpm files: %license COPYRIGHT %doc CHANGELOG TODO %{_bindir}/%{name} %{_datadir}/bash-completion/completions/%{name} # End cabal-rpm files %changelog * Thu Jul 21 2022 Fedora Release Engineering - 1.20220404-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jun 07 2022 Jens Petersen - 1.20220404-1 - https://hackage.haskell.org/package/git-repair-1.20220404/changelog * Thu Jan 20 2022 Fedora Release Engineering - 1.20210629-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Jan 08 2022 Miro HronĨok - 1.20210629-2 - Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34 * Thu Aug 5 2021 Jens Petersen - 1.20210629-1 - update to 1.20210629 * Thu Aug 5 2021 Jens Petersen - 1.20210111-1 - update to 1.20210111 * Thu Jul 22 2021 Fedora Release Engineering - 1.20200504-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.20200504-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Aug 01 2020 Fedora Release Engineering - 1.20200504-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 1.20200504-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jun 10 2020 Jens Petersen - 1.20200504-1 - update to 1.20200504 * Wed Feb 19 2020 Fedora Haskell SIG - 1.20200102-1 - spec file generated by cabal-rpm-2.0.2