update to 0.1.4

This commit is contained in:
Jens Petersen 2021-07-08 02:00:11 +08:00
parent e1b94adf13
commit 009ecf8872
4 changed files with 7 additions and 67 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/echo-0.1.3.tar.gz
/echo-0.1.4.tar.gz

View File

@ -1,62 +0,0 @@
name: echo
version: 0.1.3
x-revision: 1
synopsis: A cross-platform, cross-console way to handle echoing terminal input
description: The @base@ library exposes the @hGetEcho@ and @hSetEcho@ functions
for querying and setting echo status, but unfortunately, neither
function works with MinTTY consoles on Windows. This is a serious
issue, since @hGetEcho@ and @hSetEcho@ are often used to disable
input echoing when a program prompts for a password, so many
programs will reveal your password as you type it on MinTTY!
.
This library provides an alternative interface which works
with both MinTTY and other consoles. An example is included
which demonstrates how one might prompt for a password using
this library. To build it, make sure to configure with the
@-fexample@ flag.
homepage: https://github.com/RyanGlScott/echo
bug-reports: https://github.com/RyanGlScott/echo/issues
license: BSD3
license-file: LICENSE
author: Ryan Scott
maintainer: Ryan Scott <ryan.gl.scott@gmail.com>
stability: Provisional
copyright: (C) 2016-2017 Ryan Scott
category: System
build-type: Simple
extra-source-files: CHANGELOG.md, README.md
cabal-version: >=1.10
source-repository head
type: git
location: https://github.com/RyanGlScott/echo
flag example
description: Build the bundled example program.
default: False
library
exposed-modules: System.IO.Echo
System.IO.Echo.Internal
build-depends: base >= 4.3 && < 5
, process >= 1.0.1.1 && < 1.7
if os(windows)
cpp-options: "-DWINDOWS"
build-depends: mintty >= 0.1 && < 0.2
, Win32 >= 2 && < 3
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
executable password
if !flag(example)
buildable: False
main-is: Password.hs
build-depends: base >= 4.3 && < 5
, echo
hs-source-dirs: example
default-language: Haskell2010
ghc-options: -Wall

View File

@ -5,15 +5,14 @@
%global pkgver %{pkg_name}-%{version}
Name: ghc-%{pkg_name}
Version: 0.1.3
Release: 14%{?dist}
Version: 0.1.4
Release: 1%{?dist}
Summary: A cross-platform, cross-console way to handle echoing terminal input
License: BSD
Url: https://hackage.haskell.org/package/%{pkg_name}
# Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
# End cabal-rpm sources
# Begin cabal-rpm deps:
@ -74,7 +73,6 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver}
cp -bp %{SOURCE1} %{pkg_name}.cabal
# End cabal-rpm setup
@ -112,6 +110,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
%changelog
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 0.1.4-1
- update to 0.1.4
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (echo-0.1.3.tar.gz) = 26a2398af231a8805b6b0a866348f848b8b8f21fe95a2fa3c781aaeae150df978335df573d46d5b07d7e4df19d6377d997f85c77049abaf0c5cb3e9998439c6f
SHA512 (echo-0.1.4.tar.gz) = 25fa868be5cbbc96adb4457b0e6a2fb7060b889e0dead9acef21038fd438d1ca1ee3c57ee03d91f75271e97cfea71b1d3589f800af70e15cb8cee6a60e041477