- update to version 1.0.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/guix?expand=0&rev=28
This commit is contained in:
committed by
Git OBS Bridge
parent
59f9ee6a3f
commit
91720e2ad7
19
guix.spec
19
guix.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package guix
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,21 +12,21 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define guile guile-2.0.9.tar.xz
|
||||
%define guix_builder_group guixbuild
|
||||
Name: guix
|
||||
Version: 0.16.0
|
||||
Version: 1.0.0
|
||||
Release: 0
|
||||
Summary: GNU Package manager
|
||||
License: GPL-3.0-only
|
||||
Group: System/Packages
|
||||
Url: http://www.gnu.org/software/guix/
|
||||
Source0: ftp://alpha.gnu.org/gnu/guix/%{name}-%{version}.tar.gz
|
||||
Source1: ftp://alpha.gnu.org/gnu/guix/%{name}-%{version}.tar.gz.sig
|
||||
Source0: https://ftp.gnu.org/gnu/guix/%{name}-%{version}.tar.gz
|
||||
Source1: https://ftp.gnu.org/gnu/guix/%{name}-%{version}.tar.gz.sig
|
||||
Source2: %{name}.keyring
|
||||
# source file renamed - this would lead to 3 same file names
|
||||
# http://alpha.gnu.org/gnu/guix/bootstrap/i686-linux/20131110/%%{guile}
|
||||
@@ -47,7 +47,7 @@ Source21: run_guix_publish.sh
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gnutls-guile
|
||||
BuildRequires: guile-charting
|
||||
BuildRequires: guile-devel >= 2.0
|
||||
BuildRequires: guile-devel >= 2.2
|
||||
BuildRequires: guile-gcrypt
|
||||
BuildRequires: guile-git
|
||||
BuildRequires: guile-json
|
||||
@@ -69,6 +69,7 @@ Requires: guile-git
|
||||
Requires: guile-json
|
||||
Requires: guile-sqlite3
|
||||
Requires: guile-ssh-devel
|
||||
Requires: gzip
|
||||
Requires: libgcrypt-devel
|
||||
Requires: libguile-ssh11
|
||||
Requires(pre): %{install_info_prereq}
|
||||
@@ -77,6 +78,8 @@ ExclusiveArch: %{ix86} x86_64 armv7hl aarch64
|
||||
|
||||
%description
|
||||
Purely functional package manager and a distribution thereof.
|
||||
It offers transactional upgrades, roll-backs, unprivileged package management.
|
||||
As a GNU distribution it contains only free software.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
@@ -109,8 +112,6 @@ install -m 0755 -t %{buildroot}%{_bindir} %{SOURCE20}
|
||||
install -m 0755 -t %{buildroot}%{_bindir} %{SOURCE21}
|
||||
sed -i 's@^ExecStart=.*@ExecStart=/usr/bin/run_guix_daemon.sh@' %{buildroot}%{_unitdir}/guix-daemon.service
|
||||
sed -i 's@^ExecStart=.*@ExecStart=/usr/bin/run_guix_publish.sh@' %{buildroot}%{_unitdir}/guix-publish.service
|
||||
# RPM throws error, due to be a development file. It's needed for guix pack -R. Disable it for now
|
||||
rm %{buildroot}%{_datadir}/guile/site/2.*/gnu/packages/aux-files/run-in-namespace.c
|
||||
|
||||
%pre
|
||||
%{_sbindir}/groupadd -r %{guix_builder_group} >/dev/null 2>/dev/null || :
|
||||
@@ -132,7 +133,7 @@ done
|
||||
%service_add_post guix-publish.service
|
||||
# Authorize official keys of Guix build farm to enable binary substitutes
|
||||
guix archive --authorize < %{_datadir}/guix/hydra.gnu.org.pub
|
||||
guix archive --authorize < %{_datadir}/guix/ci.guix.info.pub
|
||||
guix archive --authorize < %{_datadir}/guix/ci.guix.gnu.org.pub
|
||||
|
||||
%postun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/guix.info.gz
|
||||
|
Reference in New Issue
Block a user