The package rpms/rust-pcre2-sys.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-pcre2-sys.git/commit/?id=154....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit f6e03c7096d3749ebaec6895e89f630766dbf2d2
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Thu Aug 31 21:21:59 2023 +0200
Update to version 0.2.6; Fixes RHBZ#2215776
diff --git a/.gitignore b/.gitignore
index 674e16e..cb46df9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
/pcre2-sys-0.2.2.crate
/pcre2-sys-0.2.4.crate
/pcre2-sys-0.2.5.crate
+/pcre2-sys-0.2.6.crate
diff --git a/pcre2-sys-fix-metadata.diff b/pcre2-sys-fix-metadata.diff
new file mode 100644
index 0000000..9f2f868
--- /dev/null
+++ b/pcre2-sys-fix-metadata.diff
@@ -0,0 +1,13 @@
+--- pcre2-sys-0.2.6/Cargo.toml 1970-01-01T00:00:01+00:00
++++ pcre2-sys-0.2.6/Cargo.toml 2023-08-31T19:20:30.255450+00:00
+@@ -27,6 +27,10 @@
+ categories = ["external-ffi-bindings"]
+ license = "Unlicense OR MIT"
+ repository = "https://github.com/BurntSushi/rust-pcre2"
++exclude = [
++ "/generate-bindings",
++ "/update-pcre2",
++]
+
+ [dependencies.libc]
+ version = "0.2.146"
diff --git a/rust-pcre2-sys.spec b/rust-pcre2-sys.spec
index 603ddad..cd66fe9 100644
--- a/rust-pcre2-sys.spec
+++ b/rust-pcre2-sys.spec
@@ -5,14 +5,16 @@
%global crate pcre2-sys
Name: rust-pcre2-sys
-Version: 0.2.5
+Version: 0.2.6
Release: %autorelease
Summary: Low level bindings to PCRE2
-# Upstream license specification: Unlicense/MIT
License: Unlicense OR MIT
URL:
https://crates.io/crates/pcre2-sys
Source: %{crates_source}
+# Manually created patch for downstream crate metadata changes
+# * exclude files that are only useful for upstream development
+Patch: pcre2-sys-fix-metadata.diff
BuildRequires: rust-packaging >= 21
@@ -52,9 +54,9 @@ use the "default" feature of the "%{crate}" crate.
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
-# remove bundled copy of pcre2
-rm -rv pcre2/
%cargo_prep
+# remove bundled copy of pcre2
+rm -rv upstream/
%generate_buildrequires
%cargo_generate_buildrequires
diff --git a/sources b/sources
index e5ef52b..bd94156 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pcre2-sys-0.2.5.crate) =
e18e14da73a84b09a2671881e12b1516f83c90ec0e4134afcab99b71688895f188e4f6bae0c7e3f18d0b7d69b3d19c44cccb4d8348fe613c2f8824edee4e35a6
+SHA512 (pcre2-sys-0.2.6.crate) =
f53d837ee42044cc61fd9467cedfd9d6ad735b4a4e344357d241709fe08bf0e50821fa00f8fec86b4b2e93640de1a98b3961d381f652afdb4cfef916ec5b4e13
commit cace475b8f43bb9adead65c46dfa65353ba985bf
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jul 21 22:21:56 2023 +0000
Rebuilt for
https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
commit 154ede854dc53c7d1806d0bf049f4dbc25ee7733
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Tue May 16 21:46:59 2023 +0200
Regenerate with rust2rpm v24
diff --git a/README.md b/README.md
deleted file mode 100644
index e2fbe14..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-pcre2-sys
-
-The rust-pcre2-sys package
\ No newline at end of file
diff --git a/rust-pcre2-sys.spec b/rust-pcre2-sys.spec
index c641654..603ddad 100644
--- a/rust-pcre2-sys.spec
+++ b/rust-pcre2-sys.spec
@@ -1,25 +1,20 @@
-# Generated by rust2rpm 13
+# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate pcre2-sys
-Name: rust-%{crate}
+Name: rust-pcre2-sys
Version: 0.2.5
Release: %autorelease
Summary: Low level bindings to PCRE2
# Upstream license specification: Unlicense/MIT
-License: Unlicense or MIT
+License: Unlicense OR MIT
URL:
https://crates.io/crates/pcre2-sys
Source: %{crates_source}
-ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
Low level bindings to PCRE2.}
@@ -33,13 +28,15 @@ Requires: pkgconfig(libpcre2-8)
%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 UNLICENSE LICENSE-MIT COPYING
-%doc README.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/COPYING
+%license %{crate_instdir}/LICENSE-MIT
+%license %{crate_instdir}/UNLICENSE
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -47,15 +44,16 @@ 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
-rm -vrf pcre2
+# remove bundled copy of pcre2
+rm -rv pcre2/
%cargo_prep
%generate_buildrequires
diff --git a/.rust2rpm.conf b/rust2rpm.conf
similarity index 100%
rename from .rust2rpm.conf
rename to rust2rpm.conf
commit 427c33ef18535ac6afb9294fd4c50796d81ff37a
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Tue May 16 21:45:47 2023 +0200
Convert to %autorelease and %autochangelog
[skip changelog]
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..06abdc6
--- /dev/null
+++ b/changelog
@@ -0,0 +1,56 @@
+* Sat Jan 21 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.5-6
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
+
+* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.5-5
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+
+* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.5-4
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+
+* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.5-3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+
+* Wed Jan 27 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.5-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
+
+* Wed Sep 16 2020 Fabio Valentini <decathorpe(a)gmail.com> - 0.2.5-1
+- Update to version 0.2.5.
+
+* Wed Aug 26 2020 Josh Stone <jistone(a)redhat.com> - 0.2.4-1
+- Update to 0.2.4
+
+* Wed Jul 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.2-5
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+
+* Thu Jan 30 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.2-4
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
+
+* Fri Jul 26 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.2-3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
+* Thu Jun 27 08:55:35 CEST 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> -
0.2.2-2
+- Regenerate
+
+* Sun Jun 09 15:19:59 CEST 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> -
0.2.2-1
+- Update to 0.2.2
+
+* Sun Jun 09 11:33:02 CEST 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> -
0.2.1-2
+- Regenerate
+
+* Tue Apr 30 08:43:36 CEST 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> -
0.2.1-1
+- Update to 0.2.1
+
+* Tue Apr 16 2019 Josh Stone <jistone(a)redhat.com> - 0.2.0-1
+- Update to 0.2.0
+
+* Sat Feb 02 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.1-4
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Sun Oct 28 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.1.1-3
+- Adapt to new packaging
+
+* Sun Oct 07 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.1.1-2
+- Run tests in infrastructure
+
+* Sat Sep 08 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.1.1-1
+- Initial package
diff --git a/rust-pcre2-sys.spec b/rust-pcre2-sys.spec
index 379f459..c641654 100644
--- a/rust-pcre2-sys.spec
+++ b/rust-pcre2-sys.spec
@@ -6,7 +6,7 @@
Name: rust-%{crate}
Version: 0.2.5
-Release: 6%{?dist}
+Release: %autorelease
Summary: Low level bindings to PCRE2
# Upstream license specification: Unlicense/MIT
@@ -74,59 +74,4 @@ echo 'pkgconfig(libpcre2-8)'
%endif
%changelog
-* Sat Jan 21 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.5-6
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
-
-* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.5-5
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
-
-* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.5-4
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
-
-* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.5-3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
-
-* Wed Jan 27 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.5-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
-
-* Wed Sep 16 2020 Fabio Valentini <decathorpe(a)gmail.com> - 0.2.5-1
-- Update to version 0.2.5.
-
-* Wed Aug 26 2020 Josh Stone <jistone(a)redhat.com> - 0.2.4-1
-- Update to 0.2.4
-
-* Wed Jul 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.2-5
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Thu Jan 30 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.2-4
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
-
-* Fri Jul 26 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.2-3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
-
-* Thu Jun 27 08:55:35 CEST 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> -
0.2.2-2
-- Regenerate
-
-* Sun Jun 09 15:19:59 CEST 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> -
0.2.2-1
-- Update to 0.2.2
-
-* Sun Jun 09 11:33:02 CEST 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> -
0.2.1-2
-- Regenerate
-
-* Tue Apr 30 08:43:36 CEST 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> -
0.2.1-1
-- Update to 0.2.1
-
-* Tue Apr 16 2019 Josh Stone <jistone(a)redhat.com> - 0.2.0-1
-- Update to 0.2.0
-
-* Sat Feb 02 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.1-4
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
-
-* Sun Oct 28 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.1.1-3
-- Adapt to new packaging
-
-* Sun Oct 07 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.1.1-2
-- Run tests in infrastructure
-
-* Sat Sep 08 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.1.1-1
-- Initial package
+%autochangelog
commit 9db094dd337f9f8709659912cc9949bf573dae34
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Sat Jan 21 00:25:54 2023 +0000
Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/rust-pcre2-sys.spec b/rust-pcre2-sys.spec
index c93ac84..379f459 100644
--- a/rust-pcre2-sys.spec
+++ b/rust-pcre2-sys.spec
@@ -6,7 +6,7 @@
Name: rust-%{crate}
Version: 0.2.5
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Low level bindings to PCRE2
# Upstream license specification: Unlicense/MIT
@@ -74,6 +74,9 @@ echo 'pkgconfig(libpcre2-8)'
%endif
%changelog
+* Sat Jan 21 2023 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.5-6
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
+
* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.2.5-5
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild