diff --git a/.gitignore b/.gitignore index 0888417..5db7068 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /lsfrom-0.1.tar.gz +/lsfrom-0.1.1.1.tar.gz diff --git a/lsfrom.spec b/lsfrom.spec index 5ffa54e..2fd015f 100644 --- a/lsfrom.spec +++ b/lsfrom.spec @@ -1,12 +1,12 @@ -# generated by cabal-rpm-2.0.9 +# generated by cabal-rpm-2.0.11 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ # needs installed lsfrom %bcond_with tests Name: lsfrom -Version: 0.1 -Release: 5%{?dist} +Version: 0.1.1.1 +Release: 1%{?dist} Summary: List directory files starting from a specific name License: BSD @@ -28,10 +28,9 @@ BuildRequires: ghc-directory-devel # End cabal-rpm deps %description -`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. +`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. %prep @@ -49,6 +48,8 @@ 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 @@ -63,10 +64,15 @@ a failure. %license LICENSE %doc ChangeLog.md README.md %{_bindir}/%{name} +%{_datadir}/bash-completion/completions/%{name} # End cabal-rpm files %changelog +* Sun Apr 24 2022 Jens Petersen - 0.1.1.1-1 +- use `ls -A` +- improve README + * Thu Jan 20 2022 Fedora Release Engineering - 0.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index 86b8651..aad7467 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lsfrom-0.1.tar.gz) = 29d7dd5cd8d9a1c1155daa9b17cd5330902a5caf1da6ec694e2e04c0b6f3956bdfa6a0d6d07344677ec56a3d15aaa45c42cc606110e553ad9b4659be9b15640e +SHA512 (lsfrom-0.1.1.1.tar.gz) = 65f13c1745435c6e0de9c9d2c05d5197a7c3e1b2f3ea3199d93af33de8ebe049cedcb07ea0fab97bb970a79e2fc73f86a4650f28803ad82326cf398ad7067438