Architecture specific change in rpms/pcc.git
by githook-noreply@fedoraproject.org
The package rpms/pcc.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/pcc.git/commit/?id=4a0e291fd5d289....
Change:
+ExclusiveArch: %{ix86} x86_64
Thanks.
Full change:
============
commit 4a0e291fd5d289afc2131e63f8cd7b8c79f4bcd5
Author: Susi Lehtola <jussilehtola(a)fedoraproject.org>
Date: Wed Feb 28 15:43:06 2018 +0100
Update to 20180228 snapshot. Add gcc buildrequires.
diff --git a/pcc.spec b/pcc.spec
index c104b63..990c563 100644
--- a/pcc.spec
+++ b/pcc.spec
@@ -9,7 +9,7 @@
./configure --program-prefix= --prefix=%{_prefix} --exec-prefix=%{_prefix} --bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} --datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} --libexecdir=%{_libexecdir} --localstatedir=%{_localstatedir} --sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir} --infodir=%{_infodir}
# Used CVS snapshot
-%global snapshot 20161201
+%global snapshot 20180228
# RPM does not play well with pcc compiled package
%if %{with pcc}
@@ -19,33 +19,36 @@
# Release tag
%define rel 1.1.%{snapshot}cvs
-Name: pcc
-Version: 1.1.0
+Name: pcc
+Version: 1.1.0
%if %{with pcc}
-Release: %{rel}_pcc%{?dist}.4
+Release: %{rel}_pcc%{?dist}
%else
-Release: %{rel}%{?dist}.4
+Release: %{rel}%{?dist}
%endif
-Summary: The Portable C Compiler
-Group: Development/Languages
-License: BSD with advertising and BSD and ISC
-URL: http://pcc.ludd.ltu.se/
-Source0: http://pcc.ludd.ltu.se/ftp/pub/pcc/pcc-%{snapshot}.tgz
-Source1: http://pcc.ludd.ltu.se/ftp/pub/pcc-libs/pcc-libs-%{snapshot}.tgz
+Summary: The Portable C Compiler
+Group: Development/Languages
+License: BSD with advertising and BSD and ISC
+URL: http://pcc.ludd.ltu.se/
+Source0: http://pcc.ludd.ltu.se/ftp/pub/pcc/pcc-%{snapshot}.tgz
+Source1: http://pcc.ludd.ltu.se/ftp/pub/pcc-libs/pcc-libs-%{snapshot}.tgz
# Patch to disable the use of -g in pcc-libs/csu/linux/ which is partly assembler code.
# Also, inlineing is disabled because it will break the code.
# Also, remove default -O flag from the code.
-Patch0: pcc-20141210-flags.patch
+Patch0: pcc-20141210-flags.patch
# Currently only x86 and x86_64 supported both in ppc and ppc-libs
-ExclusiveArch: %{ix86} x86_64
-BuildRequires: bison flex
-Requires: glibc-devel
+ExclusiveArch: %{ix86} x86_64
+BuildRequires: bison
+BuildRequires: flex
+Requires: glibc-devel
%if %{with pcc}
-BuildRequires: pcc
+BuildRequires: pcc
+%else
+BuildRequires: gcc
%endif
%description
@@ -146,6 +149,10 @@ fi
%{_mandir}/man1/pcpp.1.*
%changelog
+* Wed Feb 28 2018 Susi Lehtola <jussilehtola(a)fedoraproject.org> - 1.1.0-1.1.20180228cvs
+- Update to 20180228 snapshot.
+- Added gcc buildrequires.
+
* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.1.0-1.1.20161201cvs.4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
commit b18e9fae0dbbeda85c6278fc5bd63aca4d8a7b1d
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Wed Feb 14 07:24:50 2018 +0100
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/pcc.spec b/pcc.spec
index f0fe570..c104b63 100644
--- a/pcc.spec
+++ b/pcc.spec
@@ -129,9 +129,6 @@ if diff pcc pcpp > /dev/null; then
ln -f pcc pcpp
fi
-%clean
-rm -rf %{buildroot}
-
%files
%defattr(-,root,root,-)
%{_bindir}/pcc
commit e580e37fd084adcd6a1818853f764ddb639ce3ed
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Wed Feb 14 00:00:01 2018 +0100
Remove BuildRoot definition
None of currently supported distributions need that.
It was needed last for EL5 which is EOL now
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/pcc.spec b/pcc.spec
index 74173c2..f0fe570 100644
--- a/pcc.spec
+++ b/pcc.spec
@@ -39,7 +39,6 @@ Source1: http://pcc.ludd.ltu.se/ftp/pub/pcc-libs/pcc-libs-%{snapshot}.tgz
# Also, remove default -O flag from the code.
Patch0: pcc-20141210-flags.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# Currently only x86 and x86_64 supported both in ppc and ppc-libs
ExclusiveArch: %{ix86} x86_64
BuildRequires: bison flex
commit 1fea1090b853e47a128c241872325d534fbf256e
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Thu Feb 8 18:26:28 2018 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/pcc.spec b/pcc.spec
index 70c95a5..74173c2 100644
--- a/pcc.spec
+++ b/pcc.spec
@@ -23,9 +23,9 @@ Name: pcc
Version: 1.1.0
%if %{with pcc}
-Release: %{rel}_pcc%{?dist}.3
+Release: %{rel}_pcc%{?dist}.4
%else
-Release: %{rel}%{?dist}.3
+Release: %{rel}%{?dist}.4
%endif
Summary: The Portable C Compiler
@@ -150,6 +150,9 @@ rm -rf %{buildroot}
%{_mandir}/man1/pcpp.1.*
%changelog
+* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.1.0-1.1.20161201cvs.4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Thu Aug 03 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.1.0-1.1.20161201cvs.3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
6 years, 2 months
Architecture specific change in rpms/pcc.git
by githook-noreply@fedoraproject.org
The package rpms/pcc.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/pcc.git/commit/?id=4a0e291fd5d289....
Change:
+ExclusiveArch: %{ix86} x86_64
Thanks.
Full change:
============
commit 4a0e291fd5d289afc2131e63f8cd7b8c79f4bcd5
Author: Susi Lehtola <jussilehtola(a)fedoraproject.org>
Date: Wed Feb 28 15:43:06 2018 +0100
Update to 20180228 snapshot. Add gcc buildrequires.
diff --git a/pcc.spec b/pcc.spec
index c104b63..990c563 100644
--- a/pcc.spec
+++ b/pcc.spec
@@ -9,7 +9,7 @@
./configure --program-prefix= --prefix=%{_prefix} --exec-prefix=%{_prefix} --bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} --datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} --libexecdir=%{_libexecdir} --localstatedir=%{_localstatedir} --sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir} --infodir=%{_infodir}
# Used CVS snapshot
-%global snapshot 20161201
+%global snapshot 20180228
# RPM does not play well with pcc compiled package
%if %{with pcc}
@@ -19,33 +19,36 @@
# Release tag
%define rel 1.1.%{snapshot}cvs
-Name: pcc
-Version: 1.1.0
+Name: pcc
+Version: 1.1.0
%if %{with pcc}
-Release: %{rel}_pcc%{?dist}.4
+Release: %{rel}_pcc%{?dist}
%else
-Release: %{rel}%{?dist}.4
+Release: %{rel}%{?dist}
%endif
-Summary: The Portable C Compiler
-Group: Development/Languages
-License: BSD with advertising and BSD and ISC
-URL: http://pcc.ludd.ltu.se/
-Source0: http://pcc.ludd.ltu.se/ftp/pub/pcc/pcc-%{snapshot}.tgz
-Source1: http://pcc.ludd.ltu.se/ftp/pub/pcc-libs/pcc-libs-%{snapshot}.tgz
+Summary: The Portable C Compiler
+Group: Development/Languages
+License: BSD with advertising and BSD and ISC
+URL: http://pcc.ludd.ltu.se/
+Source0: http://pcc.ludd.ltu.se/ftp/pub/pcc/pcc-%{snapshot}.tgz
+Source1: http://pcc.ludd.ltu.se/ftp/pub/pcc-libs/pcc-libs-%{snapshot}.tgz
# Patch to disable the use of -g in pcc-libs/csu/linux/ which is partly assembler code.
# Also, inlineing is disabled because it will break the code.
# Also, remove default -O flag from the code.
-Patch0: pcc-20141210-flags.patch
+Patch0: pcc-20141210-flags.patch
# Currently only x86 and x86_64 supported both in ppc and ppc-libs
-ExclusiveArch: %{ix86} x86_64
-BuildRequires: bison flex
-Requires: glibc-devel
+ExclusiveArch: %{ix86} x86_64
+BuildRequires: bison
+BuildRequires: flex
+Requires: glibc-devel
%if %{with pcc}
-BuildRequires: pcc
+BuildRequires: pcc
+%else
+BuildRequires: gcc
%endif
%description
@@ -146,6 +149,10 @@ fi
%{_mandir}/man1/pcpp.1.*
%changelog
+* Wed Feb 28 2018 Susi Lehtola <jussilehtola(a)fedoraproject.org> - 1.1.0-1.1.20180228cvs
+- Update to 20180228 snapshot.
+- Added gcc buildrequires.
+
* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.1.0-1.1.20161201cvs.4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6 years, 2 months
Architecture specific change in rpms/pcc.git
by githook-noreply@fedoraproject.org
The package rpms/pcc.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/pcc.git/commit/?id=4a0e291fd5d289....
Change:
+ExclusiveArch: %{ix86} x86_64
Thanks.
Full change:
============
commit 4a0e291fd5d289afc2131e63f8cd7b8c79f4bcd5
Author: Susi Lehtola <jussilehtola(a)fedoraproject.org>
Date: Wed Feb 28 15:43:06 2018 +0100
Update to 20180228 snapshot. Add gcc buildrequires.
diff --git a/pcc.spec b/pcc.spec
index c104b63..990c563 100644
--- a/pcc.spec
+++ b/pcc.spec
@@ -9,7 +9,7 @@
./configure --program-prefix= --prefix=%{_prefix} --exec-prefix=%{_prefix} --bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} --datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} --libexecdir=%{_libexecdir} --localstatedir=%{_localstatedir} --sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir} --infodir=%{_infodir}
# Used CVS snapshot
-%global snapshot 20161201
+%global snapshot 20180228
# RPM does not play well with pcc compiled package
%if %{with pcc}
@@ -19,33 +19,36 @@
# Release tag
%define rel 1.1.%{snapshot}cvs
-Name: pcc
-Version: 1.1.0
+Name: pcc
+Version: 1.1.0
%if %{with pcc}
-Release: %{rel}_pcc%{?dist}.4
+Release: %{rel}_pcc%{?dist}
%else
-Release: %{rel}%{?dist}.4
+Release: %{rel}%{?dist}
%endif
-Summary: The Portable C Compiler
-Group: Development/Languages
-License: BSD with advertising and BSD and ISC
-URL: http://pcc.ludd.ltu.se/
-Source0: http://pcc.ludd.ltu.se/ftp/pub/pcc/pcc-%{snapshot}.tgz
-Source1: http://pcc.ludd.ltu.se/ftp/pub/pcc-libs/pcc-libs-%{snapshot}.tgz
+Summary: The Portable C Compiler
+Group: Development/Languages
+License: BSD with advertising and BSD and ISC
+URL: http://pcc.ludd.ltu.se/
+Source0: http://pcc.ludd.ltu.se/ftp/pub/pcc/pcc-%{snapshot}.tgz
+Source1: http://pcc.ludd.ltu.se/ftp/pub/pcc-libs/pcc-libs-%{snapshot}.tgz
# Patch to disable the use of -g in pcc-libs/csu/linux/ which is partly assembler code.
# Also, inlineing is disabled because it will break the code.
# Also, remove default -O flag from the code.
-Patch0: pcc-20141210-flags.patch
+Patch0: pcc-20141210-flags.patch
# Currently only x86 and x86_64 supported both in ppc and ppc-libs
-ExclusiveArch: %{ix86} x86_64
-BuildRequires: bison flex
-Requires: glibc-devel
+ExclusiveArch: %{ix86} x86_64
+BuildRequires: bison
+BuildRequires: flex
+Requires: glibc-devel
%if %{with pcc}
-BuildRequires: pcc
+BuildRequires: pcc
+%else
+BuildRequires: gcc
%endif
%description
@@ -146,6 +149,10 @@ fi
%{_mandir}/man1/pcpp.1.*
%changelog
+* Wed Feb 28 2018 Susi Lehtola <jussilehtola(a)fedoraproject.org> - 1.1.0-1.1.20180228cvs
+- Update to 20180228 snapshot.
+- Added gcc buildrequires.
+
* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.1.0-1.1.20161201cvs.4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6 years, 2 months
Architecture specific change in rpms/golang-github-eapache-go-resiliency.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-eapache-go-resiliency.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/golang-github-eapache-go-resilien....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 20e6efa5e7faae02c806bcb39213833da5a4ef00
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 15:08:36 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-eapache-go-resiliency.spec b/golang-github-eapache-go-resiliency.spec
index 5a86a7e..ca5b6f2 100644
--- a/golang-github-eapache-go-resiliency.spec
+++ b/golang-github-eapache-go-resiliency.spec
@@ -1,165 +1,55 @@
-%if 0%{?fedora} || 0%{?rhel} == 6
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-%global with_check 1
-%global with_unit_test 1
-%else
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-%global with_check 1
-%global with_unit_test 1
-%endif
-
-%if 0%{?with_debug}
-%global _dwz_low_mem_die_limit 0
-%else
-%global debug_package %{nil}
-%endif
-
-%global provider github
-%global provider_tld com
-%global project eapache
-%global repo go-resiliency
-# https://github.com/eapache/go-resiliency
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/eapache/go-resiliency
+%global provider_prefix github.com/eapache/go-resiliency
+%global gobaseipath %{provider_prefix}
%global commit b86b1ec0dd4209a588dc1285cdd471e73525c0b3
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20160104
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.7.git%{shortcommit}%{?dist}
+Release: 0.8.%{commitdate}git%{shortcommit}%{?dist}
Summary: Resiliency patterns for golang
# Detected licences
# - MIT/X11 (BSD like) at 'LICENSE'
License: MIT
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
+URL: %{gourl}
+Source0: %{gosource}
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check} && ! 0%{?with_bundled}
-%endif
-
-Provides: golang(%{import_path}/batcher) = %{version}-%{release}
-Provides: golang(%{import_path}/breaker) = %{version}-%{release}
-Provides: golang(%{import_path}/deadline) = %{version}-%{release}
-Provides: golang(%{import_path}/retrier) = %{version}-%{release}
-Provides: golang(%{import_path}/semaphore) = %{version}-%{release}
-
%description devel
%{summary}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package unit-test-devel
-Summary: Unit tests for %{name} package
-%if 0%{?with_check}
-#Here comes all BuildRequires: PACKAGE the unit tests
-#in %%check section need for running
-%endif
-
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%if 0%{?with_check} && ! 0%{?with_bundled}
-%endif
-
-%description unit-test-devel
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
+%gosetup
%install
-# source codes for building projects
-%if 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list
-# find all *.go but no *_test.go files and generate devel.file-list
-for file in $(find . -iname "*.go" \! -iname "*_test.go") ; do
- echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list
-done
-%endif
-
-# testing files for this project
-%if 0%{?with_unit_test} && 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-# find all *_test.go files and generate unit-test-devel.file-list
-for file in $(find . -iname "*_test.go"); do
- echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test-devel.file-list
-done
-%endif
-
-%if 0%{?with_devel}
-sort -u -o devel.file-list devel.file-list
-%endif
+%goinstall
%check
-%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel}
-%if ! 0%{?with_bundled}
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-%else
-export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
-%endif
-
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-
-%gotest %{import_path}/batcher
-%gotest %{import_path}/breaker
-%gotest %{import_path}/deadline
-%gotest %{import_path}/retrier
-%gotest %{import_path}/semaphore
-%endif
+%gochecks %{gobaseipath}/deadline
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
-%if 0%{?with_devel}
%files devel -f devel.file-list
%license LICENSE
%doc README.md
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%files unit-test-devel -f unit-test-devel.file-list
-%license LICENSE
-%doc README.md
-%endif
%changelog
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.8.20160104gitb86b1ec
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.7.gitb86b1ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6 years, 2 months
Architecture specific change in rpms/golang-github-dvsekhvalnov-jose2go.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-dvsekhvalnov-jose2go.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/golang-github-dvsekhvalnov-jose2g....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 11a0284c1060968309ea589bae2a88bd0412adb2
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 15:03:58 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-dvsekhvalnov-jose2go.spec b/golang-github-dvsekhvalnov-jose2go.spec
index 2ce72b7..faf146c 100644
--- a/golang-github-dvsekhvalnov-jose2go.spec
+++ b/golang-github-dvsekhvalnov-jose2go.spec
@@ -1,174 +1,55 @@
-%if 0%{?fedora} || 0%{?rhel} == 6
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-%global with_check 1
-%global with_unit_test 1
-%else
-%global with_devel 0
-%global with_bundled 0
-%global with_debug 0
-%global with_check 0
-%global with_unit_test 0
-%endif
-
-%if 0%{?with_debug}
-%global _dwz_low_mem_die_limit 0
-%else
-%global debug_package %{nil}
-%endif
-
-%global provider github
-%global provider_tld com
-%global project dvsekhvalnov
-%global repo jose2go
-# https://github.com/dvsekhvalnov/jose2go
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/dvsekhvalnov/jose2go
+%global provider_prefix github.com/dvsekhvalnov/jose2go
+%global gobaseipath %{provider_prefix}
%global commit 6387d3c1f5abd8443b223577d5a7e0f4e0e5731f
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20150816
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 1.2
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Implementation of JS Object Signing and Encryption specification
License: MIT
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
+URL: %{gourl}
+Source0: %{gosource}
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
-%endif
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path}/aes) = %{version}-%{release}
-Provides: golang(%{import_path}/arrays) = %{version}-%{release}
-Provides: golang(%{import_path}/base64url) = %{version}-%{release}
-Provides: golang(%{import_path}/compact) = %{version}-%{release}
-Provides: golang(%{import_path}/kdf) = %{version}-%{release}
-Provides: golang(%{import_path}/keys/ecc) = %{version}-%{release}
-Provides: golang(%{import_path}/keys/rsa) = %{version}-%{release}
-Provides: golang(%{import_path}/padding) = %{version}-%{release}
+BuildRequires: golang(gopkg.in/check.v1)
%description devel
%{summary}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package unit-test
-Summary: Unit tests for %{name} package
-%if 0%{?with_check}
-#Here comes all BuildRequires: PACKAGE the unit tests
-#in %%check section need for running
-BuildRequires: golang(gopkg.in/check.v1)
-%endif
-
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-Requires: golang(gopkg.in/check.v1)
-
-%description unit-test
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
+%gosetup
%install
-# source codes for building projects
-%if 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list
-# find all *.go but no *_test.go files and generate devel.file-list
-for file in $(find . -iname "*.go" \! -iname "*_test.go") ; do
- echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list
-done
-%endif
-
-# testing files for this project
-%if 0%{?with_unit_test} && 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-# find all *_test.go files and generate unit-test.file-list
-for file in $(find . -iname "*_test.go"); do
- echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test.file-list
-done
-cp -r keys %{buildroot}/%{gopath}/src/%{import_path}/.
-echo "%%{gopath}/src/%%{import_path}/keys" >> unit-test.file-list
-%endif
-
-%if 0%{?with_devel}
-sort -u -o devel.file-list devel.file-list
-%endif
+%goinstall keys
%check
-%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel}
-%if ! 0%{?with_bundled}
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-%else
-export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
-%endif
-
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-
-# constant 4294967295 overflows int by kdf
-#%%gotest %%{import_path}
-%gotest %{import_path}/aes
-%gotest %{import_path}/arrays
-%gotest %{import_path}/base64url
-%gotest %{import_path}/compact
-# constant 4294967295 overflows int
-#%%gotest %%{import_path}/kdf
-%gotest %{import_path}/keys/ecc
-%gotest %{import_path}/keys/rsa
-%gotest %{import_path}/padding
-%endif
+%gochecks
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
-%if 0%{?with_devel}
%files devel -f devel.file-list
%license LICENSE
%doc README.md
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%files unit-test -f unit-test.file-list
-%license LICENSE
-%doc README.md
-%endif
%changelog
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 1.2-7
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6 years, 2 months
Architecture specific change in rpms/golang-github-elazarl-go-bindata-assetfs.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-elazarl-go-bindata-assetfs.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/golang-github-elazarl-go-bindata-....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit f29e3dae9e73f043c6b573bc2b98bb2d21c256c9
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 15:17:38 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-elazarl-go-bindata-assetfs.spec b/golang-github-elazarl-go-bindata-assetfs.spec
index d327dc1..52af9ef 100644
--- a/golang-github-elazarl-go-bindata-assetfs.spec
+++ b/golang-github-elazarl-go-bindata-assetfs.spec
@@ -1,155 +1,53 @@
-%if 0%{?fedora} || 0%{?rhel} == 6
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-# no tests so far
-%global with_check 0
-%global with_unit_test 0
-%else
-%global with_devel 0
-%global with_bundled 0
-%global with_debug 0
-%global with_check 0
-%global with_unit_test 0
-%endif
-
-%if 0%{?with_debug}
-%global _dwz_low_mem_die_limit 0
-%else
-%global debug_package %{nil}
-%endif
-
-%global provider github
-%global provider_tld com
-%global project elazarl
-%global repo go-bindata-assetfs
-# https://github.com/elazarl/go-bindata-assetfs
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/elazarl/go-bindata-assetfs
+%global provider_prefix github.com/elazarl/go-bindata-assetfs
+%global gobaseipath %{provider_prefix}
%global commit 3dcc96556217539f50599357fb481ac0dc7439b9
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20150624
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.13.git%{shortcommit}%{?dist}
+Release: 0.14.%{commitdate}git%{shortcommit}%{?dist}
Summary: Serve embedded files from jteeuwen/go-bindata
License: BSD
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
+URL: %{gourl}
+Source0: %{gosource}
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
-%endif
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-
%description devel
%{summary}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package unit-test
-Summary: Unit tests for %{name} package
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
-
-%if 0%{?with_check}
-#Here comes all BuildRequires: PACKAGE the unit tests
-#in %%check section need for running
-%endif
-
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
+%gosetup
%install
-# source codes for building projects
-%if 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list
-# find all *.go but no *_test.go files and generate devel.file-list
-for file in $(find . -iname "*.go" \! -iname "*_test.go") ; do
- echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list
-done
-%endif
-
-# testing files for this project
-%if 0%{?with_unit_test} && 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-# find all *_test.go files and generate unit-test.file-list
-for file in $(find . -iname "*_test.go"); do
- echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test.file-list
-done
-%endif
-
-%if 0%{?with_devel}
-sort -u -o devel.file-list devel.file-list
-%endif
+%goinstall
%check
-%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel}
-%if ! 0%{?with_bundled}
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-%else
-export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
-%endif
-
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-
-%endif
+%gochecks
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
-%if 0%{?with_devel}
%files devel -f devel.file-list
%license LICENSE
%doc README.md
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%files unit-test -f unit-test.file-list
-%license LICENSE
-%doc README.md
-%endif
%changelog
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.14.20150624git3dcc965
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.13.git3dcc965
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6 years, 2 months
Architecture specific change in rpms/golang-github-eapache-queue.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-eapache-queue.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/golang-github-eapache-queue.git/c....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit b2cbbace5692aa51c7212a742c0ea4554f8a3a53
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 15:09:36 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-eapache-queue.spec b/golang-github-eapache-queue.spec
index 3ef8b66..514af92 100644
--- a/golang-github-eapache-queue.spec
+++ b/golang-github-eapache-queue.spec
@@ -1,157 +1,55 @@
-%if 0%{?fedora} || 0%{?rhel} == 6
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-%global with_check 1
-%global with_unit_test 1
-%else
-%global with_devel 0
-%global with_bundled 0
-%global with_debug 0
-%global with_check 0
-%global with_unit_test 0
-%endif
-
-%if 0%{?with_debug}
-%global _dwz_low_mem_die_limit 0
-%else
-%global debug_package %{nil}
-%endif
-
-%global provider github
-%global provider_tld com
-%global project eapache
-%global repo queue
-# https://github.com/eapache/queue
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/eapache/queue
+%global provider_prefix github.com/eapache/queue
+%global gobaseipath %{provider_prefix}
%global commit ded5959c0d4e360646dc9e9908cff48666781367
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20150606
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 1.0.2
-Release: 0.6.git%{shortcommit}%{?dist}
+Release: 0.7.%{commitdate}git%{shortcommit}%{?dist}
Summary: Fast golang queue using ring-buffer
# Detected licences
# - MIT/X11 (BSD like) at 'LICENSE'
License: MIT
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
+URL: %{gourl}
+Source0: %{gosource}
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check} && ! 0%{?with_bundled}
-%endif
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-
%description devel
%{summary}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package unit-test-devel
-Summary: Unit tests for %{name} package
-%if 0%{?with_check}
-#Here comes all BuildRequires: PACKAGE the unit tests
-#in %%check section need for running
-%endif
-
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%if 0%{?with_check} && ! 0%{?with_bundled}
-%endif
-
-%description unit-test-devel
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
+%gosetup
%install
-# source codes for building projects
-%if 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list
-# find all *.go but no *_test.go files and generate devel.file-list
-for file in $(find . -iname "*.go" \! -iname "*_test.go") ; do
- echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list
-done
-%endif
-
-# testing files for this project
-%if 0%{?with_unit_test} && 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-# find all *_test.go files and generate unit-test-devel.file-list
-for file in $(find . -iname "*_test.go"); do
- echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test-devel.file-list
-done
-%endif
-
-%if 0%{?with_devel}
-sort -u -o devel.file-list devel.file-list
-%endif
+%goinstall
%check
-%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel}
-%if ! 0%{?with_bundled}
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-%else
-export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
-%endif
-
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-
-%gotest %{import_path}
-%endif
+%gochecks
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
-%if 0%{?with_devel}
%files devel -f devel.file-list
%license LICENSE
%doc README.md
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%files unit-test-devel -f unit-test-devel.file-list
-%license LICENSE
-%doc README.md
-%endif
%changelog
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 1.0.2-0.7.20150606gitded5959
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.2-0.6.gitded5959
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6 years, 2 months
Architecture specific change in rpms/golang-github-docker-libcontainer.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-docker-libcontainer.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/golang-github-docker-libcontainer....
Change:
-ExcludeArch: ppc64 ppc64le
Thanks.
Full change:
============
commit f9f011850d9d0c66afe38ecb21eb837d42d6422f
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 14:28:30 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-docker-libcontainer.spec b/golang-github-docker-libcontainer.spec
index a5c9a4a..e148bbb 100644
--- a/golang-github-docker-libcontainer.spec
+++ b/golang-github-docker-libcontainer.spec
@@ -1,56 +1,21 @@
-%if 0%{?fedora} || 0%{?rhel} == 6
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 1
-# some tests are failing
-%global with_check 0
-%global with_unit_test 1
-%else
-%global with_devel 0
-%global with_bundled 1
-%global with_debug 0
-%global with_check 0
-%global with_unit_test 0
-%endif
-
-%if 0%{?with_debug}
-%global _dwz_low_mem_die_limit 0
-%else
-%global debug_package %{nil}
-%endif
-
-%if ! 0%{?gobuild:1}
-%define gobuild(o:) go build -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n')" -a -v -x %{?**};
-%endif
-
-%global provider github
-%global provider_tld com
-%global project docker
-%global repo libcontainer
-# https://github.com/docker/libcontainer
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/docker/libcontainer
+%global provider_prefix github.com/docker/libcontainer
+%global gobaseipath %{provider_prefix}
%global commit c9643688cb73c2588a9c9b14357bda6c3a9df67f
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20150609
-Name: golang-github-docker-libcontainer
+%gocraftmeta -i
+
+Name: %{goname}
Version: 2.1.1
-Release: 0.14.git%{shortcommit}%{?dist}
+Release: 0.15.%{commitdate}git%{shortcommit}%{?dist}
Summary: Configuration options for containers
License: ASL 2.0
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
+URL: %{gourl}
+Source0:%{gosource}
Patch0: update-to-newer-signature-of-systemd.Conn-methods.patch
Patch1: libcontainer-fixDup3syscall.patch
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
-# Include ppc64le once updated to newer version
-ExcludeArch: ppc64 ppc64le
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
-
-%if ! 0%{?with_bundled}
BuildRequires: golang(github.com/Sirupsen/logrus)
BuildRequires: golang(github.com/codegangsta/cli) >= 1.1.0-1
BuildRequires: golang(github.com/coreos/go-systemd/dbus)
@@ -61,9 +26,6 @@ BuildRequires: golang(github.com/docker/docker/pkg/term)
BuildRequires: golang(github.com/godbus/dbus)
BuildRequires: golang(github.com/golang/protobuf/proto)
BuildRequires: golang(github.com/syndtr/gocapability/capability) >= 0-0.9
-%endif
-
-Provides: nsinit = %{version}-%{release}
%description
libcontainer specifies configuration options for what a container is. It
@@ -74,12 +36,10 @@ working with namespaces, networking, and management.
This package provides the nsinit binary as well, but it is currently for
debugging purposes only and not officially supported.
-%if 0%{?with_devel}
%package devel
Summary: Configuration options for containers
BuildArch: noarch
-%if 0%{?with_check}
BuildRequires: golang(github.com/Sirupsen/logrus)
BuildRequires: golang(github.com/coreos/go-systemd/dbus)
BuildRequires: golang(github.com/docker/docker/pkg/mount)
@@ -87,35 +47,6 @@ BuildRequires: golang(github.com/docker/docker/pkg/symlink)
BuildRequires: golang(github.com/godbus/dbus)
BuildRequires: golang(github.com/golang/protobuf/proto)
BuildRequires: golang(github.com/syndtr/gocapability/capability) >= 0-0.9
-%endif
-
-Requires: golang(github.com/Sirupsen/logrus)
-Requires: golang(github.com/coreos/go-systemd/dbus)
-Requires: golang(github.com/docker/docker/pkg/mount)
-Requires: golang(github.com/docker/docker/pkg/symlink)
-Requires: golang(github.com/godbus/dbus)
-Requires: golang(github.com/golang/protobuf/proto)
-Requires: golang(github.com/syndtr/gocapability/capability) >= 0-0.9
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path}/apparmor) = %{version}-%{release}
-Provides: golang(%{import_path}/cgroups) = %{version}-%{release}
-Provides: golang(%{import_path}/cgroups/fs) = %{version}-%{release}
-Provides: golang(%{import_path}/cgroups/systemd) = %{version}-%{release}
-Provides: golang(%{import_path}/configs) = %{version}-%{release}
-Provides: golang(%{import_path}/configs/validate) = %{version}-%{release}
-Provides: golang(%{import_path}/criurpc) = %{version}-%{release}
-Provides: golang(%{import_path}/devices) = %{version}-%{release}
-Provides: golang(%{import_path}/integration) = %{version}-%{release}
-Provides: golang(%{import_path}/label) = %{version}-%{release}
-Provides: golang(%{import_path}/netlink) = %{version}-%{release}
-Provides: golang(%{import_path}/nsenter) = %{version}-%{release}
-Provides: golang(%{import_path}/selinux) = %{version}-%{release}
-Provides: golang(%{import_path}/stacktrace) = %{version}-%{release}
-Provides: golang(%{import_path}/system) = %{version}-%{release}
-Provides: golang(%{import_path}/user) = %{version}-%{release}
-Provides: golang(%{import_path}/utils) = %{version}-%{release}
-Provides: golang(%{import_path}/xattr) = %{version}-%{release}
%description devel
libcontainer specifies configuration options for what a container is. It
@@ -125,109 +56,25 @@ working with namespaces, networking, and management.
This package contains library source intended for building other packages
which use libcontainer.
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package unit-test-devel
-Summary: Unit tests for %{name} package
-%if 0%{?with_check}
-#Here comes all BuildRequires: PACKAGE the unit tests
-#in %%check section need for running
-%endif
-
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%if 0%{?with_check} && ! 0%{?with_bundled}
-%endif
-
-%description unit-test-devel
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
%prep
-%setup -q -n %{repo}-%{commit}
-%if ! 0%{?with_bundled}
+%gosetup
%patch0 -p1
%patch1 -p1 -b .dup3
-%endif
%build
-mkdir -p src/github.com/docker
-ln -s ../../../ src/github.com/docker/libcontainer
-
-%if ! 0%{?with_bundled}
-export GOPATH=$(pwd):%{gopath}
-%else
-export GOPATH=$(pwd):$(pwd)/vendor:%{gopath}
-%endif
-
-%gobuild -o bin/nsinit %{import_path}/nsinit
+%gobuildroot
+%gobuild -o _bin/nsinit %{gobaseipath}/nsinit
%install
# Install nsinit
install -d %{buildroot}%{_bindir}
-install -p -m 755 bin/nsinit %{buildroot}%{_bindir}/nsinit
-
-# source codes for building projects
-%if 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list
-# find all *.go but no *_test.go files and generate devel.file-list
-for file in $(find . -iname "*.go" \! -iname "*_test.go" | egrep -v "./vendor/src") ; do
- echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list
-done
-%endif
-
-# testing files for this project
-%if 0%{?with_unit_test} && 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-# find all *_test.go files and generate unit-test-devel.file-list
-for file in $(find . -iname "*_test.go" | egrep -v "./vendor/src") ; do
- echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test-devel.file-list
-done
-%endif
-
-%if 0%{?with_devel}
-sort -u -o devel.file-list devel.file-list
-%endif
+install -p -m 755 _bin/nsinit %{buildroot}%{_bindir}/nsinit
+
+%goinstall sample_configs
%check
-%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel}
-%if ! 0%{?with_bundled}
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-%else
-export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
-%endif
-
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-
-%gotest %{import_path}
-%gotest %{import_path}/cgroups
-%gotest %{import_path}/cgroups/fs
-%gotest %{import_path}/configs
-%gotest %{import_path}/devices
-%gotest %{import_path}/integration
-%gotest %{import_path}/label
-%gotest %{import_path}/netlink
-%gotest %{import_path}/nsenter
-%gotest %{import_path}/selinux
-%gotest %{import_path}/stacktrace
-%gotest %{import_path}/user
-%gotest %{import_path}/utils
-%gotest %{import_path}/xattr
-%endif
+%gochecks %{gobaseipath} %{gobaseipath}/{integration,devices,netlink,nsenter}
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
@@ -238,20 +85,14 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
%doc PRINCIPLES.md README.md ROADMAP.md
%{_bindir}/nsinit
-%if 0%{?with_devel}
%files devel -f devel.file-list
%license LICENSE
%doc ROADMAP.md PRINCIPLES.md MAINTAINERS_GUIDE.md CONTRIBUTING.md README.md SPEC.md
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%files unit-test-devel -f unit-test-devel.file-list
-%license LICENSE
-%doc ROADMAP.md PRINCIPLES.md MAINTAINERS_GUIDE.md CONTRIBUTING.md README.md SPEC.md
-%endif
%changelog
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 2.1.1-0.15.20150609gitc964368
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.1.1-0.14.gitc964368
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6 years, 2 months
Architecture specific change in rpms/golang-github-docker-spdystream.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-docker-spdystream.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/golang-github-docker-spdystream.g....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit fe9a1de58f359676b8f5608da950e8ace5d27a42
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 14:36:30 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-docker-spdystream.spec b/golang-github-docker-spdystream.spec
index ab5e0d9..f046f43 100644
--- a/golang-github-docker-spdystream.spec
+++ b/golang-github-docker-spdystream.spec
@@ -1,163 +1,56 @@
-%if 0%{?fedora} || 0%{?rhel} == 6
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-%global with_check 1
-%global with_unit_test 1
-%else
-%global with_devel 0
-%global with_bundled 0
-%global with_debug 0
-%global with_check 0
-%global with_unit_test 0
-%endif
-
-%if 0%{?with_debug}
-%global _dwz_low_mem_die_limit 0
-%else
-%global debug_package %{nil}
-%endif
-
-%global provider github
-%global provider_tld com
-%global project docker
-%global repo spdystream
-# https://github.com/docker/spdystream
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/docker/spdystream
+%global provider_prefix github.com/docker/spdystream
+%global gobaseipath %{provider_prefix}
%global commit b2c3287865f3ad6aa22821ddb7b4692b896ac207
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20150615
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0
-Release: 0.15.git%{shortcommit}%{?dist}
+Release: 0.16.%{commitdate}git%{shortcommit}%{?dist}
Summary: A multiplexed stream library using spdy
License: ASL 2.0
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-
-# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
+URL: %{gourl}
+Source0: %{gosource}
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
BuildRequires: golang(github.com/gorilla/websocket)
-%endif
-
-Requires: golang(github.com/gorilla/websocket)
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path}/spdy) = %{version}-%{release}
-Provides: golang(%{import_path}/ws) = %{version}-%{release}
%description devel
%{summary}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%package unit-test
-Summary: Unit tests for %{name} package
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
-
-%if 0%{?with_check}
-#Here comes all BuildRequires: PACKAGE the unit tests
-#in %%check section need for running
-%endif
-
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-
-%description unit-test
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{gobaseipath} prefix.
%prep
-%setup -q -n %{repo}-%{commit}
-
-%build
+%gosetup
%install
-# source codes for building projects
-%if 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list
-# find all *.go but no *_test.go files and generate devel.file-list
-for file in $(find . -iname "*.go" \! -iname "*_test.go") ; do
- echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list
-done
-%endif
-
-# testing files for this project
-%if 0%{?with_unit_test} && 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-# find all *_test.go files and generate unit-test.file-list
-for file in $(find . -iname "*_test.go"); do
- echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file
- echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test.file-list
-done
-%endif
-
-%if 0%{?with_devel}
-sort -u -o devel.file-list devel.file-list
-%endif
+%goinstall
%check
-%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel}
-%if ! 0%{?with_bundled}
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-%else
-export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
-%endif
-
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-
-%gotest %{import_path}
-%gotest %{import_path}/spdy
-# NoAuthHandler removed by upstream -> test fails
-#%gotest %{import_path}/ws
-%endif
+# Fatalf format %s reads arg #1, but call has only 0 args
+%gochecks %{gobaseipath} %{gobaseipath}/ws
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
-%if 0%{?with_devel}
%files devel -f devel.file-list
%license LICENSE
%doc README.md CONTRIBUTING.md
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%files unit-test -f unit-test.file-list
-%license LICENSE
-%doc README.md CONTRIBUTING.md
-%endif
%changelog
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.16.20150615gitb2c3287
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.15.gitb2c3287
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6 years, 2 months
Architecture specific change in rpms/glibc.git
by githook-noreply@fedoraproject.org
The package rpms/glibc.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/glibc.git/commit/?id=081ef32d632f....
Change:
-%ifnarch %{arm} riscv64
Thanks.
Full change:
============
commit d92633e7a991fbc7c17cb1a4f1c3760bc1fb0677
Author: Florian Weimer <fweimer(a)redhat.com>
Date: Wed Feb 28 12:40:44 2018 +0100
Update release and changelog
diff --git a/glibc.spec b/glibc.spec
index b331b75..dbe07b3 100644
--- a/glibc.spec
+++ b/glibc.spec
@@ -1,6 +1,6 @@
%define glibcsrcdir glibc-2.27-5-g56170e064e
%define glibcversion 2.27
-%define glibcrelease 4%{?dist}
+%define glibcrelease 5%{?dist}
# Pre-release tarballs are pulled in from git using a command that is
# effectively:
#
@@ -1933,6 +1933,9 @@ fi
%endif
%changelog
+* Wed Feb 28 2018 Florian Weimer <fweimer(a)redhat.com> - 2.27-5
+- Inherit as many flags as possible from redhat-rpm-config
+
* Mon Feb 19 2018 Richard W.M. Jones <rjones(a)redhat.com> - 2.27-4
- riscv64: Add symlink from /usr/lib64/lp64d -> /usr/lib64 for ABI compat.
- riscv64: Disable valgrind smoke test on this architecture.
commit 081ef32d632f5a55f913586d9b3175a2a5aa57ec
Author: Florian Weimer <fweimer(a)redhat.com>
Date: Wed Feb 28 12:40:17 2018 +0100
Inherit as many flags as possible from redhat-rpm-config
diff --git a/glibc.spec b/glibc.spec
index b1b9c2c..b331b75 100644
--- a/glibc.spec
+++ b/glibc.spec
@@ -791,98 +791,38 @@ df
GCC=gcc
GXX=g++
-##############################################################################
-# %%build - x86 options.
-##############################################################################
-# On x86 we build for the specific target cpu rpm is using.
-%ifarch %{ix86}
-BuildFlags="-march=%{_target_cpu} -mtune=generic"
-%endif
-# We don't support building for i386. The generic i386 architecture lacks the
-# atomic primitives required for NPTL support. However, when a user asks to
-# build for i386 we interpret that as "for whatever works on x86" and we
-# select i686. Thus we treat i386 as an alias for i686.
-%ifarch i386 i686
-BuildFlags="-march=i686 -mtune=generic"
-%endif
-%ifarch i486 i586
-BuildFlags="$BuildFlags -mno-tls-direct-seg-refs"
-%endif
-%ifarch x86_64
-BuildFlags="-mtune=generic"
-%endif
-
-##############################################################################
-# %%build - s390 options.
-##############################################################################
-# The default is to tune for z13 (newer hardware), but build for zEC12.
-%ifarch s390x
-BuildFlags="-march=zEC12 -mtune=z13"
-%endif
-%ifarch s390
-BuildFlags="-march=zEC12 -mtune=z13"
-GCC="$GCC -m31"
-GXX="$GXX -m31"
-%endif
+# True if the compiler flag in the first argument is listed in
+# redhat-rpm-config.
+rpm_has_compiler_flag ()
+{
+ echo " $RPM_OPT_FLAGS $RPM_LD_FLAGS " | grep -q -F " $1 "
+}
-##############################################################################
-# %%build - SPARC options.
-##############################################################################
-%ifarch sparc
-BuildFlags="-fcall-used-g6"
-GCC="$GCC -m32"
-GXX="$GXX -m32"
-%endif
-%ifarch sparcv9
-BuildFlags="-mcpu=ultrasparc -fcall-used-g6"
-GCC="$GCC -m32"
-GXX="$GXX -m32"
-%endif
-%ifarch sparcv9v
-BuildFlags="-mcpu=niagara -fcall-used-g6"
-GCC="$GCC -m32"
-GXX="$GXX -m32"
-%endif
-%ifarch sparc64
-BuildFlags="-mcpu=ultrasparc -mvis -fcall-used-g6"
-GCC="$GCC -m64"
-GXX="$GXX -m64"
-%endif
-%ifarch sparc64v
-BuildFlags="-mcpu=niagara -mvis -fcall-used-g6"
-GCC="$GCC -m64"
-GXX="$GXX -m64"
-%endif
+# Propagates the listed flags to BuildFlags if supplied by redhat-rpm-config.
+BuildFlags="-O2 -g"
+rpm_inherit_flags ()
+{
+ local flag
+ for flag in "$@" ; do
+ if rpm_has_compiler_flag "$flag" ; then
+ BuildFlags="$BuildFlags $flag"
+ fi
+ done
+}
-##############################################################################
-# %%build - POWER options.
-##############################################################################
-%ifarch %{power64}
-BuildFlags=""
-GCC="$GCC -m64"
-GXX="$GXX -m64"
-%ifarch ppc64p7
-GCC="$GCC -mcpu=power7 -mtune=power7"
-GXX="$GXX -mcpu=power7 -mtune=power7"
-core_with_options="--with-cpu=power7"
-%endif
-%ifarch ppc64le
-GCC="$GCC -mcpu=power8 -mtune=power8"
-GXX="$GXX -mcpu=power8 -mtune=power8"
-core_with_options="--with-cpu=power8"
-%endif
-%endif
+# Propgate select compiler flags from redhat-rpm-config. These flags
+# are target-dependent, so we use only those which are specified in
+# redhat-rpm-config. We do not replicate the -march=/-mtune=
+# selection here because these match the defaults compiled into GCC.
+# We keep the -m32/-m32/-m64 flags to support multilib builds.
-##############################################################################
-# %%build - MIPS options.
-##############################################################################
-%ifarch mips mipsel
-BuildFlags="-march=mips32r2 -mfpxx"
-%endif
-%ifarch mips64 mips64el
-# Without -mrelax-pic-calls ld.so segfaults when built with -O3
-BuildFlags="-march=mips64r2 -mabi=64 -mrelax-pic-calls"
-%endif
+rpm_inherit_flags \
+ "-fasynchronous-unwind-tables" \
+ "-fstack-clash-protection" \
+ "-funwind-tables" \
+ "-m31" \
+ "-m32" \
+ "-m64" \
##############################################################################
# %%build - Generic options.
@@ -901,19 +841,12 @@ echo "$GCC" > Gcc
##############################################################################
build()
{
- builddir=build-%{target}${1:+-$1}
+ local builddir=build-%{target}${1:+-$1}
${1+shift}
rm -rf $builddir
mkdir $builddir
pushd $builddir
- build_CFLAGS="$BuildFlags -g -O2 $*"
-%ifnarch %{arm} riscv64
- build_CFLAGS="$build_CFLAGS -fstack-clash-protection"
-%endif
- # Some configure checks can spuriously fail for some architectures if
- # unwind info is present
- configure_CFLAGS="$build_CFLAGS -fno-asynchronous-unwind-tables"
- ../configure CC="$GCC" CXX="$GXX" CFLAGS="$configure_CFLAGS" \
+ ../configure CC="$GCC" CXX="$GXX" CFLAGS="$BuildFlags $*" \
--prefix=%{_prefix} \
--with-headers=%{_prefix}/include $EnableKernel \
--enable-bind-now \
@@ -938,7 +871,7 @@ build()
--disable-nss-crypt ||
{ cat config.log; false; }
- make %{?_smp_mflags} -O -r CFLAGS="$build_CFLAGS"
+ make %{?_smp_mflags} -O -r
popd
}
6 years, 2 months