Architecture specific change in rpms/rust-users0.10.git
by githook-noreply@fedoraproject.org
The package rpms/rust-users0.10.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/rust-users0.10.git/commit/?id=3da....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 3daa1457e8a14e85bfb9c648192dca4927947cf7
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Mon Nov 30 23:16:20 2020 +0100
initial import (users 0.10 compat package)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..15eb641
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/results_*/
+/*.src.rpm
+
+/users-0.10.0.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index 6afc9a7..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-users0.10
-
-The rust-users0.10 package
diff --git a/rust-users0.10.spec b/rust-users0.10.spec
new file mode 100644
index 0000000..60f8d31
--- /dev/null
+++ b/rust-users0.10.spec
@@ -0,0 +1,122 @@
+# Generated by rust2rpm 16
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate users
+
+Name: rust-%{crate}0.10
+Version: 0.10.0
+Release: 1%{?dist}
+Summary: Library for accessing Unix users and groups
+
+# Upstream license specification: MIT
+# https://github.com/ogham/rust-users/pull/37
+License: MIT
+URL: https://crates.io/crates/users
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Library for accessing Unix users and groups.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "default" feature of "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+cache-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+cache-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "cache" feature of "%{crate}" crate.
+
+%files -n %{name}+cache-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+log-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+log-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "log" feature of "%{crate}" crate.
+
+%files -n %{name}+log-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+logging-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+logging-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "logging" feature of "%{crate}" crate.
+
+%files -n %{name}+logging-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+mock-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+mock-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "mock" feature of "%{crate}" crate.
+
+%files -n %{name}+mock-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Mon Nov 30 2020 Fabio Valentini <decathorpe(a)gmail.com> - 0.10.0-1
+- Initial compat package for users 0.10
diff --git a/sources b/sources
new file mode 100644
index 0000000..29043af
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (users-0.10.0.crate) = 21052adcd602ff6c30a4e9f4e14fdca896dce03969b1b03069f93f3e9d2b25c66b83ac2f40ed4e960dcfb5a0e67719ee45da475855f6e397f3618273ea52469b
2 years, 5 months
Architecture specific change in rpms/rust-procfs0.8.git
by githook-noreply@fedoraproject.org
The package rpms/rust-procfs0.8.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/rust-procfs0.8.git/commit/?id=cda....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit cda56c643ee21bbd948b36cc647cf742f0e628a7
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Mon Nov 30 22:59:06 2020 +0100
initial import (procfs 0.8 compat package)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b828186
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/results_*/
+/*.src.rpm
+
+/procfs-0.8.1.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index e50a18a..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-procfs0.8
-
-The rust-procfs0.8 package
diff --git a/rust-procfs0.8.spec b/rust-procfs0.8.spec
new file mode 100644
index 0000000..b84a5c9
--- /dev/null
+++ b/rust-procfs0.8.spec
@@ -0,0 +1,100 @@
+# Generated by rust2rpm 16
+# * procinfo depends on nom 2.x which is too old
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate procfs
+
+Name: rust-%{crate}0.8
+Version: 0.8.1
+Release: 1%{?dist}
+Summary: Interface to the linux procfs pseudo-filesystem
+
+# Upstream license specification: MIT OR Apache-2.0
+License: MIT or ASL 2.0
+URL: https://crates.io/crates/procfs
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Interface to the linux procfs pseudo-filesystem.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%license LICENSE-MIT LICENSE-APACHE COPYRIGHT.txt
+%doc README.md support.md
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "default" feature of "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+backtrace-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+backtrace-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "backtrace" feature of "%{crate}" crate.
+
+%files -n %{name}+backtrace-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+chrono-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+chrono-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "chrono" feature of "%{crate}" crate.
+
+%files -n %{name}+chrono-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Mon Nov 30 2020 Fabio Valentini <decathorpe(a)gmail.com> - 0.8.1-1
+- Initial compat package for procfs 0.8
diff --git a/sources b/sources
new file mode 100644
index 0000000..b0616b7
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (procfs-0.8.1.crate) = 4ffdc79e732856b25b0fc0fbc2362a1700f4900b9a7147a618fb61ac87b89c65e796f2a2be207369fa3ce8121e9cb1181093bbaded873800b6471782ac78f608
2 years, 5 months
Architecture specific change in rpms/qt5-qtbase.git
by githook-noreply@fedoraproject.org
The package rpms/qt5-qtbase.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/qt5-qtbase.git/commit/?id=350a9f5....
Change:
-%ifnarch s390x
Thanks.
Full change:
============
commit 350a9f57c009e19a7508cc48342c1345448d3d2e
Author: Rex Dieter <rdieter(a)gmail.com>
Date: Mon Nov 30 15:44:11 2020 -0600
re-enable vulkan support on s390x, root cause fixed
diff --git a/qt5-qtbase.spec b/qt5-qtbase.spec
index 3566a85..4b6ad2b 100644
--- a/qt5-qtbase.spec
+++ b/qt5-qtbase.spec
@@ -51,7 +51,7 @@ BuildRequires: pkgconfig(libsystemd)
Name: qt5-qtbase
Summary: Qt5 - QtBase components
Version: 5.15.2
-Release: 4%{?dist}
+Release: 5%{?dist}
# See LGPL_EXCEPTIONS.txt, for exception details
License: LGPLv2 with exceptions or GPLv3 with exceptions
@@ -176,10 +176,8 @@ BuildRequires: pkgconfig(xcb-util)
BuildRequires: pkgconfig(xkbcommon) >= 0.4.1
BuildRequires: pkgconfig(xkbcommon-x11) >= 0.4.1
BuildRequires: pkgconfig(xkeyboard-config)
-%ifnarch s390x
%global vulkan 1
BuildRequires: pkgconfig(vulkan)
-%endif
%if 0%{?fedora} || 0%{?rhel} > 6
%global egl 1
BuildRequires: libEGL-devel
@@ -1053,6 +1051,9 @@ fi
%changelog
+* Mon Nov 30 2020 Rex Dieter <rdieter(a)fedoraproject.org> - 5.15.2-5
+- re-enable vulkan support on s390x, root cause fixed
+
* Sun Nov 29 2020 Rex Dieter <rdieter(a)fedoraproject.org> - 5.15.2-4
- drop vulkan support on s390x (#1902449)
2 years, 5 months
Architecture specific change in rpms/rust-colored1.git
by githook-noreply@fedoraproject.org
The package rpms/rust-colored1.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/rust-colored1.git/commit/?id=f418....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit f41898f472b69c40b1fd65964bdb7556f603ab54
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Mon Nov 30 22:00:17 2020 +0100
initial import (colored 1 compat package)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..6ea112a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/results_*/
+/*.src.rpm
+
+/colored-1.9.3.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index e93625f..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-colored1
-
-The rust-colored1 package
diff --git a/colored-fix-metadata.diff b/colored-fix-metadata.diff
new file mode 100644
index 0000000..fca4621
--- /dev/null
+++ b/colored-fix-metadata.diff
@@ -0,0 +1,10 @@
+--- colored-1.9.3/Cargo.toml 1970-01-01T00:00:00+00:00
++++ colored-1.9.3/Cargo.toml 2020-11-30T20:58:42.729455+00:00
+@@ -33,7 +33,3 @@
+
+ [features]
+ no-color = []
+-[target."cfg(windows)".dependencies.winapi]
+-version = "0.3"
+-features = ["consoleapi", "processenv", "winbase"]
+-default-features = false
diff --git a/rust-colored1.spec b/rust-colored1.spec
new file mode 100644
index 0000000..c673720
--- /dev/null
+++ b/rust-colored1.spec
@@ -0,0 +1,92 @@
+# Generated by rust2rpm 16
+# * rspec is not packaged
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate colored
+
+Name: rust-%{crate}1
+Version: 1.9.3
+Release: 1%{?dist}
+Summary: Most simple way to add colors in your terminal
+
+# Upstream license specification: MPL-2.0
+License: MPLv2.0
+URL: https://crates.io/crates/colored
+Source: %{crates_source}
+# Initial patched metadata
+# * No windows
+Patch0: colored-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Most simple way to add colors in your terminal.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%license LICENSE
+%doc README.md CHANGELOG.md
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "default" feature of "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+no-color-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+no-color-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "no-color" feature of "%{crate}" crate.
+
+%files -n %{name}+no-color-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+find -type f -executable -exec chmod -v -x '{}' +
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Mon Nov 30 2020 Fabio Valentini <decathorpe(a)gmail.com> - 1.9.3-1
+- Initial compat package for colored 1
diff --git a/sources b/sources
new file mode 100644
index 0000000..22894b5
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (colored-1.9.3.crate) = 72a77360148b960662d62aa63313e235c155c761948ecc67d92f244a99fefc92ad133e1820634358130db841095027cd99b64a79aa6fa41a279e0d5d505aacd6
2 years, 5 months
Architecture specific change in rpms/rust-pin-project-lite0.1.git
by githook-noreply@fedoraproject.org
The package rpms/rust-pin-project-lite0.1.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/rust-pin-project-lite0.1.git/comm....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit e516400b9af596802a0888c50ca6f9aa74e09745
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Mon Nov 30 19:11:21 2020 +0100
initial import (pin-project-lite 0.1 compat package)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..d33436d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/results_*/
+/*.src.rpm
+
+/pin-project-lite-0.1.11.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index cb52d15..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-pin-project-lite0.1
-
-The rust-pin-project-lite0.1 package
diff --git a/rust-pin-project-lite0.1.spec b/rust-pin-project-lite0.1.spec
new file mode 100644
index 0000000..12cecb4
--- /dev/null
+++ b/rust-pin-project-lite0.1.spec
@@ -0,0 +1,75 @@
+# Generated by rust2rpm 16
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate pin-project-lite
+
+Name: rust-%{crate}0.1
+Version: 0.1.11
+Release: 1%{?dist}
+Summary: Lightweight version of pin-project written with declarative macros
+
+# Upstream license specification: Apache-2.0 OR MIT
+License: ASL 2.0 or MIT
+URL: https://crates.io/crates/pin-project-lite
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Lightweight version of pin-project written with declarative macros.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%doc README.md CHANGELOG.md
+%license LICENSE-APACHE LICENSE-MIT
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "default" feature of "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Mon Nov 30 2020 Fabio Valentini <decathorpe(a)gmail.com> - 0.1.11-1
+- Initial compat package for pin-project-lite 0.1
diff --git a/sources b/sources
new file mode 100644
index 0000000..70e4404
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (pin-project-lite-0.1.11.crate) = c2621d3b8ce8605eda2a117f2a60a41a59185279efb8c8e1e0bf6ea1a73dd3c81ddab62d5dfdde995f26071342f0962d602fabd4ebe97d4ca6c7e6b4f3ad701b
2 years, 5 months
Architecture specific change in rpms/antlr4-project.git
by githook-noreply@fedoraproject.org
The package rpms/antlr4-project.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/antlr4-project.git/commit/?id=ef8....
Change:
+%ifarch %nodejs_arches
Thanks.
Full change:
============
commit ef8cbeb297aa3498f473a8e059dd21afae35b082
Author: Jerry James <loganjerry(a)gmail.com>
Date: Mon Nov 30 10:54:26 2020 -0700
Version 4.9.
- Add the JavaScript runtime.
- Add -utf8cpp patch.
diff --git a/antlr4-project.spec b/antlr4-project.spec
index ff993f2..6eafadb 100644
--- a/antlr4-project.spec
+++ b/antlr4-project.spec
@@ -1,17 +1,17 @@
-# NOTE: The JavaScript runtime library includes a bundled copy of an obsolete
-# version of Torben Hasse's require.js. If somebody who knows about JavaScript
-# will do something about that, we can include that runtime as well. For now,
-# it is omitted.
-#
# NOTE: A PHP runtime is available as a separate project:
# https://github.com/antlr/antlr-php-runtime/
+#
+# NOTE: A dart target is available, should dart ever be added to Fedora.
%global swiftarches x86_64 aarch64
%global swiftdir %{_prefix}/lib/swift/linux
+# Use when a previous version has broken deps
+%bcond_with bootstrap
+
Name: antlr4-project
-Version: 4.8
-Release: 5%{?dist}
+Version: 4.9
+Release: 1%{?dist}
Summary: Parser generator (ANother Tool for Language Recognition)
License: BSD
@@ -24,7 +24,10 @@ Patch0: antlr4-unicode-properties.patch
# Upstream is not yet ready to move to newer mono versions.
Patch1: antlr4-mono-ambiguous.patch
# Fix some javadoc problems
+# https://github.com/antlr/antlr4/pull/2960
Patch2: antlr4-javadoc.patch
+# Unbundle utf8cpp
+Patch3: antlr4-utf8cpp.patch
BuildRequires: cmake
BuildRequires: gcc-c++
@@ -35,7 +38,9 @@ BuildRequires: mvn(com.ibm.icu:icu4j)
BuildRequires: mvn(com.webguys:string-template-maven-plugin)
BuildRequires: mvn(org.abego.treelayout:org.abego.treelayout.core)
BuildRequires: mvn(org.antlr:antlr3-maven-plugin)
+%if %{without bootstrap}
BuildRequires: mvn(org.antlr:antlr4-maven-plugin)
+%endif
BuildRequires: mvn(org.antlr:antlr-runtime)
BuildRequires: mvn(org.antlr:ST4)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
@@ -51,6 +56,7 @@ BuildRequires: mvn(org.sonatype.plexus:plexus-build-api)
BuildRequires: pkgconfig(uuid)
BuildRequires: python3-devel
BuildRequires: %{py3_dist setuptools}
+BuildRequires: utf8cpp-devel
%global _desc %{expand:
ANTLR (ANother Tool for Language Recognition) is a powerful parser
@@ -166,6 +172,18 @@ This package provides the runtime library used by C\# (mono) ANTLR
parsers.
%endif
+%ifarch %nodejs_arches
+%package -n nodejs-antlr4
+Summary: ANTLR runtime for JavaScript
+BuildArch: noarch
+BuildRequires: nodejs
+
+%description -n nodejs-antlr4 %_desc
+
+This package provides the runtime library used by JavaScript ANTLR
+parsers.
+%endif
+
%package -n python3-antlr4-runtime
Summary: ANTLR runtime for Python 3
BuildArch: noarch
@@ -227,22 +245,29 @@ sed -i 's,\\>,>,g' tool/resources/org/antlr/v4/tool/templates/unicodedata.st
%mvn_package :antlr4-master antlr4-runtime
+%if %{with bootstrap}
+# Avoid the need to build with an older version of antlr4
+%pom_remove_plugin org.antlr:antlr4-maven-plugin runtime/Java
+cp -p runtime/Cpp/runtime/src/tree/xpath/XPathLexer.tokens runtime/Java/src
+%endif
+
+# Build for JDK 1.8
+sed -i 's/1\.7/1.8/g' pom.xml
+
+# Use utf8cpp instead of the deprecated wstring_convert
+sed -i 's/# \(.*DUSE_UTF8_INSTEAD_OF_CODECVT.*\)/\1/' runtime/Cpp/CMakeLists.txt
+
# Change library install directory on 64-bit platforms
if [ "%{_lib}" != "lib" ]; then
sed -i 's/DESTINATION lib/&64/' runtime/Cpp/runtime/CMakeLists.txt
fi
%build
-# Ensure we get the jit on arm
-%ifarch %{arm}
-export JAVA_HOME=$(ls -1d %{_jvmdir}/java-1.8.0-openjdk-aarch32*)
-%else
export JAVA_HOME=%{_jvmdir}/java
-%endif
# Build for Java
# Due to the missing takari packages, we cannot run the tests
-%mvn_build -s -f -- -Dsource=1.7
+%mvn_build -s -f -- -Dsource=1.8
# Build the C++ runtime
cd runtime/Cpp
@@ -308,6 +333,12 @@ mkdir -p %{buildroot}%{_monogacdir}
gacutil -i runtime/CSharp/runtime/CSharp/Antlr4.Runtime/lib/Debug/Antlr4.Runtime.Standard.dll -f -package antlr4 -root %{buildroot}%{_prefix}/lib
%endif
+# Install the JavaScript runtime
+%ifarch %nodejs_arches
+mkdir -p %{buildroot}%{nodejs_sitelib}
+cp -a runtime/JavaScript/src/antlr4 %{buildroot}%{nodejs_sitelib}
+%endif
+
# Install the Python 3 runtime
cd runtime/Python3
%py3_install
@@ -328,9 +359,19 @@ cd -
# Create man pages
export PYTHONPATH=%{buildroot}%{python3_sitelib}
mkdir -p %{buildroot}%{_mandir}/man1
+%if %{with bootstrap}
+cat > antlr4 << EOF
+java -cp %{buildroot}%{_javadir}/antlr4/antlr4.jar:%{buildroot}%{_javadir}/antlr4/antlr4-runtime.jar:$(build-classpath antlr3-runtime stringtemplate4 treelayout) org.antlr.v4.Tool
+EOF
+chmod a+x antlr4
+help2man -N --version-string=4.8 -h '' ./antlr4 > \
+ %{buildroot}%{_mandir}/man1/antlr4.1
+cd %{buildroot}%{_bindir}
+%else
cd %{buildroot}%{_bindir}
help2man -N --version-string=4.8 -h '' ./antlr4 > \
%{buildroot}%{_mandir}/man1/antlr4.1
+%endif
help2man -N --version-string=4.8 ./pygrun > \
%{buildroot}%{_mandir}/man1/pygrun.1
cd -
@@ -385,6 +426,13 @@ rm -fr %{buildroot}%{_docdir}/libantlr4
%{_monogacdir}/Antlr4.Runtime.Standard/
%endif
+%ifarch %nodejs_arches
+%files -n nodejs-antlr4
+%doc runtime/JavaScript/README.md
+%license LICENSE.txt
+%{nodejs_sitelib}/antlr4/
+%endif
+
%files -n python3-antlr4-runtime
%doc runtime/Python3/README.txt
%license LICENSE.txt
@@ -402,6 +450,11 @@ rm -fr %{buildroot}%{_docdir}/libantlr4
%endif
%changelog
+* Mon Nov 30 2020 Jerry James <loganjerry(a)gmail.com> - 4.9-1
+- Version 4.9
+- Add the JavaScript runtime
+- Add -utf8cpp patch
+
* Mon Jul 27 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.8-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
diff --git a/antlr4-utf8cpp.patch b/antlr4-utf8cpp.patch
new file mode 100644
index 0000000..d61c185
--- /dev/null
+++ b/antlr4-utf8cpp.patch
@@ -0,0 +1,55 @@
+--- a/runtime/Cpp/runtime/CMakeLists.txt
++++ b/runtime/Cpp/runtime/CMakeLists.txt
+@@ -1,19 +1,6 @@
+
+ include(${CMAKE_ROOT}/Modules/ExternalProject.cmake)
+
+-set(THIRDPARTY_DIR ${CMAKE_BINARY_DIR}/runtime/thirdparty)
+-set(UTFCPP_DIR ${THIRDPARTY_DIR}/utfcpp)
+-ExternalProject_Add(
+- utfcpp
+- GIT_REPOSITORY "git://github.com/nemtrif/utfcpp"
+- GIT_TAG "v3.1.1"
+- SOURCE_DIR ${UTFCPP_DIR}
+- UPDATE_DISCONNECTED 1
+- CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${UTFCPP_DIR}/install -Dgtest_force_shared_crt=ON
+- TEST_AFTER_INSTALL 1
+- STEP_TARGETS build)
+-
+-
+ include_directories(
+ ${PROJECT_SOURCE_DIR}/runtime/src
+ ${PROJECT_SOURCE_DIR}/runtime/src/atn
+@@ -23,8 +10,6 @@ include_directories(
+ ${PROJECT_SOURCE_DIR}/runtime/src/tree
+ ${PROJECT_SOURCE_DIR}/runtime/src/tree/pattern
+ ${PROJECT_SOURCE_DIR}/runtime/src/tree/xpath
+- ${UTFCPP_DIR}/install/include/utf8cpp
+- ${UTFCPP_DIR}/install/include/utf8cpp/utf8
+ )
+
+
+@@ -50,9 +35,6 @@ add_custom_target(make_lib_output_dir AL
+ COMMAND ${CMAKE_COMMAND} -E make_directory ${LIB_OUTPUT_DIR}
+ )
+
+-add_dependencies(antlr4_shared make_lib_output_dir utfcpp)
+-add_dependencies(antlr4_static make_lib_output_dir utfcpp)
+-
+ if(CMAKE_SYSTEM_NAME MATCHES "Linux")
+ target_link_libraries(antlr4_shared ${UUID_LIBRARIES})
+ target_link_libraries(antlr4_static ${UUID_LIBRARIES})
+@@ -131,13 +113,3 @@ install(DIRECTORY "${PROJECT_SOURCE_DIR}
+ FILES_MATCHING PATTERN "*.h"
+ )
+
+-install(FILES "${UTFCPP_DIR}/source/utf8.h"
+- DESTINATION "include/antlr4-runtime")
+-install(DIRECTORY "${UTFCPP_DIR}/source/utf8"
+- DESTINATION "include/antlr4-runtime"
+- COMPONENT dev
+- FILES_MATCHING PATTERN "*.h"
+- )
+-
+-
+-
diff --git a/sources b/sources
index 6b5ca42..577b141 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (antlr4-4.8.tar.gz) = 9edcb28593a7312736a5c332af277ddcbc7fd67f044c47410ea21cff17397d71f3e46a16bb0f58a73a1502c78fd1be00add3bb10797b794d50f2c6b5561c937e
+SHA512 (antlr4-4.9.tar.gz) = f46850cad08cc82fa7162e0b1651aeea5be81943ab20d0216ef9b1453b4cae039c09a93e5a8bd87e15afca63ff6eab3f41d7534e9c8cdde408d474a3e04b5fab
commit 60bae7c9a17fcbaa41ff733868a84015eb24985d
Author: Jerry James <loganjerry(a)gmail.com>
Date: Mon Nov 9 10:56:34 2020 -0700
Explicitly BR make.
diff --git a/antlr4-project.spec b/antlr4-project.spec
index d841d3f..ff993f2 100644
--- a/antlr4-project.spec
+++ b/antlr4-project.spec
@@ -29,6 +29,7 @@ Patch2: antlr4-javadoc.patch
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: help2man
+BuildRequires: make
BuildRequires: maven-local
BuildRequires: mvn(com.ibm.icu:icu4j)
BuildRequires: mvn(com.webguys:string-template-maven-plugin)
@@ -49,7 +50,7 @@ BuildRequires: mvn(org.glassfish:javax.json)
BuildRequires: mvn(org.sonatype.plexus:plexus-build-api)
BuildRequires: pkgconfig(uuid)
BuildRequires: python3-devel
-BuildRequires: python3dist(setuptools)
+BuildRequires: %{py3_dist setuptools}
%global _desc %{expand:
ANTLR (ANother Tool for Language Recognition) is a powerful parser
@@ -310,7 +311,7 @@ gacutil -i runtime/CSharp/runtime/CSharp/Antlr4.Runtime/lib/Debug/Antlr4.Runtime
# Install the Python 3 runtime
cd runtime/Python3
%py3_install
-sed 's,#!python,#!%{__python3},' bin/pygrun > %{buildroot}%{_bindir}/pygrun
+sed 's,#!python,#!%{python3},' bin/pygrun > %{buildroot}%{_bindir}/pygrun
touch -r bin/pygrun %{buildroot}%{_bindir}/pygrun
chmod 0755 %{buildroot}%{_bindir}/pygrun
cd -
2 years, 5 months
Architecture specific change in rpms/antlr4-project.git
by githook-noreply@fedoraproject.org
The package rpms/antlr4-project.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/antlr4-project.git/commit/?id=ef8....
Change:
+%ifarch %nodejs_arches
Thanks.
Full change:
============
commit ef8cbeb297aa3498f473a8e059dd21afae35b082
Author: Jerry James <loganjerry(a)gmail.com>
Date: Mon Nov 30 10:54:26 2020 -0700
Version 4.9.
- Add the JavaScript runtime.
- Add -utf8cpp patch.
diff --git a/antlr4-project.spec b/antlr4-project.spec
index ff993f2..6eafadb 100644
--- a/antlr4-project.spec
+++ b/antlr4-project.spec
@@ -1,17 +1,17 @@
-# NOTE: The JavaScript runtime library includes a bundled copy of an obsolete
-# version of Torben Hasse's require.js. If somebody who knows about JavaScript
-# will do something about that, we can include that runtime as well. For now,
-# it is omitted.
-#
# NOTE: A PHP runtime is available as a separate project:
# https://github.com/antlr/antlr-php-runtime/
+#
+# NOTE: A dart target is available, should dart ever be added to Fedora.
%global swiftarches x86_64 aarch64
%global swiftdir %{_prefix}/lib/swift/linux
+# Use when a previous version has broken deps
+%bcond_with bootstrap
+
Name: antlr4-project
-Version: 4.8
-Release: 5%{?dist}
+Version: 4.9
+Release: 1%{?dist}
Summary: Parser generator (ANother Tool for Language Recognition)
License: BSD
@@ -24,7 +24,10 @@ Patch0: antlr4-unicode-properties.patch
# Upstream is not yet ready to move to newer mono versions.
Patch1: antlr4-mono-ambiguous.patch
# Fix some javadoc problems
+# https://github.com/antlr/antlr4/pull/2960
Patch2: antlr4-javadoc.patch
+# Unbundle utf8cpp
+Patch3: antlr4-utf8cpp.patch
BuildRequires: cmake
BuildRequires: gcc-c++
@@ -35,7 +38,9 @@ BuildRequires: mvn(com.ibm.icu:icu4j)
BuildRequires: mvn(com.webguys:string-template-maven-plugin)
BuildRequires: mvn(org.abego.treelayout:org.abego.treelayout.core)
BuildRequires: mvn(org.antlr:antlr3-maven-plugin)
+%if %{without bootstrap}
BuildRequires: mvn(org.antlr:antlr4-maven-plugin)
+%endif
BuildRequires: mvn(org.antlr:antlr-runtime)
BuildRequires: mvn(org.antlr:ST4)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
@@ -51,6 +56,7 @@ BuildRequires: mvn(org.sonatype.plexus:plexus-build-api)
BuildRequires: pkgconfig(uuid)
BuildRequires: python3-devel
BuildRequires: %{py3_dist setuptools}
+BuildRequires: utf8cpp-devel
%global _desc %{expand:
ANTLR (ANother Tool for Language Recognition) is a powerful parser
@@ -166,6 +172,18 @@ This package provides the runtime library used by C\# (mono) ANTLR
parsers.
%endif
+%ifarch %nodejs_arches
+%package -n nodejs-antlr4
+Summary: ANTLR runtime for JavaScript
+BuildArch: noarch
+BuildRequires: nodejs
+
+%description -n nodejs-antlr4 %_desc
+
+This package provides the runtime library used by JavaScript ANTLR
+parsers.
+%endif
+
%package -n python3-antlr4-runtime
Summary: ANTLR runtime for Python 3
BuildArch: noarch
@@ -227,22 +245,29 @@ sed -i 's,\\>,>,g' tool/resources/org/antlr/v4/tool/templates/unicodedata.st
%mvn_package :antlr4-master antlr4-runtime
+%if %{with bootstrap}
+# Avoid the need to build with an older version of antlr4
+%pom_remove_plugin org.antlr:antlr4-maven-plugin runtime/Java
+cp -p runtime/Cpp/runtime/src/tree/xpath/XPathLexer.tokens runtime/Java/src
+%endif
+
+# Build for JDK 1.8
+sed -i 's/1\.7/1.8/g' pom.xml
+
+# Use utf8cpp instead of the deprecated wstring_convert
+sed -i 's/# \(.*DUSE_UTF8_INSTEAD_OF_CODECVT.*\)/\1/' runtime/Cpp/CMakeLists.txt
+
# Change library install directory on 64-bit platforms
if [ "%{_lib}" != "lib" ]; then
sed -i 's/DESTINATION lib/&64/' runtime/Cpp/runtime/CMakeLists.txt
fi
%build
-# Ensure we get the jit on arm
-%ifarch %{arm}
-export JAVA_HOME=$(ls -1d %{_jvmdir}/java-1.8.0-openjdk-aarch32*)
-%else
export JAVA_HOME=%{_jvmdir}/java
-%endif
# Build for Java
# Due to the missing takari packages, we cannot run the tests
-%mvn_build -s -f -- -Dsource=1.7
+%mvn_build -s -f -- -Dsource=1.8
# Build the C++ runtime
cd runtime/Cpp
@@ -308,6 +333,12 @@ mkdir -p %{buildroot}%{_monogacdir}
gacutil -i runtime/CSharp/runtime/CSharp/Antlr4.Runtime/lib/Debug/Antlr4.Runtime.Standard.dll -f -package antlr4 -root %{buildroot}%{_prefix}/lib
%endif
+# Install the JavaScript runtime
+%ifarch %nodejs_arches
+mkdir -p %{buildroot}%{nodejs_sitelib}
+cp -a runtime/JavaScript/src/antlr4 %{buildroot}%{nodejs_sitelib}
+%endif
+
# Install the Python 3 runtime
cd runtime/Python3
%py3_install
@@ -328,9 +359,19 @@ cd -
# Create man pages
export PYTHONPATH=%{buildroot}%{python3_sitelib}
mkdir -p %{buildroot}%{_mandir}/man1
+%if %{with bootstrap}
+cat > antlr4 << EOF
+java -cp %{buildroot}%{_javadir}/antlr4/antlr4.jar:%{buildroot}%{_javadir}/antlr4/antlr4-runtime.jar:$(build-classpath antlr3-runtime stringtemplate4 treelayout) org.antlr.v4.Tool
+EOF
+chmod a+x antlr4
+help2man -N --version-string=4.8 -h '' ./antlr4 > \
+ %{buildroot}%{_mandir}/man1/antlr4.1
+cd %{buildroot}%{_bindir}
+%else
cd %{buildroot}%{_bindir}
help2man -N --version-string=4.8 -h '' ./antlr4 > \
%{buildroot}%{_mandir}/man1/antlr4.1
+%endif
help2man -N --version-string=4.8 ./pygrun > \
%{buildroot}%{_mandir}/man1/pygrun.1
cd -
@@ -385,6 +426,13 @@ rm -fr %{buildroot}%{_docdir}/libantlr4
%{_monogacdir}/Antlr4.Runtime.Standard/
%endif
+%ifarch %nodejs_arches
+%files -n nodejs-antlr4
+%doc runtime/JavaScript/README.md
+%license LICENSE.txt
+%{nodejs_sitelib}/antlr4/
+%endif
+
%files -n python3-antlr4-runtime
%doc runtime/Python3/README.txt
%license LICENSE.txt
@@ -402,6 +450,11 @@ rm -fr %{buildroot}%{_docdir}/libantlr4
%endif
%changelog
+* Mon Nov 30 2020 Jerry James <loganjerry(a)gmail.com> - 4.9-1
+- Version 4.9
+- Add the JavaScript runtime
+- Add -utf8cpp patch
+
* Mon Jul 27 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 4.8-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
diff --git a/antlr4-utf8cpp.patch b/antlr4-utf8cpp.patch
new file mode 100644
index 0000000..d61c185
--- /dev/null
+++ b/antlr4-utf8cpp.patch
@@ -0,0 +1,55 @@
+--- a/runtime/Cpp/runtime/CMakeLists.txt
++++ b/runtime/Cpp/runtime/CMakeLists.txt
+@@ -1,19 +1,6 @@
+
+ include(${CMAKE_ROOT}/Modules/ExternalProject.cmake)
+
+-set(THIRDPARTY_DIR ${CMAKE_BINARY_DIR}/runtime/thirdparty)
+-set(UTFCPP_DIR ${THIRDPARTY_DIR}/utfcpp)
+-ExternalProject_Add(
+- utfcpp
+- GIT_REPOSITORY "git://github.com/nemtrif/utfcpp"
+- GIT_TAG "v3.1.1"
+- SOURCE_DIR ${UTFCPP_DIR}
+- UPDATE_DISCONNECTED 1
+- CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${UTFCPP_DIR}/install -Dgtest_force_shared_crt=ON
+- TEST_AFTER_INSTALL 1
+- STEP_TARGETS build)
+-
+-
+ include_directories(
+ ${PROJECT_SOURCE_DIR}/runtime/src
+ ${PROJECT_SOURCE_DIR}/runtime/src/atn
+@@ -23,8 +10,6 @@ include_directories(
+ ${PROJECT_SOURCE_DIR}/runtime/src/tree
+ ${PROJECT_SOURCE_DIR}/runtime/src/tree/pattern
+ ${PROJECT_SOURCE_DIR}/runtime/src/tree/xpath
+- ${UTFCPP_DIR}/install/include/utf8cpp
+- ${UTFCPP_DIR}/install/include/utf8cpp/utf8
+ )
+
+
+@@ -50,9 +35,6 @@ add_custom_target(make_lib_output_dir AL
+ COMMAND ${CMAKE_COMMAND} -E make_directory ${LIB_OUTPUT_DIR}
+ )
+
+-add_dependencies(antlr4_shared make_lib_output_dir utfcpp)
+-add_dependencies(antlr4_static make_lib_output_dir utfcpp)
+-
+ if(CMAKE_SYSTEM_NAME MATCHES "Linux")
+ target_link_libraries(antlr4_shared ${UUID_LIBRARIES})
+ target_link_libraries(antlr4_static ${UUID_LIBRARIES})
+@@ -131,13 +113,3 @@ install(DIRECTORY "${PROJECT_SOURCE_DIR}
+ FILES_MATCHING PATTERN "*.h"
+ )
+
+-install(FILES "${UTFCPP_DIR}/source/utf8.h"
+- DESTINATION "include/antlr4-runtime")
+-install(DIRECTORY "${UTFCPP_DIR}/source/utf8"
+- DESTINATION "include/antlr4-runtime"
+- COMPONENT dev
+- FILES_MATCHING PATTERN "*.h"
+- )
+-
+-
+-
diff --git a/sources b/sources
index 6b5ca42..577b141 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (antlr4-4.8.tar.gz) = 9edcb28593a7312736a5c332af277ddcbc7fd67f044c47410ea21cff17397d71f3e46a16bb0f58a73a1502c78fd1be00add3bb10797b794d50f2c6b5561c937e
+SHA512 (antlr4-4.9.tar.gz) = f46850cad08cc82fa7162e0b1651aeea5be81943ab20d0216ef9b1453b4cae039c09a93e5a8bd87e15afca63ff6eab3f41d7534e9c8cdde408d474a3e04b5fab
2 years, 5 months
Architecture specific change in rpms/rust-memoffset0.5.git
by githook-noreply@fedoraproject.org
The package rpms/rust-memoffset0.5.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/rust-memoffset0.5.git/commit/?id=....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit a67a37bfae5f0ee7e69674028114c4334b428fbf
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Mon Nov 30 18:46:14 2020 +0100
initial import (memoffset 0.5 compat package)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..244f440
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/results_*/
+/*.src.rpm
+
+/memoffset-0.5.6.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index f10f163..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-memoffset0.5
-
-The rust-memoffset0.5 package
diff --git a/rust-memoffset0.5.spec b/rust-memoffset0.5.spec
new file mode 100644
index 0000000..91155e5
--- /dev/null
+++ b/rust-memoffset0.5.spec
@@ -0,0 +1,99 @@
+# Generated by rust2rpm 13
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate memoffset
+
+Name: rust-%{crate}0.5
+Version: 0.5.6
+Release: 1%{?dist}
+Summary: Offset_of functionality for Rust structs
+
+# Upstream license specification: MIT
+License: MIT
+URL: https://crates.io/crates/memoffset
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Offset_of functionality for Rust structs.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%license LICENSE
+%doc README.md
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "default" feature of "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+unstable_const-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+unstable_const-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "unstable_const" feature of "%{crate}" crate.
+
+%files -n %{name}+unstable_const-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+unstable_raw-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+unstable_raw-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "unstable_raw" feature of "%{crate}" crate.
+
+%files -n %{name}+unstable_raw-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Mon Nov 30 2020 Fabio Valentini <decathorpe(a)gmail.com> - 0.5.6-1
+- Initial compat package for memoffset 0.5
diff --git a/sources b/sources
new file mode 100644
index 0000000..d1b8484
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (memoffset-0.5.6.crate) = 6df8952d41f60fa0993fbc85d112a15c1f6ecfef66da29ebdab71f40cd8ee8722400693b6ea023344f1b5dc351cbe828f465a8cabd150377a62948cedeb5db6b
2 years, 5 months
Architecture specific change in rpms/FlightGear.git
by githook-noreply@fedoraproject.org
The package rpms/FlightGear.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/FlightGear.git/commit/?id=a210255....
Change:
+ExcludeArch: s390x
Thanks.
Full change:
============
commit a210255a2bdab36c5651470cf98e6f384af8b2c1
Author: Fabrice Bellet <fabrice(a)bellet.info>
Date: Mon Nov 30 18:33:14 2020 +0100
temporary exclude arch s390x
diff --git a/FlightGear.spec b/FlightGear.spec
index e27d33c..638cac1 100644
--- a/FlightGear.spec
+++ b/FlightGear.spec
@@ -28,6 +28,10 @@ BuildRequires: qt5-qtdeclarative-devel, qt5-qtsvg-devel, qt5-linguist
Requires: FlightGear-data >= %{version}, opengl-games-utils
Requires: hicolor-icon-theme
+# There are build problems on s390x, see
+# https://koji.fedoraproject.org/koji/taskinfo?taskID=56448760
+ExcludeArch: s390x
+
%description
The Flight Gear project is working to create a sophisticated flight
simulator framework for the development and pursuit of interesting
@@ -82,8 +86,9 @@ ln -s opengl-game-wrapper.sh $RPM_BUILD_ROOT%{_bindir}/fgfs-wrapper
%{_datadir}/metainfo/*.metainfo.xml
%changelog
-* Sun Nov 29 2020 Fabrice Bellet <fabrice(a)bellet.info> - 2020.3.3-1
+* Mon Nov 30 2020 Fabrice Bellet <fabrice(a)bellet.info> - 2020.3.3-1
- new upstream release
+- temporary exclude arch s390x
* Mon Nov 09 2020 Fabrice Bellet <fabrice(a)bellet.info> - 2020.3.2-1
- new upstream release
2 years, 5 months
Architecture specific change in rpms/rust-aes-gcm.git
by githook-noreply@fedoraproject.org
The package rpms/rust-aes-gcm.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/rust-aes-gcm.git/commit/?id=f5e11....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit f5e11c881d17f3e87ea31d91235694b984c1123c
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Mon Nov 30 17:00:20 2020 +0100
initial import (#1897796)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..573d1ce
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/results_*/
+/*.src.rpm
+
+/aes-gcm-0.8.0.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index da74177..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-aes-gcm
-
-The rust-aes-gcm package
diff --git a/rust-aes-gcm.spec b/rust-aes-gcm.spec
new file mode 100644
index 0000000..c49757e
--- /dev/null
+++ b/rust-aes-gcm.spec
@@ -0,0 +1,125 @@
+# Generated by rust2rpm 16
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate aes-gcm
+
+Name: rust-%{crate}
+Version: 0.8.0
+Release: 1%{?dist}
+Summary: AES-GCM (Galois/Counter Mode) AEAD Cipher implementation
+
+# Upstream license specification: Apache-2.0 OR MIT
+License: ASL 2.0 or MIT
+URL: https://crates.io/crates/aes-gcm
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Pure Rust implementation of the AES-GCM (Galois/Counter Mode) Authenticated
+Encryption with Associated Data (AEAD) Cipher with optional architecture-
+specific hardware acceleration.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%license LICENSE-APACHE LICENSE-MIT
+%doc README.md CHANGELOG.md
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "default" feature of "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+aes-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+aes-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "aes" feature of "%{crate}" crate.
+
+%files -n %{name}+aes-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+alloc-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+alloc-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "alloc" feature of "%{crate}" crate.
+
+%files -n %{name}+alloc-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+std-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+std-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "std" feature of "%{crate}" crate.
+
+%files -n %{name}+std-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+zeroize-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+zeroize-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "zeroize" feature of "%{crate}" crate.
+
+%files -n %{name}+zeroize-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Fri Nov 06 2020 Fabio Valentini <decathorpe(a)gmail.com> - 0.8.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..20b00bc
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (aes-gcm-0.8.0.crate) = 7ee59aa0d08bdd8627a471a57ab6bbc14686290e808b0909749cc08592ca6be76d1b83b5bbf16dbca34192be182f14d930729654b7a485bb448b0eb36a32f7e9
2 years, 5 months