Architecture specific change in rpms/rust-i18n-embed-impl.git
by githook-noreply@fedoraproject.org
The package rpms/rust-i18n-embed-impl.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-i18n-embed-impl.git/commit/?....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 90316c3f865890672de902ba13b8c9b8330e28bc
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Tue May 23 23:49:41 2023 +0200
Update to version 0.8.1; Fixes RHBZ#2207815
diff --git a/.gitignore b/.gitignore
index 4c18b2b..2955e4e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/i18n-embed-impl-0.7.0.crate
/i18n-embed-impl-0.8.0.crate
+/i18n-embed-impl-0.8.1.crate
diff --git a/LICENSE.txt b/LICENSE.txt
new file mode 100644
index 0000000..2c0f002
--- /dev/null
+++ b/LICENSE.txt
@@ -0,0 +1,8 @@
+Copyright 2020 Luke Frisken
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+© 2020 Luke Frisken
\ No newline at end of file
diff --git a/README.md b/README.md
deleted file mode 100644
index 9166da6..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-i18n-embed-impl
-
-The rust-i18n-embed-impl package
diff --git a/rust-i18n-embed-impl.spec b/rust-i18n-embed-impl.spec
index 5ad11df..264191f 100644
--- a/rust-i18n-embed-impl.spec
+++ b/rust-i18n-embed-impl.spec
@@ -1,25 +1,20 @@
-# Generated by rust2rpm 18
+# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate i18n-embed-impl
-Name: rust-%{crate}
-Version: 0.8.0
+Name: rust-i18n-embed-impl
+Version: 0.8.1
Release: %autorelease
Summary: Macro implementations for i18n-embed
-# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/i18n-embed-impl
-Source: %{crates_source}
+Source0: %{crates_source}
+Source1: https://github.com/kellpossible/cargo-i18n/raw/i18n-embed-impl_v0.8.1/i18...
-ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
Macro implementations for i18n-embed.}
@@ -32,11 +27,13 @@ BuildArch: noarch
%description devel %{_description}
-This package contains library source intended for building other packages
-which use "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
%files devel
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE.txt
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -44,11 +41,11 @@ 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.
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+find-crate-devel
Summary: %{summary}
@@ -56,11 +53,11 @@ BuildArch: noarch
%description -n %{name}+find-crate-devel %{_description}
-This package contains library source intended for building other packages
-which use "find-crate" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "find-crate" feature of the "%{crate}" crate.
%files -n %{name}+find-crate-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+fluent-system-devel
Summary: %{summary}
@@ -68,11 +65,11 @@ BuildArch: noarch
%description -n %{name}+fluent-system-devel %{_description}
-This package contains library source intended for building other packages
-which use "fluent-system" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "fluent-system" feature of the "%{crate}" crate.
%files -n %{name}+fluent-system-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+gettext-system-devel
Summary: %{summary}
@@ -80,11 +77,11 @@ BuildArch: noarch
%description -n %{name}+gettext-system-devel %{_description}
-This package contains library source intended for building other packages
-which use "gettext-system" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "gettext-system" feature of the "%{crate}" crate.
%files -n %{name}+gettext-system-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+i18n-config-devel
Summary: %{summary}
@@ -92,11 +89,11 @@ BuildArch: noarch
%description -n %{name}+i18n-config-devel %{_description}
-This package contains library source intended for building other packages
-which use "i18n-config" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "i18n-config" feature of the "%{crate}" crate.
%files -n %{name}+i18n-config-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+quote-devel
Summary: %{summary}
@@ -104,28 +101,29 @@ BuildArch: noarch
%description -n %{name}+quote-devel %{_description}
-This package contains library source intended for building other packages
-which use "quote" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "quote" feature of the "%{crate}" crate.
%files -n %{name}+quote-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
+cp -pav %{SOURCE1} .
%generate_buildrequires
-%cargo_generate_buildrequires -f fluent-system
+%cargo_generate_buildrequires
%build
-%cargo_build -f fluent-system
+%cargo_build
%install
-%cargo_install -f fluent-system
+%cargo_install
%if %{with check}
%check
-%cargo_test -f fluent-system
+%cargo_test
%endif
%changelog
diff --git a/sources b/sources
index 7b10daf..1678ace 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (i18n-embed-impl-0.8.0.crate) = 61c0f755280776fb832495ec5444774f9f5a346dfddeecba5090f21a604cb94a7005ed55ce2c431c74a33037045c6b763d281b0dea02a3e56b2ba669679d8f81
+SHA512 (i18n-embed-impl-0.8.1.crate) = 0b16b181d85d52fa628660663dc8a44feff5236604890b803d0f881af6be60f6c00710a241289adda3b1eeda73da4fab58a126580aa697b28fca5a2268e4c2be
commit b980fcf439d59d35cfa34b133dcefbda75d0df39
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Tue May 23 23:41:25 2023 +0200
Convert to %autorelease and %autochangelog
[skip changelog]
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..f481e95
--- /dev/null
+++ b/changelog
@@ -0,0 +1,14 @@
+* Fri Jan 20 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.8.0-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
+
+* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.8.0-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+
+* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.8.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+
+* Mon Nov 22 2021 Link Dupont <linkdupont(a)fedoraproject.org> - 0.8.0-1
+- New upstream version
+
+* Mon Oct 04 2021 Link Dupont <linkdupont(a)fedoraproject.org> - 0.7.0-1
+- Initial package
diff --git a/rust-i18n-embed-impl.spec b/rust-i18n-embed-impl.spec
index 16c9c52..5ad11df 100644
--- a/rust-i18n-embed-impl.spec
+++ b/rust-i18n-embed-impl.spec
@@ -6,7 +6,7 @@
Name: rust-%{crate}
Version: 0.8.0
-Release: 4%{?dist}
+Release: %autorelease
Summary: Macro implementations for i18n-embed
# Upstream license specification: MIT
@@ -129,17 +129,4 @@ which use "quote" feature of "%{crate}" crate.
%endif
%changelog
-* Fri Jan 20 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.8.0-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
-
-* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.8.0-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
-
-* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.8.0-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
-
-* Mon Nov 22 2021 Link Dupont <linkdupont(a)fedoraproject.org> - 0.8.0-1
-- New upstream version
-
-* Mon Oct 04 2021 Link Dupont <linkdupont(a)fedoraproject.org> - 0.7.0-1
-- Initial package
+%autochangelog
1 year
Architecture specific change in rpms/rust-i18n-config.git
by githook-noreply@fedoraproject.org
The package rpms/rust-i18n-config.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-i18n-config.git/commit/?id=7....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 7221fc2db14f101e4e1c65a94f5a2c2dc28e0ed4
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Tue May 23 23:47:22 2023 +0200
Update to version 0.4.4; Fixes RHBZ#2159518
diff --git a/.gitignore b/.gitignore
index 5f2c5ae..7c97d21 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/i18n-config-0.4.2.crate
+/i18n-config-0.4.4.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index 70e7cde..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-i18n-config
-
-The rust-i18n-config package
diff --git a/rust-i18n-config.spec b/rust-i18n-config.spec
index eafb600..8a71937 100644
--- a/rust-i18n-config.spec
+++ b/rust-i18n-config.spec
@@ -1,25 +1,19 @@
-# Generated by rust2rpm 18
+# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate i18n-config
-Name: rust-%{crate}
-Version: 0.4.2
+Name: rust-i18n-config
+Version: 0.4.4
Release: %autorelease
-Summary: This library contains the configuration stucts (along with their parsing functions) for the cargo-i18n tool/system
+Summary: Configuration stucts for cargo-i18n
-# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/i18n-config
Source: %{crates_source}
-ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
This library contains the configuration stucts (along with their parsing
@@ -33,13 +27,14 @@ BuildArch: noarch
%description devel %{_description}
-This package contains library source intended for building other packages
-which use "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
%files devel
-%license LICENSE.txt
-%doc README.md CHANGELOG.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE.txt
+%doc %{crate_instdir}/CHANGELOG.md
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -47,11 +42,11 @@ 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.
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
diff --git a/rust2rpm.conf b/rust2rpm.conf
new file mode 100644
index 0000000..957e58f
--- /dev/null
+++ b/rust2rpm.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+summary = Configuration stucts for cargo-i18n
diff --git a/sources b/sources
index a21da0f..dbfbdda 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (i18n-config-0.4.2.crate) = 98b3fabfdc26f486a873f4187c05f0b17c839d5279b049978eb12ba216221f8fcdee9732dd309c5810259b73289c2ba6d35304be6afd54bdc8d52923e6e69045
+SHA512 (i18n-config-0.4.4.crate) = 9e596efcb920c569af7ca4ef89e1a46f56e27c82bf8cad5bd3b38b0e77774dfd3e6408af18e96b06d9c1da4f8a2e5387d31eab502113bb5fa51dc4e3d0e97f73
commit 87dbd9c5b0616884b051ae8b0c8305b4d9a2ae94
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Tue May 23 23:44:44 2023 +0200
Convert to %autorelease and %autochangelog
[skip changelog]
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..6b32f83
--- /dev/null
+++ b/changelog
@@ -0,0 +1,11 @@
+* Fri Jan 20 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.2-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
+
+* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.2-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+
+* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.2-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+
+* Sun Oct 03 2021 Link Dupont <linkdupont(a)fedoraproject.org> - 0.4.2-1
+- Initial package
diff --git a/rust-i18n-config.spec b/rust-i18n-config.spec
index a2def2b..eafb600 100644
--- a/rust-i18n-config.spec
+++ b/rust-i18n-config.spec
@@ -6,7 +6,7 @@
Name: rust-%{crate}
Version: 0.4.2
-Release: 4%{?dist}
+Release: %autorelease
Summary: This library contains the configuration stucts (along with their parsing functions) for the cargo-i18n tool/system
# Upstream license specification: MIT
@@ -72,14 +72,4 @@ which use "default" feature of "%{crate}" crate.
%endif
%changelog
-* Fri Jan 20 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.2-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
-
-* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.2-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
-
-* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.2-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
-
-* Sun Oct 03 2021 Link Dupont <linkdupont(a)fedoraproject.org> - 0.4.2-1
-- Initial package
+%autochangelog
1 year
Architecture specific change in rpms/rust-protobuf-codegen-pure.git
by githook-noreply@fedoraproject.org
The package rpms/rust-protobuf-codegen-pure.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-protobuf-codegen-pure.git/co....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 2e1d342258dffae4208158461a723a4c35724702
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Tue May 23 23:37:26 2023 +0200
Update to version 2.28.0; Fixes RHBZ#2129669
diff --git a/.gitignore b/.gitignore
index 1544663..0e5fcb6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@
/protobuf-codegen-pure-2.24.2.crate
/protobuf-codegen-pure-2.25.1.crate
/protobuf-codegen-pure-2.25.2.crate
+/protobuf-codegen-pure-2.28.0.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index 84b6d77..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-protobuf-codegen-pure
-
-The rust-protobuf-codegen-pure package
\ No newline at end of file
diff --git a/protobuf-codegen-pure-fix-metadata.diff b/protobuf-codegen-pure-fix-metadata.diff
index 8374ffe..1880706 100644
--- a/protobuf-codegen-pure-fix-metadata.diff
+++ b/protobuf-codegen-pure-fix-metadata.diff
@@ -1,14 +1,14 @@
---- protobuf-codegen-pure-2.25.2/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ protobuf-codegen-pure-2.25.2/Cargo.toml 2021-11-11T13:19:30.766487+00:00
-@@ -17,6 +17,7 @@
- homepage = "https://github.com/stepancheg/rust-protobuf/tree/master/protobuf-codegen-..."
+--- protobuf-codegen-pure-2.28.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ protobuf-codegen-pure-2.28.0/Cargo.toml 2023-05-23T21:26:50.052894+00:00
+@@ -22,6 +22,7 @@
+ readme = "README.md"
license = "MIT"
repository = "https://github.com/stepancheg/rust-protobuf/tree/master/protobuf-codegen-..."
+autobins = false
+
[package.metadata.docs.rs]
all-features = true
-
-@@ -24,10 +25,6 @@
+@@ -30,11 +31,6 @@
doctest = false
bench = false
@@ -16,6 +16,7 @@
-name = "parse-and-typecheck"
-path = "src/bin/parse-and-typecheck.rs"
-test = false
+-
[dependencies.protobuf]
- version = "=2.25.2"
+ version = "=2.28.0"
diff --git a/rust-protobuf-codegen-pure.spec b/rust-protobuf-codegen-pure.spec
index e463e4e..f48b55c 100644
--- a/rust-protobuf-codegen-pure.spec
+++ b/rust-protobuf-codegen-pure.spec
@@ -1,32 +1,25 @@
-# Generated by rust2rpm 18
+# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate protobuf-codegen-pure
-Name: rust-%{crate}
-Version: 2.25.2
+Name: rust-protobuf-codegen-pure
+Version: 2.28.0
Release: %autorelease
Summary: Pure-rust codegen for protobuf using protobuf-parser crate
-# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/protobuf-codegen-pure
Source: %{crates_source}
-# Initial patched metadata
+# Manually created patch for downstream crate metadata changes
# * drop unused parse-and-typecheck executable
-Patch0: protobuf-codegen-pure-fix-metadata.diff
+Patch: protobuf-codegen-pure-fix-metadata.diff
-ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
-Pure-rust codegen for protobuf using protobuf-parser crate
-WIP.}
+Pure-rust codegen for protobuf using protobuf-parser crate WIP.}
%description %{_description}
@@ -36,13 +29,13 @@ BuildArch: noarch
%description devel %{_description}
-This package contains library source intended for building other packages
-which use "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
%files devel
-%license LICENSE.txt
-%doc README.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE.txt
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -50,11 +43,11 @@ 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.
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
diff --git a/sources b/sources
index 94984cc..c220046 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (protobuf-codegen-pure-2.25.2.crate) = 2d519a9a2c46c2fdca77d70be91df7d77769e89319dd0444621d0479b0a40c65b5b9179d3eaf62fb365ae959a4392cbf210f6719dfe7c97f42e9d3cc476e3d9b
+SHA512 (protobuf-codegen-pure-2.28.0.crate) = f09f04fd04ef06259ca60f1a9ab254cfba27a1ef468a91f29e70bf44ebb1a33632eeaa3b7d0405d12ed2206263d750bb48711ead7d1d51804b043d2cf46c3d07
commit ad9958cc3d3e61e3d3eb23fb341dc669a43d1796
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Sat Jan 21 00:44:15 2023 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
1 year
Architecture specific change in rpms/rust-protobuf.git
by githook-noreply@fedoraproject.org
The package rpms/rust-protobuf.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-protobuf.git/commit/?id=9670....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 9670a67330314f6938cc17ead47332c7d4e624fa
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Tue May 23 23:36:57 2023 +0200
Update to version 2.28.0
diff --git a/.gitignore b/.gitignore
index 3c210c3..e36a7ae 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,3 +16,4 @@
/protobuf-2.24.2.crate
/protobuf-2.25.1.crate
/protobuf-2.25.2.crate
+/protobuf-2.28.0.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index bc977ab..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-protobuf
-
-The rust-protobuf package
\ No newline at end of file
diff --git a/rust-protobuf.spec b/rust-protobuf.spec
index 290f32c..b325b20 100644
--- a/rust-protobuf.spec
+++ b/rust-protobuf.spec
@@ -1,26 +1,20 @@
-# Generated by rust2rpm 18
+# Generated by rust2rpm 24
# * files required by tests are not shipped with published crates
%bcond_with check
%global debug_package %{nil}
%global crate protobuf
-Name: rust-%{crate}
-Version: 2.25.2
+Name: rust-protobuf
+Version: 2.28.0
Release: %autorelease
Summary: Rust implementation of Google protocol buffers
-# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/protobuf
Source: %{crates_source}
-ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
Rust implementation of Google protocol buffers.}
@@ -33,13 +27,13 @@ BuildArch: noarch
%description devel %{_description}
-This package contains library source intended for building other packages
-which use "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
%files devel
-%license LICENSE.txt
-%doc README.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE.txt
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -47,11 +41,11 @@ 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.
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+bytes-devel
Summary: %{summary}
@@ -59,11 +53,11 @@ BuildArch: noarch
%description -n %{name}+bytes-devel %{_description}
-This package contains library source intended for building other packages
-which use "bytes" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "bytes" feature of the "%{crate}" crate.
%files -n %{name}+bytes-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel
Summary: %{summary}
@@ -71,11 +65,11 @@ BuildArch: noarch
%description -n %{name}+serde-devel %{_description}
-This package contains library source intended for building other packages
-which use "serde" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde_derive-devel
Summary: %{summary}
@@ -83,11 +77,11 @@ BuildArch: noarch
%description -n %{name}+serde_derive-devel %{_description}
-This package contains library source intended for building other packages
-which use "serde_derive" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "serde_derive" feature of the "%{crate}" crate.
%files -n %{name}+serde_derive-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+with-bytes-devel
Summary: %{summary}
@@ -95,11 +89,11 @@ BuildArch: noarch
%description -n %{name}+with-bytes-devel %{_description}
-This package contains library source intended for building other packages
-which use "with-bytes" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "with-bytes" feature of the "%{crate}" crate.
%files -n %{name}+with-bytes-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+with-serde-devel
Summary: %{summary}
@@ -107,11 +101,11 @@ BuildArch: noarch
%description -n %{name}+with-serde-devel %{_description}
-This package contains library source intended for building other packages
-which use "with-serde" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "with-serde" feature of the "%{crate}" crate.
%files -n %{name}+with-serde-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
diff --git a/sources b/sources
index 4998559..36dc44f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (protobuf-2.25.2.crate) = baaab089ce1bbae861a9006c254d2c99bba7fd7486a11c95ac983e9aad20d784bba74cf796a943a8cd720793940167b663aa975fb15a056381f3597414218353
+SHA512 (protobuf-2.28.0.crate) = 14e87f5e4039eb98d473055634102e7d8f79d294de0e04e0c0423dba6e34abbb28b1f94bc2d96ab16d3e02e770fe876b4c8c3af8835a43a8448514efd0b02312
commit 24c51cb0892fe6c50351bc070066851dff1add20
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Sat Jan 21 00:43:53 2023 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
1 year
Architecture specific change in rpms/rust-protobuf-codegen.git
by githook-noreply@fedoraproject.org
The package rpms/rust-protobuf-codegen.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-protobuf-codegen.git/commit/....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 919b266847a828421ee7e5cd5b2751bce2d7e663
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Tue May 23 23:37:16 2023 +0200
Update to version 2.28.0
diff --git a/.gitignore b/.gitignore
index ca77f34..525fc97 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,3 +15,4 @@
/protobuf-codegen-2.24.2.crate
/protobuf-codegen-2.25.1.crate
/protobuf-codegen-2.25.2.crate
+/protobuf-codegen-2.28.0.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index c904429..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-protobuf-codegen
-
-The rust-protobuf-codegen package
\ No newline at end of file
diff --git a/protobuf-codegen-fix-metadata.diff b/protobuf-codegen-fix-metadata.diff
new file mode 100644
index 0000000..1c9bbcc
--- /dev/null
+++ b/protobuf-codegen-fix-metadata.diff
@@ -0,0 +1,26 @@
+--- protobuf-codegen-2.28.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ protobuf-codegen-2.28.0/Cargo.toml 2023-05-23T21:28:46.221469+00:00
+@@ -24,6 +24,7 @@
+ readme = "README.md"
+ license = "MIT"
+ repository = "https://github.com/stepancheg/rust-protobuf/"
++autobins = false
+
+ [package.metadata.docs.rs]
+ all-features = true
+@@ -31,15 +32,5 @@
+ [lib]
+ bench = false
+
+-[[bin]]
+-name = "protoc-gen-rust"
+-path = "src/bin/protoc-gen-rust.rs"
+-test = false
+-
+-[[bin]]
+-name = "protobuf-bin-gen-rust-do-not-use"
+-path = "src/bin/protobuf-bin-gen-rust-do-not-use.rs"
+-test = false
+-
+ [dependencies.protobuf]
+ version = "=2.28.0"
diff --git a/rust-protobuf-codegen.spec b/rust-protobuf-codegen.spec
index 603d2f7..c111139 100644
--- a/rust-protobuf-codegen.spec
+++ b/rust-protobuf-codegen.spec
@@ -1,58 +1,42 @@
-# Generated by rust2rpm 18
+# Generated by rust2rpm 24
%bcond_without check
+%global debug_package %{nil}
%global crate protobuf-codegen
-Name: rust-%{crate}
-Version: 2.25.2
+Name: rust-protobuf-codegen
+Version: 2.28.0
Release: %autorelease
Summary: Code generator for rust-protobuf
-# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/protobuf-codegen
Source: %{crates_source}
+# Manually created patch for downstream crate metadata changes
+# * drop unused protoc-gen-rust and protobuf-bin-gen-rust-do-not-use executables
+Patch: protobuf-codegen-fix-metadata.diff
-ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
-Code generator for rust-protobuf.
-Includes a library and `protoc-gen-rust` binary.
-See `protoc-rust` and `protobuf-codegen-pure` crates.}
+Code generator for rust-protobuf. Includes a library and `protoc-gen-
+rust` binary. See `protoc-rust` and `protobuf-codegen-pure` crates.}
%description %{_description}
-%if ! %{__cargo_skip_build}
-%package -n %{crate}
-Summary: %{summary}
-
-%description -n %{crate} %{_description}
-
-%files -n %{crate}
-%license LICENSE.txt
-%doc README.md
-%{_bindir}/protoc-gen-rust
-%{_bindir}/protobuf-bin-gen-rust-do-not-use
-%endif
-
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
-This package contains library source intended for building other packages
-which use "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
%files devel
-%license LICENSE.txt
-%doc README.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE.txt
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -60,11 +44,11 @@ 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.
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
diff --git a/sources b/sources
index 44553a3..a74a1e4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (protobuf-codegen-2.25.2.crate) = 7093fc91e217e7b79150abc6c86a0e8c9aab6d78131112d9e790d8b482c68356f2c7276f1608c1340a585939841a57fcc181ec5945641315955d2b01764ad43b
+SHA512 (protobuf-codegen-2.28.0.crate) = 5b23b4987f2a7a080dd93842e63ab58e8b95e4a2d78de3e4af7ef863f8d6c359b989cbc6c0a6e0853803d903f66a43021598814efbe85a8d712320e38f9485eb
commit ea24e1b58ef235fdc2f59f4cbab68441ebd35f00
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Sun Feb 5 00:18:50 2023 +0100
Rebuild for fixed frame pointer compiler flags in Rust RPM macros
commit ea954bfc098db9a2caeb45e9753aaf74c032943f
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Sat Jan 21 00:44:04 2023 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
1 year
Architecture specific change in rpms/rust-protobuf-codegen-pure.git
by githook-noreply@fedoraproject.org
The package rpms/rust-protobuf-codegen-pure.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-protobuf-codegen-pure.git/co....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 2e1d342258dffae4208158461a723a4c35724702
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Tue May 23 23:37:26 2023 +0200
Update to version 2.28.0; Fixes RHBZ#2129669
diff --git a/.gitignore b/.gitignore
index 1544663..0e5fcb6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@
/protobuf-codegen-pure-2.24.2.crate
/protobuf-codegen-pure-2.25.1.crate
/protobuf-codegen-pure-2.25.2.crate
+/protobuf-codegen-pure-2.28.0.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index 84b6d77..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-protobuf-codegen-pure
-
-The rust-protobuf-codegen-pure package
\ No newline at end of file
diff --git a/protobuf-codegen-pure-fix-metadata.diff b/protobuf-codegen-pure-fix-metadata.diff
index 8374ffe..1880706 100644
--- a/protobuf-codegen-pure-fix-metadata.diff
+++ b/protobuf-codegen-pure-fix-metadata.diff
@@ -1,14 +1,14 @@
---- protobuf-codegen-pure-2.25.2/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ protobuf-codegen-pure-2.25.2/Cargo.toml 2021-11-11T13:19:30.766487+00:00
-@@ -17,6 +17,7 @@
- homepage = "https://github.com/stepancheg/rust-protobuf/tree/master/protobuf-codegen-..."
+--- protobuf-codegen-pure-2.28.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ protobuf-codegen-pure-2.28.0/Cargo.toml 2023-05-23T21:26:50.052894+00:00
+@@ -22,6 +22,7 @@
+ readme = "README.md"
license = "MIT"
repository = "https://github.com/stepancheg/rust-protobuf/tree/master/protobuf-codegen-..."
+autobins = false
+
[package.metadata.docs.rs]
all-features = true
-
-@@ -24,10 +25,6 @@
+@@ -30,11 +31,6 @@
doctest = false
bench = false
@@ -16,6 +16,7 @@
-name = "parse-and-typecheck"
-path = "src/bin/parse-and-typecheck.rs"
-test = false
+-
[dependencies.protobuf]
- version = "=2.25.2"
+ version = "=2.28.0"
diff --git a/rust-protobuf-codegen-pure.spec b/rust-protobuf-codegen-pure.spec
index e463e4e..f48b55c 100644
--- a/rust-protobuf-codegen-pure.spec
+++ b/rust-protobuf-codegen-pure.spec
@@ -1,32 +1,25 @@
-# Generated by rust2rpm 18
+# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate protobuf-codegen-pure
-Name: rust-%{crate}
-Version: 2.25.2
+Name: rust-protobuf-codegen-pure
+Version: 2.28.0
Release: %autorelease
Summary: Pure-rust codegen for protobuf using protobuf-parser crate
-# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/protobuf-codegen-pure
Source: %{crates_source}
-# Initial patched metadata
+# Manually created patch for downstream crate metadata changes
# * drop unused parse-and-typecheck executable
-Patch0: protobuf-codegen-pure-fix-metadata.diff
+Patch: protobuf-codegen-pure-fix-metadata.diff
-ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
-Pure-rust codegen for protobuf using protobuf-parser crate
-WIP.}
+Pure-rust codegen for protobuf using protobuf-parser crate WIP.}
%description %{_description}
@@ -36,13 +29,13 @@ BuildArch: noarch
%description devel %{_description}
-This package contains library source intended for building other packages
-which use "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
%files devel
-%license LICENSE.txt
-%doc README.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE.txt
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -50,11 +43,11 @@ 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.
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
diff --git a/sources b/sources
index 94984cc..c220046 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (protobuf-codegen-pure-2.25.2.crate) = 2d519a9a2c46c2fdca77d70be91df7d77769e89319dd0444621d0479b0a40c65b5b9179d3eaf62fb365ae959a4392cbf210f6719dfe7c97f42e9d3cc476e3d9b
+SHA512 (protobuf-codegen-pure-2.28.0.crate) = f09f04fd04ef06259ca60f1a9ab254cfba27a1ef468a91f29e70bf44ebb1a33632eeaa3b7d0405d12ed2206263d750bb48711ead7d1d51804b043d2cf46c3d07
1 year
Architecture specific change in rpms/rust-protobuf.git
by githook-noreply@fedoraproject.org
The package rpms/rust-protobuf.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-protobuf.git/commit/?id=9670....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 9670a67330314f6938cc17ead47332c7d4e624fa
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Tue May 23 23:36:57 2023 +0200
Update to version 2.28.0
diff --git a/.gitignore b/.gitignore
index 3c210c3..e36a7ae 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,3 +16,4 @@
/protobuf-2.24.2.crate
/protobuf-2.25.1.crate
/protobuf-2.25.2.crate
+/protobuf-2.28.0.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index bc977ab..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-protobuf
-
-The rust-protobuf package
\ No newline at end of file
diff --git a/rust-protobuf.spec b/rust-protobuf.spec
index 290f32c..b325b20 100644
--- a/rust-protobuf.spec
+++ b/rust-protobuf.spec
@@ -1,26 +1,20 @@
-# Generated by rust2rpm 18
+# Generated by rust2rpm 24
# * files required by tests are not shipped with published crates
%bcond_with check
%global debug_package %{nil}
%global crate protobuf
-Name: rust-%{crate}
-Version: 2.25.2
+Name: rust-protobuf
+Version: 2.28.0
Release: %autorelease
Summary: Rust implementation of Google protocol buffers
-# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/protobuf
Source: %{crates_source}
-ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
Rust implementation of Google protocol buffers.}
@@ -33,13 +27,13 @@ BuildArch: noarch
%description devel %{_description}
-This package contains library source intended for building other packages
-which use "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
%files devel
-%license LICENSE.txt
-%doc README.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE.txt
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -47,11 +41,11 @@ 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.
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+bytes-devel
Summary: %{summary}
@@ -59,11 +53,11 @@ BuildArch: noarch
%description -n %{name}+bytes-devel %{_description}
-This package contains library source intended for building other packages
-which use "bytes" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "bytes" feature of the "%{crate}" crate.
%files -n %{name}+bytes-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel
Summary: %{summary}
@@ -71,11 +65,11 @@ BuildArch: noarch
%description -n %{name}+serde-devel %{_description}
-This package contains library source intended for building other packages
-which use "serde" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde_derive-devel
Summary: %{summary}
@@ -83,11 +77,11 @@ BuildArch: noarch
%description -n %{name}+serde_derive-devel %{_description}
-This package contains library source intended for building other packages
-which use "serde_derive" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "serde_derive" feature of the "%{crate}" crate.
%files -n %{name}+serde_derive-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+with-bytes-devel
Summary: %{summary}
@@ -95,11 +89,11 @@ BuildArch: noarch
%description -n %{name}+with-bytes-devel %{_description}
-This package contains library source intended for building other packages
-which use "with-bytes" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "with-bytes" feature of the "%{crate}" crate.
%files -n %{name}+with-bytes-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+with-serde-devel
Summary: %{summary}
@@ -107,11 +101,11 @@ BuildArch: noarch
%description -n %{name}+with-serde-devel %{_description}
-This package contains library source intended for building other packages
-which use "with-serde" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "with-serde" feature of the "%{crate}" crate.
%files -n %{name}+with-serde-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
diff --git a/sources b/sources
index 4998559..36dc44f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (protobuf-2.25.2.crate) = baaab089ce1bbae861a9006c254d2c99bba7fd7486a11c95ac983e9aad20d784bba74cf796a943a8cd720793940167b663aa975fb15a056381f3597414218353
+SHA512 (protobuf-2.28.0.crate) = 14e87f5e4039eb98d473055634102e7d8f79d294de0e04e0c0423dba6e34abbb28b1f94bc2d96ab16d3e02e770fe876b4c8c3af8835a43a8448514efd0b02312
1 year
Architecture specific change in rpms/rust-protobuf-codegen.git
by githook-noreply@fedoraproject.org
The package rpms/rust-protobuf-codegen.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-protobuf-codegen.git/commit/....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 919b266847a828421ee7e5cd5b2751bce2d7e663
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Tue May 23 23:37:16 2023 +0200
Update to version 2.28.0
diff --git a/.gitignore b/.gitignore
index ca77f34..525fc97 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,3 +15,4 @@
/protobuf-codegen-2.24.2.crate
/protobuf-codegen-2.25.1.crate
/protobuf-codegen-2.25.2.crate
+/protobuf-codegen-2.28.0.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index c904429..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-protobuf-codegen
-
-The rust-protobuf-codegen package
\ No newline at end of file
diff --git a/protobuf-codegen-fix-metadata.diff b/protobuf-codegen-fix-metadata.diff
new file mode 100644
index 0000000..1c9bbcc
--- /dev/null
+++ b/protobuf-codegen-fix-metadata.diff
@@ -0,0 +1,26 @@
+--- protobuf-codegen-2.28.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ protobuf-codegen-2.28.0/Cargo.toml 2023-05-23T21:28:46.221469+00:00
+@@ -24,6 +24,7 @@
+ readme = "README.md"
+ license = "MIT"
+ repository = "https://github.com/stepancheg/rust-protobuf/"
++autobins = false
+
+ [package.metadata.docs.rs]
+ all-features = true
+@@ -31,15 +32,5 @@
+ [lib]
+ bench = false
+
+-[[bin]]
+-name = "protoc-gen-rust"
+-path = "src/bin/protoc-gen-rust.rs"
+-test = false
+-
+-[[bin]]
+-name = "protobuf-bin-gen-rust-do-not-use"
+-path = "src/bin/protobuf-bin-gen-rust-do-not-use.rs"
+-test = false
+-
+ [dependencies.protobuf]
+ version = "=2.28.0"
diff --git a/rust-protobuf-codegen.spec b/rust-protobuf-codegen.spec
index 603d2f7..c111139 100644
--- a/rust-protobuf-codegen.spec
+++ b/rust-protobuf-codegen.spec
@@ -1,58 +1,42 @@
-# Generated by rust2rpm 18
+# Generated by rust2rpm 24
%bcond_without check
+%global debug_package %{nil}
%global crate protobuf-codegen
-Name: rust-%{crate}
-Version: 2.25.2
+Name: rust-protobuf-codegen
+Version: 2.28.0
Release: %autorelease
Summary: Code generator for rust-protobuf
-# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/protobuf-codegen
Source: %{crates_source}
+# Manually created patch for downstream crate metadata changes
+# * drop unused protoc-gen-rust and protobuf-bin-gen-rust-do-not-use executables
+Patch: protobuf-codegen-fix-metadata.diff
-ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
-Code generator for rust-protobuf.
-Includes a library and `protoc-gen-rust` binary.
-See `protoc-rust` and `protobuf-codegen-pure` crates.}
+Code generator for rust-protobuf. Includes a library and `protoc-gen-
+rust` binary. See `protoc-rust` and `protobuf-codegen-pure` crates.}
%description %{_description}
-%if ! %{__cargo_skip_build}
-%package -n %{crate}
-Summary: %{summary}
-
-%description -n %{crate} %{_description}
-
-%files -n %{crate}
-%license LICENSE.txt
-%doc README.md
-%{_bindir}/protoc-gen-rust
-%{_bindir}/protobuf-bin-gen-rust-do-not-use
-%endif
-
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
-This package contains library source intended for building other packages
-which use "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
%files devel
-%license LICENSE.txt
-%doc README.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE.txt
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -60,11 +44,11 @@ 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.
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
diff --git a/sources b/sources
index 44553a3..a74a1e4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (protobuf-codegen-2.25.2.crate) = 7093fc91e217e7b79150abc6c86a0e8c9aab6d78131112d9e790d8b482c68356f2c7276f1608c1340a585939841a57fcc181ec5945641315955d2b01764ad43b
+SHA512 (protobuf-codegen-2.28.0.crate) = 5b23b4987f2a7a080dd93842e63ab58e8b95e4a2d78de3e4af7ef863f8d6c359b989cbc6c0a6e0853803d903f66a43021598814efbe85a8d712320e38f9485eb
1 year
Architecture specific change in rpms/python-PyMuPDF.git
by githook-noreply@fedoraproject.org
The package rpms/python-PyMuPDF.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/python-PyMuPDF.git/commit/?id=581....
Change:
+%ifarch s390 s390x
Thanks.
Full change:
============
commit 581c721f9b75a7449f3eb6a99da22e8d6b88a3e5
Author: Michael J Gruber <mjg(a)fedoraproject.org>
Date: Thu May 11 16:49:38 2023 +0200
Reenable test suite where possible
There are unclarified test suite failures on some architectures which
apparantly do not affect overall functionality. Reenable the test-suite
to catch problems at least on other architectures.
diff --git a/0001-test_pixmap-adjust-to-turbojpeg.patch b/0001-test_pixmap-adjust-to-turbojpeg.patch
new file mode 100644
index 0000000..1c653de
--- /dev/null
+++ b/0001-test_pixmap-adjust-to-turbojpeg.patch
@@ -0,0 +1,29 @@
+From 735ce0fb7bf1938ead530b7138499464c6127f96 Mon Sep 17 00:00:00 2001
+Message-ID: <735ce0fb7bf1938ead530b7138499464c6127f96.1683816092.git.mjg(a)fedoraproject.org>
+From: Michael J Gruber <mjg(a)fedoraproject.org>
+Date: Thu, 11 May 2023 16:40:03 +0200
+Subject: [PATCH] test_pixmap: adjust to turbojpeg
+
+Apparantly, different jpeg libraries decode the test jpg differently.
+Adjust to turbojpeg's color count until upstream uses an invariant
+format.
+---
+ tests/test_pixmap.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/test_pixmap.py b/tests/test_pixmap.py
+index 889858b..420245e 100644
+--- a/tests/test_pixmap.py
++++ b/tests/test_pixmap.py
+@@ -91,7 +91,7 @@ def test_setalpha():
+
+ def test_color_count():
+ pm = fitz.Pixmap(imgfile)
+- assert pm.color_count() == 40624
++ assert pm.color_count() == 39912
+
+ def test_memoryview():
+ pm = fitz.Pixmap(imgfile)
+--
+2.40.1.683.g916cfae490
+
diff --git a/python-PyMuPDF.spec b/python-PyMuPDF.spec
index cf2d5d8..745ffde 100644
--- a/python-PyMuPDF.spec
+++ b/python-PyMuPDF.spec
@@ -2,13 +2,14 @@
Name: python-%{pypi_name}
Version: 1.22.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Python binding for MuPDF - a lightweight PDF and XPS viewer
License: AGPL-3.0-or-later
URL: https://github.com/pymupdf/PyMuPDF
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
Patch0: 0001-fix-test_-font.patch
+Patch1: 0001-test_pixmap-adjust-to-turbojpeg.patch
BuildRequires: python3-devel
BuildRequires: python3-fonttools
@@ -69,8 +70,11 @@ rm -f %{buildroot}%{_prefix}/README.md
%check
# FIXME: Crashes with Aborted, corrupted double-linked list
+%ifarch s390 s390x
%pytest || :
-
+%else
+%pytest
+%endif
%files -n python3-%{pypi_name}
%license COPYING
@@ -81,6 +85,9 @@ rm -f %{buildroot}%{_prefix}/README.md
%doc docs_built/* README.md
%changelog
+* Thu May 11 2023 Michael J Gruber <mjg(a)fedoraproject.org> - 1.22.3-2
+- Reenable test suite where possible
+
* Thu May 11 2023 Michael J Gruber <mjg(a)fedoraproject.org> - 1.22.3-1
- Update to new upstream release 1.22.3 (rhbz#2186919)
commit bd9137a67f1300eaef8fbcf91c862276d4a2c16d
Author: Michael J Gruber <mjg(a)fedoraproject.org>
Date: Thu May 11 15:55:11 2023 +0200
Update to new upstream release 1.22.3 (rhbz#2186919)
diff --git a/.gitignore b/.gitignore
index d193388..a0c4a9a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -70,3 +70,4 @@
/PyMuPDF-1.22.0.tar.gz
/PyMuPDF-1.22.1.tar.gz
/PyMuPDF-1.22.2.tar.gz
+/PyMuPDF-1.22.3.tar.gz
diff --git a/python-PyMuPDF.spec b/python-PyMuPDF.spec
index 6176da1..cf2d5d8 100644
--- a/python-PyMuPDF.spec
+++ b/python-PyMuPDF.spec
@@ -1,7 +1,7 @@
%global pypi_name PyMuPDF
Name: python-%{pypi_name}
-Version: 1.22.2
+Version: 1.22.3
Release: 1%{?dist}
Summary: Python binding for MuPDF - a lightweight PDF and XPS viewer
@@ -15,7 +15,7 @@ BuildRequires: python3-fonttools
BuildRequires: python3-pillow
BuildRequires: python3-pytest
BuildRequires: python3-sphinx
-BuildRequires: python3-sphinx_rtd_theme
+BuildRequires: python3-furo
BuildRequires: rst2pdf
BuildRequires: gcc gcc-c++
BuildRequires: swig
@@ -81,6 +81,9 @@ rm -f %{buildroot}%{_prefix}/README.md
%doc docs_built/* README.md
%changelog
+* Thu May 11 2023 Michael J Gruber <mjg(a)fedoraproject.org> - 1.22.3-1
+- Update to new upstream release 1.22.3 (rhbz#2186919)
+
* Fri Apr 28 2023 Michael J Gruber <mjg(a)fedoraproject.org> - 1.22.2-1
- Update to new upstream release 1.22.2 (rhbz#2186919)
diff --git a/sources b/sources
index fa6ba7c..ae1696b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (PyMuPDF-1.22.2.tar.gz) = 09f8f6c06fdd1d2474abd43d4e6c80b1857da9f6c879c04a225a1f7844e22935ddbefcde3bae95bd73ad0acf8a8f0956ee86e9122c64d905bd28bd760b6e14b0
+SHA512 (PyMuPDF-1.22.3.tar.gz) = 7e08d20ffbe3c7d6fde099e9466ed8ac94edddcd996eca0fec003f6f09af7237ec7843a6e6cf2e71302e39cc0bd74a9d5eb3c84086fb5fc4406cd2024b191a40
commit c79841e037c673cfec6943df5cfe749c029e22cf
Author: Michael J Gruber <mjg(a)fedoraproject.org>
Date: Fri Apr 28 07:15:54 2023 +0200
Update to new upstream release 1.22.2 (rhbz#2186919)
diff --git a/.gitignore b/.gitignore
index 6387bad..d193388 100644
--- a/.gitignore
+++ b/.gitignore
@@ -69,3 +69,4 @@
/PyMuPDF-1.21.1.tar.gz
/PyMuPDF-1.22.0.tar.gz
/PyMuPDF-1.22.1.tar.gz
+/PyMuPDF-1.22.2.tar.gz
diff --git a/python-PyMuPDF.spec b/python-PyMuPDF.spec
index 1e8934f..6176da1 100644
--- a/python-PyMuPDF.spec
+++ b/python-PyMuPDF.spec
@@ -1,7 +1,7 @@
%global pypi_name PyMuPDF
Name: python-%{pypi_name}
-Version: 1.22.1
+Version: 1.22.2
Release: 1%{?dist}
Summary: Python binding for MuPDF - a lightweight PDF and XPS viewer
@@ -81,6 +81,9 @@ rm -f %{buildroot}%{_prefix}/README.md
%doc docs_built/* README.md
%changelog
+* Fri Apr 28 2023 Michael J Gruber <mjg(a)fedoraproject.org> - 1.22.2-1
+- Update to new upstream release 1.22.2 (rhbz#2186919)
+
* Mon Apr 24 2023 Michael J Gruber <mjg(a)fedoraproject.org> - 1.22.1-1
- Update to new upstream release 1.22.1 (rhbz#2186919)
- Minor bug fixes
diff --git a/sources b/sources
index 9734920..fa6ba7c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (PyMuPDF-1.22.1.tar.gz) = 0c3289a4722fd6d8194bd3abbca352df851fbd15067fb433a3e921cfe0adf34f2b22bb39b46867ec5dae9380bfe263635bdb6d9e803f56764078339397201811
+SHA512 (PyMuPDF-1.22.2.tar.gz) = 09f8f6c06fdd1d2474abd43d4e6c80b1857da9f6c879c04a225a1f7844e22935ddbefcde3bae95bd73ad0acf8a8f0956ee86e9122c64d905bd28bd760b6e14b0
commit b120c5e76ae607f37b2ce37a04ceb1a8e35d0ed1
Author: Michael J Gruber <mjg(a)fedoraproject.org>
Date: Mon Apr 24 21:32:01 2023 +0200
Update to new upstream release 1.22.1 (rhbz#2186919)
diff --git a/.gitignore b/.gitignore
index 03c75f1..6387bad 100644
--- a/.gitignore
+++ b/.gitignore
@@ -68,3 +68,4 @@
/PyMuPDF-1.21.0.tar.gz
/PyMuPDF-1.21.1.tar.gz
/PyMuPDF-1.22.0.tar.gz
+/PyMuPDF-1.22.1.tar.gz
diff --git a/python-PyMuPDF.spec b/python-PyMuPDF.spec
index 740959c..1e8934f 100644
--- a/python-PyMuPDF.spec
+++ b/python-PyMuPDF.spec
@@ -1,7 +1,7 @@
%global pypi_name PyMuPDF
Name: python-%{pypi_name}
-Version: 1.22.0
+Version: 1.22.1
Release: 1%{?dist}
Summary: Python binding for MuPDF - a lightweight PDF and XPS viewer
@@ -81,6 +81,10 @@ rm -f %{buildroot}%{_prefix}/README.md
%doc docs_built/* README.md
%changelog
+* Mon Apr 24 2023 Michael J Gruber <mjg(a)fedoraproject.org> - 1.22.1-1
+- Update to new upstream release 1.22.1 (rhbz#2186919)
+- Minor bug fixes
+
* Sat Apr 15 2023 Michael J Gruber <mjg(a)fedoraproject.org> - 1.22.0-1
- Update to new upstream release 1.22.0 (rhbz#2186919)
- Text extraction now includes glyphs that overlap with clip rect, not just those contained entirely.
diff --git a/sources b/sources
index da29068..9734920 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (PyMuPDF-1.22.0.tar.gz) = ea5a105d17c6bda6f87e13ca18db292396aaa7f0dd15f41bfc9aa40e97aab8e3dbb28db12f357b7a252af4d97151e1f851f143f4490df858ccdacdd08764fd7f
+SHA512 (PyMuPDF-1.22.1.tar.gz) = 0c3289a4722fd6d8194bd3abbca352df851fbd15067fb433a3e921cfe0adf34f2b22bb39b46867ec5dae9380bfe263635bdb6d9e803f56764078339397201811
commit 509ae8fbb9a82b8e79faec59f3fc28a95170af61
Author: Michael J Gruber <mjg(a)fedoraproject.org>
Date: Sat Apr 15 14:09:54 2023 +0200
Update to new upstream release 1.22.0 (rhbz#2186919)
diff --git a/.gitignore b/.gitignore
index f237bdd..03c75f1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -67,3 +67,4 @@
/PyMuPDF-1.20.2.tar.gz
/PyMuPDF-1.21.0.tar.gz
/PyMuPDF-1.21.1.tar.gz
+/PyMuPDF-1.22.0.tar.gz
diff --git a/0001-fix-FTBFS-against-system-mupdf.patch b/0001-fix-FTBFS-against-system-mupdf.patch
deleted file mode 100644
index 5bc8ae8..0000000
--- a/0001-fix-FTBFS-against-system-mupdf.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 99762987327a1de774b2180490c3f45db648883e Mon Sep 17 00:00:00 2001
-Message-Id: <99762987327a1de774b2180490c3f45db648883e.1667948785.git.mjg(a)fedoraproject.org>
-From: Michael J Gruber <mjg(a)fedoraproject.org>
-Date: Wed, 9 Nov 2022 00:06:21 +0100
-Subject: [PATCH] fix FTBFS against system mupdf
-
-Signed-off-by: Michael J Gruber <mjg(a)fedoraproject.org>
----
- setup.py | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/setup.py b/setup.py
-index d687d39..55be4fc 100644
---- a/setup.py
-+++ b/setup.py
-@@ -534,6 +534,7 @@ if ('-h' not in sys.argv and '--help' not in sys.argv
- mupdf_local += '/'
- log( f'mupdf_local={mupdf_local!r}')
- unix_build_dir = None
-+ unix_build_type = None
-
- # Force clean build of MuPDF.
- #
---
-2.38.1.500.g6f45862117
-
diff --git a/0001-fix-test_-font.patch b/0001-fix-test_-font.patch
new file mode 100644
index 0000000..807d2c3
--- /dev/null
+++ b/0001-fix-test_-font.patch
@@ -0,0 +1,43 @@
+From 35b5f8489385ea84a5dc0300cd216feee9772415 Mon Sep 17 00:00:00 2001
+Message-ID: <35b5f8489385ea84a5dc0300cd216feee9772415.1681574102.git.mjg(a)fedoraproject.org>
+From: Michael J Gruber <mjg(a)fedoraproject.org>
+Date: Sat, 15 Apr 2023 17:53:27 +0200
+Subject: [PATCH] fix test_*font
+
+Depending on build options and system, noto fonts may or may not be
+present. Thus font tests expecting them may fail for the wrong reason.
+
+Adjust the tests to use the fallback font instead.
+---
+ tests/test_general.py | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/tests/test_general.py b/tests/test_general.py
+index 68da7fd..c5d45d3 100644
+--- a/tests/test_general.py
++++ b/tests/test_general.py
+@@ -121,9 +121,9 @@ def test_bug1971():
+ doc.close()
+
+ def test_default_font():
+- f = fitz.Font()
+- assert str(f) == "Font('Noto Serif Regular')"
+- assert repr(f) == "Font('Noto Serif Regular')"
++ f = fitz.Font(ordering=0)
++ assert str(f) == "Font('Droid Sans Fallback Regular')"
++ assert repr(f) == "Font('Droid Sans Fallback Regular')"
+
+ def test_add_ink_annot():
+ import math
+@@ -186,7 +186,7 @@ def test_get_text_dict():
+ json.dumps( blocks, indent=4)
+
+ def test_font():
+- font = fitz.Font()
++ font = fitz.Font(ordering=0)
+ print(repr(font))
+ bbox = font.glyph_bbox( 65)
+ print( f'bbox={bbox!r}')
+--
+2.40.0.414.g17ff5447bb
+
diff --git a/python-PyMuPDF.spec b/python-PyMuPDF.spec
index bbbe05e..740959c 100644
--- a/python-PyMuPDF.spec
+++ b/python-PyMuPDF.spec
@@ -1,14 +1,14 @@
%global pypi_name PyMuPDF
Name: python-%{pypi_name}
-Version: 1.21.1
-Release: 6%{?dist}
+Version: 1.22.0
+Release: 1%{?dist}
Summary: Python binding for MuPDF - a lightweight PDF and XPS viewer
License: AGPL-3.0-or-later
URL: https://github.com/pymupdf/PyMuPDF
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
-Patch0: 0001-fix-FTBFS-against-system-mupdf.patch
+Patch0: 0001-fix-test_-font.patch
BuildRequires: python3-devel
BuildRequires: python3-fonttools
@@ -81,6 +81,11 @@ rm -f %{buildroot}%{_prefix}/README.md
%doc docs_built/* README.md
%changelog
+* Sat Apr 15 2023 Michael J Gruber <mjg(a)fedoraproject.org> - 1.22.0-1
+- Update to new upstream release 1.22.0 (rhbz#2186919)
+- Text extraction now includes glyphs that overlap with clip rect, not just those contained entirely.
+- Compatibility with mupdf 1.22.0, various bug fixes.
+
* Thu Apr 06 2023 Sandro Mani <manisandro(a)gmail.com> - 1.21.1-6
- Rebuild (tesseract)
diff --git a/sources b/sources
index b1fd2b9..da29068 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (PyMuPDF-1.21.1.tar.gz) = 2c6917d055a1a964c954970ba60df8121d127c2127544ae3dfdb5f6c5c1c4e94d41a179490179ba9a88e5db8bc522d81dbea196a4f4ec46c348279c4bc50e8ba
+SHA512 (PyMuPDF-1.22.0.tar.gz) = ea5a105d17c6bda6f87e13ca18db292396aaa7f0dd15f41bfc9aa40e97aab8e3dbb28db12f357b7a252af4d97151e1f851f143f4490df858ccdacdd08764fd7f
commit 5fa5a31569023a6338c1aa93bf7223e76470be9a
Author: Sandro Mani <manisandro(a)gmail.com>
Date: Thu Apr 6 23:30:37 2023 +0200
Rebuild (tesseract)
diff --git a/python-PyMuPDF.spec b/python-PyMuPDF.spec
index 6a3661b..bbbe05e 100644
--- a/python-PyMuPDF.spec
+++ b/python-PyMuPDF.spec
@@ -2,7 +2,7 @@
Name: python-%{pypi_name}
Version: 1.21.1
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Python binding for MuPDF - a lightweight PDF and XPS viewer
License: AGPL-3.0-or-later
@@ -81,6 +81,9 @@ rm -f %{buildroot}%{_prefix}/README.md
%doc docs_built/* README.md
%changelog
+* Thu Apr 06 2023 Sandro Mani <manisandro(a)gmail.com> - 1.21.1-6
+- Rebuild (tesseract)
+
* Fri Jan 20 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.21.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
1 year
Architecture specific change in rpms/rust-path-slash.git
by githook-noreply@fedoraproject.org
The package rpms/rust-path-slash.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-path-slash.git/commit/?id=92....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 9208ad7e3cb691603f957140420573df58d59ced
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Tue May 23 15:07:19 2023 +0200
Update to version 0.2.1; Fixes RHBZ#2102006
diff --git a/.gitignore b/.gitignore
index 4b61ac4..f6dacb1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/path-slash-0.1.3.crate
/path-slash-0.1.4.crate
/path-slash-0.1.5.crate
+/path-slash-0.2.1.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index f4f55cf..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-path-slash
-
-The rust-path-slash package
\ No newline at end of file
diff --git a/rust-path-slash.spec b/rust-path-slash.spec
index 3b80028..76f60dd 100644
--- a/rust-path-slash.spec
+++ b/rust-path-slash.spec
@@ -1,11 +1,11 @@
-# Generated by rust2rpm 22
+# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate path-slash
Name: rust-path-slash
-Version: 0.1.5
+Version: 0.2.1
Release: %autorelease
Summary: Conversion to/from a file path from/to slash path
@@ -13,8 +13,6 @@ License: MIT
URL: https://crates.io/crates/path-slash
Source: %{crates_source}
-ExclusiveArch: %{rust_arches}
-
BuildRequires: rust-packaging >= 21
%global _description %{expand:
diff --git a/sources b/sources
index 9a1fe24..0f7f0d3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (path-slash-0.1.5.crate) = 286d472f657907cadf2d7c8f921abfb72c0aa8cf6e60f89d705acf2af5791db1a2f68e5032e90835c374c1dffdec01dd25fc0923e85ac3c189dac4e6904d2216
+SHA512 (path-slash-0.2.1.crate) = c046707586f25f13d2f9fa452ea340198f6d2e6333ca3af806b9d2d1a61d46b033fffad60d1632ec16062fa79a3710d695b923b831a7db52602b728ed31fc3ab
commit 40bee700432388d2126005a011eb1da434ed8464
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Sat Jan 21 00:24:32 2023 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
1 year