From 4410ee07f33eda861df419eb83dac64f2f2f7601 Mon Sep 17 00:00:00 2001
From: Jens Petersen <petersen@redhat.com>
Date: Tue, 14 Jun 2016 10:45:42 +0900
Subject: [PATCH] import (#1263904)

---
 .gitignore          |  1 +
 ghc-old-locale.spec | 65 +++++++++++++++++++++++++++++++++++++++++++++
 sources             |  1 +
 3 files changed, 67 insertions(+)
 create mode 100644 ghc-old-locale.spec

diff --git a/.gitignore b/.gitignore
index e69de29..d3c73c5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/old-locale-1.0.0.7.tar.gz
diff --git a/ghc-old-locale.spec b/ghc-old-locale.spec
new file mode 100644
index 0000000..2a63c67
--- /dev/null
+++ b/ghc-old-locale.spec
@@ -0,0 +1,65 @@
+# https://fedoraproject.org/wiki/Packaging:Haskell
+
+%global pkg_name old-locale
+
+Name:           ghc-%{pkg_name}
+Version:        1.0.0.7
+Release:        1%{?dist}
+Summary:        Locale library
+
+License:        BSD
+Url:            https://hackage.haskell.org/package/%{pkg_name}
+Source0:        https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
+
+BuildRequires:  ghc-Cabal-devel
+BuildRequires:  ghc-rpm-macros
+
+%description
+This package provides the ability to adapt to locale conventions such as date
+and time formats.
+
+
+%package devel
+Summary:        Haskell %{pkg_name} library development files
+Provides:       %{name}-static = %{version}-%{release}
+Requires:       ghc-compiler = %{ghc_version}
+Requires(post): ghc-compiler = %{ghc_version}
+Requires(postun): ghc-compiler = %{ghc_version}
+Requires:       %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+This package provides the Haskell %{pkg_name} library development files.
+
+
+%prep
+%setup -q -n %{pkg_name}-%{version}
+
+
+%build
+%ghc_lib_build
+
+
+%install
+%ghc_lib_install
+
+rm %{buildroot}%{ghc_pkgdocdir}/LICENSE
+
+
+%post devel
+%ghc_pkg_recache
+
+
+%postun devel
+%ghc_pkg_recache
+
+
+%files -f %{name}.files
+%license LICENSE
+
+
+%files devel -f %{name}-devel.files
+
+
+%changelog
+* Thu Sep 17 2015 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 1.0.0.7-1
+- spec file generated by cabal-rpm-0.9.7
diff --git a/sources b/sources
index e69de29..cfed6a7 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+507bd2d3ce2407403e2a2d1136c3d149  old-locale-1.0.0.7.tar.gz