osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-gitrev revision:1, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-gitrev?expand=0&rev=39
This commit is contained in:
Peter Simons 2023-03-30 08:26:24 +00:00 committed by Git OBS Bridge
parent c505d03b0a
commit 5f455ef3b9
2 changed files with 32 additions and 48 deletions

View File

@ -1,50 +1,5 @@
-------------------------------------------------------------------
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
- disable %{ix86} build
-------------------------------------------------------------------
Fri Sep 4 10:49:28 UTC 2020 - Peter Simons <psimons@suse.com>
Fri Mar 17 02:35:43 UTC 2017 - Peter Simons <psimons@suse.com>
- Replace %setup -q with the more modern %autosetup macro.
- Add gitrev at version 1.3.1.
-------------------------------------------------------------------
Thu Nov 7 06:42:07 UTC 2019 - psimons@suse.com
- Drop obsolete group attributes.
-------------------------------------------------------------------
Sat Oct 20 11:31:33 UTC 2018 - Peter Simons <psimons@suse.com>
- Use https URL to refer to bugs.opensuse.org.
-------------------------------------------------------------------
Wed Jul 18 14:26:25 UTC 2018 - psimons@suse.com
- Cosmetic: replace tabs with blanks, strip trailing white space,
and update copyright headers with spec-cleaner.
-------------------------------------------------------------------
Wed May 16 13:06:55 UTC 2018 - psimons@suse.com
- Prefer the new %license attribute over %doc.
-------------------------------------------------------------------
Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com
- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
-------------------------------------------------------------------
Thu Jul 27 14:06:02 UTC 2017 - psimons@suse.com
- Update to version 1.3.1.
-------------------------------------------------------------------
Sun Jul 10 17:07:18 UTC 2016 - psimons@suse.com
- Update to version 1.2.0 revision 0 with cabal2obs.
-------------------------------------------------------------------
Tue Nov 17 21:50:28 UTC 2015 - mimi.vx@gmail.com
- initial commit

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-gitrev
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2017 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,6 +17,7 @@
%global pkg_name gitrev
%global pkgver %{pkg_name}-%{version}
Name: ghc-%{pkg_name}
Version: 1.3.1
Release: 0
@ -26,11 +27,18 @@ 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-base-compat-devel
BuildRequires: ghc-base-compat-prof
BuildRequires: ghc-base-devel
BuildRequires: ghc-base-prof
BuildRequires: ghc-directory-devel
BuildRequires: ghc-directory-prof
BuildRequires: ghc-filepath-devel
BuildRequires: ghc-filepath-prof
BuildRequires: ghc-process-devel
BuildRequires: ghc-process-prof
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-template-haskell-devel
BuildRequires: ghc-template-haskell-prof
ExcludeArch: %{ix86}
%description
@ -48,6 +56,22 @@ Requires(postun): ghc-compiler = %{ghc_version}
%description devel
This package provides the Haskell %{pkg_name} library development files.
%package -n ghc-%{pkg_name}-doc
Summary: Haskell %{pkg_name} library documentation
Requires: ghc-filesystem
BuildArch: noarch
%description -n ghc-%{pkg_name}-doc
This package provides the Haskell %{pkg_name} library documentation.
%package -n ghc-%{pkg_name}-prof
Summary: Haskell %{pkg_name} profiling library
Requires: ghc-%{pkg_name}-devel = %{version}-%{release}
Supplements: (ghc-%{pkg_name}-devel and ghc-prof)
%description -n ghc-%{pkg_name}-prof
This package provides the Haskell %{pkg_name} profiling library.
%prep
%autosetup -n %{pkg_name}-%{version}
@ -68,4 +92,9 @@ This package provides the Haskell %{pkg_name} library development files.
%files devel -f %{name}-devel.files
%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
%license LICENSE
%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files
%changelog