Architecture specific change in rpms/zstd.git
by githook-noreply@fedoraproject.org
The package rpms/zstd.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/zstd.git/commit/?id=9f8104bc8a73a....
Change:
-%ifarch %{ix86} x86_64
Thanks.
Full change:
============
commit 21908004d06eafd1380e1f4fa3031e6b5fb704be
Author: Pádraig Brady <P(a)draigBrady.com>
Date: Tue Mar 27 22:05:46 2018 -0700
latest upstream (1.3.4)
diff --git a/.gitignore b/.gitignore
index 6dff472..c52bd79 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
/zstd-1.3.1.tar.gz
/zstd-1.3.2.tar.gz
/zstd-1.3.3.tar.gz
+/zstd-1.3.4.tar.gz
diff --git a/pzstd.1.patch b/pzstd.1.patch
index 1f391b4..cfe2e45 100644
--- a/pzstd.1.patch
+++ b/pzstd.1.patch
@@ -1,7 +1,7 @@
-diff -Naur zstd-1.2.0.orig/programs/zstd.1 zstd-1.2.0/programs/zstd.1
---- zstd-1.2.0.orig/programs/zstd.1 2017-05-04 18:18:24.000000000 +0000
-+++ zstd-1.2.0/programs/zstd.1 2017-05-08 13:26:25.639811525 +0000
-@@ -162,7 +162,14 @@
+diff -Naur -Naru zstd-1.3.4/programs/zstd.1 zstd-1.3.4.new/programs/zstd.1
+--- zstd-1.3.4/programs/zstd.1 2018-03-26 22:19:34.000000000 +0000
++++ zstd-1.3.4.new/programs/zstd.1 2018-03-28 04:28:27.532777239 +0000
+@@ -177,7 +177,14 @@
.TP
\fB\-\-\fR
All arguments after \fB\-\-\fR are treated as files
@@ -15,5 +15,5 @@ diff -Naur zstd-1.2.0.orig/programs/zstd.1 zstd-1.2.0/programs/zstd.1
+
+
.SH "DICTIONARY BUILDER"
- \fBzstd\fR offers \fIdictionary\fR compression, useful for very small files and messages\. It\'s possible to train \fBzstd\fR with some samples, the result of which is saved into a file called a \fBdictionary\fR\. Then during compression and decompression, reference the same dictionary\. It will improve compression ratio of small files\. Typical gains range from 10% (at 64KB) to x5 better (at <1KB)\.
+ \fBzstd\fR offers \fIdictionary\fR compression, which greatly improves efficiency on small files and messages\. It\'s possible to train \fBzstd\fR with a set of samples, the result of which is saved into a file called a \fBdictionary\fR\. Then during compression and decompression, reference the same dictionary, using command \fB\-D dictionaryFileName\fR\. Compression of small files similar to the sample set will be greatly improved\.
.
diff --git a/sources b/sources
index 06624ee..a7e15cc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (zstd-1.3.3.tar.gz) = 72b63f96f65ca987cdc82c24354f7665c7dc3b2563cb0646f355c34bf8f090d8a0759729f8beaba8317272bdab34749f934055707b25cfd69c98a9fdcfbc59ae
+SHA512 (zstd-1.3.4.tar.gz) = d3c8c1dfabd251b03205b64eff97898c1e2ca457191b1f6257450e6d2675451a68aa0bc2220b2c65baa69a6997d98490612779d95b3325320c0a3202810ae554
diff --git a/zstd.spec b/zstd.spec
index 10e6589..c4479fb 100644
--- a/zstd.spec
+++ b/zstd.spec
@@ -12,8 +12,8 @@
%endif
Name: zstd
-Version: 1.3.3
-Release: 3%{?dist}
+Version: 1.3.4
+Release: 1%{?dist}
Summary: Zstd compression library
License: BSD and GPLv2
@@ -114,6 +114,9 @@ install -D -m644 programs/%{name}.1 %{buildroot}%{_mandir}/man1/p%{name}.1
%ldconfig_scriptlets -n lib%{name}
%changelog
+* Wed Mar 28 2018 Pádraig Brady <P(a)draigBrady.com> - 1.3.4-1
+- Latest upstream
+
* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
commit 2b6f4ac052093192469555e46d940ba47bf621c5
Author: Pádraig Brady <P(a)draigBrady.com>
Date: Wed Mar 14 12:07:00 2018 -0700
reset licence back to GPLv2
diff --git a/zstd.spec b/zstd.spec
index 5615c37..10e6589 100644
--- a/zstd.spec
+++ b/zstd.spec
@@ -16,7 +16,7 @@ Version: 1.3.3
Release: 3%{?dist}
Summary: Zstd compression library
-License: BSD and GPLv2+
+License: BSD and GPLv2
URL: https://github.com/facebook/zstd
Source0: https://github.com/facebook/zstd/archive/v%{version}.tar.gz#/%{name}-%{ve...
commit f08fa73214f4367be9909373963e41834d4215b1
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Sun Feb 11 10:48:25 2018 +0100
package all license files
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/zstd.spec b/zstd.spec
index 726b842..5615c37 100644
--- a/zstd.spec
+++ b/zstd.spec
@@ -97,11 +97,11 @@ install -D -m644 programs/%{name}.1 %{buildroot}%{_mandir}/man1/p%{name}.1
%{_mandir}/man1/%{name}.1*
%{_mandir}/man1/un%{name}.1*
%{_mandir}/man1/%{name}cat.1*
-%license LICENSE
+%license COPYING LICENSE
%files -n lib%{name}
%{_libdir}/libzstd.so.*
-%license LICENSE
+%license COPYING LICENSE
%files -n lib%{name}-devel
%{_includedir}/zbuff.h
commit 48c8969670e11e2b1a4bb9a3a783e63f7bc23854
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Sun Feb 11 10:48:06 2018 +0100
license is GPLv2+, not GPLv2
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/zstd.spec b/zstd.spec
index a8da99c..726b842 100644
--- a/zstd.spec
+++ b/zstd.spec
@@ -16,7 +16,7 @@ Version: 1.3.3
Release: 3%{?dist}
Summary: Zstd compression library
-License: BSD and GPLv2
+License: BSD and GPLv2+
URL: https://github.com/facebook/zstd
Source0: https://github.com/facebook/zstd/archive/v%{version}.tar.gz#/%{name}-%{ve...
commit 5637076541a7c975111230680398339a217a5188
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Sun Feb 11 10:46:24 2018 +0100
don't hardcode /usr/bin path
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/zstd.spec b/zstd.spec
index fc1ec11..a8da99c 100644
--- a/zstd.spec
+++ b/zstd.spec
@@ -75,13 +75,13 @@ make -C contrib/pzstd test
%install
%make_install PREFIX=%{_prefix} LIBDIR=%{_libdir}
# Remove undocumented wrappers of minimal use
-rm %{buildroot}/%{_bindir}/%{name}less
-rm %{buildroot}/%{_bindir}/%{name}grep
+rm %{buildroot}%{_bindir}/%{name}less
+rm %{buildroot}%{_bindir}/%{name}grep
# Don't install the static lib
-rm %{buildroot}/%{_libdir}/libzstd.a
+rm %{buildroot}%{_libdir}/libzstd.a
%if %{with pzstd}
-install -D -m755 contrib/pzstd/pzstd %{buildroot}/usr/bin/pzstd
-install -D -m644 programs/%{name}.1 %{buildroot}/%{_mandir}/man1/p%{name}.1
+install -D -m755 contrib/pzstd/pzstd %{buildroot}%{_bindir}/pzstd
+install -D -m644 programs/%{name}.1 %{buildroot}%{_mandir}/man1/p%{name}.1
%endif
%files
commit 9f8104bc8a73a2ecbb8c486ba1c2b05e560a3d04
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Sun Feb 11 10:45:46 2018 +0100
simplify pzstd build handling
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/zstd.spec b/zstd.spec
index 214d637..fc1ec11 100644
--- a/zstd.spec
+++ b/zstd.spec
@@ -1,9 +1,13 @@
+%if 0%{?rhel} && 0%{?rhel} <= 6
# gcc-4.4 is currently too old to compile pzstd
-%if 0%{?fedora} || 0%{?rhel} > 6
+%bcond_with pzstd
+%else
+%ifarch %{ix86} x86_64
+%bcond_without pzstd
+%else
# aarch64 and armv7hl at least currently segfault
# in ThreadPool test for the pzstd util
-%ifarch %{ix86} x86_64
-%global with_pzstd 1
+%bcond_with pzstd
%endif
%endif
@@ -19,7 +23,7 @@ Source0: https://github.com/facebook/zstd/archive/v%{version}.tar.gz#/%{n
Patch1: pzstd.1.patch
BuildRequires: gcc gtest-devel
-%if 0%{?with_pzstd}
+%if %{with pzstd}
BuildRequires: gcc-c++
%endif
@@ -44,7 +48,7 @@ Header files for Zstd library.
%prep
%setup -q
find -name .gitignore -delete
-%if 0%{?with_pzstd}
+%if %{with pzstd}
%patch1 -p1
%endif
@@ -54,7 +58,7 @@ export LDFLAGS="$RPM_LD_FLAGS"
for dir in lib programs; do
%make_build -C "$dir"
done
-%if 0%{?with_pzstd}
+%if %{with pzstd}
export CXXFLAGS="$RPM_OPT_FLAGS -std=c++11"
%make_build -C contrib/pzstd
%endif
@@ -63,7 +67,7 @@ export CXXFLAGS="$RPM_OPT_FLAGS -std=c++11"
export CFLAGS="$RPM_OPT_FLAGS"
export LDFLAGS="$RPM_LD_FLAGS"
make -C tests test-zstd
-%if 0%{?with_pzstd}
+%if %{with pzstd}
export CXXFLAGS="$RPM_OPT_FLAGS -std=c++11"
make -C contrib/pzstd test
%endif
@@ -75,7 +79,7 @@ rm %{buildroot}/%{_bindir}/%{name}less
rm %{buildroot}/%{_bindir}/%{name}grep
# Don't install the static lib
rm %{buildroot}/%{_libdir}/libzstd.a
-%if 0%{?with_pzstd}
+%if %{with pzstd}
install -D -m755 contrib/pzstd/pzstd %{buildroot}/usr/bin/pzstd
install -D -m644 programs/%{name}.1 %{buildroot}/%{_mandir}/man1/p%{name}.1
%endif
@@ -83,7 +87,7 @@ install -D -m644 programs/%{name}.1 %{buildroot}/%{_mandir}/man1/p%{name}.1
%files
%doc NEWS README.md
%{_bindir}/%{name}
-%if 0%{?with_pzstd}
+%if %{with pzstd}
%{_bindir}/p%{name}
%{_mandir}/man1/p%{name}.1*
%endif
commit d373770caeceae89055cfaf0cba4268bc58c4996
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Sun Feb 11 10:44:15 2018 +0100
simplify build flags handling
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/zstd.spec b/zstd.spec
index deab9c7..214d637 100644
--- a/zstd.spec
+++ b/zstd.spec
@@ -49,19 +49,23 @@ find -name .gitignore -delete
%endif
%build
-%{?__global_ldflags:LDFLAGS="${LDFLAGS:-%__global_ldflags}" ; export LDFLAGS ;}
+export CFLAGS="$RPM_OPT_FLAGS"
+export LDFLAGS="$RPM_LD_FLAGS"
for dir in lib programs; do
- CFLAGS="%{optflags}" %make_build -C "$dir"
+ %make_build -C "$dir"
done
%if 0%{?with_pzstd}
-CFLAGS="%{optflags}" CXXFLAGS="%{optflags} -std=c++11" %make_build -C 'contrib/pzstd'
+export CXXFLAGS="$RPM_OPT_FLAGS -std=c++11"
+%make_build -C contrib/pzstd
%endif
%check
-%{?__global_ldflags:LDFLAGS="${LDFLAGS:-%__global_ldflags}" ; export LDFLAGS ;}
-CFLAGS="%{optflags}" make -C tests test-zstd
+export CFLAGS="$RPM_OPT_FLAGS"
+export LDFLAGS="$RPM_LD_FLAGS"
+make -C tests test-zstd
%if 0%{?with_pzstd}
-CFLAGS="%{optflags}" CXXFLAGS="%{optflags} -std=c++11" make -C contrib/pzstd test
+export CXXFLAGS="$RPM_OPT_FLAGS -std=c++11"
+make -C contrib/pzstd test
%endif
%install
commit c63638a703e83ecd7e6b6d60d2eccfb336396f68
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Sun Feb 11 10:43:56 2018 +0100
add missing BuildRequires: gcc-c++
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/zstd.spec b/zstd.spec
index b25cea8..deab9c7 100644
--- a/zstd.spec
+++ b/zstd.spec
@@ -19,6 +19,9 @@ Source0: https://github.com/facebook/zstd/archive/v%{version}.tar.gz#/%{n
Patch1: pzstd.1.patch
BuildRequires: gcc gtest-devel
+%if 0%{?with_pzstd}
+BuildRequires: gcc-c++
+%endif
%description
Zstd, short for Zstandard, is a fast lossless compression algorithm,
commit a85f5cbd7714a84458c3945bb644cb2c39373b35
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Feb 9 22:32:44 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/zstd.spec b/zstd.spec
index d698356..b25cea8 100644
--- a/zstd.spec
+++ b/zstd.spec
@@ -9,7 +9,7 @@
Name: zstd
Version: 1.3.3
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Zstd compression library
License: BSD and GPLv2
@@ -103,6 +103,9 @@ install -D -m644 programs/%{name}.1 %{buildroot}/%{_mandir}/man1/p%{name}.1
%ldconfig_scriptlets -n lib%{name}
%changelog
+* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3.3-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Fri Feb 02 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 1.3.3-2
- Switch to %%ldconfig_scriptlets
commit 348e7e49c54810718cf7d0c2ab33e04e1ad6b605
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Fri Feb 2 11:17:30 2018 +0100
Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/zstd.spec b/zstd.spec
index 97468d2..d698356 100644
--- a/zstd.spec
+++ b/zstd.spec
@@ -9,7 +9,7 @@
Name: zstd
Version: 1.3.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Zstd compression library
License: BSD and GPLv2
@@ -100,10 +100,12 @@ install -D -m644 programs/%{name}.1 %{buildroot}/%{_mandir}/man1/p%{name}.1
%{_libdir}/pkgconfig/libzstd.pc
%{_libdir}/libzstd.so
-%post -n lib%{name} -p /sbin/ldconfig
-%postun -n lib%{name} -p /sbin/ldconfig
+%ldconfig_scriptlets -n lib%{name}
%changelog
+* Fri Feb 02 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 1.3.3-2
+- Switch to %%ldconfig_scriptlets
+
* Thu Dec 21 2017 Pádraig Brady <P(a)draigBrady.com> - 1.3.3-1
- Latest upstream
6 years, 1 month
Architecture specific change in rpms/zstd.git
by githook-noreply@fedoraproject.org
The package rpms/zstd.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/zstd.git/commit/?id=9f8104bc8a73a....
Change:
-%ifarch %{ix86} x86_64
Thanks.
Full change:
============
commit 21908004d06eafd1380e1f4fa3031e6b5fb704be
Author: Pádraig Brady <P(a)draigBrady.com>
Date: Tue Mar 27 22:05:46 2018 -0700
latest upstream (1.3.4)
diff --git a/.gitignore b/.gitignore
index 6dff472..c52bd79 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
/zstd-1.3.1.tar.gz
/zstd-1.3.2.tar.gz
/zstd-1.3.3.tar.gz
+/zstd-1.3.4.tar.gz
diff --git a/pzstd.1.patch b/pzstd.1.patch
index 1f391b4..cfe2e45 100644
--- a/pzstd.1.patch
+++ b/pzstd.1.patch
@@ -1,7 +1,7 @@
-diff -Naur zstd-1.2.0.orig/programs/zstd.1 zstd-1.2.0/programs/zstd.1
---- zstd-1.2.0.orig/programs/zstd.1 2017-05-04 18:18:24.000000000 +0000
-+++ zstd-1.2.0/programs/zstd.1 2017-05-08 13:26:25.639811525 +0000
-@@ -162,7 +162,14 @@
+diff -Naur -Naru zstd-1.3.4/programs/zstd.1 zstd-1.3.4.new/programs/zstd.1
+--- zstd-1.3.4/programs/zstd.1 2018-03-26 22:19:34.000000000 +0000
++++ zstd-1.3.4.new/programs/zstd.1 2018-03-28 04:28:27.532777239 +0000
+@@ -177,7 +177,14 @@
.TP
\fB\-\-\fR
All arguments after \fB\-\-\fR are treated as files
@@ -15,5 +15,5 @@ diff -Naur zstd-1.2.0.orig/programs/zstd.1 zstd-1.2.0/programs/zstd.1
+
+
.SH "DICTIONARY BUILDER"
- \fBzstd\fR offers \fIdictionary\fR compression, useful for very small files and messages\. It\'s possible to train \fBzstd\fR with some samples, the result of which is saved into a file called a \fBdictionary\fR\. Then during compression and decompression, reference the same dictionary\. It will improve compression ratio of small files\. Typical gains range from 10% (at 64KB) to x5 better (at <1KB)\.
+ \fBzstd\fR offers \fIdictionary\fR compression, which greatly improves efficiency on small files and messages\. It\'s possible to train \fBzstd\fR with a set of samples, the result of which is saved into a file called a \fBdictionary\fR\. Then during compression and decompression, reference the same dictionary, using command \fB\-D dictionaryFileName\fR\. Compression of small files similar to the sample set will be greatly improved\.
.
diff --git a/sources b/sources
index 06624ee..a7e15cc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (zstd-1.3.3.tar.gz) = 72b63f96f65ca987cdc82c24354f7665c7dc3b2563cb0646f355c34bf8f090d8a0759729f8beaba8317272bdab34749f934055707b25cfd69c98a9fdcfbc59ae
+SHA512 (zstd-1.3.4.tar.gz) = d3c8c1dfabd251b03205b64eff97898c1e2ca457191b1f6257450e6d2675451a68aa0bc2220b2c65baa69a6997d98490612779d95b3325320c0a3202810ae554
diff --git a/zstd.spec b/zstd.spec
index 10e6589..c4479fb 100644
--- a/zstd.spec
+++ b/zstd.spec
@@ -12,8 +12,8 @@
%endif
Name: zstd
-Version: 1.3.3
-Release: 3%{?dist}
+Version: 1.3.4
+Release: 1%{?dist}
Summary: Zstd compression library
License: BSD and GPLv2
@@ -114,6 +114,9 @@ install -D -m644 programs/%{name}.1 %{buildroot}%{_mandir}/man1/p%{name}.1
%ldconfig_scriptlets -n lib%{name}
%changelog
+* Wed Mar 28 2018 Pádraig Brady <P(a)draigBrady.com> - 1.3.4-1
+- Latest upstream
+
* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
commit 2b6f4ac052093192469555e46d940ba47bf621c5
Author: Pádraig Brady <P(a)draigBrady.com>
Date: Wed Mar 14 12:07:00 2018 -0700
reset licence back to GPLv2
diff --git a/zstd.spec b/zstd.spec
index 5615c37..10e6589 100644
--- a/zstd.spec
+++ b/zstd.spec
@@ -16,7 +16,7 @@ Version: 1.3.3
Release: 3%{?dist}
Summary: Zstd compression library
-License: BSD and GPLv2+
+License: BSD and GPLv2
URL: https://github.com/facebook/zstd
Source0: https://github.com/facebook/zstd/archive/v%{version}.tar.gz#/%{name}-%{ve...
commit f08fa73214f4367be9909373963e41834d4215b1
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Sun Feb 11 10:48:25 2018 +0100
package all license files
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/zstd.spec b/zstd.spec
index 726b842..5615c37 100644
--- a/zstd.spec
+++ b/zstd.spec
@@ -97,11 +97,11 @@ install -D -m644 programs/%{name}.1 %{buildroot}%{_mandir}/man1/p%{name}.1
%{_mandir}/man1/%{name}.1*
%{_mandir}/man1/un%{name}.1*
%{_mandir}/man1/%{name}cat.1*
-%license LICENSE
+%license COPYING LICENSE
%files -n lib%{name}
%{_libdir}/libzstd.so.*
-%license LICENSE
+%license COPYING LICENSE
%files -n lib%{name}-devel
%{_includedir}/zbuff.h
commit 48c8969670e11e2b1a4bb9a3a783e63f7bc23854
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Sun Feb 11 10:48:06 2018 +0100
license is GPLv2+, not GPLv2
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/zstd.spec b/zstd.spec
index a8da99c..726b842 100644
--- a/zstd.spec
+++ b/zstd.spec
@@ -16,7 +16,7 @@ Version: 1.3.3
Release: 3%{?dist}
Summary: Zstd compression library
-License: BSD and GPLv2
+License: BSD and GPLv2+
URL: https://github.com/facebook/zstd
Source0: https://github.com/facebook/zstd/archive/v%{version}.tar.gz#/%{name}-%{ve...
commit 5637076541a7c975111230680398339a217a5188
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Sun Feb 11 10:46:24 2018 +0100
don't hardcode /usr/bin path
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/zstd.spec b/zstd.spec
index fc1ec11..a8da99c 100644
--- a/zstd.spec
+++ b/zstd.spec
@@ -75,13 +75,13 @@ make -C contrib/pzstd test
%install
%make_install PREFIX=%{_prefix} LIBDIR=%{_libdir}
# Remove undocumented wrappers of minimal use
-rm %{buildroot}/%{_bindir}/%{name}less
-rm %{buildroot}/%{_bindir}/%{name}grep
+rm %{buildroot}%{_bindir}/%{name}less
+rm %{buildroot}%{_bindir}/%{name}grep
# Don't install the static lib
-rm %{buildroot}/%{_libdir}/libzstd.a
+rm %{buildroot}%{_libdir}/libzstd.a
%if %{with pzstd}
-install -D -m755 contrib/pzstd/pzstd %{buildroot}/usr/bin/pzstd
-install -D -m644 programs/%{name}.1 %{buildroot}/%{_mandir}/man1/p%{name}.1
+install -D -m755 contrib/pzstd/pzstd %{buildroot}%{_bindir}/pzstd
+install -D -m644 programs/%{name}.1 %{buildroot}%{_mandir}/man1/p%{name}.1
%endif
%files
commit 9f8104bc8a73a2ecbb8c486ba1c2b05e560a3d04
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Sun Feb 11 10:45:46 2018 +0100
simplify pzstd build handling
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/zstd.spec b/zstd.spec
index 214d637..fc1ec11 100644
--- a/zstd.spec
+++ b/zstd.spec
@@ -1,9 +1,13 @@
+%if 0%{?rhel} && 0%{?rhel} <= 6
# gcc-4.4 is currently too old to compile pzstd
-%if 0%{?fedora} || 0%{?rhel} > 6
+%bcond_with pzstd
+%else
+%ifarch %{ix86} x86_64
+%bcond_without pzstd
+%else
# aarch64 and armv7hl at least currently segfault
# in ThreadPool test for the pzstd util
-%ifarch %{ix86} x86_64
-%global with_pzstd 1
+%bcond_with pzstd
%endif
%endif
@@ -19,7 +23,7 @@ Source0: https://github.com/facebook/zstd/archive/v%{version}.tar.gz#/%{n
Patch1: pzstd.1.patch
BuildRequires: gcc gtest-devel
-%if 0%{?with_pzstd}
+%if %{with pzstd}
BuildRequires: gcc-c++
%endif
@@ -44,7 +48,7 @@ Header files for Zstd library.
%prep
%setup -q
find -name .gitignore -delete
-%if 0%{?with_pzstd}
+%if %{with pzstd}
%patch1 -p1
%endif
@@ -54,7 +58,7 @@ export LDFLAGS="$RPM_LD_FLAGS"
for dir in lib programs; do
%make_build -C "$dir"
done
-%if 0%{?with_pzstd}
+%if %{with pzstd}
export CXXFLAGS="$RPM_OPT_FLAGS -std=c++11"
%make_build -C contrib/pzstd
%endif
@@ -63,7 +67,7 @@ export CXXFLAGS="$RPM_OPT_FLAGS -std=c++11"
export CFLAGS="$RPM_OPT_FLAGS"
export LDFLAGS="$RPM_LD_FLAGS"
make -C tests test-zstd
-%if 0%{?with_pzstd}
+%if %{with pzstd}
export CXXFLAGS="$RPM_OPT_FLAGS -std=c++11"
make -C contrib/pzstd test
%endif
@@ -75,7 +79,7 @@ rm %{buildroot}/%{_bindir}/%{name}less
rm %{buildroot}/%{_bindir}/%{name}grep
# Don't install the static lib
rm %{buildroot}/%{_libdir}/libzstd.a
-%if 0%{?with_pzstd}
+%if %{with pzstd}
install -D -m755 contrib/pzstd/pzstd %{buildroot}/usr/bin/pzstd
install -D -m644 programs/%{name}.1 %{buildroot}/%{_mandir}/man1/p%{name}.1
%endif
@@ -83,7 +87,7 @@ install -D -m644 programs/%{name}.1 %{buildroot}/%{_mandir}/man1/p%{name}.1
%files
%doc NEWS README.md
%{_bindir}/%{name}
-%if 0%{?with_pzstd}
+%if %{with pzstd}
%{_bindir}/p%{name}
%{_mandir}/man1/p%{name}.1*
%endif
commit d373770caeceae89055cfaf0cba4268bc58c4996
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Sun Feb 11 10:44:15 2018 +0100
simplify build flags handling
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/zstd.spec b/zstd.spec
index deab9c7..214d637 100644
--- a/zstd.spec
+++ b/zstd.spec
@@ -49,19 +49,23 @@ find -name .gitignore -delete
%endif
%build
-%{?__global_ldflags:LDFLAGS="${LDFLAGS:-%__global_ldflags}" ; export LDFLAGS ;}
+export CFLAGS="$RPM_OPT_FLAGS"
+export LDFLAGS="$RPM_LD_FLAGS"
for dir in lib programs; do
- CFLAGS="%{optflags}" %make_build -C "$dir"
+ %make_build -C "$dir"
done
%if 0%{?with_pzstd}
-CFLAGS="%{optflags}" CXXFLAGS="%{optflags} -std=c++11" %make_build -C 'contrib/pzstd'
+export CXXFLAGS="$RPM_OPT_FLAGS -std=c++11"
+%make_build -C contrib/pzstd
%endif
%check
-%{?__global_ldflags:LDFLAGS="${LDFLAGS:-%__global_ldflags}" ; export LDFLAGS ;}
-CFLAGS="%{optflags}" make -C tests test-zstd
+export CFLAGS="$RPM_OPT_FLAGS"
+export LDFLAGS="$RPM_LD_FLAGS"
+make -C tests test-zstd
%if 0%{?with_pzstd}
-CFLAGS="%{optflags}" CXXFLAGS="%{optflags} -std=c++11" make -C contrib/pzstd test
+export CXXFLAGS="$RPM_OPT_FLAGS -std=c++11"
+make -C contrib/pzstd test
%endif
%install
commit c63638a703e83ecd7e6b6d60d2eccfb336396f68
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Sun Feb 11 10:43:56 2018 +0100
add missing BuildRequires: gcc-c++
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/zstd.spec b/zstd.spec
index b25cea8..deab9c7 100644
--- a/zstd.spec
+++ b/zstd.spec
@@ -19,6 +19,9 @@ Source0: https://github.com/facebook/zstd/archive/v%{version}.tar.gz#/%{n
Patch1: pzstd.1.patch
BuildRequires: gcc gtest-devel
+%if 0%{?with_pzstd}
+BuildRequires: gcc-c++
+%endif
%description
Zstd, short for Zstandard, is a fast lossless compression algorithm,
commit a85f5cbd7714a84458c3945bb644cb2c39373b35
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Feb 9 22:32:44 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/zstd.spec b/zstd.spec
index d698356..b25cea8 100644
--- a/zstd.spec
+++ b/zstd.spec
@@ -9,7 +9,7 @@
Name: zstd
Version: 1.3.3
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Zstd compression library
License: BSD and GPLv2
@@ -103,6 +103,9 @@ install -D -m644 programs/%{name}.1 %{buildroot}/%{_mandir}/man1/p%{name}.1
%ldconfig_scriptlets -n lib%{name}
%changelog
+* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3.3-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Fri Feb 02 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 1.3.3-2
- Switch to %%ldconfig_scriptlets
commit 348e7e49c54810718cf7d0c2ab33e04e1ad6b605
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Fri Feb 2 11:17:30 2018 +0100
Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/zstd.spec b/zstd.spec
index 97468d2..d698356 100644
--- a/zstd.spec
+++ b/zstd.spec
@@ -9,7 +9,7 @@
Name: zstd
Version: 1.3.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Zstd compression library
License: BSD and GPLv2
@@ -100,10 +100,12 @@ install -D -m644 programs/%{name}.1 %{buildroot}/%{_mandir}/man1/p%{name}.1
%{_libdir}/pkgconfig/libzstd.pc
%{_libdir}/libzstd.so
-%post -n lib%{name} -p /sbin/ldconfig
-%postun -n lib%{name} -p /sbin/ldconfig
+%ldconfig_scriptlets -n lib%{name}
%changelog
+* Fri Feb 02 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 1.3.3-2
+- Switch to %%ldconfig_scriptlets
+
* Thu Dec 21 2017 Pádraig Brady <P(a)draigBrady.com> - 1.3.3-1
- Latest upstream
6 years, 1 month
Architecture specific change in rpms/gromacs.git
by githook-noreply@fedoraproject.org
The package rpms/gromacs.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/gromacs.git/commit/?id=c5c1779103....
Change:
-%ifarch ppc64le
Thanks.
Full change:
============
commit d770ba42aa0a353317a4464c25a39ff5077fa105
Author: Christoph Junghans <junghans(a)votca.org>
Date: Tue Mar 27 15:00:01 2018 -0600
fix changelog date
diff --git a/gromacs.spec b/gromacs.spec
index 3931c3f..dd40060 100644
--- a/gromacs.spec
+++ b/gromacs.spec
@@ -447,7 +447,7 @@ done
%{_libdir}/mpich/bin/mdrun_mpich*
%changelog
-* Mon Mar 19 2018 Christoph Junghans <junghans(a)votca.org> - 2018.1-1
+* Tue Mar 27 2018 Christoph Junghans <junghans(a)votca.org> - 2018.1-1
- Bump to version 2018.1 (bug #1559202)
* Sat Feb 24 2018 Christoph Junghans <junghans(a)votca.org> - 2018-1.2
commit 5c5e37562be9ea4eb1f36a7aff40d8198d047465
Author: Christoph Junghans <junghans(a)votca.org>
Date: Tue Mar 27 14:50:55 2018 -0600
Bump to version 2018.1 (bug #1559202)
diff --git a/.gitignore b/.gitignore
index 35addfe..93f6241 100644
--- a/.gitignore
+++ b/.gitignore
@@ -54,3 +54,6 @@ manual-4.0.pdf
/gromacs-2018.tar.gz
/regressiontests-2018.tar.gz
/manual-2018.pdf
+/gromacs-2018.1.tar.gz
+/manual-2018.1.pdf
+/regressiontests-2018.1.tar.gz
diff --git a/gromacs.spec b/gromacs.spec
index d3b881c..3931c3f 100644
--- a/gromacs.spec
+++ b/gromacs.spec
@@ -36,8 +36,8 @@
%endif
Name: gromacs
-Version: 2018
-Release: 1%{?_rcname}%{?dist}.2
+Version: 2018.1
+Release: 1%{?_rcname}%{?dist}
Summary: Fast, Free and Flexible Molecular Dynamics
License: GPLv2+
URL: http://www.gromacs.org
@@ -62,6 +62,7 @@ Source6: gromacs-README.fedora
# https://bugzilla.redhat.com/show_bug.cgi?id=1203754
Patch0: gromacs-dssp-path.patch
# enable some test on aarch64 - https://redmine.gromacs.org/issues/2366
+# bug#1558206
Patch2: gromacs-issue-2366.patch
# fix building documentation
Patch3: gromacs-sphinx-no-man.patch
@@ -446,6 +447,9 @@ done
%{_libdir}/mpich/bin/mdrun_mpich*
%changelog
+* Mon Mar 19 2018 Christoph Junghans <junghans(a)votca.org> - 2018.1-1
+- Bump to version 2018.1 (bug #1559202)
+
* Sat Feb 24 2018 Christoph Junghans <junghans(a)votca.org> - 2018-1.2
- add gcc-c++ as BuildRequires
- use bundled tinyml2 to build tests, system one is too new
diff --git a/sources b/sources
index 494d67a..6c3ea67 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-SHA512 (gromacs-2018.tar.gz) = 95c464ec4a0c95b5e7b30571e9693f6be1bce4cd3d6f7d7eeee0f0cd9b8ad43dda4dbb8568e9502706a01d1621f288711227a935060ce524871e6521d53eb902
-SHA512 (regressiontests-2018.tar.gz) = 95d4085bd7d60cd1a40dde25d7a770e549f17f69771a63eb55e95e5735b29ebe76dbfebd5452542fede984e9b3ce0339c166aeb9a42754d36be87b43b6d6b1ec
-SHA512 (manual-2018.pdf) = 253b497655b17be3c98368df5d25727296623ff58b77201e94fdb9f9a0158b0eca7c92d6216f540ae10c70ad25370ac7f088e2fd391573b959b25cdd97310255
+SHA512 (gromacs-2018.1.tar.gz) = d29f152e9f115c7de07881c6af4cc05481e0a5520bd33142a09507e8c4df9f8b6c9d6d96efcb7adaaf4e0127b76ab247421d43918bd7e7779d6e71f5984db715
+SHA512 (manual-2018.1.pdf) = 486e2b14dc35040df355d8cb7c2f76290214ca0e93021d4cb6ad30969d94b2105b3cd7c545ba13656f4950e222e86d8f69307af0c43ce63858fc8fdf8acfa3d4
+SHA512 (regressiontests-2018.1.tar.gz) = 81c9a62fca859923c1e27214b32b0cff1dd48224dd4ad9301554036b842ccc400a2729752ba71b284e0c5b6c1769ce7de5fe2c9ba4fc7cf0917fd4ced9883112
commit c5c17791036e12d4ddcd6e017b22f5e7bd33ffcb
Author: Christoph Junghans <junghans(a)votca.org>
Date: Sun Feb 25 13:00:48 2018 -0700
disable simd on ppc64le due to gcc-8
diff --git a/gromacs.spec b/gromacs.spec
index b87e6d8..d3b881c 100644
--- a/gromacs.spec
+++ b/gromacs.spec
@@ -23,9 +23,10 @@
%ifarch ppc64p7
%global simd IBM_VMX
%endif
-%ifarch ppc64le
-%global simd IBM_VSX
-%endif
+# https://redmine.gromacs.org/issues/2421
+#ifarch ppc64le
+#global simd IBM_VSX
+#endif
%ifarch armv7hnl
%global simd ARM_NEON
%endif
commit c3a5a134b34548618e3b98aea66b700b7fb4e122
Author: Christoph Junghans <junghans(a)votca.org>
Date: Sat Feb 24 16:14:30 2018 -0700
use bundled tinyml2 to build tests, system one is too new
diff --git a/gromacs.spec b/gromacs.spec
index fca6666..b87e6d8 100644
--- a/gromacs.spec
+++ b/gromacs.spec
@@ -36,7 +36,7 @@
Name: gromacs
Version: 2018
-Release: 1%{?_rcname}%{?dist}.1
+Release: 1%{?_rcname}%{?dist}.2
Summary: Fast, Free and Flexible Molecular Dynamics
License: GPLv2+
URL: http://www.gromacs.org
@@ -64,7 +64,7 @@ Patch0: gromacs-dssp-path.patch
Patch2: gromacs-issue-2366.patch
# fix building documentation
Patch3: gromacs-sphinx-no-man.patch
-BuildRequires: gcc-c++
+BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: atlas-devel >= 3.10.1
BuildRequires: fftw-devel
@@ -79,7 +79,6 @@ BuildRequires: ocl-icd-devel
BuildRequires: opencl-headers
Recommends: gromacs-opencl = %{version}-%{release}
%endif
-BuildRequires: tinyxml2-devel >= 2.1.0
BuildRequires: tng-devel
BuildRequires: bash-completion
%define compdir %(pkg-config --variable=completionsdir bash-completion)
@@ -246,7 +245,9 @@ install -Dpm644 %{SOURCE1} ./serial/docs/manual/gromacs.pdf
%endif
%patch0 -p1 -b .dssp
# Delete bundled stuff so that it doesn't get used accidentally
-rm -r src/external/{fftpack,tinyxml2,tng_io,lmfit}
+# Don't remove tinyxml2 as gromacs needs an old version to build
+# test, see: https://redmine.gromacs.org/issues/2389
+rm -r src/external/{fftpack,tng_io,lmfit}
mkdir -p {serial,mpich,openmpi}{,_d}
@@ -262,7 +263,7 @@ export LDFLAGS="-L%{_libdir}/atlas"
-DGMX_BUILD_UNITTESTS:BOOL=ON \\\
-DGMX_EXTERNAL_LMFIT:BOOL=ON \\\
-DGMX_EXTERNAL_TNG:BOOL=ON \\\
- -DGMX_EXTERNAL_TINYXML2:BOOL=ON \\\
+ -DGMX_EXTERNAL_TINYXML2:BOOL=OFF \\\
-DGMX_LAPACK_USER=satlas \\\
-DGMX_USE_RDTSCP=OFF \\\
-DGMX_SIMD=%{simd} \\\
@@ -444,6 +445,10 @@ done
%{_libdir}/mpich/bin/mdrun_mpich*
%changelog
+* Sat Feb 24 2018 Christoph Junghans <junghans(a)votca.org> - 2018-1.2
+- add gcc-c++ as BuildRequires
+- use bundled tinyml2 to build tests, system one is too new
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 2018-1.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
commit 21ae3b5b600f833edb1ee99f994d700107daf88a
Author: Christoph Junghans <junghans(a)votca.org>
Date: Sat Feb 24 15:30:51 2018 -0700
added gcc-c++ as BuildRequires
diff --git a/gromacs.spec b/gromacs.spec
index 7e6bb7f..fca6666 100644
--- a/gromacs.spec
+++ b/gromacs.spec
@@ -64,6 +64,7 @@ Patch0: gromacs-dssp-path.patch
Patch2: gromacs-issue-2366.patch
# fix building documentation
Patch3: gromacs-sphinx-no-man.patch
+BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: atlas-devel >= 3.10.1
BuildRequires: fftw-devel
commit 66792a55a4d2843585ba79ea9f34c6c6618ed8a1
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 15:29:01 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/gromacs.spec b/gromacs.spec
index f6e78ab..7e6bb7f 100644
--- a/gromacs.spec
+++ b/gromacs.spec
@@ -36,7 +36,7 @@
Name: gromacs
Version: 2018
-Release: 1%{?_rcname}%{?dist}
+Release: 1%{?_rcname}%{?dist}.1
Summary: Fast, Free and Flexible Molecular Dynamics
License: GPLv2+
URL: http://www.gromacs.org
@@ -443,6 +443,9 @@ done
%{_libdir}/mpich/bin/mdrun_mpich*
%changelog
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 2018-1.1
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Fri Jan 19 2018 Christoph Junghans <junghans(a)votca.org> - 2018-1
- Update to 2018
- Drop 43a0002.diff, merged upstream
6 years, 1 month
Architecture specific change in rpms/giac.git
by githook-noreply@fedoraproject.org
The package rpms/giac.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/giac.git/commit/?id=5818f4f6abb20....
Change:
-ExcludeArch: aarch64 %{power64} s390x
Thanks.
Full change:
============
commit 5818f4f6abb202250a60d225e4e4761bc20c11c8
Author: Peter Robinson <pbrobinson(a)gmail.com>
Date: Wed Mar 28 02:58:24 2018 +0100
Build on all arches (tests now pass), drop remanent groups
diff --git a/giac.spec b/giac.spec
index ab1c815..c877c41 100644
--- a/giac.spec
+++ b/giac.spec
@@ -1,7 +1,3 @@
-# Architectures currently not supported
-# http://xcas.e.ujf-grenoble.fr/XCAS/viewtopic.php?f=19&t=1723
-ExcludeArch: aarch64 %{power64} s390x
-
# Tests excluded
# See http://pcm1.e.ujf-grenoble.fr/forum/viewtopic.php?f=19&t=1733&sid=3257f50...
%bcond_with check
@@ -15,7 +11,6 @@ Release: 4%{?dist}
# LGPLv3+: src/Fl_GDI_Printer.cxx, src/Flv_List.cc, src/Flv_Table.cc
# BSD: src/tinymt32*
License: GPLv3+
-Group: Applications/Engineering
URL: http://www-fourier.ujf-grenoble.fr/~parisse/giac.html
## Source package is downloaded from
## http://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/
@@ -71,7 +66,6 @@ It consists of:
####################
%package devel
Summary: C++ development files for libgiac
-Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: fltk-devel%{?_isa}
Requires: gsl-devel%{?_isa}
@@ -397,6 +391,9 @@ make -C check check
%{_datadir}/giac/examples/
%changelog
+* Wed Mar 28 2018 Peter Robinson <pbrobinson(a)fedoraproject.org> 1.4.9.45-5
+- Build on all arches (tests now pass)
+
* Fri Feb 16 2018 Antonio Trande <sagitter(a)fedoraproject.org> - 1.4.9.45-4
- Use %%ldconfig_scriptlets
6 years, 1 month
Architecture specific change in rpms/llvm.git
by githook-noreply@fedoraproject.org
The package rpms/llvm.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/llvm.git/commit/?id=6640c739a17a2....
Change:
-%ifarch armv7hl
Thanks.
Full change:
============
commit 6640c739a17a2c4bed971ce1379b75e91ae0462e
Author: Tom Stellard <tstellar(a)redhat.com>
Date: Tue Mar 27 23:06:42 2018 +0000
Re-enable arm tests that used to hang
diff --git a/llvm.spec b/llvm.spec
index 8e02930..932de46 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -12,7 +12,7 @@
Name: llvm
Version: %{maj_ver}.%{min_ver}.%{patch_ver}
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: The Low Level Virtual Machine
License: NCSA
@@ -96,13 +96,6 @@ Static libraries for the LLVM compiler infrastructure.
%prep
%autosetup -n %{name}-%{version}.src -p1
-%ifarch armv7hl
-
-# These tests are marked as XFAIL, but they still run and hang on ARM.
-for f in `grep -Rl 'XFAIL.\+arm' test/ExecutionEngine `; do rm $f; done
-
-%endif
-
%build
mkdir -p _build
cd _build
@@ -225,6 +218,9 @@ fi
%{_libdir}/cmake/llvm/LLVMStaticExports.cmake
%changelog
+* Tue Mar 27 2018 Tom Stellard <tstellar(a)redhat.com> - 5.0.1-6
+- Re-enable arm tests that used to hang
+
* Mon Mar 19 2018 Tom Stellard <tstellar(a)redhat.com> - 5.0.1-5
- Backport r327651 from trunk rhbz#1554349
6 years, 1 month
Architecture specific change in rpms/llvm.git
by githook-noreply@fedoraproject.org
The package rpms/llvm.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/llvm.git/commit/?id=ff279e46257ec....
Change:
-%ifarch armv7hl
Thanks.
Full change:
============
commit ff279e46257ec03898245561563cda3549d3869e
Author: Tom Stellard <tstellar(a)redhat.com>
Date: Tue Mar 27 23:07:43 2018 +0000
Re-enable arm tests that used to hang
diff --git a/llvm.spec b/llvm.spec
index 761a790..fc84e84 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -12,7 +12,7 @@
Name: llvm
Version: %{maj_ver}.%{min_ver}.%{patch_ver}
-Release: 10%{?dist}
+Release: 11%{?dist}
Summary: The Low Level Virtual Machine
License: NCSA
@@ -89,13 +89,6 @@ Static libraries for the LLVM compiler infrastructure.
%prep
%autosetup -n %{name}-%{version}%{?rc_ver:rc%{rc_ver}}.src -p1
-%ifarch armv7hl
-
-# These tests are marked as XFAIL, but they still run and hang on ARM.
-for f in `grep -Rl 'XFAIL.\+arm' test/ExecutionEngine `; do rm $f; done
-
-%endif
-
%build
mkdir -p _build
cd _build
@@ -218,6 +211,9 @@ fi
%{_libdir}/cmake/llvm/LLVMStaticExports.cmake
%changelog
+* Tue Mar 27 2018 Tom Stellard <tstellar(a)redhat.com> - 6.0.0-11
+- Re-enable arm tests that used to hang
+
* Thu Mar 22 2018 Tom Stellard <tstellar(a)redhat.com> - 6.0.0-10
- Fix testcase in backported patch
6 years, 1 month
Architecture specific change in rpms/giac.git
by githook-noreply@fedoraproject.org
The package rpms/giac.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/giac.git/commit/?id=5818f4f6abb20....
Change:
-ExcludeArch: aarch64 %{power64} s390x
Thanks.
Full change:
============
commit 5818f4f6abb202250a60d225e4e4761bc20c11c8
Author: Peter Robinson <pbrobinson(a)gmail.com>
Date: Wed Mar 28 02:58:24 2018 +0100
Build on all arches (tests now pass), drop remanent groups
diff --git a/giac.spec b/giac.spec
index ab1c815..c877c41 100644
--- a/giac.spec
+++ b/giac.spec
@@ -1,7 +1,3 @@
-# Architectures currently not supported
-# http://xcas.e.ujf-grenoble.fr/XCAS/viewtopic.php?f=19&t=1723
-ExcludeArch: aarch64 %{power64} s390x
-
# Tests excluded
# See http://pcm1.e.ujf-grenoble.fr/forum/viewtopic.php?f=19&t=1733&sid=3257f50...
%bcond_with check
@@ -15,7 +11,6 @@ Release: 4%{?dist}
# LGPLv3+: src/Fl_GDI_Printer.cxx, src/Flv_List.cc, src/Flv_Table.cc
# BSD: src/tinymt32*
License: GPLv3+
-Group: Applications/Engineering
URL: http://www-fourier.ujf-grenoble.fr/~parisse/giac.html
## Source package is downloaded from
## http://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/
@@ -71,7 +66,6 @@ It consists of:
####################
%package devel
Summary: C++ development files for libgiac
-Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: fltk-devel%{?_isa}
Requires: gsl-devel%{?_isa}
@@ -397,6 +391,9 @@ make -C check check
%{_datadir}/giac/examples/
%changelog
+* Wed Mar 28 2018 Peter Robinson <pbrobinson(a)fedoraproject.org> 1.4.9.45-5
+- Build on all arches (tests now pass)
+
* Fri Feb 16 2018 Antonio Trande <sagitter(a)fedoraproject.org> - 1.4.9.45-4
- Use %%ldconfig_scriptlets
6 years, 1 month
Architecture specific change in rpms/cyrus-imapd.git
by githook-noreply@fedoraproject.org
The package rpms/cyrus-imapd.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/cyrus-imapd.git/commit/?id=bec979....
Change:
-%ifarch ppc64
Thanks.
Full change:
============
commit bec979e8a02422a10214e73c45aefd148172170b
Author: Jason Tibbitts <tibbs(a)math.uh.edu>
Date: Tue Mar 27 14:43:09 2018 -0500
Re-enable clamav on ppc64.
diff --git a/cyrus-imapd.spec b/cyrus-imapd.spec
index 028a750..4f483f7 100644
--- a/cyrus-imapd.spec
+++ b/cyrus-imapd.spec
@@ -9,7 +9,7 @@
Name: cyrus-imapd
Version: 3.0.5
-Release: 8%{?dist}
+Release: 9%{?dist}
%define ssl_pem_file /etc/pki/%name/%name.pem
@@ -249,11 +249,6 @@ popd
# --enable-objectstore
# It's experimental, and it doesn't appear that either openio or caringo are
# in Fedora.
-
-# --without-clamav (on ppc64 only)
-# cyr_virusscan fails with internal llvm errors on ppc64 _only_. See
-# https://bugzilla.redhat.com/show_bug.cgi?id=1534071
-
# --with-cyrus-prefix and --with-service-path went away; use --with-libexecdir=
# instead.
@@ -284,9 +279,7 @@ autoreconf -vi
--enable-replication \
--enable-unit-tests \
--enable-xapian \
-%ifarch ppc64
--without-clamav \
-%endif
#
# The configure script will set up the Perl makefiles, but not in the way
@@ -638,6 +631,9 @@ getent passwd cyrus >/dev/null || /usr/sbin/useradd -c "Cyrus IMAP Server" -d /v
%changelog
+* Thu Mar 15 2018 Jason L Tibbitts III <tibbs(a)math.uh.edu> - 3.0.5-9
+- Re-enable clamav on ppc64.
+
* Thu Mar 01 2018 Jason L Tibbitts III <tibbs(a)math.uh.edu> - 3.0.5-8
- Bump client_timeout value in test suite.
6 years, 1 month
Architecture specific change in rpms/golang-github-stretchr-testify.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-stretchr-testify.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-stretchr-testify.gi....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit 718e87bf045e520382662cb912f113ba624374c7
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Tue Mar 27 15:13:16 2018 +0200
Set gcommit so it can be read by automated tooling
diff --git a/golang-github-stretchr-testify.spec b/golang-github-stretchr-testify.spec
index 9762405..19d84c7 100644
--- a/golang-github-stretchr-testify.spec
+++ b/golang-github-stretchr-testify.spec
@@ -3,6 +3,7 @@
# https://github.com/stretchr/testify
%global goipath github.com/stretchr/testify
+%global gcommit 12b6f73e6084dad08a7c6e575284b177ecafbc71
Version: 1.2.1
%global common_description %{expand:
@@ -24,9 +25,6 @@ License: BSD
URL: %{gourl}
Source0: %{gosource}
-BuildRequires: golang(github.com/davecgh/go-spew/spew)
-BuildRequires: golang(github.com/pmezard/go-difflib/difflib)
-BuildRequires: golang(github.com/stretchr/objx)
%description
%{common_description}
@@ -36,6 +34,10 @@ BuildRequires: golang(github.com/stretchr/objx)
Summary: %{summary}
BuildArch: noarch
+BuildRequires: golang(github.com/davecgh/go-spew/spew)
+BuildRequires: golang(github.com/pmezard/go-difflib/difflib)
+BuildRequires: golang(github.com/stretchr/objx)
+
%description devel
%{common_description}
@@ -45,7 +47,7 @@ building other packages which use import path with
%prep
-%forgeautosetup
+%gosetup
%install
commit 815ad74e3c598934b9c7d362564b28a7d7138568
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Mon Mar 26 23:40:25 2018 +0200
Update to upstream v1.2.1
Update to new guidelines for Go
diff --git a/.gitignore b/.gitignore
index 2b403fe..79fb118 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/testify-69483b4.tar.gz
+/testify-1.2.1.tar.gz
diff --git a/golang-github-stretchr-testify.spec b/golang-github-stretchr-testify.spec
index 5b29cf7..9762405 100644
--- a/golang-github-stretchr-testify.spec
+++ b/golang-github-stretchr-testify.spec
@@ -1,179 +1,73 @@
-# 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
+%bcond_without check
-%global provider github
-%global provider_tld com
-%global project stretchr
-%global repo testify
# https://github.com/stretchr/testify
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
-%global commit 69483b4bd14f5845b5a1e55bca19e954e827f1d0
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-
-Name: golang-%{provider}-%{project}-%{repo}
-Version: 1.1.4
-Release: 0.2.git%{shortcommit}%{?dist}
-Summary: Tools for testifying that your code will behave as you intend
-License: MIT
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
+%global goipath github.com/stretchr/testify
+Version: 1.2.1
-# 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}
+%global common_description %{expand:
+Golang set of packages that provide many tools for testifying
+that your code will behave as you intend.
-%description
-Thou Shalt Write Tests
+Features include:
-Go code (golang) set of packages that provide many tools for testifying that
-your code will behave as you intend.
+ - Easy assertions
+ - Mocking
+ - Testing suite interfaces and functions}
-%if 0%{?with_devel}
-%package devel
-Summary: %{summary}
-BuildArch: noarch
+%gometa
+
+Name: %{goname}
+Release: 1%{?dist}
+Summary: Tools for testifying that your code will behave as you intend
+License: BSD
+URL: %{gourl}
+Source0: %{gosource}
-%if 0%{?with_check}
-BuildRequires: golang(github.com/stretchr/objx)
BuildRequires: golang(github.com/davecgh/go-spew/spew)
BuildRequires: golang(github.com/pmezard/go-difflib/difflib)
-%endif
+BuildRequires: golang(github.com/stretchr/objx)
-Requires: golang(github.com/stretchr/objx)
-Requires: golang(github.com/davecgh/go-spew/spew)
-Requires: golang(github.com/pmezard/go-difflib/difflib)
+%description
+%{common_description}
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path}/assert) = %{version}-%{release}
-Provides: golang(%{import_path}/http) = %{version}-%{release}
-Provides: golang(%{import_path}/mock) = %{version}-%{release}
-Provides: golang(%{import_path}/require) = %{version}-%{release}
-Provides: golang(%{import_path}/suite) = %{version}-%{release}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
%description devel
-%{summary}
+%{common_description}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
+%{goipath} prefix.
-%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
%prep
-%setup -q -n %{repo}-%{commit}
+%forgeautosetup
-mv LICENCE.txt LICENSE.txt
-
-%build
%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
+%goinstall
-# 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
+%if %{with check}
%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}
+%gochecks
%endif
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-%gotest %{import_path}
-%gotest %{import_path}/assert
-%gotest %{import_path}/mock
-%gotest %{import_path}/require
-%gotest %{import_path}/suite
-%endif
-
-#define license tag if not already defined
-%{!?_licensedir:%global license %doc}
-
-%if 0%{?with_devel}
%files devel -f devel.file-list
-%license LICENSE.txt
+%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.txt
-%doc README.md
-%endif
%changelog
+* Mon Mar 26 2018 Robert-André Mauchin <zebob.m(a)gmail.com> - 1.2.1-1
+- Update to upstream v1.2.1
+- Update to new guidelines for Go
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.1.4-0.2.git69483b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
@@ -243,3 +137,4 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
* Wed Aug 06 2014 Adam Miller <maxamillion(a)fedoraproject.org> - 0-0.1.gitda775f0
- First package for Fedora.
+
diff --git a/sources b/sources
index 6faf299..2875341 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (testify-69483b4.tar.gz) = 2b32ad9e97e0ad137c6b338ec539223e9975741cfea0351fb25cb6812dd1d44512716b0a311609f747b5428f344105c89816eef6aae42659b011a1ff8ef73761
+SHA512 (testify-1.2.1.tar.gz) = abd6efb21d3505d12d7ff49459fe3b6066c1648ab43a5cb7860d8c822377ab5c57a07437a5e53c6f1630d369796178d122ec03314764a393d145af5d13b4e454
6 years, 1 month
Architecture specific change in rpms/golang-github-stretchr-testify.git
by githook-noreply@fedoraproject.org
The package rpms/golang-github-stretchr-testify.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-stretchr-testify.gi....
Change:
-ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
Thanks.
Full change:
============
commit 718e87bf045e520382662cb912f113ba624374c7
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Tue Mar 27 15:13:16 2018 +0200
Set gcommit so it can be read by automated tooling
diff --git a/golang-github-stretchr-testify.spec b/golang-github-stretchr-testify.spec
index 9762405..19d84c7 100644
--- a/golang-github-stretchr-testify.spec
+++ b/golang-github-stretchr-testify.spec
@@ -3,6 +3,7 @@
# https://github.com/stretchr/testify
%global goipath github.com/stretchr/testify
+%global gcommit 12b6f73e6084dad08a7c6e575284b177ecafbc71
Version: 1.2.1
%global common_description %{expand:
@@ -24,9 +25,6 @@ License: BSD
URL: %{gourl}
Source0: %{gosource}
-BuildRequires: golang(github.com/davecgh/go-spew/spew)
-BuildRequires: golang(github.com/pmezard/go-difflib/difflib)
-BuildRequires: golang(github.com/stretchr/objx)
%description
%{common_description}
@@ -36,6 +34,10 @@ BuildRequires: golang(github.com/stretchr/objx)
Summary: %{summary}
BuildArch: noarch
+BuildRequires: golang(github.com/davecgh/go-spew/spew)
+BuildRequires: golang(github.com/pmezard/go-difflib/difflib)
+BuildRequires: golang(github.com/stretchr/objx)
+
%description devel
%{common_description}
@@ -45,7 +47,7 @@ building other packages which use import path with
%prep
-%forgeautosetup
+%gosetup
%install
commit 815ad74e3c598934b9c7d362564b28a7d7138568
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Mon Mar 26 23:40:25 2018 +0200
Update to upstream v1.2.1
Update to new guidelines for Go
diff --git a/.gitignore b/.gitignore
index 2b403fe..79fb118 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/testify-69483b4.tar.gz
+/testify-1.2.1.tar.gz
diff --git a/golang-github-stretchr-testify.spec b/golang-github-stretchr-testify.spec
index 5b29cf7..9762405 100644
--- a/golang-github-stretchr-testify.spec
+++ b/golang-github-stretchr-testify.spec
@@ -1,179 +1,73 @@
-# 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
+%bcond_without check
-%global provider github
-%global provider_tld com
-%global project stretchr
-%global repo testify
# https://github.com/stretchr/testify
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
-%global commit 69483b4bd14f5845b5a1e55bca19e954e827f1d0
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
-
-Name: golang-%{provider}-%{project}-%{repo}
-Version: 1.1.4
-Release: 0.2.git%{shortcommit}%{?dist}
-Summary: Tools for testifying that your code will behave as you intend
-License: MIT
-URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
+%global goipath github.com/stretchr/testify
+Version: 1.2.1
-# 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}
+%global common_description %{expand:
+Golang set of packages that provide many tools for testifying
+that your code will behave as you intend.
-%description
-Thou Shalt Write Tests
+Features include:
-Go code (golang) set of packages that provide many tools for testifying that
-your code will behave as you intend.
+ - Easy assertions
+ - Mocking
+ - Testing suite interfaces and functions}
-%if 0%{?with_devel}
-%package devel
-Summary: %{summary}
-BuildArch: noarch
+%gometa
+
+Name: %{goname}
+Release: 1%{?dist}
+Summary: Tools for testifying that your code will behave as you intend
+License: BSD
+URL: %{gourl}
+Source0: %{gosource}
-%if 0%{?with_check}
-BuildRequires: golang(github.com/stretchr/objx)
BuildRequires: golang(github.com/davecgh/go-spew/spew)
BuildRequires: golang(github.com/pmezard/go-difflib/difflib)
-%endif
+BuildRequires: golang(github.com/stretchr/objx)
-Requires: golang(github.com/stretchr/objx)
-Requires: golang(github.com/davecgh/go-spew/spew)
-Requires: golang(github.com/pmezard/go-difflib/difflib)
+%description
+%{common_description}
-Provides: golang(%{import_path}) = %{version}-%{release}
-Provides: golang(%{import_path}/assert) = %{version}-%{release}
-Provides: golang(%{import_path}/http) = %{version}-%{release}
-Provides: golang(%{import_path}/mock) = %{version}-%{release}
-Provides: golang(%{import_path}/require) = %{version}-%{release}
-Provides: golang(%{import_path}/suite) = %{version}-%{release}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
%description devel
-%{summary}
+%{common_description}
This package contains library source intended for
building other packages which use import path with
-%{import_path} prefix.
-%endif
+%{goipath} prefix.
-%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
%prep
-%setup -q -n %{repo}-%{commit}
+%forgeautosetup
-mv LICENCE.txt LICENSE.txt
-
-%build
%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
+%goinstall
-# 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
+%if %{with check}
%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}
+%gochecks
%endif
-%if ! 0%{?gotest:1}
-%global gotest go test
-%endif
-%gotest %{import_path}
-%gotest %{import_path}/assert
-%gotest %{import_path}/mock
-%gotest %{import_path}/require
-%gotest %{import_path}/suite
-%endif
-
-#define license tag if not already defined
-%{!?_licensedir:%global license %doc}
-
-%if 0%{?with_devel}
%files devel -f devel.file-list
-%license LICENSE.txt
+%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.txt
-%doc README.md
-%endif
%changelog
+* Mon Mar 26 2018 Robert-André Mauchin <zebob.m(a)gmail.com> - 1.2.1-1
+- Update to upstream v1.2.1
+- Update to new guidelines for Go
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.1.4-0.2.git69483b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
@@ -243,3 +137,4 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
* Wed Aug 06 2014 Adam Miller <maxamillion(a)fedoraproject.org> - 0-0.1.gitda775f0
- First package for Fedora.
+
diff --git a/sources b/sources
index 6faf299..2875341 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (testify-69483b4.tar.gz) = 2b32ad9e97e0ad137c6b338ec539223e9975741cfea0351fb25cb6812dd1d44512716b0a311609f747b5428f344105c89816eef6aae42659b011a1ff8ef73761
+SHA512 (testify-1.2.1.tar.gz) = abd6efb21d3505d12d7ff49459fe3b6066c1648ab43a5cb7860d8c822377ab5c57a07437a5e53c6f1630d369796178d122ec03314764a393d145af5d13b4e454
commit 502624a473c8c60b361a2d9b8f607b811d510fdf
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Feb 7 14:56: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-stretchr-testify.spec b/golang-github-stretchr-testify.spec
index 8ff3b45..5b29cf7 100644
--- a/golang-github-stretchr-testify.spec
+++ b/golang-github-stretchr-testify.spec
@@ -41,7 +41,7 @@
Name: golang-%{provider}-%{project}-%{repo}
Version: 1.1.4
-Release: 0.1.git%{shortcommit}%{?dist}
+Release: 0.2.git%{shortcommit}%{?dist}
Summary: Tools for testifying that your code will behave as you intend
License: MIT
URL: https://%{provider_prefix}
@@ -174,6 +174,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
%endif
%changelog
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.1.4-0.2.git69483b4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
* Tue Sep 12 2017 Jan Chaloupka <jchaloup(a)redhat.com> - 1.1.4-0.1.git69483b4
- Update to upstream v1.1.4
resolves: #1490397
6 years, 1 month