Compare commits

..

No commits in common. "rawhide" and "f33" have entirely different histories.
rawhide ... f33

3 changed files with 13 additions and 43 deletions

1
.gitignore vendored
View File

@ -1,2 +1 @@
/lsfrom-0.1.tar.gz
/lsfrom-0.1.1.1.tar.gz

View File

@ -1,15 +1,15 @@
# generated by cabal-rpm-2.1.0
# generated by cabal-rpm-2.0.8
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
# needs installed lsfrom
%bcond_with tests
Name: lsfrom
Version: 0.1.1.1
Release: 4%{?dist}
Version: 0.1
Release: 1%{?dist}
Summary: List directory files starting from a specific name
License: BSD-3-Clause
License: BSD
Url: https://hackage.haskell.org/package/%{name}
# Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
@ -18,19 +18,20 @@ Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%
# Begin cabal-rpm deps:
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-base-devel
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-simple-cmd-devel
BuildRequires: ghc-simple-cmd-args-devel
BuildRequires: ghc-base-static
BuildRequires: ghc-filepath-static
BuildRequires: ghc-simple-cmd-static
BuildRequires: ghc-simple-cmd-args-static
%if %{with tests}
BuildRequires: ghc-directory-devel
%endif
# End cabal-rpm deps
%description
`lsfrom` lists the contents of a directory starting from a particular prefix
and those files after it with respect to locale collation. This can be useful
for example for continuing a command or script in a directory after a failure.
`lsfrom` lists all files in a directory that start with a particular sequence of
characters and those after it with respect to locale collation. This can be
useful for example for continuing a script on the files in a directory after
a failure.
%prep
@ -48,15 +49,11 @@ for example for continuing a command or script in a directory after a failure.
%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
%check
%if %{with tests}
%cabal_test
%endif
%files
@ -64,35 +61,9 @@ mkdir -p %{buildroot}%{_datadir}/bash-completion/completions/
%license LICENSE
%doc ChangeLog.md README.md
%{_bindir}/%{name}
%{_datadir}/bash-completion/completions/%{name}
# End cabal-rpm files
%changelog
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 0.1.1.1-4
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jun 17 2022 Jens Petersen <petersen@redhat.com> - 0.1.1.1-2
- rebuild
* Sun Apr 24 2022 Jens Petersen <petersen@redhat.com> - 0.1.1.1-1
- use `ls -A`
- improve README
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sat Jan 08 2022 Miro Hrončok <mhroncok@redhat.com> - 0.1-4
- Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34
* Fri Aug 06 2021 Jens Petersen <petersen@redhat.com> - 0.1-3
- rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Sat Feb 13 2021 Jens Petersen <petersen@redhat.com> - 0.1-1
- spec file generated by cabal-rpm-2.0.8

View File

@ -1 +1 @@
SHA512 (lsfrom-0.1.1.1.tar.gz) = 65f13c1745435c6e0de9c9d2c05d5197a7c3e1b2f3ea3199d93af33de8ebe049cedcb07ea0fab97bb970a79e2fc73f86a4650f28803ad82326cf398ad7067438
SHA512 (lsfrom-0.1.tar.gz) = 29d7dd5cd8d9a1c1155daa9b17cd5330902a5caf1da6ec694e2e04c0b6f3956bdfa6a0d6d07344677ec56a3d15aaa45c42cc606110e553ad9b4659be9b15640e