Compare commits

..

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

5 changed files with 105 additions and 38 deletions

1
.gitignore vendored
View File

@ -1,3 +1,2 @@
/text-manipulate-0.2.0.1.tar.gz
/text-manipulate-0.3.0.0.tar.gz
/text-manipulate-0.3.1.0.tar.gz

View File

@ -1,27 +0,0 @@
* Sun Jan 22 2023 Jens Petersen <petersen@redhat.com> - 0.3.1.0-1
- https://hackage.haskell.org/package/text-manipulate-0.3.1.0/changelog
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jun 17 2022 Jens Petersen <petersen@redhat.com> - 0.3.0.0-3
- rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 0.3.0.0-1
- update to 0.3.0.0
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sat Aug 29 2020 Jens Petersen <petersen@redhat.com> - 0.2.0.1-2
- fix license tag to MPLv2.0 (eclipseo, #1871648)
* Sun Aug 23 2020 Jens Petersen <petersen@redhat.com> - 0.2.0.1-1
- spec file generated by cabal-rpm-2.0.6

View File

@ -1,4 +1,4 @@
# generated by cabal-rpm-2.1.0
# generated by cabal-rpm-2.0.9
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name text-manipulate
@ -7,25 +7,23 @@
%bcond_without tests
Name: ghc-%{pkg_name}
Version: 0.3.1.0
Release: %autorelease
Version: 0.3.0.0
Release: 2%{?dist}
Summary: Case conversion, word boundary manipulation, and textual subjugation
License: MPL-2.0
License: MPLv2.0
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:
BuildRequires: dos2unix
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-base-devel
BuildRequires: ghc-text-devel
%if %{with ghc_prof}
BuildRequires: ghc-base-prof
BuildRequires: ghc-text-prof
%endif
%if %{with tests}
BuildRequires: ghc-tasty-devel
BuildRequires: ghc-tasty-hunit-devel
@ -41,6 +39,12 @@ Has support for common idioms like casing of programmatic variable names,
taking, dropping, and splitting by word, and modifying the first character of a
piece of text.
/Caution:/ this library makes heavy use of the
<http://hackage.haskell.org/package/text text> library's internal loop
optimisation framework. Since internal modules are not guaranteed to have a
stable API there is potential for build breakage when the text dependency is
upgraded. Consider yourself warned!.
%package devel
Summary: Haskell %{pkg_name} library development files
@ -81,6 +85,7 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver}
dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
# End cabal-rpm setup
@ -124,4 +129,20 @@ This package provides the Haskell %{pkg_name} profiling library.
%changelog
%autochangelog
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 0.3.0.0-1
- update to 0.3.0.0
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sat Aug 29 2020 Jens Petersen <petersen@redhat.com> - 0.2.0.1-2
- fix license tag to MPLv2.0 (eclipseo, #1871648)
* Sun Aug 23 2020 Jens Petersen <petersen@redhat.com> - 0.2.0.1-1
- spec file generated by cabal-rpm-2.0.6

View File

@ -1 +1 @@
SHA512 (text-manipulate-0.3.1.0.tar.gz) = 870104c5990eebc78f94eb40b4cfb80d42485004d72cdc87e9f3979ecfc6b39ddcff4c67a73d8b28065e7170568004f9cddc4ac00f76b0ebc128437df4206212
SHA512 (text-manipulate-0.3.0.0.tar.gz) = 754b35dcad14cc2c013763d6f0e633868987793e354159a56080e8f7426a8ecfe636e449f1fd976982bdeca77cf293b61e98afa69f188f1911ddafce9ae1eb57

View File

@ -0,0 +1,74 @@
name: text-manipulate
version: 0.3.0.0
x-revision: 1
synopsis:
Case conversion, word boundary manipulation, and textual subjugation.
homepage: https://github.com/brendanhay/text-manipulate
license: MPL-2.0
license-file: LICENSE
author: Brendan Hay
maintainer: Brendan Hay <brendan.g.hay@gmail.com>
copyright: Copyright (c) 2014-2020 Brendan Hay
category: Data, Text
build-type: Simple
extra-source-files: README.md
cabal-version: >=2.0
description:
Manipulate identifiers and structurally non-complex pieces
of text by delimiting word boundaries via a combination of whitespace,
control-characters, and case-sensitivity.
.
Has support for common idioms like casing of programmatic variable names,
taking, dropping, and splitting by word, and modifying the first character
of a piece of text.
.
/Caution:/ this library makes heavy use of the <http://hackage.haskell.org/package/text text>
library's internal loop optimisation framework. Since internal modules are not
guaranteed to have a stable API there is potential for build breakage when
the text dependency is upgraded. Consider yourself warned!
source-repository head
type: git
location: git://github.com/brendanhay/text-manipulate.git
library
default-language: Haskell2010
hs-source-dirs: src
ghc-options: -Wall
exposed-modules:
Data.Text.Lazy.Manipulate
Data.Text.Manipulate
other-modules:
Data.Text.Manipulate.Internal.Fusion
Data.Text.Manipulate.Internal.Types
build-depends:
base >=4.12 && <5
, text >=1.1 && <1.3
benchmark benchmarks
type: exitcode-stdio-1.0
default-language: Haskell2010
main-is: Main.hs
hs-source-dirs: bench
ghc-options: -Wall -O2 -threaded -with-rtsopts=-T
build-depends:
base >=4.12 && <5
, criterion >=1.0.0.2
, text
, text-manipulate
test-suite tests
type: exitcode-stdio-1.0
default-language: Haskell2010
hs-source-dirs: test
main-is: Main.hs
ghc-options: -Wall -threaded
build-depends:
base >=4.12 && <5
, tasty >=0.8
, tasty-hunit >=0.8
, text
, text-manipulate