Architecture specific change in rpms/golang-github-spf13-pflag.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-spf13-pflag.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-spf13-pflag.git/com....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit d3308ea8c2e59c8f7863fba9569a828e133c9e54
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Mon Mar 5 17:28:25 2018 +0100
Update to spec 3.0
diff --git a/.gitignore b/.gitignore
index 9a95939..9422f82 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
-/pflag-c7e63cf.tar.gz
-/pflag-e57e3ee.tar.gz
+/pflag-e57e3eeb33f795204c1ca35f56c44f83227c6e66.tar.gz
diff --git a/golang-github-spf13-pflag.spec b/golang-github-spf13-pflag.spec
index 60097f4..3989913 100644
--- a/golang-github-spf13-pflag.spec
+++ b/golang-github-spf13-pflag.spec
@@ -1,13 +1,12 @@
# http://github.com/spf13/pflag
-%global provider_prefix github.com/spf13/pflag
-%global gobaseipath %{provider_prefix}
+%global goipath github.com/spf13/pflag
%global commit e57e3eeb33f795204c1ca35f56c44f83227c6e66
-%gocraftmeta -i
+%gometa -i
Name: %{goname}
Version: 1.0.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Replacement for Go's flag package
License: ASL 2.0
URL: %{gourl}
@@ -41,7 +40,7 @@ which can be found in the LICENSE file.
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
%gosetup
@@ -60,6 +59,9 @@ building other packages which use import path with
%doc README.md
%changelog
+* Mon Mar 05 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 1.0.0-3.gite57e3ee
+- Update to spec 3.0
+
* Fri Mar 02 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 1.0.0-2
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index 7243b12..5b67109 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pflag-e57e3ee.tar.gz) = c05ef1bc05cba471a55a11a2209fe4bdaaba491434a28b7f08d23528f4074b82a656b62972efdd49384dd49bde429d2d2c0e6ba311cae0d23f55b229b768dae8
+SHA512 (pflag-e57e3eeb33f795204c1ca35f56c44f83227c6e66.tar.gz) = c05ef1bc05cba471a55a11a2209fe4bdaaba491434a28b7f08d23528f4074b82a656b62972efdd49384dd49bde429d2d2c0e6ba311cae0d23f55b229b768dae8
commit 8adea6297b279eb1405db4521a64267264362746
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Fri Mar 2 10:33:56 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-spf13-pflag.spec b/golang-github-spf13-pflag.spec
index f11b7e4..60097f4 100644
--- a/golang-github-spf13-pflag.spec
+++ b/golang-github-spf13-pflag.spec
@@ -1,58 +1,17 @@
-# If any of the following macros should be set otherwise,
-# you can wrap any of them with the following conditions:
-# - %%if 0%%{centos} == 7
-# - %%if 0%%{?rhel} == 7
-# - %%if 0%%{?fedora} == 23
-# Or just test for particular distribution:
-# - %%if 0%%{centos}
-# - %%if 0%%{?rhel}
-# - %%if 0%%{?fedora}
-#
-# Be aware, on centos, both %%rhel and %%centos are set. If you want to test
-# rhel specific macros, you can use %%if 0%%{?rhel} && 0%%{?centos} == 0 condition.
-# (Don't forget to replace double percentage symbol with single one in order to apply a condition)
-
-# Generate devel rpm
-%global with_devel 1
-# Build project from bundled dependencies
-%global with_bundled 0
-# Build with debug info rpm
-%global with_debug 0
-# Run tests in check section
-# the test (using github.com/ogier/pflag or patching the deps to spf13/pflag
-# still fails, no test -> no deps on ogier so far
-%global with_check 0
-# Generate unit-test rpm
-%global with_unit_test 1
-
-%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 spf13
-%global repo pflag
-# https://github.com/spf13/pflag
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/spf13/pflag
+%global provider_prefix github.com/spf13/pflag
+%global gobaseipath %{provider_prefix}
%global commit e57e3eeb33f795204c1ca35f56c44f83227c6e66
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 1.0.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Replacement for Go's flag package
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 aarch64 %{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
pflag is a drop-in replacement for Go's flag package,
@@ -65,17 +24,10 @@ see the "Command-line flag syntax" section below.
pflag is available under the same style of BSD license as the Go language,
which can be found in the LICENSE file.
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
-%endif
-
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-
%description devel
pflag is a drop-in replacement for Go's flag package,
implementing POSIX/GNU-style --flags.
@@ -89,89 +41,28 @@ which can be found in the LICENSE file.
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test}
-%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
-%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}/
-# find all *.go but no *_test.go files and generate devel.file-list
-for file in $(find . -iname "*.go" \! -iname "*_test.go") ; do
- 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}
-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
- 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
+%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}
-%dir %{gopath}/src/%{import_path}
-%endif
-
-%if 0%{?with_unit_test}
-%files unit-test -f unit-test.file-list
-%license LICENSE
-%doc README.md
-%endif
%changelog
+* Fri Mar 02 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 1.0.0-2
+- Autogenerate some parts using the new macros
+
* Wed Feb 21 2018 Kaushal <kshlster(a)gmail.com> - 1.0.0-1
- Update to upstream v1.0.0
commit c7bf3749cea1697fde065dfaded915c66bbe98cc
Author: Kaushal M <kshlmster(a)gmail.com>
Date: Tue Feb 27 08:27:53 2018 +0000
Update to upstream v1.0.0
diff --git a/.gitignore b/.gitignore
index 1d7420f..9a95939 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/pflag-c7e63cf.tar.gz
+/pflag-e57e3ee.tar.gz
diff --git a/golang-github-spf13-pflag.spec b/golang-github-spf13-pflag.spec
index dfb3afa..f11b7e4 100644
--- a/golang-github-spf13-pflag.spec
+++ b/golang-github-spf13-pflag.spec
@@ -38,12 +38,12 @@
# https://github.com/spf13/pflag
%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
%global import_path %{provider_prefix}
-%global commit c7e63cf4530bcd3ba943729cee0efeff2ebea63f
+%global commit e57e3eeb33f795204c1ca35f56c44f83227c6e66
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: golang-%{provider}-%{project}-%{repo}
-Version: 0
-Release: 0.20.git%{shortcommit}%{?dist}
+Version: 1.0.0
+Release: 1%{?dist}
Summary: Replacement for Go's flag package
License: ASL 2.0
URL: https://%{provider_prefix}
@@ -172,6 +172,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
%endif
%changelog
+* Wed Feb 21 2018 Kaushal <kshlster(a)gmail.com> - 1.0.0-1
+- Update to upstream v1.0.0
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.20.gitc7e63cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
diff --git a/sources b/sources
index d1801f2..7243b12 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pflag-c7e63cf.tar.gz) = 3d67557d2029ea09653717c895352a043e9d32b60a7cdf679ae1e072c0846d4cdeba1770c4b24a4818a6c581ddacf70875891c776ed013f5f46c970dc7d7f4c3
+SHA512 (pflag-e57e3ee.tar.gz) = c05ef1bc05cba471a55a11a2209fe4bdaaba491434a28b7f08d23528f4074b82a656b62972efdd49384dd49bde429d2d2c0e6ba311cae0d23f55b229b768dae8
commit c32cf61254ad327926316472e6e5f485f7fd0ff5
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 14:55:10 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/golang-github-spf13-pflag.spec b/golang-github-spf13-pflag.spec
index ef010c8..dfb3afa 100644
--- a/golang-github-spf13-pflag.spec
+++ b/golang-github-spf13-pflag.spec
@@ -43,7 +43,7 @@
Name: golang-%{provider}-%{project}-%{repo}
Version: 0
-Release: 0.19.git%{shortcommit}%{?dist}
+Release: 0.20.git%{shortcommit}%{?dist}
Summary: Replacement for Go's flag package
License: ASL 2.0
URL: https://%{provider_prefix}
@@ -172,6 +172,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
%endif
%changelog
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.20.gitc7e63cf
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.19.gitc7e63cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
6 years, 3 months
Architecture specific change in rpms/golang-github-spf13-cobra.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-spf13-cobra.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-spf13-cobra.git/com....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 0b46c03b214437ccc539e6a64013fa21e77217dd
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Mon Mar 5 16:51:39 2018 +0100
Update to spec 3.0
diff --git a/.gitignore b/.gitignore
index 00e5706..e0942af 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
-/cobra-8e91712.tar.gz
-/cobra-7b2c5ac.tar.gz
+/cobra-7b2c5ac9fc04fc5efafb60700713d4fa609b777b.tar.gz
diff --git a/golang-github-spf13-cobra.spec b/golang-github-spf13-cobra.spec
index 325e7d1..bfd7d05 100644
--- a/golang-github-spf13-cobra.spec
+++ b/golang-github-spf13-cobra.spec
@@ -1,13 +1,12 @@
# http://github.com/spf13/cobra
-%global provider_prefix github.com/spf13/cobra
-%global gobaseipath %{provider_prefix}
+%global goipath github.com/spf13/cobra
%global commit 7b2c5ac9fc04fc5efafb60700713d4fa609b777b
-%gocraftmeta -i
+%gometa -i
Name: %{goname}
Version: 0.0.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A Commander for modern go CLI interactions
License: ASL 2.0
URL: %{gourl}
@@ -45,7 +44,7 @@ for any or all commands.
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
%gosetup
@@ -54,7 +53,7 @@ building other packages which use import path with
%goinstall
%check
-%gochecks %{gobaseipath} %{gobaseipath}/cobra/cmd
+%gochecks -d . -d cobra/cmd
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
@@ -64,6 +63,9 @@ building other packages which use import path with
%doc bash_completions.md README.md
%changelog
+* Mon Mar 05 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0.0.1-3.git7b2c5ac
+- Update to spec 3.0
+
* Fri Mar 02 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0.0.1-2
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index ef41ecb..5f4fbf7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cobra-7b2c5ac.tar.gz) = 5618be996d70382efa9a84d0d06fe866b0fc955ea79240f37132588d0f793988ed4ed1584e716d2644a774d5b4e0e80b77a04d8740cab313107929eb413e25c2
+SHA512 (cobra-7b2c5ac9fc04fc5efafb60700713d4fa609b777b.tar.gz) = 5618be996d70382efa9a84d0d06fe866b0fc955ea79240f37132588d0f793988ed4ed1584e716d2644a774d5b4e0e80b77a04d8740cab313107929eb413e25c2
commit a8ea6aa028a1472be502cdb18e9fd4abf6a28c66
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Fri Mar 2 11:51:48 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-spf13-cobra.spec b/golang-github-spf13-cobra.spec
index 27f9365..325e7d1 100644
--- a/golang-github-spf13-cobra.spec
+++ b/golang-github-spf13-cobra.spec
@@ -1,46 +1,17 @@
-%if 0%{?fedora} || 0%{?rhel} == 6
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-# TestNormConsistent fails for no apparant reason
-%global with_check 0
-%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 spf13
-%global repo cobra
-# https://github.com/spf13/cobra
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/spf13/cobra
+%global provider_prefix github.com/spf13/cobra
+%global gobaseipath %{provider_prefix}
%global commit 7b2c5ac9fc04fc5efafb60700713d4fa609b777b
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0.0.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A Commander for modern go CLI interactions
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
Cobra is a commander providing a simple interface to create powerful modern
@@ -53,24 +24,13 @@ by providing fully posix compliant flags (including short & long versions),
nesting commands, and the ability to define your own help and usage
for any or all commands.
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
BuildRequires: golang(github.com/cpuguy83/go-md2man/md2man)
BuildRequires: golang(github.com/spf13/pflag)
BuildRequires: golang(github.com/spf13/viper)
-%endif
-
-Requires: golang(github.com/cpuguy83/go-md2man/md2man)
-Requires: golang(github.com/spf13/pflag)
-Requires: golang(github.com/spf13/viper)
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path}/cobra/cmd) = %{version}-%{release}
-Provides: golang(%{import_path}/doc) = %{version}-%{release}
%description devel
Cobra is a commander providing a simple interface to create powerful modern
@@ -85,90 +45,28 @@ for any or all commands.
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test}
-%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
-%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
- 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}
-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
- 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
+%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
-
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-%gotest %{import_path}
-%endif
+%gochecks %{gobaseipath} %{gobaseipath}/cobra/cmd
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
-%if 0%{?with_devel}
%files devel -f devel.file-list
%license LICENSE.txt
%doc bash_completions.md README.md
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%endif
-
-%if 0%{?with_unit_test}
-%files unit-test -f unit-test.file-list
-%license LICENSE.txt
-%doc bash_completions.md README.md
-%endif
%changelog
+* Fri Mar 02 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0.0.1-2
+- Autogenerate some parts using the new macros
+
* Wed Feb 21 2018 Kaushal <kshlmster(a)gmail.com> - 0.0.1-1
- Update to upstream v0.0.1
commit 8c0544eb4cff9a6bb80bc81e67499873a3a2903b
Author: Kaushal M <kshlmster(a)gmail.com>
Date: Tue Feb 27 08:34:12 2018 +0000
Update to upstream v0.0.1
diff --git a/.gitignore b/.gitignore
index bacc813..00e5706 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/cobra-8e91712.tar.gz
+/cobra-7b2c5ac.tar.gz
diff --git a/Remove-Windows-related-code.patch b/Remove-Windows-related-code.patch
deleted file mode 100644
index 87a2a4b..0000000
--- a/Remove-Windows-related-code.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From 6a4709fac64f066d870f921e41a49fbfe96e8a84 Mon Sep 17 00:00:00 2001
-From: Jan Chaloupka <jchaloup(a)redhat.com>
-Date: Sun, 6 Mar 2016 20:58:17 +0100
-Subject: [PATCH] remove windows related code
-
----
- command_win.go | 26 --------------------------
- 1 file changed, 26 deletions(-)
- delete mode 100644 command_win.go
-
-diff --git a/command_win.go b/command_win.go
-deleted file mode 100644
-index 4b0eaa1..0000000
---- a/command_win.go
-+++ /dev/null
-@@ -1,26 +0,0 @@
--// +build windows
--
--package cobra
--
--import (
-- "os"
-- "time"
--
-- "github.com/inconshreveable/mousetrap"
--)
--
--var preExecHookFn = preExecHook
--
--// enables an information splash screen on Windows if the CLI is started from explorer.exe.
--var MousetrapHelpText string = `This is a command line tool
--
--You need to open cmd.exe and run it from there.
--`
--
--func preExecHook(c *Command) {
-- if mousetrap.StartedByExplorer() {
-- c.Print(MousetrapHelpText)
-- time.Sleep(5 * time.Second)
-- os.Exit(1)
-- }
--}
---
-1.9.3
-
diff --git a/golang-github-spf13-cobra.spec b/golang-github-spf13-cobra.spec
index 72cf1df..27f9365 100644
--- a/golang-github-spf13-cobra.spec
+++ b/golang-github-spf13-cobra.spec
@@ -2,7 +2,8 @@
%global with_devel 1
%global with_bundled 0
%global with_debug 0
-%global with_check 1
+# TestNormConsistent fails for no apparant reason
+%global with_check 0
%global with_unit_test 1
%else
%global with_devel 0
@@ -25,17 +26,16 @@
# https://github.com/spf13/cobra
%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
%global import_path %{provider_prefix}
-%global commit 8e91712f174ced10270cf66615e0a9127e7c4de5
+%global commit 7b2c5ac9fc04fc5efafb60700713d4fa609b777b
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: golang-%{provider}-%{project}-%{repo}
-Version: 0
-Release: 0.22.git%{shortcommit}%{?dist}
+Version: 0.0.1
+Release: 1%{?dist}
Summary: A Commander for modern go CLI interactions
License: ASL 2.0
URL: https://%{provider_prefix}
Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-Patch0: Remove-Windows-related-code.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}}
@@ -109,7 +109,6 @@ providing packages with %{import_path} prefix.
%prep
%setup -q -n %{repo}-%{commit}
-%patch0 -p1
%build
@@ -170,6 +169,9 @@ export GOPATH=%{buildroot}/%{gopath}:%{gopath}
%endif
%changelog
+* Wed Feb 21 2018 Kaushal <kshlmster(a)gmail.com> - 0.0.1-1
+- Update to upstream v0.0.1
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.22.git8e91712
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
diff --git a/sources b/sources
index 4841dd7..ef41ecb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a3c0db5ccab8e7b11654c8cd6f2d79b8 cobra-8e91712.tar.gz
+SHA512 (cobra-7b2c5ac.tar.gz) = 5618be996d70382efa9a84d0d06fe866b0fc955ea79240f37132588d0f793988ed4ed1584e716d2644a774d5b4e0e80b77a04d8740cab313107929eb413e25c2
6 years, 3 months
Architecture specific change in rpms/golang-github-spf13-cobra.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-spf13-cobra.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-spf13-cobra.git/com....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit 0b46c03b214437ccc539e6a64013fa21e77217dd
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Mon Mar 5 16:51:39 2018 +0100
Update to spec 3.0
diff --git a/.gitignore b/.gitignore
index 00e5706..e0942af 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
-/cobra-8e91712.tar.gz
-/cobra-7b2c5ac.tar.gz
+/cobra-7b2c5ac9fc04fc5efafb60700713d4fa609b777b.tar.gz
diff --git a/golang-github-spf13-cobra.spec b/golang-github-spf13-cobra.spec
index 325e7d1..bfd7d05 100644
--- a/golang-github-spf13-cobra.spec
+++ b/golang-github-spf13-cobra.spec
@@ -1,13 +1,12 @@
# http://github.com/spf13/cobra
-%global provider_prefix github.com/spf13/cobra
-%global gobaseipath %{provider_prefix}
+%global goipath github.com/spf13/cobra
%global commit 7b2c5ac9fc04fc5efafb60700713d4fa609b777b
-%gocraftmeta -i
+%gometa -i
Name: %{goname}
Version: 0.0.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A Commander for modern go CLI interactions
License: ASL 2.0
URL: %{gourl}
@@ -45,7 +44,7 @@ for any or all commands.
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
%gosetup
@@ -54,7 +53,7 @@ building other packages which use import path with
%goinstall
%check
-%gochecks %{gobaseipath} %{gobaseipath}/cobra/cmd
+%gochecks -d . -d cobra/cmd
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
@@ -64,6 +63,9 @@ building other packages which use import path with
%doc bash_completions.md README.md
%changelog
+* Mon Mar 05 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0.0.1-3.git7b2c5ac
+- Update to spec 3.0
+
* Fri Mar 02 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0.0.1-2
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index ef41ecb..5f4fbf7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cobra-7b2c5ac.tar.gz) = 5618be996d70382efa9a84d0d06fe866b0fc955ea79240f37132588d0f793988ed4ed1584e716d2644a774d5b4e0e80b77a04d8740cab313107929eb413e25c2
+SHA512 (cobra-7b2c5ac9fc04fc5efafb60700713d4fa609b777b.tar.gz) = 5618be996d70382efa9a84d0d06fe866b0fc955ea79240f37132588d0f793988ed4ed1584e716d2644a774d5b4e0e80b77a04d8740cab313107929eb413e25c2
commit a8ea6aa028a1472be502cdb18e9fd4abf6a28c66
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Fri Mar 2 11:51:48 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-spf13-cobra.spec b/golang-github-spf13-cobra.spec
index 27f9365..325e7d1 100644
--- a/golang-github-spf13-cobra.spec
+++ b/golang-github-spf13-cobra.spec
@@ -1,46 +1,17 @@
-%if 0%{?fedora} || 0%{?rhel} == 6
-%global with_devel 1
-%global with_bundled 0
-%global with_debug 0
-# TestNormConsistent fails for no apparant reason
-%global with_check 0
-%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 spf13
-%global repo cobra
-# https://github.com/spf13/cobra
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+# http://github.com/spf13/cobra
+%global provider_prefix github.com/spf13/cobra
+%global gobaseipath %{provider_prefix}
%global commit 7b2c5ac9fc04fc5efafb60700713d4fa609b777b
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-Name: golang-%{provider}-%{project}-%{repo}
+%gocraftmeta -i
+
+Name: %{goname}
Version: 0.0.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A Commander for modern go CLI interactions
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
Cobra is a commander providing a simple interface to create powerful modern
@@ -53,24 +24,13 @@ by providing fully posix compliant flags (including short & long versions),
nesting commands, and the ability to define your own help and usage
for any or all commands.
-%if 0%{?with_devel}
%package devel
Summary: %{summary}
BuildArch: noarch
-%if 0%{?with_check}
BuildRequires: golang(github.com/cpuguy83/go-md2man/md2man)
BuildRequires: golang(github.com/spf13/pflag)
BuildRequires: golang(github.com/spf13/viper)
-%endif
-
-Requires: golang(github.com/cpuguy83/go-md2man/md2man)
-Requires: golang(github.com/spf13/pflag)
-Requires: golang(github.com/spf13/viper)
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path}/cobra/cmd) = %{version}-%{release}
-Provides: golang(%{import_path}/doc) = %{version}-%{release}
%description devel
Cobra is a commander providing a simple interface to create powerful modern
@@ -85,90 +45,28 @@ for any or all commands.
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
-
-%if 0%{?with_unit_test}
-%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
-%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
- 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}
-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
- 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
+%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
-
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-%gotest %{import_path}
-%endif
+%gochecks %{gobaseipath} %{gobaseipath}/cobra/cmd
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
-%if 0%{?with_devel}
%files devel -f devel.file-list
%license LICENSE.txt
%doc bash_completions.md README.md
-%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}
-%endif
-
-%if 0%{?with_unit_test}
-%files unit-test -f unit-test.file-list
-%license LICENSE.txt
-%doc bash_completions.md README.md
-%endif
%changelog
+* Fri Mar 02 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0.0.1-2
+- Autogenerate some parts using the new macros
+
* Wed Feb 21 2018 Kaushal <kshlmster(a)gmail.com> - 0.0.1-1
- Update to upstream v0.0.1
commit 8c0544eb4cff9a6bb80bc81e67499873a3a2903b
Author: Kaushal M <kshlmster(a)gmail.com>
Date: Tue Feb 27 08:34:12 2018 +0000
Update to upstream v0.0.1
diff --git a/.gitignore b/.gitignore
index bacc813..00e5706 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/cobra-8e91712.tar.gz
+/cobra-7b2c5ac.tar.gz
diff --git a/Remove-Windows-related-code.patch b/Remove-Windows-related-code.patch
deleted file mode 100644
index 87a2a4b..0000000
--- a/Remove-Windows-related-code.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From 6a4709fac64f066d870f921e41a49fbfe96e8a84 Mon Sep 17 00:00:00 2001
-From: Jan Chaloupka <jchaloup(a)redhat.com>
-Date: Sun, 6 Mar 2016 20:58:17 +0100
-Subject: [PATCH] remove windows related code
-
----
- command_win.go | 26 --------------------------
- 1 file changed, 26 deletions(-)
- delete mode 100644 command_win.go
-
-diff --git a/command_win.go b/command_win.go
-deleted file mode 100644
-index 4b0eaa1..0000000
---- a/command_win.go
-+++ /dev/null
-@@ -1,26 +0,0 @@
--// +build windows
--
--package cobra
--
--import (
-- "os"
-- "time"
--
-- "github.com/inconshreveable/mousetrap"
--)
--
--var preExecHookFn = preExecHook
--
--// enables an information splash screen on Windows if the CLI is started from explorer.exe.
--var MousetrapHelpText string = `This is a command line tool
--
--You need to open cmd.exe and run it from there.
--`
--
--func preExecHook(c *Command) {
-- if mousetrap.StartedByExplorer() {
-- c.Print(MousetrapHelpText)
-- time.Sleep(5 * time.Second)
-- os.Exit(1)
-- }
--}
---
-1.9.3
-
diff --git a/golang-github-spf13-cobra.spec b/golang-github-spf13-cobra.spec
index 72cf1df..27f9365 100644
--- a/golang-github-spf13-cobra.spec
+++ b/golang-github-spf13-cobra.spec
@@ -2,7 +2,8 @@
%global with_devel 1
%global with_bundled 0
%global with_debug 0
-%global with_check 1
+# TestNormConsistent fails for no apparant reason
+%global with_check 0
%global with_unit_test 1
%else
%global with_devel 0
@@ -25,17 +26,16 @@
# https://github.com/spf13/cobra
%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
%global import_path %{provider_prefix}
-%global commit 8e91712f174ced10270cf66615e0a9127e7c4de5
+%global commit 7b2c5ac9fc04fc5efafb60700713d4fa609b777b
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: golang-%{provider}-%{project}-%{repo}
-Version: 0
-Release: 0.22.git%{shortcommit}%{?dist}
+Version: 0.0.1
+Release: 1%{?dist}
Summary: A Commander for modern go CLI interactions
License: ASL 2.0
URL: https://%{provider_prefix}
Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-Patch0: Remove-Windows-related-code.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}}
@@ -109,7 +109,6 @@ providing packages with %{import_path} prefix.
%prep
%setup -q -n %{repo}-%{commit}
-%patch0 -p1
%build
@@ -170,6 +169,9 @@ export GOPATH=%{buildroot}/%{gopath}:%{gopath}
%endif
%changelog
+* Wed Feb 21 2018 Kaushal <kshlmster(a)gmail.com> - 0.0.1-1
+- Update to upstream v0.0.1
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.22.git8e91712
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
diff --git a/sources b/sources
index 4841dd7..ef41ecb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a3c0db5ccab8e7b11654c8cd6f2d79b8 cobra-8e91712.tar.gz
+SHA512 (cobra-7b2c5ac.tar.gz) = 5618be996d70382efa9a84d0d06fe866b0fc955ea79240f37132588d0f793988ed4ed1584e716d2644a774d5b4e0e80b77a04d8740cab313107929eb413e25c2
commit ff169669cfad159113d4cc76a016b2c1a37fada0
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 14:54:29 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/golang-github-spf13-cobra.spec b/golang-github-spf13-cobra.spec
index d08414c..72cf1df 100644
--- a/golang-github-spf13-cobra.spec
+++ b/golang-github-spf13-cobra.spec
@@ -30,7 +30,7 @@
Name: golang-%{provider}-%{project}-%{repo}
Version: 0
-Release: 0.21.git%{shortcommit}%{?dist}
+Release: 0.22.git%{shortcommit}%{?dist}
Summary: A Commander for modern go CLI interactions
License: ASL 2.0
URL: https://%{provider_prefix}
@@ -170,6 +170,9 @@ export GOPATH=%{buildroot}/%{gopath}:%{gopath}
%endif
%changelog
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.22.git8e91712
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.21.git8e91712
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
6 years, 3 months
Architecture specific change in rpms/golang-github-golang-sys.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-golang-sys.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-golang-sys.git/comm....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit 1b6271b0dd66a9b374e8fdfda5e799e15010c3dd
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Mon Mar 5 10:04:07 2018 +0100
Re-upload tarball
diff --git a/.gitignore b/.gitignore
index 0b0b65c..2e21259 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/sys-f6cff07.tar.gz
+/sys-f6cff0780e542efa0c8e864dc8fa522808f6a598.tar.gz
diff --git a/sources b/sources
index 837423b..4d345a7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (sys-f6cff07.tar.gz) = 08dca057af826c9242dffc6fdedf64ca81826ab5ed5297fd5e6c9051d358bdbbdaf80adc944f60baac97797faa1d1119b9b0121b7920a72505cba23a66a0ccbf
+SHA512 (sys-f6cff0780e542efa0c8e864dc8fa522808f6a598.tar.gz) = 08dca057af826c9242dffc6fdedf64ca81826ab5ed5297fd5e6c9051d358bdbbdaf80adc944f60baac97797faa1d1119b9b0121b7920a72505cba23a66a0ccbf
commit 7093e495dcea19b779863ae035905492182d6aa2
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Mon Mar 5 09:52:13 2018 +0100
Update to spec 3.0
diff --git a/golang-github-golang-sys.spec b/golang-github-golang-sys.spec
index d3b145d..7ab507f 100644
--- a/golang-github-golang-sys.spec
+++ b/golang-github-golang-sys.spec
@@ -1,14 +1,13 @@
# http://github.com/golang/sys
-%global provider_prefix github.com/golang/sys
-%global gobaseipath golang.org/x/sys
+%global forgeurl https://github.com/golang/sys
+%global goipath golang.org/x/sys
%global commit f6cff0780e542efa0c8e864dc8fa522808f6a598
-%global commitdate 20170302
-%gocraftmeta -i
+%gometa -i
Name: golang-github-golang-sys
Version: 0
-Release: 0.17.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.18%{?dist}
Summary: Go packages for low-level interaction with the operating system
License: BSD
URL: %{gourl}
@@ -25,10 +24,10 @@ Summary: %{summary}
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
-%gosetup
+%forgesetup
%install
%goinstall
@@ -44,6 +43,9 @@ building other packages which use import path with
%doc CONTRIBUTING.md README.md AUTHORS CONTRIBUTORS PATENTS
%changelog
+* Mon Mar 05 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.18.gitf6cff07
+- Update to spec 3.0
+
* Fri Mar 02 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.17.20170302gitf6cff07
- Bump to upstream f6cff0780e542efa0c8e864dc8fa522808f6a598
commit 43d231c11fcdc7536ea37d07e635edce06532540
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sat Mar 3 13:13:42 2018 +0100
fix the name
diff --git a/golang-github-golang-sys.spec b/golang-github-golang-sys.spec
index 8f9d0e9..d3b145d 100644
--- a/golang-github-golang-sys.spec
+++ b/golang-github-golang-sys.spec
@@ -6,7 +6,7 @@
%gocraftmeta -i
-Name: %{goname}
+Name: golang-github-golang-sys
Version: 0
Release: 0.17.%{commitdate}git%{shortcommit}%{?dist}
Summary: Go packages for low-level interaction with the operating system
commit cf7e337289b257c6a703141490049a6f8507cf0e
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Fri Mar 2 10:09:37 2018 +0100
Bump to upstream f6cff0780e542efa0c8e864dc8fa522808f6a598
diff --git a/.gitignore b/.gitignore
index 38a9059..0b0b65c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/sys-e48874b.tar.gz
+/sys-f6cff07.tar.gz
diff --git a/golang-github-golang-sys.spec b/golang-github-golang-sys.spec
index db98585..8f9d0e9 100644
--- a/golang-github-golang-sys.spec
+++ b/golang-github-golang-sys.spec
@@ -1,14 +1,14 @@
# http://github.com/golang/sys
%global provider_prefix github.com/golang/sys
%global gobaseipath golang.org/x/sys
-%global commit e48874b42435b4347fc52bdee0424a52abc974d7
+%global commit f6cff0780e542efa0c8e864dc8fa522808f6a598
%global commitdate 20170302
%gocraftmeta -i
Name: %{goname}
Version: 0
-Release: 0.16.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.17.%{commitdate}git%{shortcommit}%{?dist}
Summary: Go packages for low-level interaction with the operating system
License: BSD
URL: %{gourl}
@@ -41,9 +41,12 @@ building other packages which use import path with
%files devel -f devel.file-list
%license LICENSE
-%doc CONTRIBUTING.md README AUTHORS CONTRIBUTORS PATENTS
+%doc CONTRIBUTING.md README.md AUTHORS CONTRIBUTORS PATENTS
%changelog
+* Fri Mar 02 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.17.20170302gitf6cff07
+- Bump to upstream f6cff0780e542efa0c8e864dc8fa522808f6a598
+
* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.16.20170302gite48874b
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index 0b003bf..837423b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (sys-e48874b.tar.gz) = e1ec2f79df8dde94f875bd43e75fa250d9ff338d40f4b24af221e67544888a50934c7c388110dd8d1c494fb3bd4e36c2a742bbda313e8ab32e25109a1c5a3157
+SHA512 (sys-f6cff07.tar.gz) = 08dca057af826c9242dffc6fdedf64ca81826ab5ed5297fd5e6c9051d358bdbbdaf80adc944f60baac97797faa1d1119b9b0121b7920a72505cba23a66a0ccbf
commit 59efe5fdf942bcdc778c2f6c64ff0d0f88caf7dd
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 16:16:27 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-golang-sys.spec b/golang-github-golang-sys.spec
index c5ff284..db98585 100644
--- a/golang-github-golang-sys.spec
+++ b/golang-github-golang-sys.spec
@@ -1,169 +1,52 @@
-# If any of the following macros should be set otherwise,
-# you can wrap any of them with the following conditions:
-# - %%if 0%%{centos} == 7
-# - %%if 0%%{?rhel} == 7
-# - %%if 0%%{?fedora} == 23
-# Or just test for particular distribution:
-# - %%if 0%%{centos}
-# - %%if 0%%{?rhel}
-# - %%if 0%%{?fedora}
-#
-# Be aware, on centos, both %%rhel and %%centos are set. If you want to test
-# rhel specific macros, you can use %%if 0%%{?rhel} && 0%%{?centos} == 0 condition.
-# (Don't forget to replace double percentage symbol with single one in order to apply a condition)
-
-# Generate devel rpm
-%global with_devel 1
-# Build project from bundled dependencies
-%global with_bundled 0
-# Build with debug info rpm
-%global with_debug 0
-# Run tests in check section
-%global with_check 1
-# Generate unit-test rpm
-%global with_unit_test 1
-
-%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 golang
-%global repo sys
-# https://github.com/golang/sys
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path golang.org/x/sys
+# http://github.com/golang/sys
+%global provider_prefix github.com/golang/sys
+%global gobaseipath golang.org/x/sys
%global commit e48874b42435b4347fc52bdee0424a52abc974d7
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20170302
-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: Go packages for low-level interaction with the operating system
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 aarch64 %{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}/unix) = %{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 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" | grep ./unix) ; 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
-for file in $(find . -iname "*.s" | grep ./unix) ; 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" | grep ./unix); 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}/unix
-%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 CONTRIBUTING.md README AUTHORS CONTRIBUTORS PATENTS
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%files unit-test -f unit-test.file-list
-%license LICENSE
-%doc CONTRIBUTING.md README AUTHORS CONTRIBUTORS PATENTS
-%endif
%changelog
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.16.20170302gite48874b
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.15.gite48874b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
@@ -217,4 +100,3 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
- First package for Fedora
resolves: #1246277
-
6 years, 3 months
Architecture specific change in rpms/golang-github-golang-sys.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-golang-sys.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-golang-sys.git/comm....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit 1b6271b0dd66a9b374e8fdfda5e799e15010c3dd
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Mon Mar 5 10:04:07 2018 +0100
Re-upload tarball
diff --git a/.gitignore b/.gitignore
index 0b0b65c..2e21259 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/sys-f6cff07.tar.gz
+/sys-f6cff0780e542efa0c8e864dc8fa522808f6a598.tar.gz
diff --git a/sources b/sources
index 837423b..4d345a7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (sys-f6cff07.tar.gz) = 08dca057af826c9242dffc6fdedf64ca81826ab5ed5297fd5e6c9051d358bdbbdaf80adc944f60baac97797faa1d1119b9b0121b7920a72505cba23a66a0ccbf
+SHA512 (sys-f6cff0780e542efa0c8e864dc8fa522808f6a598.tar.gz) = 08dca057af826c9242dffc6fdedf64ca81826ab5ed5297fd5e6c9051d358bdbbdaf80adc944f60baac97797faa1d1119b9b0121b7920a72505cba23a66a0ccbf
commit 7093e495dcea19b779863ae035905492182d6aa2
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Mon Mar 5 09:52:13 2018 +0100
Update to spec 3.0
diff --git a/golang-github-golang-sys.spec b/golang-github-golang-sys.spec
index d3b145d..7ab507f 100644
--- a/golang-github-golang-sys.spec
+++ b/golang-github-golang-sys.spec
@@ -1,14 +1,13 @@
# http://github.com/golang/sys
-%global provider_prefix github.com/golang/sys
-%global gobaseipath golang.org/x/sys
+%global forgeurl https://github.com/golang/sys
+%global goipath golang.org/x/sys
%global commit f6cff0780e542efa0c8e864dc8fa522808f6a598
-%global commitdate 20170302
-%gocraftmeta -i
+%gometa -i
Name: golang-github-golang-sys
Version: 0
-Release: 0.17.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.18%{?dist}
Summary: Go packages for low-level interaction with the operating system
License: BSD
URL: %{gourl}
@@ -25,10 +24,10 @@ Summary: %{summary}
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
-%gosetup
+%forgesetup
%install
%goinstall
@@ -44,6 +43,9 @@ building other packages which use import path with
%doc CONTRIBUTING.md README.md AUTHORS CONTRIBUTORS PATENTS
%changelog
+* Mon Mar 05 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.18.gitf6cff07
+- Update to spec 3.0
+
* Fri Mar 02 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.17.20170302gitf6cff07
- Bump to upstream f6cff0780e542efa0c8e864dc8fa522808f6a598
commit 43d231c11fcdc7536ea37d07e635edce06532540
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Sat Mar 3 13:13:42 2018 +0100
fix the name
diff --git a/golang-github-golang-sys.spec b/golang-github-golang-sys.spec
index 8f9d0e9..d3b145d 100644
--- a/golang-github-golang-sys.spec
+++ b/golang-github-golang-sys.spec
@@ -6,7 +6,7 @@
%gocraftmeta -i
-Name: %{goname}
+Name: golang-github-golang-sys
Version: 0
Release: 0.17.%{commitdate}git%{shortcommit}%{?dist}
Summary: Go packages for low-level interaction with the operating system
commit cf7e337289b257c6a703141490049a6f8507cf0e
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Fri Mar 2 10:09:37 2018 +0100
Bump to upstream f6cff0780e542efa0c8e864dc8fa522808f6a598
diff --git a/.gitignore b/.gitignore
index 38a9059..0b0b65c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/sys-e48874b.tar.gz
+/sys-f6cff07.tar.gz
diff --git a/golang-github-golang-sys.spec b/golang-github-golang-sys.spec
index db98585..8f9d0e9 100644
--- a/golang-github-golang-sys.spec
+++ b/golang-github-golang-sys.spec
@@ -1,14 +1,14 @@
# http://github.com/golang/sys
%global provider_prefix github.com/golang/sys
%global gobaseipath golang.org/x/sys
-%global commit e48874b42435b4347fc52bdee0424a52abc974d7
+%global commit f6cff0780e542efa0c8e864dc8fa522808f6a598
%global commitdate 20170302
%gocraftmeta -i
Name: %{goname}
Version: 0
-Release: 0.16.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.17.%{commitdate}git%{shortcommit}%{?dist}
Summary: Go packages for low-level interaction with the operating system
License: BSD
URL: %{gourl}
@@ -41,9 +41,12 @@ building other packages which use import path with
%files devel -f devel.file-list
%license LICENSE
-%doc CONTRIBUTING.md README AUTHORS CONTRIBUTORS PATENTS
+%doc CONTRIBUTING.md README.md AUTHORS CONTRIBUTORS PATENTS
%changelog
+* Fri Mar 02 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.17.20170302gitf6cff07
+- Bump to upstream f6cff0780e542efa0c8e864dc8fa522808f6a598
+
* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.16.20170302gite48874b
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index 0b003bf..837423b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (sys-e48874b.tar.gz) = e1ec2f79df8dde94f875bd43e75fa250d9ff338d40f4b24af221e67544888a50934c7c388110dd8d1c494fb3bd4e36c2a742bbda313e8ab32e25109a1c5a3157
+SHA512 (sys-f6cff07.tar.gz) = 08dca057af826c9242dffc6fdedf64ca81826ab5ed5297fd5e6c9051d358bdbbdaf80adc944f60baac97797faa1d1119b9b0121b7920a72505cba23a66a0ccbf
commit 59efe5fdf942bcdc778c2f6c64ff0d0f88caf7dd
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Wed Feb 28 16:16:27 2018 +0100
Autogenerate some parts using the new macros
diff --git a/golang-github-golang-sys.spec b/golang-github-golang-sys.spec
index c5ff284..db98585 100644
--- a/golang-github-golang-sys.spec
+++ b/golang-github-golang-sys.spec
@@ -1,169 +1,52 @@
-# If any of the following macros should be set otherwise,
-# you can wrap any of them with the following conditions:
-# - %%if 0%%{centos} == 7
-# - %%if 0%%{?rhel} == 7
-# - %%if 0%%{?fedora} == 23
-# Or just test for particular distribution:
-# - %%if 0%%{centos}
-# - %%if 0%%{?rhel}
-# - %%if 0%%{?fedora}
-#
-# Be aware, on centos, both %%rhel and %%centos are set. If you want to test
-# rhel specific macros, you can use %%if 0%%{?rhel} && 0%%{?centos} == 0 condition.
-# (Don't forget to replace double percentage symbol with single one in order to apply a condition)
-
-# Generate devel rpm
-%global with_devel 1
-# Build project from bundled dependencies
-%global with_bundled 0
-# Build with debug info rpm
-%global with_debug 0
-# Run tests in check section
-%global with_check 1
-# Generate unit-test rpm
-%global with_unit_test 1
-
-%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 golang
-%global repo sys
-# https://github.com/golang/sys
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path golang.org/x/sys
+# http://github.com/golang/sys
+%global provider_prefix github.com/golang/sys
+%global gobaseipath golang.org/x/sys
%global commit e48874b42435b4347fc52bdee0424a52abc974d7
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20170302
-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: Go packages for low-level interaction with the operating system
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 aarch64 %{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}/unix) = %{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 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" | grep ./unix) ; 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
-for file in $(find . -iname "*.s" | grep ./unix) ; 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" | grep ./unix); 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}/unix
-%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 CONTRIBUTING.md README AUTHORS CONTRIBUTORS PATENTS
-%endif
-
-%if 0%{?with_unit_test} && 0%{?with_devel}
-%files unit-test -f unit-test.file-list
-%license LICENSE
-%doc CONTRIBUTING.md README AUTHORS CONTRIBUTORS PATENTS
-%endif
%changelog
+* Wed Feb 28 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.16.20170302gite48874b
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.15.gite48874b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
@@ -217,4 +100,3 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
- First package for Fedora
resolves: #1246277
-
commit 69a40e3ee65bb8a9dbb239c0da558635b4a967c8
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 14:19:48 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/golang-github-golang-sys.spec b/golang-github-golang-sys.spec
index 7354af1..c5ff284 100644
--- a/golang-github-golang-sys.spec
+++ b/golang-github-golang-sys.spec
@@ -41,7 +41,7 @@
Name: golang-%{provider}-%{project}-%{repo}
Version: 0
-Release: 0.14.git%{shortcommit}%{?dist}
+Release: 0.15.git%{shortcommit}%{?dist}
Summary: Go packages for low-level interaction with the operating system
License: BSD
URL: https://%{provider_prefix}
@@ -164,6 +164,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
%endif
%changelog
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.15.gite48874b
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Thu Sep 21 2017 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.14.gite48874b
- Bump to upstream e48874b42435b4347fc52bdee0424a52abc974d7
related: #1360748
6 years, 3 months
Architecture specific change in rpms/SDL2.git
by githook-noreply@fedoraproject.org
The package rpms/SDL2.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/SDL2.git/commit/?id=89a45ba34fdea....
Change:
+%ifarch ppc64le
Thanks.
Full change:
============
commit 89a45ba34fdea56d8a8689dbb174bc15cac8db8b
Author: Miro Hrončok <miro(a)hroncok.cz>
Date: Sun Mar 4 21:17:06 2018 +0100
Disable altivec on ppc64le (RHBZ #1551338)
diff --git a/SDL2.spec b/SDL2.spec
index 5933072..bfcae2d 100644
--- a/SDL2.spec
+++ b/SDL2.spec
@@ -1,6 +1,6 @@
Name: SDL2
Version: 2.0.8
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Cross-platform multimedia library
License: zlib and MIT
@@ -86,7 +86,11 @@ sed -i -e 's/\r//g' TODO.txt README.txt WhatsNew.txt BUGS.txt COPYING.txt CREDIT
--enable-video-vulkan \
--enable-sse2=no \
--enable-sse3=no \
- --disable-rpath
+ --disable-rpath \
+%ifarch ppc64le
+ --disable-altivec \
+%endif
+
make %{?_smp_mflags}
%install
@@ -123,6 +127,9 @@ rm -vf %{buildroot}%{_libdir}/*.la
%{_libdir}/lib*.a
%changelog
+* Sun Mar 04 2018 Miro Hrončok <mhroncok(a)redhat.com> - 2.0.8-2
+- Disable altivec on ppc64le (RHBZ #1551338)
+
* Sun Mar 4 2018 Peter Robinson <pbrobinson(a)fedoraproject.org> 2.0.8-1
- Update to 2.0.8
6 years, 3 months
Architecture specific change in rpms/SDL2.git
by githook-noreply@fedoraproject.org
The package rpms/SDL2.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/SDL2.git/commit/?id=89a45ba34fdea....
Change:
+%ifarch ppc64le
Thanks.
Full change:
============
commit 89a45ba34fdea56d8a8689dbb174bc15cac8db8b
Author: Miro Hrončok <miro(a)hroncok.cz>
Date: Sun Mar 4 21:17:06 2018 +0100
Disable altivec on ppc64le (RHBZ #1551338)
diff --git a/SDL2.spec b/SDL2.spec
index 5933072..bfcae2d 100644
--- a/SDL2.spec
+++ b/SDL2.spec
@@ -1,6 +1,6 @@
Name: SDL2
Version: 2.0.8
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Cross-platform multimedia library
License: zlib and MIT
@@ -86,7 +86,11 @@ sed -i -e 's/\r//g' TODO.txt README.txt WhatsNew.txt BUGS.txt COPYING.txt CREDIT
--enable-video-vulkan \
--enable-sse2=no \
--enable-sse3=no \
- --disable-rpath
+ --disable-rpath \
+%ifarch ppc64le
+ --disable-altivec \
+%endif
+
make %{?_smp_mflags}
%install
@@ -123,6 +127,9 @@ rm -vf %{buildroot}%{_libdir}/*.la
%{_libdir}/lib*.a
%changelog
+* Sun Mar 04 2018 Miro Hrončok <mhroncok(a)redhat.com> - 2.0.8-2
+- Disable altivec on ppc64le (RHBZ #1551338)
+
* Sun Mar 4 2018 Peter Robinson <pbrobinson(a)fedoraproject.org> 2.0.8-1
- Update to 2.0.8
6 years, 3 months
Architecture specific change in rpms/golang-github-AdRoll-goamz.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-AdRoll-goamz.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-AdRoll-goamz.git/co....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
Thanks.
Full change:
============
commit f556e6f86a2004103244006677c8ce160e55dce9
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Mon Mar 5 14:56:15 2018 +0100
Update to spec 3.0
diff --git a/.gitignore b/.gitignore
index ba0c2d6..8c21e36 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/goamz-aa6e716.tar.gz
+/goamz-aa6e716d710a0c7941cb2075cfbb9661f16d21f1.tar.gz
diff --git a/golang-github-AdRoll-goamz.spec b/golang-github-AdRoll-goamz.spec
index 71261bb..97d2e4a 100644
--- a/golang-github-AdRoll-goamz.spec
+++ b/golang-github-AdRoll-goamz.spec
@@ -1,17 +1,14 @@
# list of provided golang packages
%global provided_packages aws cloudfront s3 testutil
-
# https://github.com/AdRoll/goamz
-%global provider_prefix github.com/AdRoll/goamz
-%global gobaseipath %{provider_prefix}
+%global goipath github.com/AdRoll/goamz
%global commit aa6e716d710a0c7941cb2075cfbb9661f16d21f1
-%global commitdate 20151129
-%gocraftmeta -i
+%gometa -i
-Name: %{goname}
+Name: golang-github-AdRoll-goamz
Version: 0
-Release: 0.12.%{commitdate}git%{shortcommit}%{?dist}
+Release: 0.13%{?dist}
Summary: Fork of the GOAMZ with additional functionality with DynamoDB
License: LGPLv3
URL: %{gourl}
@@ -31,19 +28,19 @@ BuildRequires: golang(gopkg.in/check.v1)
This package contains library source intended for
building other packages which use import path with
-%{gobaseipath} prefix.
+%{goipath} prefix.
%prep
%gosetup
-
# remove unused source code
rm -rf $(ls -d */ | egrep -v "$(echo %{provided_packages} | sed "s/ */ /g" | sed "s/ /|/g")")
%install
-%goinstall $(find . -iname testdata -d)
+files="$(find . -iname testdata -type d)"
+%goinstall $files
%check
-%gochecks %{gobaseipath}/s3
+%gochecks -d s3
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
@@ -53,6 +50,9 @@ rm -rf $(ls -d */ | egrep -v "$(echo %{provided_packages} | sed "s/ */ /g" | se
%doc TODO.md README.md
%changelog
+* Mon Mar 05 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.13.gitaa6e716
+- Update to spec 3.0
+
* Mon Feb 26 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.12.20151129gitaa6e716
- Autogenerate some parts using the new macros
diff --git a/sources b/sources
index e589155..74c34c0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e6370ede1d4a19a226b83870110ddf23 goamz-aa6e716.tar.gz
+SHA512 (goamz-aa6e716d710a0c7941cb2075cfbb9661f16d21f1.tar.gz) = 92cbe49e82fe0eefb19175f60d6b49d3e5f5e33decabe0534ff9fd75bb3fc712a4a09b27300869faf1bfabf1c1e750c66177ba61372dc610e822891fa3247050
commit ea243d47aed3590ebe9f871a6c7c1246c092505d
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Mon Feb 26 11:59:32 2018 +0100
- Autogenerate some parts using the new macros
diff --git a/golang-github-AdRoll-goamz.spec b/golang-github-AdRoll-goamz.spec
index 05e2222..71261bb 100644
--- a/golang-github-AdRoll-goamz.spec
+++ b/golang-github-AdRoll-goamz.spec
@@ -1,178 +1,61 @@
-%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
-
# list of provided golang packages
%global provided_packages aws cloudfront s3 testutil
-%global provider github
-%global provider_tld com
-%global project AdRoll
-%global repo goamz
# https://github.com/AdRoll/goamz
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
+%global provider_prefix github.com/AdRoll/goamz
+%global gobaseipath %{provider_prefix}
%global commit aa6e716d710a0c7941cb2075cfbb9661f16d21f1
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global commitdate 20151129
+
+%gocraftmeta -i
-Name: golang-%{provider}-%{project}-%{repo}
+Name: %{goname}
Version: 0
-Release: 0.11.git%{shortcommit}%{?dist}
+Release: 0.12.%{commitdate}git%{shortcommit}%{?dist}
Summary: Fork of the GOAMZ with additional functionality with DynamoDB
License: LGPLv3
-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(gopkg.in/check.v1)
-%endif
-
-Requires: golang(gopkg.in/check.v1)
-
-Provides: golang(%{import_path}/aws) = %{version}-%{release}
-Provides: golang(%{import_path}/cloudfront) = %{version}-%{release}
-Provides: golang(%{import_path}/s3) = %{version}-%{release}
-Provides: golang(%{import_path}/s3/s3test) = %{version}-%{release}
-Provides: golang(%{import_path}/testutil) = %{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}
+%gosetup
+
# remove unused source code
rm -rf $(ls -d */ | egrep -v "$(echo %{provided_packages} | sed "s/ */ /g" | sed "s/ /|/g")")
-%build
-
%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
-for file in $(find . -iname "*.pem"); 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 $(find . -iname testdata -d)
%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}/aws
-%gotest %{import_path}/cloudfront
-# needs 4444 port
-#%%gotest %%{import_path}/s3
-%gotest %{import_path}/testutil
-%endif
+%gochecks %{gobaseipath}/s3
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
-%if 0%{?with_devel}
%files devel -f devel.file-list
%license LICENSE
%doc TODO.md 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 TODO.md README.md
-%endif
%changelog
+* Mon Feb 26 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 0-0.12.20151129gitaa6e716
+- Autogenerate some parts using the new macros
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.11.gitaa6e716
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
@@ -209,4 +92,3 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
* Mon Sep 14 2015 jchaloup <jchaloup(a)redhat.com> - 0-0.1.gitf8c4952
- First package for Fedora
resolves: #1262714
-
commit 080689efb9cdcde90a7fb0477ba6363bc0a84155
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 13:50:13 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/golang-github-AdRoll-goamz.spec b/golang-github-AdRoll-goamz.spec
index 8f6bdcd..05e2222 100644
--- a/golang-github-AdRoll-goamz.spec
+++ b/golang-github-AdRoll-goamz.spec
@@ -33,7 +33,7 @@
Name: golang-%{provider}-%{project}-%{repo}
Version: 0
-Release: 0.10.git%{shortcommit}%{?dist}
+Release: 0.11.git%{shortcommit}%{?dist}
Summary: Fork of the GOAMZ with additional functionality with DynamoDB
License: LGPLv3
URL: https://%{provider_prefix}
@@ -173,6 +173,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
%endif
%changelog
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.11.gitaa6e716
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0-0.10.gitaa6e716
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
6 years, 3 months
Architecture specific change in rpms/hwloc.git
by githook-noreply@fedoraproject.org
The package rpms/hwloc.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/hwloc.git/commit/?id=f4a525d54c5b....
Change:
+%ifnarch s390 %{arm}
Thanks.
Full change:
============
commit f4a525d54c5bd257f7da9cab78eb13582ea2feca
Author: Michal Schmidt <mschmidt(a)redhat.com>
Date: Mon Mar 5 15:47:16 2018 +0100
BuildRequire numactl-devel on s390x too.
numactl-devel exists on s390x since numactl-2.0.11-3.
diff --git a/hwloc.spec b/hwloc.spec
index 04131c7..266cfca 100644
--- a/hwloc.spec
+++ b/hwloc.spec
@@ -20,7 +20,7 @@ BuildRequires: ncurses-devel
BuildRequires: transfig doxygen w3m
BuildRequires: texlive-latex texlive-makeindex
BuildRequires: desktop-file-utils
-%ifnarch s390 s390x %{arm}
+%ifnarch s390 %{arm}
BuildRequires: numactl-devel
%endif
%ifnarch %{arm}
@@ -174,6 +174,7 @@ LD_LIBRARY_PATH=$PWD/src/.libs make check
* Mon Mar 05 2018 Michal Schmidt <mschmidt(a)redhat.com> - 1.11.9-1
- Update to 1.11.9.
- BuildRequire gcc, gcc-c++. Drop Group tags.
+- BuildRequire numactl-devel on s390x too.
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.11.8-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
commit 154c8f4cada61bbf29b667beb2f133c33cd4f775
Author: Michal Schmidt <mschmidt(a)redhat.com>
Date: Mon Mar 5 15:38:38 2018 +0100
Update to 1.11.9
Remove remaining Group tags.
diff --git a/0001-Avoid-letting-snprintf-interpret-process-name-as-for.patch b/0001-Avoid-letting-snprintf-interpret-process-name-as-for.patch
deleted file mode 100644
index 74cf3bb..0000000
--- a/0001-Avoid-letting-snprintf-interpret-process-name-as-for.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 9d6e8bfe26c24df8272d6af782ebbde9ef62acb0 Mon Sep 17 00:00:00 2001
-From: Samuel Thibault <samuel.thibault(a)ens-lyon.org>
-Date: Wed, 6 Sep 2017 17:35:56 +0200
-Subject: [PATCH] Avoid letting snprintf interpret process name as format
-
----
- utils/lstopo/lstopo.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/utils/lstopo/lstopo.c b/utils/lstopo/lstopo.c
-index a23980010d..e9d600d457 100644
---- a/utils/lstopo/lstopo.c
-+++ b/utils/lstopo/lstopo.c
-@@ -229,7 +229,7 @@ static void add_process_objects(hwloc_topology_t topology)
- if (!parenl) {
- snprintf(comm, sizeof(comm), "(unknown)");
- } else {
-- snprintf(comm, sizeof(comm), parenl+1);
-+ snprintf(comm, sizeof(comm), "%s", parenl+1);
- }
- }
-
---
-2.13.6
-
diff --git a/hwloc.spec b/hwloc.spec
index 925a03d..04131c7 100644
--- a/hwloc.spec
+++ b/hwloc.spec
@@ -1,12 +1,10 @@
Summary: Portable Hardware Locality - portable abstraction of hierarchical architectures
Name: hwloc
-Version: 1.11.8
-Release: 6%{?dist}
+Version: 1.11.9
+Release: 1%{?dist}
License: BSD
URL: http://www.open-mpi.org/projects/hwloc/
Source0: http://www.open-mpi.org/software/hwloc/v1.11/downloads/%{name}-%{version}...
-# fix build with -Werror=format-security
-Patch0: 0001-Avoid-letting-snprintf-interpret-process-name-as-for.patch
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
BuildRequires: gcc
@@ -49,7 +47,6 @@ about the hardware, bind processes, and much more.
%package devel
Summary: Headers and shared development libraries for hwloc
-Group: Development/Libraries
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%ifnarch %{arm}
Requires: rdma-core-devel%{?_isa}
@@ -60,14 +57,12 @@ Headers and shared object symbolic links for the hwloc.
%package libs
Summary: Run time libraries for the hwloc
-Group: Development/Libraries
%description libs
Run time libraries for the hwloc
%package gui
Summary: The gui-based hwloc program(s)
-Group: Development/Libraries
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description gui
@@ -75,7 +70,6 @@ GUI-based tool for displaying system topology information.
%package plugins
Summary: Plugins for hwloc
-Group: Development/Libraries
Requires: %{name}-plugins%{?_isa} = %{version}-%{release}
%description plugins
@@ -177,6 +171,10 @@ LD_LIBRARY_PATH=$PWD/src/.libs make check
%{_libdir}/%{name}/hwloc*
%changelog
+* Mon Mar 05 2018 Michal Schmidt <mschmidt(a)redhat.com> - 1.11.9-1
+- Update to 1.11.9.
+- BuildRequire gcc, gcc-c++. Drop Group tags.
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.11.8-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
diff --git a/sources b/sources
index fe3b4ae..a9818fc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (hwloc-1.11.8.tar.bz2) = 6ade049b1de2204ba876fa49344a8389c8128a4082f8e1bc1196a659e862dd4222e954aac64bdb8560dd59412b629d5a41c161a4746199b8994c4e490fae89f7
+SHA512 (hwloc-1.11.9.tar.bz2) = 59198b460e2acb9ff0f8b06a86116a2ab67515e92035d3ecc1619ddbe42c7dd8991acab9cfe9c7130517238552aa570e3a51d135773ba34fbe343f2dfe48d956
commit 51d9297d37953ba7c06e96a8197816ecae179a29
Author: Michal Schmidt <mschmidt(a)redhat.com>
Date: Wed Feb 21 17:07:40 2018 +0100
BuildRequire gcc and gcc-c++
They are going to be removed from the default buildroot.
diff --git a/hwloc.spec b/hwloc.spec
index d8130c6..925a03d 100644
--- a/hwloc.spec
+++ b/hwloc.spec
@@ -9,6 +9,9 @@ Source0: http://www.open-mpi.org/software/hwloc/v1.11/downloads/%{name}-%{vers
Patch0: 0001-Avoid-letting-snprintf-interpret-process-name-as-for.patch
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
+BuildRequires: gcc
+# C++ only for hwloc-hello-cpp test:
+BuildRequires: gcc-c++
BuildRequires: cairo-devel
BuildRequires: libpciaccess-devel
BuildRequires: libtool-ltdl-devel
commit d9ab7d8ce0159636517c4d022a226b4331f70549
Author: Michal Schmidt <mschmidt(a)redhat.com>
Date: Wed Feb 21 17:07:37 2018 +0100
drop obsolete Group tag
diff --git a/hwloc.spec b/hwloc.spec
index 297fbb1..d8130c6 100644
--- a/hwloc.spec
+++ b/hwloc.spec
@@ -3,7 +3,6 @@ Name: hwloc
Version: 1.11.8
Release: 6%{?dist}
License: BSD
-Group: Applications/System
URL: http://www.open-mpi.org/projects/hwloc/
Source0: http://www.open-mpi.org/software/hwloc/v1.11/downloads/%{name}-%{version}...
# fix build with -Werror=format-security
6 years, 3 months
Architecture specific change in rpms/hwloc.git
by githook-noreply@fedoraproject.org
The package rpms/hwloc.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/hwloc.git/commit/?id=f4a525d54c5b....
Change:
+%ifnarch s390 %{arm}
Thanks.
Full change:
============
commit f4a525d54c5bd257f7da9cab78eb13582ea2feca
Author: Michal Schmidt <mschmidt(a)redhat.com>
Date: Mon Mar 5 15:47:16 2018 +0100
BuildRequire numactl-devel on s390x too.
numactl-devel exists on s390x since numactl-2.0.11-3.
diff --git a/hwloc.spec b/hwloc.spec
index 04131c7..266cfca 100644
--- a/hwloc.spec
+++ b/hwloc.spec
@@ -20,7 +20,7 @@ BuildRequires: ncurses-devel
BuildRequires: transfig doxygen w3m
BuildRequires: texlive-latex texlive-makeindex
BuildRequires: desktop-file-utils
-%ifnarch s390 s390x %{arm}
+%ifnarch s390 %{arm}
BuildRequires: numactl-devel
%endif
%ifnarch %{arm}
@@ -174,6 +174,7 @@ LD_LIBRARY_PATH=$PWD/src/.libs make check
* Mon Mar 05 2018 Michal Schmidt <mschmidt(a)redhat.com> - 1.11.9-1
- Update to 1.11.9.
- BuildRequire gcc, gcc-c++. Drop Group tags.
+- BuildRequire numactl-devel on s390x too.
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.11.8-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
commit 154c8f4cada61bbf29b667beb2f133c33cd4f775
Author: Michal Schmidt <mschmidt(a)redhat.com>
Date: Mon Mar 5 15:38:38 2018 +0100
Update to 1.11.9
Remove remaining Group tags.
diff --git a/0001-Avoid-letting-snprintf-interpret-process-name-as-for.patch b/0001-Avoid-letting-snprintf-interpret-process-name-as-for.patch
deleted file mode 100644
index 74cf3bb..0000000
--- a/0001-Avoid-letting-snprintf-interpret-process-name-as-for.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 9d6e8bfe26c24df8272d6af782ebbde9ef62acb0 Mon Sep 17 00:00:00 2001
-From: Samuel Thibault <samuel.thibault(a)ens-lyon.org>
-Date: Wed, 6 Sep 2017 17:35:56 +0200
-Subject: [PATCH] Avoid letting snprintf interpret process name as format
-
----
- utils/lstopo/lstopo.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/utils/lstopo/lstopo.c b/utils/lstopo/lstopo.c
-index a23980010d..e9d600d457 100644
---- a/utils/lstopo/lstopo.c
-+++ b/utils/lstopo/lstopo.c
-@@ -229,7 +229,7 @@ static void add_process_objects(hwloc_topology_t topology)
- if (!parenl) {
- snprintf(comm, sizeof(comm), "(unknown)");
- } else {
-- snprintf(comm, sizeof(comm), parenl+1);
-+ snprintf(comm, sizeof(comm), "%s", parenl+1);
- }
- }
-
---
-2.13.6
-
diff --git a/hwloc.spec b/hwloc.spec
index 925a03d..04131c7 100644
--- a/hwloc.spec
+++ b/hwloc.spec
@@ -1,12 +1,10 @@
Summary: Portable Hardware Locality - portable abstraction of hierarchical architectures
Name: hwloc
-Version: 1.11.8
-Release: 6%{?dist}
+Version: 1.11.9
+Release: 1%{?dist}
License: BSD
URL: http://www.open-mpi.org/projects/hwloc/
Source0: http://www.open-mpi.org/software/hwloc/v1.11/downloads/%{name}-%{version}...
-# fix build with -Werror=format-security
-Patch0: 0001-Avoid-letting-snprintf-interpret-process-name-as-for.patch
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
BuildRequires: gcc
@@ -49,7 +47,6 @@ about the hardware, bind processes, and much more.
%package devel
Summary: Headers and shared development libraries for hwloc
-Group: Development/Libraries
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%ifnarch %{arm}
Requires: rdma-core-devel%{?_isa}
@@ -60,14 +57,12 @@ Headers and shared object symbolic links for the hwloc.
%package libs
Summary: Run time libraries for the hwloc
-Group: Development/Libraries
%description libs
Run time libraries for the hwloc
%package gui
Summary: The gui-based hwloc program(s)
-Group: Development/Libraries
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description gui
@@ -75,7 +70,6 @@ GUI-based tool for displaying system topology information.
%package plugins
Summary: Plugins for hwloc
-Group: Development/Libraries
Requires: %{name}-plugins%{?_isa} = %{version}-%{release}
%description plugins
@@ -177,6 +171,10 @@ LD_LIBRARY_PATH=$PWD/src/.libs make check
%{_libdir}/%{name}/hwloc*
%changelog
+* Mon Mar 05 2018 Michal Schmidt <mschmidt(a)redhat.com> - 1.11.9-1
+- Update to 1.11.9.
+- BuildRequire gcc, gcc-c++. Drop Group tags.
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.11.8-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
diff --git a/sources b/sources
index fe3b4ae..a9818fc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (hwloc-1.11.8.tar.bz2) = 6ade049b1de2204ba876fa49344a8389c8128a4082f8e1bc1196a659e862dd4222e954aac64bdb8560dd59412b629d5a41c161a4746199b8994c4e490fae89f7
+SHA512 (hwloc-1.11.9.tar.bz2) = 59198b460e2acb9ff0f8b06a86116a2ab67515e92035d3ecc1619ddbe42c7dd8991acab9cfe9c7130517238552aa570e3a51d135773ba34fbe343f2dfe48d956
6 years, 3 months