90 lines
2.4 KiB
RPMSpec
90 lines
2.4 KiB
RPMSpec
# generated by cabal-rpm-2.0.5
|
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
|
|
|
Name: git-repair
|
|
Version: 1.20200504
|
|
Release: 1%{?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
|
|
# End cabal-rpm install
|
|
|
|
|
|
%files
|
|
# Begin cabal-rpm files:
|
|
%license COPYRIGHT
|
|
%doc CHANGELOG TODO
|
|
%{_bindir}/%{name}
|
|
# End cabal-rpm files
|
|
|
|
|
|
%changelog
|
|
* Wed Jun 10 2020 Jens Petersen <petersen@redhat.com> - 1.20200504-1
|
|
- update to 1.20200504
|
|
|
|
* Wed Feb 19 2020 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 1.20200102-1
|
|
- spec file generated by cabal-rpm-2.0.2
|