Compare commits

...
Sign in to create a new pull request.

2 commits

Author SHA1 Message Date
Shakthi Kannan
788c062b45 Updated to upstream 0.1.3 2012-12-07 16:11:10 +05:30
Shakthi Kannan
d4bf3f6323 Updated to 0.1.2 2012-10-26 16:51:59 +05:30
4 changed files with 35 additions and 33 deletions

2
.gitignore vendored
View file

@ -1 +1,3 @@
/unlambda-0.1.tar.gz /unlambda-0.1.tar.gz
/unlambda-0.1.2.tar.gz
/unlambda-0.1.3.tar.gz

View file

@ -1 +1 @@
2d31c90b3888043b8de77bb87f88bfcb unlambda-0.1.tar.gz 314f0c610d0b71635b453e649d47d73f unlambda-0.1.3.tar.gz

View file

@ -1,7 +1,7 @@
diff -up unlambda-0.1/Language/Unlambda.hs.fix unlambda-0.1/Language/Unlambda.hs diff -up unlambda-0.1.2/Language/Unlambda.hs.fix unlambda-0.1.2/Language/Unlambda.hs
--- unlambda-0.1/Language/Unlambda.hs.fix 2012-06-19 15:47:29.388841138 +0530 --- unlambda-0.1.2/Language/Unlambda.hs.fix 2012-10-26 16:20:40.397173788 +0530
+++ unlambda-0.1/Language/Unlambda.hs 2012-06-19 15:48:26.298842436 +0530 +++ unlambda-0.1.2/Language/Unlambda.hs 2012-10-26 16:23:15.926170223 +0530
@@ -21,7 +21,7 @@ GNU General Public License for more deta @@ -19,7 +19,7 @@ GNU General Public License for more deta
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software along with this program; if not, write to the Free Software
@ -10,16 +10,9 @@ diff -up unlambda-0.1/Language/Unlambda.hs.fix unlambda-0.1/Language/Unlambda.hs
-} -}
module Language.Unlambda where module Language.Unlambda where
@@ -141,4 +141,4 @@ apply (Ques c) f = do diff -up unlambda-0.1.2/LICENSE.fix unlambda-0.1.2/LICENSE
apply Pipe f = do --- unlambda-0.1.2/LICENSE.fix 2012-10-26 16:20:35.517174668 +0530
cur <- currentChar +++ unlambda-0.1.2/LICENSE 2012-10-26 16:22:44.604170767 +0530
apply f (case cur of Nothing -> V ; Just c -> (Dot c))
-apply (App _ _) _ = error "Unknown application"
\ No newline at end of file
+apply (App _ _) _ = error "Unknown application"
diff -up unlambda-0.1/LICENSE.fix unlambda-0.1/LICENSE
--- unlambda-0.1/LICENSE.fix 2012-06-19 15:47:24.290841020 +0530
+++ unlambda-0.1/LICENSE 2012-06-19 15:49:41.795844157 +0530
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
Version 2, June 1991 Version 2, June 1991

View file

@ -1,37 +1,35 @@
# cabal2spec-0.25
# https://fedoraproject.org/wiki/Packaging:Haskell # https://fedoraproject.org/wiki/Packaging:Haskell
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell # https://fedoraproject.org/wiki/PackagingDrafts/Haskell
%global pkg_name unlambda %global pkg_name unlambda
%global common_summary An interpreter of the Unlambda language %global common_summary Unlambda interpreter
%global common_description An interpreter of the Unlambda language,\ %global common_description This is an interpreter of the Unlambda language,\
written in the pure, lazy, functional language Haskell. written in the pure, lazy, functional language Haskell.
Name: %{pkg_name} Name: %{pkg_name}
Version: 0.1 Version: 0.1.3
Release: 3%{?dist} Release: 1%{?dist}
Summary: Haskell interpreter of the Unlambda language Summary: %{common_summary}
Group: Development/Tools License: GPL+
License: GPLv2
# BEGIN cabal2spec
URL: http://hackage.haskell.org/package/%{name} URL: http://hackage.haskell.org/package/%{name}
Source0: http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.gz Source0: http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.gz
Patch0: unlambda-0.1-FSF-license-fix.patch Patch0: unlambda-0.1.2-FSF-license-fix.patch
ExclusiveArch: %{ghc_arches}
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
# END cabal2spec
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-array-devel BuildRequires: ghc-array-devel
BuildRequires: ghc-mtl-devel BuildRequires: ghc-mtl-devel
BuildRequires: ghc-unix-devel BuildRequires: ghc-unix-devel
# End cabal-rpm deps
%description %description
%{common_description} %{common_description}
%prep %prep
%setup -q %setup -q
%patch0 -p1 %patch0 -p1
@ -43,25 +41,34 @@ iconv -f iso8859-1 -t utf-8 Language/Unlambda.hs > Language/Unlambda.conv && mv
%install %install
%ghc_lib_install %ghc_lib_install
# library subpackage
%ghc_package %ghc_package
%ghc_description %ghc_description
# devel subpackage
%ghc_devel_package %ghc_devel_package
%ghc_devel_description %ghc_devel_description
%ghc_devel_post_postun %ghc_devel_post_postun
%files %files
%doc LICENSE %doc LICENSE
%attr(755,root,root) %{_bindir}/%{name} %{_bindir}/%{name}
%ghc_files LICENSE %ghc_files LICENSE
%changelog %changelog
* Fri Dec 7 2012 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 0.1.3-1
- spec file generated by cabal-rpm-0.6.5
* Fri Oct 26 2012 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 0.1.2-1
- Updated to new upstream release 0.1.2
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-3 * Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild