Architecture specific change in rpms/openclonk.git
by githook-noreply@fedoraproject.org
The package rpms/openclonk.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/openclonk.git/commit/?id=cce76ed3...
https://src.fedoraproject.org/cgit/rpms/openclonk.git/commit/?id=12eea16b....
Change:
+ExclusiveArch: x86_64 %{ix86}
-ExclusiveArch: x86_64 %{ix86}
Thanks.
Full change:
============
commit af31c076631c9816635e99ef418983b8d58dc7d1
Merge: d2d5036 12eea16
Author: sagitter <sagitter(a)fedoraproject.org>
Date: Wed Mar 21 12:19:18 2018 +0100
Merge branch 'master' into f26
commit 12eea16b1703188097cf1f6e05c7e08641426af2
Author: sagitter <sagitter(a)fedoraproject.org>
Date: Wed Mar 21 12:16:55 2018 +0100
Update to commit #570ba7a (blake2 no-SSE reloaded) for upstream bug #69
diff --git a/.gitignore b/.gitignore
index e2e8cfd..d2b3ebc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/openclonk-7.0.tar.gz
/openclonk-8.0.tar.gz
/openclonk-8.1.tar.gz
+/openclonk-570ba7a8adc7973327ae612a3d535fd8621c41dd.zip
diff --git a/openclonk.spec b/openclonk.spec
index 642de59..95592a6 100644
--- a/openclonk.spec
+++ b/openclonk.spec
@@ -1,14 +1,16 @@
%global develdocdir %{_docdir}/%{name}-devel/html
-# https://github.com/openclonk/openclonk/issues/69
-ExclusiveArch: x86_64 %{ix86}
+%global commit 570ba7a8adc7973327ae612a3d535fd8621c41dd
+%global date 20180321
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
Name: openclonk
Summary: Multiplayer action, tactics and skill game
Version: 8.1
-Release: 2%{?dist}
+Release: 3.%{date}git%{shortcommit}%{?dist}
URL: http://www.openclonk.org/
-Source0: https://github.com/openclonk/openclonk/archive/v%{version}.tar.gz#/%{name...
+Source0: https://github.com/openclonk/openclonk/archive/v%{commit}.tar.gz#/%{name}...
License: ISC and CC-BY-SA
Group: Amusements/Games
@@ -82,7 +84,7 @@ Requires: xdg-utils
This package contains documentation needed for developing with %{name}.
%prep
-%autosetup
+%autosetup -n %{name}-%{commit}
# remove bundled tinyxml
rm -rf thirdparty/tinyxml
@@ -190,11 +192,14 @@ install -D -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}-docs.pn
%{_datadir}/pixmaps/%{name}-docs.png
%changelog
+* Wed Mar 21 2018 Antonio Trande <sagitterATfedoraproject.org> - 8.1-3.20180321git570ba7a
+- Update to commit #570ba7a (blake2 no-SSE reloaded) for upstream bug #69
+
* Sun Mar 18 2018 Antonio Trande <sagitterATfedoraproject.org> - 8.1-2
-- ExclusiveArch for upstream bug #69
+- ExclusiveArch for upstream bug #69
* Sat Mar 17 2018 Martin Gansser <martinkg(a)fedoraproject.org> - 8.1-1
-- Update to 8.1
+- Update to 8.1 (bz#1557656)
- Add BR gcc
* Fri Feb 09 2018 Antonio Trande <sagitterATfedoraproject.org> - 8.0-2
diff --git a/sources b/sources
index c7c4963..f884763 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (openclonk-8.1.tar.gz) = 3f4825ac0040f1b66b1a0d64efdff8bd3353ab008c91c6335ee7f5582a72b52ddbfbb83bd71afad73c047436e5a6d84e4a516f683c7490eeb8c6743f80d0a668
+SHA512 (openclonk-570ba7a8adc7973327ae612a3d535fd8621c41dd.zip) = 1bbf2cc07b65e9c85925a9bea5e62202f9568b22c6b05dce9598b74d5a503198653c17bdda82fa59737bad9c74ded1766ef3e42bdc56c23afa8517ba9c1fc823
commit cce76ed3feb85e761ff05cdd62e13c0a84677257
Author: sagitter <sagitter(a)fedoraproject.org>
Date: Sun Mar 18 11:30:01 2018 +0100
ExclusiveArch for upstream bug #69
diff --git a/openclonk.spec b/openclonk.spec
index 5ea93c8..642de59 100644
--- a/openclonk.spec
+++ b/openclonk.spec
@@ -1,9 +1,12 @@
%global develdocdir %{_docdir}/%{name}-devel/html
+# https://github.com/openclonk/openclonk/issues/69
+ExclusiveArch: x86_64 %{ix86}
+
Name: openclonk
Summary: Multiplayer action, tactics and skill game
Version: 8.1
-Release: 1%{?dist}
+Release: 2%{?dist}
URL: http://www.openclonk.org/
Source0: https://github.com/openclonk/openclonk/archive/v%{version}.tar.gz#/%{name...
License: ISC and CC-BY-SA
@@ -187,6 +190,9 @@ install -D -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}-docs.pn
%{_datadir}/pixmaps/%{name}-docs.png
%changelog
+* Sun Mar 18 2018 Antonio Trande <sagitterATfedoraproject.org> - 8.1-2
+- ExclusiveArch for upstream bug #69
+
* Sat Mar 17 2018 Martin Gansser <martinkg(a)fedoraproject.org> - 8.1-1
- Update to 8.1
- Add BR gcc
6 years, 1 month
Architecture specific change in rpms/openclonk.git
by githook-noreply@fedoraproject.org
The package rpms/openclonk.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/openclonk.git/commit/?id=cce76ed3...
https://src.fedoraproject.org/cgit/rpms/openclonk.git/commit/?id=12eea16b....
Change:
+ExclusiveArch: x86_64 %{ix86}
-ExclusiveArch: x86_64 %{ix86}
Thanks.
Full change:
============
commit 12eea16b1703188097cf1f6e05c7e08641426af2
Author: sagitter <sagitter(a)fedoraproject.org>
Date: Wed Mar 21 12:16:55 2018 +0100
Update to commit #570ba7a (blake2 no-SSE reloaded) for upstream bug #69
diff --git a/.gitignore b/.gitignore
index e2e8cfd..d2b3ebc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/openclonk-7.0.tar.gz
/openclonk-8.0.tar.gz
/openclonk-8.1.tar.gz
+/openclonk-570ba7a8adc7973327ae612a3d535fd8621c41dd.zip
diff --git a/openclonk.spec b/openclonk.spec
index 642de59..95592a6 100644
--- a/openclonk.spec
+++ b/openclonk.spec
@@ -1,14 +1,16 @@
%global develdocdir %{_docdir}/%{name}-devel/html
-# https://github.com/openclonk/openclonk/issues/69
-ExclusiveArch: x86_64 %{ix86}
+%global commit 570ba7a8adc7973327ae612a3d535fd8621c41dd
+%global date 20180321
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
Name: openclonk
Summary: Multiplayer action, tactics and skill game
Version: 8.1
-Release: 2%{?dist}
+Release: 3.%{date}git%{shortcommit}%{?dist}
URL: http://www.openclonk.org/
-Source0: https://github.com/openclonk/openclonk/archive/v%{version}.tar.gz#/%{name...
+Source0: https://github.com/openclonk/openclonk/archive/v%{commit}.tar.gz#/%{name}...
License: ISC and CC-BY-SA
Group: Amusements/Games
@@ -82,7 +84,7 @@ Requires: xdg-utils
This package contains documentation needed for developing with %{name}.
%prep
-%autosetup
+%autosetup -n %{name}-%{commit}
# remove bundled tinyxml
rm -rf thirdparty/tinyxml
@@ -190,11 +192,14 @@ install -D -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}-docs.pn
%{_datadir}/pixmaps/%{name}-docs.png
%changelog
+* Wed Mar 21 2018 Antonio Trande <sagitterATfedoraproject.org> - 8.1-3.20180321git570ba7a
+- Update to commit #570ba7a (blake2 no-SSE reloaded) for upstream bug #69
+
* Sun Mar 18 2018 Antonio Trande <sagitterATfedoraproject.org> - 8.1-2
-- ExclusiveArch for upstream bug #69
+- ExclusiveArch for upstream bug #69
* Sat Mar 17 2018 Martin Gansser <martinkg(a)fedoraproject.org> - 8.1-1
-- Update to 8.1
+- Update to 8.1 (bz#1557656)
- Add BR gcc
* Fri Feb 09 2018 Antonio Trande <sagitterATfedoraproject.org> - 8.0-2
diff --git a/sources b/sources
index c7c4963..f884763 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (openclonk-8.1.tar.gz) = 3f4825ac0040f1b66b1a0d64efdff8bd3353ab008c91c6335ee7f5582a72b52ddbfbb83bd71afad73c047436e5a6d84e4a516f683c7490eeb8c6743f80d0a668
+SHA512 (openclonk-570ba7a8adc7973327ae612a3d535fd8621c41dd.zip) = 1bbf2cc07b65e9c85925a9bea5e62202f9568b22c6b05dce9598b74d5a503198653c17bdda82fa59737bad9c74ded1766ef3e42bdc56c23afa8517ba9c1fc823
commit cce76ed3feb85e761ff05cdd62e13c0a84677257
Author: sagitter <sagitter(a)fedoraproject.org>
Date: Sun Mar 18 11:30:01 2018 +0100
ExclusiveArch for upstream bug #69
diff --git a/openclonk.spec b/openclonk.spec
index 5ea93c8..642de59 100644
--- a/openclonk.spec
+++ b/openclonk.spec
@@ -1,9 +1,12 @@
%global develdocdir %{_docdir}/%{name}-devel/html
+# https://github.com/openclonk/openclonk/issues/69
+ExclusiveArch: x86_64 %{ix86}
+
Name: openclonk
Summary: Multiplayer action, tactics and skill game
Version: 8.1
-Release: 1%{?dist}
+Release: 2%{?dist}
URL: http://www.openclonk.org/
Source0: https://github.com/openclonk/openclonk/archive/v%{version}.tar.gz#/%{name...
License: ISC and CC-BY-SA
@@ -187,6 +190,9 @@ install -D -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}-docs.pn
%{_datadir}/pixmaps/%{name}-docs.png
%changelog
+* Sun Mar 18 2018 Antonio Trande <sagitterATfedoraproject.org> - 8.1-2
+- ExclusiveArch for upstream bug #69
+
* Sat Mar 17 2018 Martin Gansser <martinkg(a)fedoraproject.org> - 8.1-1
- Update to 8.1
- Add BR gcc
6 years, 1 month
Architecture specific change in rpms/openclonk.git
by githook-noreply@fedoraproject.org
The package rpms/openclonk.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/openclonk.git/commit/?id=cce76ed3...
https://src.fedoraproject.org/cgit/rpms/openclonk.git/commit/?id=12eea16b....
Change:
+ExclusiveArch: x86_64 %{ix86}
-ExclusiveArch: x86_64 %{ix86}
Thanks.
Full change:
============
commit 12eea16b1703188097cf1f6e05c7e08641426af2
Author: sagitter <sagitter(a)fedoraproject.org>
Date: Wed Mar 21 12:16:55 2018 +0100
Update to commit #570ba7a (blake2 no-SSE reloaded) for upstream bug #69
diff --git a/.gitignore b/.gitignore
index e2e8cfd..d2b3ebc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/openclonk-7.0.tar.gz
/openclonk-8.0.tar.gz
/openclonk-8.1.tar.gz
+/openclonk-570ba7a8adc7973327ae612a3d535fd8621c41dd.zip
diff --git a/openclonk.spec b/openclonk.spec
index 642de59..95592a6 100644
--- a/openclonk.spec
+++ b/openclonk.spec
@@ -1,14 +1,16 @@
%global develdocdir %{_docdir}/%{name}-devel/html
-# https://github.com/openclonk/openclonk/issues/69
-ExclusiveArch: x86_64 %{ix86}
+%global commit 570ba7a8adc7973327ae612a3d535fd8621c41dd
+%global date 20180321
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
Name: openclonk
Summary: Multiplayer action, tactics and skill game
Version: 8.1
-Release: 2%{?dist}
+Release: 3.%{date}git%{shortcommit}%{?dist}
URL: http://www.openclonk.org/
-Source0: https://github.com/openclonk/openclonk/archive/v%{version}.tar.gz#/%{name...
+Source0: https://github.com/openclonk/openclonk/archive/v%{commit}.tar.gz#/%{name}...
License: ISC and CC-BY-SA
Group: Amusements/Games
@@ -82,7 +84,7 @@ Requires: xdg-utils
This package contains documentation needed for developing with %{name}.
%prep
-%autosetup
+%autosetup -n %{name}-%{commit}
# remove bundled tinyxml
rm -rf thirdparty/tinyxml
@@ -190,11 +192,14 @@ install -D -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}-docs.pn
%{_datadir}/pixmaps/%{name}-docs.png
%changelog
+* Wed Mar 21 2018 Antonio Trande <sagitterATfedoraproject.org> - 8.1-3.20180321git570ba7a
+- Update to commit #570ba7a (blake2 no-SSE reloaded) for upstream bug #69
+
* Sun Mar 18 2018 Antonio Trande <sagitterATfedoraproject.org> - 8.1-2
-- ExclusiveArch for upstream bug #69
+- ExclusiveArch for upstream bug #69
* Sat Mar 17 2018 Martin Gansser <martinkg(a)fedoraproject.org> - 8.1-1
-- Update to 8.1
+- Update to 8.1 (bz#1557656)
- Add BR gcc
* Fri Feb 09 2018 Antonio Trande <sagitterATfedoraproject.org> - 8.0-2
diff --git a/sources b/sources
index c7c4963..f884763 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (openclonk-8.1.tar.gz) = 3f4825ac0040f1b66b1a0d64efdff8bd3353ab008c91c6335ee7f5582a72b52ddbfbb83bd71afad73c047436e5a6d84e4a516f683c7490eeb8c6743f80d0a668
+SHA512 (openclonk-570ba7a8adc7973327ae612a3d535fd8621c41dd.zip) = 1bbf2cc07b65e9c85925a9bea5e62202f9568b22c6b05dce9598b74d5a503198653c17bdda82fa59737bad9c74ded1766ef3e42bdc56c23afa8517ba9c1fc823
commit cce76ed3feb85e761ff05cdd62e13c0a84677257
Author: sagitter <sagitter(a)fedoraproject.org>
Date: Sun Mar 18 11:30:01 2018 +0100
ExclusiveArch for upstream bug #69
diff --git a/openclonk.spec b/openclonk.spec
index 5ea93c8..642de59 100644
--- a/openclonk.spec
+++ b/openclonk.spec
@@ -1,9 +1,12 @@
%global develdocdir %{_docdir}/%{name}-devel/html
+# https://github.com/openclonk/openclonk/issues/69
+ExclusiveArch: x86_64 %{ix86}
+
Name: openclonk
Summary: Multiplayer action, tactics and skill game
Version: 8.1
-Release: 1%{?dist}
+Release: 2%{?dist}
URL: http://www.openclonk.org/
Source0: https://github.com/openclonk/openclonk/archive/v%{version}.tar.gz#/%{name...
License: ISC and CC-BY-SA
@@ -187,6 +190,9 @@ install -D -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}-docs.pn
%{_datadir}/pixmaps/%{name}-docs.png
%changelog
+* Sun Mar 18 2018 Antonio Trande <sagitterATfedoraproject.org> - 8.1-2
+- ExclusiveArch for upstream bug #69
+
* Sat Mar 17 2018 Martin Gansser <martinkg(a)fedoraproject.org> - 8.1-1
- Update to 8.1
- Add BR gcc
6 years, 1 month
Architecture specific change in rpms/openclonk.git
by githook-noreply@fedoraproject.org
The package rpms/openclonk.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/openclonk.git/commit/?id=12eea16b....
Change:
-ExclusiveArch: x86_64 %{ix86}
Thanks.
Full change:
============
commit 12eea16b1703188097cf1f6e05c7e08641426af2
Author: sagitter <sagitter(a)fedoraproject.org>
Date: Wed Mar 21 12:16:55 2018 +0100
Update to commit #570ba7a (blake2 no-SSE reloaded) for upstream bug #69
diff --git a/.gitignore b/.gitignore
index e2e8cfd..d2b3ebc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/openclonk-7.0.tar.gz
/openclonk-8.0.tar.gz
/openclonk-8.1.tar.gz
+/openclonk-570ba7a8adc7973327ae612a3d535fd8621c41dd.zip
diff --git a/openclonk.spec b/openclonk.spec
index 642de59..95592a6 100644
--- a/openclonk.spec
+++ b/openclonk.spec
@@ -1,14 +1,16 @@
%global develdocdir %{_docdir}/%{name}-devel/html
-# https://github.com/openclonk/openclonk/issues/69
-ExclusiveArch: x86_64 %{ix86}
+%global commit 570ba7a8adc7973327ae612a3d535fd8621c41dd
+%global date 20180321
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
Name: openclonk
Summary: Multiplayer action, tactics and skill game
Version: 8.1
-Release: 2%{?dist}
+Release: 3.%{date}git%{shortcommit}%{?dist}
URL: http://www.openclonk.org/
-Source0: https://github.com/openclonk/openclonk/archive/v%{version}.tar.gz#/%{name...
+Source0: https://github.com/openclonk/openclonk/archive/v%{commit}.tar.gz#/%{name}...
License: ISC and CC-BY-SA
Group: Amusements/Games
@@ -82,7 +84,7 @@ Requires: xdg-utils
This package contains documentation needed for developing with %{name}.
%prep
-%autosetup
+%autosetup -n %{name}-%{commit}
# remove bundled tinyxml
rm -rf thirdparty/tinyxml
@@ -190,11 +192,14 @@ install -D -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}-docs.pn
%{_datadir}/pixmaps/%{name}-docs.png
%changelog
+* Wed Mar 21 2018 Antonio Trande <sagitterATfedoraproject.org> - 8.1-3.20180321git570ba7a
+- Update to commit #570ba7a (blake2 no-SSE reloaded) for upstream bug #69
+
* Sun Mar 18 2018 Antonio Trande <sagitterATfedoraproject.org> - 8.1-2
-- ExclusiveArch for upstream bug #69
+- ExclusiveArch for upstream bug #69
* Sat Mar 17 2018 Martin Gansser <martinkg(a)fedoraproject.org> - 8.1-1
-- Update to 8.1
+- Update to 8.1 (bz#1557656)
- Add BR gcc
* Fri Feb 09 2018 Antonio Trande <sagitterATfedoraproject.org> - 8.0-2
diff --git a/sources b/sources
index c7c4963..f884763 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (openclonk-8.1.tar.gz) = 3f4825ac0040f1b66b1a0d64efdff8bd3353ab008c91c6335ee7f5582a72b52ddbfbb83bd71afad73c047436e5a6d84e4a516f683c7490eeb8c6743f80d0a668
+SHA512 (openclonk-570ba7a8adc7973327ae612a3d535fd8621c41dd.zip) = 1bbf2cc07b65e9c85925a9bea5e62202f9568b22c6b05dce9598b74d5a503198653c17bdda82fa59737bad9c74ded1766ef3e42bdc56c23afa8517ba9c1fc823
6 years, 1 month
Architecture specific change in rpms/erlang.git
by githook-noreply@fedoraproject.org
The package rpms/erlang.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/erlang.git/commit/?id=258e8217c09....
Change:
+%ifarch %{arm} %{mips} riscv64
Thanks.
Full change:
============
commit 258e8217c0920f245a0036df4d3d7c512da39375
Author: Richard W.M. Jones <rjones(a)redhat.com>
Date: Tue Mar 20 23:08:44 2018 +0000
Disable fop on riscv64.
diff --git a/erlang.spec b/erlang.spec
index dd91d1f..6be4ff1 100644
--- a/erlang.spec
+++ b/erlang.spec
@@ -2,7 +2,7 @@
%{!?need_bootstrap: %global need_bootstrap %{need_bootstrap_set}}
-%ifarch %{arm} %{mips}
+%ifarch %{arm} %{mips} riscv64
# MIPS does not have all dependencies for fop yet
# For some reason, fop hangs on arm, so for now don't generate docs by
# default
@@ -60,7 +60,7 @@
Name: erlang
Version: 20.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: General-purpose programming language and runtime environment
Group: Development/Languages
@@ -2214,6 +2214,9 @@ useradd -r -g epmd -d /dev/null -s /sbin/nologin \
%changelog
+* Tue Mar 20 2018 Richard W.M. Jones <rjones(a)redhat.com> - 20.3-2
+- Disable fop on riscv64.
+
* Wed Mar 14 2018 Peter Lemenkov <lemenkov(a)gmail.com> - 20.3
- Ver. 20.3
6 years, 1 month
Architecture specific change in rpms/llvm5.0.git
by githook-noreply@fedoraproject.org
The package rpms/llvm5.0.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/llvm5.0.git/commit/?id=93de27f5aa....
Change:
+%ifarch s390 %{arm} %{ix86}
Thanks.
Full change:
============
commit 91956d615749a5a7be8d93c888296a9cfe594f46
Author: Tom Stellard <tstellar(a)redhat.com>
Date: Tue Mar 20 03:19:59 2018 +0000
Backport r327651 from trunk rhbz#1554349
diff --git a/0001-PPC-Avoid-non-simple-MVT-in-STBRX-optimization.patch b/0001-PPC-Avoid-non-simple-MVT-in-STBRX-optimization.patch
new file mode 100644
index 0000000..7240966
--- /dev/null
+++ b/0001-PPC-Avoid-non-simple-MVT-in-STBRX-optimization.patch
@@ -0,0 +1,69 @@
+From 3ab40462f17659a4ae14b1f8aa7036e65377a199 Mon Sep 17 00:00:00 2001
+From: Guozhi Wei <carrot(a)google.com>
+Date: Thu, 15 Mar 2018 17:49:12 +0000
+Subject: [PATCH] [PPC] Avoid non-simple MVT in STBRX optimization
+
+PR35402 triggered this case. It bswap and stores a 48bit value, current STBRX optimization transforms it into STBRX. Unfortunately 48bit is not a simple MVT, there is no PPC instruction to support it, and it can't be automatically expanded by llvm, so caused a crash.
+
+This patch detects the non-simple MVT and returns early.
+
+Differential Revision: https://reviews.llvm.org/D44500
+
+git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327651 91177308-0d34-0410-b5e6-96231b3b80d8
+---
+ lib/Target/PowerPC/PPCISelLowering.cpp | 6 +++++-
+ test/CodeGen/PowerPC/pr35402.ll | 18 ++++++++++++++++++
+ 2 files changed, 23 insertions(+), 1 deletion(-)
+ create mode 100644 test/CodeGen/PowerPC/pr35402.ll
+
+diff --git a/lib/Target/PowerPC/PPCISelLowering.cpp b/lib/Target/PowerPC/PPCISelLowering.cpp
+index b3a3c73..7fc3627 100644
+--- a/lib/Target/PowerPC/PPCISelLowering.cpp
++++ b/lib/Target/PowerPC/PPCISelLowering.cpp
+@@ -11861,6 +11861,11 @@ SDValue PPCTargetLowering::PerformDAGCombine(SDNode *N,
+ N->getOperand(1).getValueType() == MVT::i16 ||
+ (Subtarget.hasLDBRX() && Subtarget.isPPC64() &&
+ N->getOperand(1).getValueType() == MVT::i64))) {
++ // STBRX can only handle simple types.
++ EVT mVT = cast<StoreSDNode>(N)->getMemoryVT();
++ if (mVT.isExtended())
++ break;
++
+ SDValue BSwapOp = N->getOperand(1).getOperand(0);
+ // Do an any-extend to 32-bits if this is a half-word input.
+ if (BSwapOp.getValueType() == MVT::i16)
+@@ -11868,7 +11873,6 @@ SDValue PPCTargetLowering::PerformDAGCombine(SDNode *N,
+
+ // If the type of BSWAP operand is wider than stored memory width
+ // it need to be shifted to the right side before STBRX.
+- EVT mVT = cast<StoreSDNode>(N)->getMemoryVT();
+ if (Op1VT.bitsGT(mVT)) {
+ int Shift = Op1VT.getSizeInBits() - mVT.getSizeInBits();
+ BSwapOp = DAG.getNode(ISD::SRL, dl, Op1VT, BSwapOp,
+diff --git a/test/CodeGen/PowerPC/pr35402.ll b/test/CodeGen/PowerPC/pr35402.ll
+new file mode 100644
+index 0000000..06e6d96
+--- /dev/null
++++ b/test/CodeGen/PowerPC/pr35402.ll
+@@ -0,0 +1,18 @@
++; RUN: llc -O2 < %s | FileCheck %s
++target triple = "powerpc64le-linux-gnu"
++
++define void @test(i8* %p, i64 %data) {
++entry:
++ %0 = tail call i64 @llvm.bswap.i64(i64 %data)
++ %ptr = bitcast i8* %p to i48*
++ %val = trunc i64 %0 to i48
++ store i48 %val, i48* %ptr, align 1
++ ret void
++
++; CHECK: sth
++; CHECK: stw
++; CHECK-NOT: stdbrx
++
++}
++
++declare i64 @llvm.bswap.i64(i64)
+--
+1.8.3.1
+
diff --git a/llvm5.0.spec b/llvm5.0.spec
index f01306d..f9a254f 100644
--- a/llvm5.0.spec
+++ b/llvm5.0.spec
@@ -21,7 +21,7 @@
Name: llvm%{ver_major_minor}
Version: %ver_major_minor.1
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: The Low Level Virtual Machine
License: NCSA
@@ -39,6 +39,7 @@ Patch6: 0001-PowerPC-Don-t-use-xscvdpspn-on-the-P7.patch
Patch7: 0001-Fix-return-type-in-ORC-readMem-client-interface.patch
Patch8: 0001-Ignore-all-duplicate-frame-index-expression.patch
Patch9: 0002-Reinstantiate-old-bad-deduplication-logic-that-was-r.patch
+Patch10: 0001-PPC-Avoid-non-simple-MVT-in-STBRX-optimization.patch
BuildRequires: cmake
@@ -263,6 +264,9 @@ test "`%{buildroot}/%{install_bindir}/llvm-config --cmakedir`" -ef "%{buildroot}
%doc %{_pkgdocdir}/html
%changelog
+* Mon Mar 19 2018 Tom Stellard <tstellar(a)redhat.com> - 5.0.1-7
+- Backport r327651 from trunk rhbz#1554349
+
* Wed Mar 07 2018 Adam Williamson <awilliam(a)redhat.com> - 5.0.1-6
- Rebuild to fix GCC 8 mis-compilation
See https://da.gd/YJVwk ("GCC 8 ABI change on x86_64")
commit 93de27f5aa761044fb1c285730cd178501dc94ac
Author: Adam Williamson <awilliam(a)redhat.com>
Date: Fri Mar 9 17:08:28 2018 -0800
Try harder to save memory, add ix86 to 'save memory' list
As per the other llvm packages, use ld flags that prioritize
memory use over performance for memory-impaired arches. Also add
ix86 to the list of memory-impaired arches, as my Rawhide build
attempt died on i686 due to lack of memory:
https://koji.fedoraproject.org/koji/taskinfo?taskID=25551155
diff --git a/llvm5.0.spec b/llvm5.0.spec
index b361141..f01306d 100644
--- a/llvm5.0.spec
+++ b/llvm5.0.spec
@@ -118,7 +118,9 @@ for f in `grep -Rl 'XFAIL.\+arm' test/ExecutionEngine `; do rm $f; done
mkdir -p _build
cd _build
-%ifarch s390 %{arm}
+%ifarch s390 %{arm} %{ix86}
+# use linker flags that prioritize efficiency over speed (try and save memory)
+%global optflags %{optflags} -Wl,--no-keep-memory -Wl,--reduce-memory-overheads
# Decrease debuginfo verbosity to reduce memory consumption during final library linking
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
%endif
6 years, 1 month
Architecture specific change in rpms/golang-gopkg-yaml.git
by githook-noreply@fedoraproject.org
The package rpms/golang-gopkg-yaml.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-gopkg-yaml.git/commit/?id=....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit c8b2f802bd4f473aa96c09fd99d9f9685d54d119
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 15:08:00 2018 +0000
Bump to cd8b52f8269e0feb286dfeef29f8fe4d5b397e0b
diff --git a/golang-gopkg-yaml.spec b/golang-gopkg-yaml.spec
index b7bec5c..81023b1 100644
--- a/golang-gopkg-yaml.spec
+++ b/golang-gopkg-yaml.spec
@@ -1,42 +1,5 @@
-# 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
-# both tests failing
-%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 go-yaml
-%global repo yaml
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
+%global goipath github.com/go-yaml/yaml
%global commit cd8b52f8269e0feb286dfeef29f8fe4d5b397e0b
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global import_path gopkg.in/v2/yaml
%global import_path_sec gopkg.in/yaml.v2
@@ -48,33 +11,26 @@
%global devel_main golang-gopkg-yaml-devel-v2
+%gometa -i
+
Name: golang-gopkg-yaml
Version: 1
-Release: 20%{?dist}
+Release: 21%{?dist}
Summary: Enables Go programs to comfortably encode and decode YAML values
License: LGPLv3 with exceptions
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/yaml-%{shortcommit}.tar.gz
-Source1: https://%{provider_prefix}/archive/%{v1_commit}/yaml-%{v1_commit}.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}
+Source1: https://%{goipath}/archive/%{v1_commit}/yaml-%{v1_commit}.tar.gz
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: Enables Go programs to comfortably encode and decode YAML values
BuildArch: noarch
-%if 0%{?with_check}
-%endif
-
-Provides: golang(%{v1_import_path}) = %{version}-%{release}
-Provides: golang(%{v1_import_path_sec}) = %{version}-%{release}
+BuildRequires: golang(gopkg.in/check.v1)
+Requires: golang(gopkg.in/check.v1)
%description devel
The yaml package enables Go programs to comfortably encode and decode YAML
@@ -95,12 +51,6 @@ building other packages which use import path with
Summary: Enables Go programs to comfortably encode and decode YAML values
BuildArch: noarch
-%if 0%{?with_check}
-%endif
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path_sec}) = %{version}-%{release}
-
%description devel-v2
The yaml package enables Go programs to comfortably encode and decode YAML
values. It was developed within Canonical as part of the juju project, and
@@ -115,126 +65,61 @@ from YAML 1.1 are purposefully not supported since they're a poor design
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
-BuildRequires: golang(gopkg.in/check.v1)
-%endif
-
-Requires: golang(gopkg.in/check.v1)
-
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-Requires: %{name}-devel-v2 = %{version}-%{release}
-
-%description unit-test
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{goipath} prefix.
%prep
-%setup -q -n yaml-%{commit}
+%gosetup
%setup -q -n yaml-%{v1_commit} -T -b 1
-%build
-
%install
-# source codes for building projects
-%if 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{v1_import_path}/
-install -d -p %{buildroot}/%{gopath}/src/%{v1_import_path_sec}/
-# 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/%{v1_import_path}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{v1_import_path}/$file
- echo "%%{gopath}/src/%%{v1_import_path}/$file" >> v1_devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{v1_import_path_sec}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{v1_import_path_sec}/$file
- echo "%%{gopath}/src/%%{v1_import_path_sec}/$file" >> v1_devel.file-list
-done
-pushd ../yaml-%{commit}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-install -d -p %{buildroot}/%{gopath}/src/%{import_path_sec}/
-# 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" >> ../yaml-%{v1_commit}/devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{import_path_sec}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path_sec}/$file
- echo "%%{gopath}/src/%%{import_path_sec}/$file" >> ../yaml-%{v1_commit}/devel.file-list
-done
-popd
-%endif
-
-# testing files for this project
-%if 0%{?with_unit_test}
-install -d -p %{buildroot}/%{gopath}/src/%{v1_import_path}/
-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/%{v1_import_path}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{v1_import_path}/$file
- echo "%%{gopath}/src/%%{v1_import_path}/$file" >> unit-test.file-list
-done
+%goinstall
+%goinstall -i %{import_path} -o devel.file-list
+%goinstall -i %{import_path_sec} -o devel.file-list
+
+cw=$(pwd)
pushd ../yaml-%{commit}
-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" >> ../yaml-%{v1_commit}/unit-test.file-list
-done
+%goinstall -i %{v1_import_path} -o ${cw}/v1_devel.file-list
+%goinstall -i %{v1_import_path_sec} -o ${cw}/v1_devel.file-list
+
+# TODO(jchaloup): create rpm macros for this!!!
+#github.com/go-yaml/yaml -> gopkg.in/v2/yaml
+pushd %{buildroot}/%{gopath}/src/%{import_path}/
+sed -i 's/"github\.com\/go-yaml\/yaml/"gopkg\.in\/v2\/yaml/g' \
+ $(find . -name '*.go')
+#'github.com/go-yaml/yaml -> gopkg.in/yaml.v2
+cd %{buildroot}/%{gopath}/src/%{import_path_sec}/
+sed -i 's/"github\.com\/go-yaml\/yaml/"gopkg\.in\/yaml\.v2/g' \
+ $(find . -name '*.go')
+#gopkg.in/v1/yaml -> gopkg.in/yaml.v1
+cd %{buildroot}/%{gopath}/src/%{v1_import_path_sec}/
+sed -i 's/"gopkg\.in\/v1\/yaml/"gopkg\.in\/yaml\.v1/g' \
+ $(find . -name '*.go')
popd
-%endif
%check
-%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel}
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-
-%gotest %{import_path}
-pushd ../yaml-%{v1_commit}
-%gotest %{v1_import_path}
+%gochecks
+pushd %{buildroot}/%{gopath}/src/%{import_path}/
+%gochecks -i %{import_path}
+cd %{buildroot}/%{gopath}/src/%{import_path_sec}/
+%gochecks
popd
-%endif
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
-%if 0%{?with_devel}
-%files devel -f v1_devel.file-list
+%%files devel -f v1_devel.file-list
%license LICENSE LICENSE.libyaml
%doc README.md
-%dir %{gopath}/src/gopkg.in/v1
-%dir %{gopath}/src/%{v1_import_path}
-%dir %{gopath}/src/%{v1_import_path_sec}
%files devel-v2 -f devel.file-list
%license LICENSE LICENSE.libyaml
%doc README.md
-%dir %{gopath}/src/gopkg.in/v2
-%dir %{gopath}/src/%{import_path}
-%dir %{gopath}/src/%{import_path_sec}
-%endif
-
-%if 0%{?with_unit_test}
-%files unit-test -f unit-test.file-list
-%license LICENSE LICENSE.libyaml
-%doc README.md
-%endif
%changelog
+* Tue Mar 20 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 1-21.gitcd8b52f
+- Update to spec 3.0
+ Bump to cd8b52f8269e0feb286dfeef29f8fe4d5b397e0b
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6 years, 1 month
Architecture specific change in rpms/golang-gopkg-yaml.git
by githook-noreply@fedoraproject.org
The package rpms/golang-gopkg-yaml.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-gopkg-yaml.git/commit/?id=....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit c8b2f802bd4f473aa96c09fd99d9f9685d54d119
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 15:08:00 2018 +0000
Bump to cd8b52f8269e0feb286dfeef29f8fe4d5b397e0b
diff --git a/golang-gopkg-yaml.spec b/golang-gopkg-yaml.spec
index b7bec5c..81023b1 100644
--- a/golang-gopkg-yaml.spec
+++ b/golang-gopkg-yaml.spec
@@ -1,42 +1,5 @@
-# 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
-# both tests failing
-%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 go-yaml
-%global repo yaml
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
+%global goipath github.com/go-yaml/yaml
%global commit cd8b52f8269e0feb286dfeef29f8fe4d5b397e0b
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global import_path gopkg.in/v2/yaml
%global import_path_sec gopkg.in/yaml.v2
@@ -48,33 +11,26 @@
%global devel_main golang-gopkg-yaml-devel-v2
+%gometa -i
+
Name: golang-gopkg-yaml
Version: 1
-Release: 20%{?dist}
+Release: 21%{?dist}
Summary: Enables Go programs to comfortably encode and decode YAML values
License: LGPLv3 with exceptions
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/yaml-%{shortcommit}.tar.gz
-Source1: https://%{provider_prefix}/archive/%{v1_commit}/yaml-%{v1_commit}.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}
+Source1: https://%{goipath}/archive/%{v1_commit}/yaml-%{v1_commit}.tar.gz
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: Enables Go programs to comfortably encode and decode YAML values
BuildArch: noarch
-%if 0%{?with_check}
-%endif
-
-Provides: golang(%{v1_import_path}) = %{version}-%{release}
-Provides: golang(%{v1_import_path_sec}) = %{version}-%{release}
+BuildRequires: golang(gopkg.in/check.v1)
+Requires: golang(gopkg.in/check.v1)
%description devel
The yaml package enables Go programs to comfortably encode and decode YAML
@@ -95,12 +51,6 @@ building other packages which use import path with
Summary: Enables Go programs to comfortably encode and decode YAML values
BuildArch: noarch
-%if 0%{?with_check}
-%endif
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path_sec}) = %{version}-%{release}
-
%description devel-v2
The yaml package enables Go programs to comfortably encode and decode YAML
values. It was developed within Canonical as part of the juju project, and
@@ -115,126 +65,61 @@ from YAML 1.1 are purposefully not supported since they're a poor design
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
-BuildRequires: golang(gopkg.in/check.v1)
-%endif
-
-Requires: golang(gopkg.in/check.v1)
-
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-Requires: %{name}-devel-v2 = %{version}-%{release}
-
-%description unit-test
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{goipath} prefix.
%prep
-%setup -q -n yaml-%{commit}
+%gosetup
%setup -q -n yaml-%{v1_commit} -T -b 1
-%build
-
%install
-# source codes for building projects
-%if 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{v1_import_path}/
-install -d -p %{buildroot}/%{gopath}/src/%{v1_import_path_sec}/
-# 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/%{v1_import_path}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{v1_import_path}/$file
- echo "%%{gopath}/src/%%{v1_import_path}/$file" >> v1_devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{v1_import_path_sec}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{v1_import_path_sec}/$file
- echo "%%{gopath}/src/%%{v1_import_path_sec}/$file" >> v1_devel.file-list
-done
-pushd ../yaml-%{commit}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-install -d -p %{buildroot}/%{gopath}/src/%{import_path_sec}/
-# 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" >> ../yaml-%{v1_commit}/devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{import_path_sec}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path_sec}/$file
- echo "%%{gopath}/src/%%{import_path_sec}/$file" >> ../yaml-%{v1_commit}/devel.file-list
-done
-popd
-%endif
-
-# testing files for this project
-%if 0%{?with_unit_test}
-install -d -p %{buildroot}/%{gopath}/src/%{v1_import_path}/
-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/%{v1_import_path}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{v1_import_path}/$file
- echo "%%{gopath}/src/%%{v1_import_path}/$file" >> unit-test.file-list
-done
+%goinstall
+%goinstall -i %{import_path} -o devel.file-list
+%goinstall -i %{import_path_sec} -o devel.file-list
+
+cw=$(pwd)
pushd ../yaml-%{commit}
-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" >> ../yaml-%{v1_commit}/unit-test.file-list
-done
+%goinstall -i %{v1_import_path} -o ${cw}/v1_devel.file-list
+%goinstall -i %{v1_import_path_sec} -o ${cw}/v1_devel.file-list
+
+# TODO(jchaloup): create rpm macros for this!!!
+#github.com/go-yaml/yaml -> gopkg.in/v2/yaml
+pushd %{buildroot}/%{gopath}/src/%{import_path}/
+sed -i 's/"github\.com\/go-yaml\/yaml/"gopkg\.in\/v2\/yaml/g' \
+ $(find . -name '*.go')
+#'github.com/go-yaml/yaml -> gopkg.in/yaml.v2
+cd %{buildroot}/%{gopath}/src/%{import_path_sec}/
+sed -i 's/"github\.com\/go-yaml\/yaml/"gopkg\.in\/yaml\.v2/g' \
+ $(find . -name '*.go')
+#gopkg.in/v1/yaml -> gopkg.in/yaml.v1
+cd %{buildroot}/%{gopath}/src/%{v1_import_path_sec}/
+sed -i 's/"gopkg\.in\/v1\/yaml/"gopkg\.in\/yaml\.v1/g' \
+ $(find . -name '*.go')
popd
-%endif
%check
-%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel}
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-
-%gotest %{import_path}
-pushd ../yaml-%{v1_commit}
-%gotest %{v1_import_path}
+%gochecks
+pushd %{buildroot}/%{gopath}/src/%{import_path}/
+%gochecks -i %{import_path}
+cd %{buildroot}/%{gopath}/src/%{import_path_sec}/
+%gochecks
popd
-%endif
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
-%if 0%{?with_devel}
-%files devel -f v1_devel.file-list
+%%files devel -f v1_devel.file-list
%license LICENSE LICENSE.libyaml
%doc README.md
-%dir %{gopath}/src/gopkg.in/v1
-%dir %{gopath}/src/%{v1_import_path}
-%dir %{gopath}/src/%{v1_import_path_sec}
%files devel-v2 -f devel.file-list
%license LICENSE LICENSE.libyaml
%doc README.md
-%dir %{gopath}/src/gopkg.in/v2
-%dir %{gopath}/src/%{import_path}
-%dir %{gopath}/src/%{import_path_sec}
-%endif
-
-%if 0%{?with_unit_test}
-%files unit-test -f unit-test.file-list
-%license LICENSE LICENSE.libyaml
-%doc README.md
-%endif
%changelog
+* Tue Mar 20 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 1-21.gitcd8b52f
+- Update to spec 3.0
+ Bump to cd8b52f8269e0feb286dfeef29f8fe4d5b397e0b
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6 years, 1 month
Architecture specific change in rpms/golang-gopkg-yaml.git
by githook-noreply@fedoraproject.org
The package rpms/golang-gopkg-yaml.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-gopkg-yaml.git/commit/?id=....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit c8b2f802bd4f473aa96c09fd99d9f9685d54d119
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 15:08:00 2018 +0000
Bump to cd8b52f8269e0feb286dfeef29f8fe4d5b397e0b
diff --git a/golang-gopkg-yaml.spec b/golang-gopkg-yaml.spec
index b7bec5c..81023b1 100644
--- a/golang-gopkg-yaml.spec
+++ b/golang-gopkg-yaml.spec
@@ -1,42 +1,5 @@
-# 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
-# both tests failing
-%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 go-yaml
-%global repo yaml
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
+%global goipath github.com/go-yaml/yaml
%global commit cd8b52f8269e0feb286dfeef29f8fe4d5b397e0b
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global import_path gopkg.in/v2/yaml
%global import_path_sec gopkg.in/yaml.v2
@@ -48,33 +11,26 @@
%global devel_main golang-gopkg-yaml-devel-v2
+%gometa -i
+
Name: golang-gopkg-yaml
Version: 1
-Release: 20%{?dist}
+Release: 21%{?dist}
Summary: Enables Go programs to comfortably encode and decode YAML values
License: LGPLv3 with exceptions
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/yaml-%{shortcommit}.tar.gz
-Source1: https://%{provider_prefix}/archive/%{v1_commit}/yaml-%{v1_commit}.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}
+Source1: https://%{goipath}/archive/%{v1_commit}/yaml-%{v1_commit}.tar.gz
%description
%{summary}
-%if 0%{?with_devel}
%package devel
Summary: Enables Go programs to comfortably encode and decode YAML values
BuildArch: noarch
-%if 0%{?with_check}
-%endif
-
-Provides: golang(%{v1_import_path}) = %{version}-%{release}
-Provides: golang(%{v1_import_path_sec}) = %{version}-%{release}
+BuildRequires: golang(gopkg.in/check.v1)
+Requires: golang(gopkg.in/check.v1)
%description devel
The yaml package enables Go programs to comfortably encode and decode YAML
@@ -95,12 +51,6 @@ building other packages which use import path with
Summary: Enables Go programs to comfortably encode and decode YAML values
BuildArch: noarch
-%if 0%{?with_check}
-%endif
-
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path_sec}) = %{version}-%{release}
-
%description devel-v2
The yaml package enables Go programs to comfortably encode and decode YAML
values. It was developed within Canonical as part of the juju project, and
@@ -115,126 +65,61 @@ from YAML 1.1 are purposefully not supported since they're a poor design
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
-BuildRequires: golang(gopkg.in/check.v1)
-%endif
-
-Requires: golang(gopkg.in/check.v1)
-
-# test subpackage tests code from devel subpackage
-Requires: %{name}-devel = %{version}-%{release}
-Requires: %{name}-devel-v2 = %{version}-%{release}
-
-%description unit-test
-%{summary}
-
-This package contains unit tests for project
-providing packages with %{import_path} prefix.
-%endif
+%{goipath} prefix.
%prep
-%setup -q -n yaml-%{commit}
+%gosetup
%setup -q -n yaml-%{v1_commit} -T -b 1
-%build
-
%install
-# source codes for building projects
-%if 0%{?with_devel}
-install -d -p %{buildroot}/%{gopath}/src/%{v1_import_path}/
-install -d -p %{buildroot}/%{gopath}/src/%{v1_import_path_sec}/
-# 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/%{v1_import_path}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{v1_import_path}/$file
- echo "%%{gopath}/src/%%{v1_import_path}/$file" >> v1_devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{v1_import_path_sec}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{v1_import_path_sec}/$file
- echo "%%{gopath}/src/%%{v1_import_path_sec}/$file" >> v1_devel.file-list
-done
-pushd ../yaml-%{commit}
-install -d -p %{buildroot}/%{gopath}/src/%{import_path}/
-install -d -p %{buildroot}/%{gopath}/src/%{import_path_sec}/
-# 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" >> ../yaml-%{v1_commit}/devel.file-list
- install -d -p %{buildroot}/%{gopath}/src/%{import_path_sec}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{import_path_sec}/$file
- echo "%%{gopath}/src/%%{import_path_sec}/$file" >> ../yaml-%{v1_commit}/devel.file-list
-done
-popd
-%endif
-
-# testing files for this project
-%if 0%{?with_unit_test}
-install -d -p %{buildroot}/%{gopath}/src/%{v1_import_path}/
-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/%{v1_import_path}/$(dirname $file)
- cp -pav $file %{buildroot}/%{gopath}/src/%{v1_import_path}/$file
- echo "%%{gopath}/src/%%{v1_import_path}/$file" >> unit-test.file-list
-done
+%goinstall
+%goinstall -i %{import_path} -o devel.file-list
+%goinstall -i %{import_path_sec} -o devel.file-list
+
+cw=$(pwd)
pushd ../yaml-%{commit}
-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" >> ../yaml-%{v1_commit}/unit-test.file-list
-done
+%goinstall -i %{v1_import_path} -o ${cw}/v1_devel.file-list
+%goinstall -i %{v1_import_path_sec} -o ${cw}/v1_devel.file-list
+
+# TODO(jchaloup): create rpm macros for this!!!
+#github.com/go-yaml/yaml -> gopkg.in/v2/yaml
+pushd %{buildroot}/%{gopath}/src/%{import_path}/
+sed -i 's/"github\.com\/go-yaml\/yaml/"gopkg\.in\/v2\/yaml/g' \
+ $(find . -name '*.go')
+#'github.com/go-yaml/yaml -> gopkg.in/yaml.v2
+cd %{buildroot}/%{gopath}/src/%{import_path_sec}/
+sed -i 's/"github\.com\/go-yaml\/yaml/"gopkg\.in\/yaml\.v2/g' \
+ $(find . -name '*.go')
+#gopkg.in/v1/yaml -> gopkg.in/yaml.v1
+cd %{buildroot}/%{gopath}/src/%{v1_import_path_sec}/
+sed -i 's/"gopkg\.in\/v1\/yaml/"gopkg\.in\/yaml\.v1/g' \
+ $(find . -name '*.go')
popd
-%endif
%check
-%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel}
-export GOPATH=%{buildroot}/%{gopath}:%{gopath}
-
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-
-%gotest %{import_path}
-pushd ../yaml-%{v1_commit}
-%gotest %{v1_import_path}
+%gochecks
+pushd %{buildroot}/%{gopath}/src/%{import_path}/
+%gochecks -i %{import_path}
+cd %{buildroot}/%{gopath}/src/%{import_path_sec}/
+%gochecks
popd
-%endif
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
-%if 0%{?with_devel}
-%files devel -f v1_devel.file-list
+%%files devel -f v1_devel.file-list
%license LICENSE LICENSE.libyaml
%doc README.md
-%dir %{gopath}/src/gopkg.in/v1
-%dir %{gopath}/src/%{v1_import_path}
-%dir %{gopath}/src/%{v1_import_path_sec}
%files devel-v2 -f devel.file-list
%license LICENSE LICENSE.libyaml
%doc README.md
-%dir %{gopath}/src/gopkg.in/v2
-%dir %{gopath}/src/%{import_path}
-%dir %{gopath}/src/%{import_path_sec}
-%endif
-
-%if 0%{?with_unit_test}
-%files unit-test -f unit-test.file-list
-%license LICENSE LICENSE.libyaml
-%doc README.md
-%endif
%changelog
+* Tue Mar 20 2018 Jan Chaloupka <jchaloup(a)redhat.com> - 1-21.gitcd8b52f
+- Update to spec 3.0
+ Bump to cd8b52f8269e0feb286dfeef29f8fe4d5b397e0b
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
commit 575ae7901b515c85d0e2cae2515528f383965d4f
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 15:08:00 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-gopkg-yaml.spec b/golang-gopkg-yaml.spec
index 15a9de3..b7bec5c 100644
--- a/golang-gopkg-yaml.spec
+++ b/golang-gopkg-yaml.spec
@@ -50,7 +50,7 @@
Name: golang-gopkg-yaml
Version: 1
-Release: 19%{?dist}
+Release: 20%{?dist}
Summary: Enables Go programs to comfortably encode and decode YAML values
License: LGPLv3 with exceptions
URL: https://%{provider_prefix}
@@ -235,6 +235,9 @@ popd
%endif
%changelog
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1-20
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Fri Sep 22 2017 Jan Chaloupka <jchaloup(a)redhat.com> - 1-19
- Bump to upstream cd8b52f8269e0feb286dfeef29f8fe4d5b397e0b
related: #1250524
6 years, 1 month
Architecture specific change in rpms/glusterfs.git
by githook-noreply@fedoraproject.org
The package rpms/glusterfs.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/glusterfs.git/commit/?id=476b98d2....
Change:
-%ifarch s390 s390x %{arm}
Thanks.
Full change:
============
commit 476b98d21e98d9a1491498fc1591e82d67d6a8c5
Author: Dan Horák <dan(a)danny.cz>
Date: Tue Mar 20 14:19:57 2018 +0100
all platform provide the RDMA stack
diff --git a/glusterfs.spec b/glusterfs.spec
index 9f62e55..62e2887 100644
--- a/glusterfs.spec
+++ b/glusterfs.spec
@@ -83,11 +83,6 @@
# rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --without rdma
%{?_without_rdma:%global _without_rdma --disable-ibverbs}
-# No RDMA Support on s390(x)
-%ifarch s390 s390x %{arm}
-%global _without_rdma --disable-ibverbs
-%endif
-
# server
# if you wish to build rpms without server components, compile like this
# rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --without server
6 years, 1 month