diff --git a/_service b/_service index 76828d7..96813c1 100644 --- a/_service +++ b/_service @@ -1,3 +1,3 @@ - - \ No newline at end of file + + diff --git a/_service:download_files:temporary-1.1.2.3.tar.gz b/_service:download_files:temporary-1.1.2.3.tar.gz deleted file mode 100644 index f4dd801..0000000 --- a/_service:download_files:temporary-1.1.2.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ad471e31c117c989aa6fe23bbc21ad3fc5f011dbdea3532048b8b1f59ea492f4 -size 5195 diff --git a/ghc-temporary.changes b/ghc-temporary.changes index 0ff60e5..5714da1 100644 --- a/ghc-temporary.changes +++ b/ghc-temporary.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed May 15 13:34:28 UTC 2013 - peter.trommler@ohm-hochschule.de + +- update to 1.1.2.4 from upstream +* adjust library version bounds to ghc 7.6 libs + ------------------------------------------------------------------- Thu Jun 7 08:05:09 UTC 2012 - peter.trommler@ohm-hochschule.de diff --git a/ghc-temporary.spec b/ghc-temporary.spec index 02d04e0..8d57f36 100644 --- a/ghc-temporary.spec +++ b/ghc-temporary.spec @@ -1,8 +1,7 @@ # -# spec file for ghc-temporary +# spec file for package ghc-temporary # - -# Copyright (c) 2012 Peter Trommler peter.trommler@ohm-hochschule.de +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,60 +15,72 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# cabal2spec-0.25 -# https://fedoraproject.org/wiki/Packaging:Haskell -# https://fedoraproject.org/wiki/PackagingDrafts/Haskell %global pkg_name temporary -%global common_summary Haskell temporary file and directory support library - -%global common_description The functions for creating temporary files and directories in the base library are quite limited. The unixutils package contains some good ones, but they are not portable to Windows. This library just repackages the Cabal implementations of its own temporary file and folder functions so that you can use them without linking against Cabal or depending on it being installed. - -Name: ghc-%{pkg_name} -Version: 1.1.2.3 -Release: 1 -Summary: %{common_summary} - -Group: System/Libraries +Name: ghc-temporary +Version: 1.1.2.4 +Release: 0 +Summary: Haskell portable temporary file and directory support License: BSD-3-Clause -BuildRoot: %{_tmppath}/%{name}-%{version}-build -# BEGIN cabal2spec -URL: http://hackage.haskell.org/package/%{pkg_name} +Group: System/Libraries + +Url: http://hackage.haskell.org/package/%{pkg_name} Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz -ExclusiveArch: %{ix86} x86_64 %{ghc_arches} +BuildRoot: %{_tmppath}/%{name}-%{version}-build + BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} +BuildRequires: ghc-rpm-macros +# Begin cabal-rpm deps: BuildRequires: ghc-directory-devel BuildRequires: ghc-filepath-devel -# END cabal2spec +BuildRequires: ghc-unix-devel +# End cabal-rpm deps %description -%{common_description} +The functions for creating temporary files and directories in the base library are quite limited. The unixutils +package contains some good ones, but they aren't portable to Windows. +This library just repackages the Cabal implementations of its own temporary file and folder functions so that +you can use them without linking against Cabal or depending on it being installed. + +#' Help EMACS syntax highlighting. + +%package devel +Summary: Haskell %{pkg_name} library development files +Group: Development/Libraries/Other +Requires: ghc-compiler +Requires(post): ghc-compiler +Requires(postun): ghc-compiler +Requires: %{name} = %{version}-%{release} + +%description devel +The functions for creating temporary files and directories in the base library are quite limited. The unixutils +package contains some good ones, but they aren't portable to Windows. +This library just repackages the Cabal implementations of its own temporary file and folder functions so that +you can use them without linking against Cabal or depending on it being installed. + +#' Help EMACS syntax highlighting. %prep %setup -q -n %{pkg_name}-%{version} - %build %ghc_lib_build - %install %ghc_lib_install +%post devel +%ghc_pkg_recache -# devel subpackage -%ghc_devel_package +%postun devel +%ghc_pkg_recache -%ghc_devel_description - - -%ghc_devel_post_postun - - -%ghc_files LICENSE +%files -f %{name}.files +%defattr(-,root,root) +%doc LICENSE +%files devel -f %{name}-devel.files %changelog diff --git a/rpmlintrc b/rpmlintrc deleted file mode 100644 index 2cfd190..0000000 --- a/rpmlintrc +++ /dev/null @@ -1 +0,0 @@ -addFilter("static-library-without-debuginfo") diff --git a/temporary-1.1.2.4.tar.gz b/temporary-1.1.2.4.tar.gz new file mode 100644 index 0000000..374d1ca --- /dev/null +++ b/temporary-1.1.2.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5f9ebb2aac8767c8f73c071073bea56363ea0d589df162417a988b9f856013c9 +size 5220