The package rpms/rust-timerfd.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-timerfd.git/commit/?id=b53fa4a0... https://src.fedoraproject.org/cgit/rpms/rust-timerfd.git/commit/?id=454b5dc9....
Change: -ExclusiveArch: %{rust_arches} +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 4f561def343137f626007c5ad1bbcfb8a8d51984 Author: Fabio Valentini decathorpe@gmail.com Date: Mon Mar 27 19:22:46 2023 +0200
Regenerate with rust2rpm v24
diff --git a/rust-timerfd.spec b/rust-timerfd.spec index 8552d1d..9fceb3e 100644 --- a/rust-timerfd.spec +++ b/rust-timerfd.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 23 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil}
@@ -16,7 +16,7 @@ Source: %{crates_source} BuildRequires: rust-packaging >= 21
%global _description %{expand: -Rust interface to the Linux kernel's timerfd API.} +A rust interface to the Linux kernel's timerfd API.}
%description %{_description}
commit e0d42677cad2cffa00bcda13fa1a8a459ce271ce Author: Fabio Valentini decathorpe@gmail.com Date: Mon Mar 27 19:21:32 2023 +0200
Fixup changelog with missing entries
[skip changelog]
diff --git a/README.md b/README.md deleted file mode 100644 index a32ccf0..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-timerfd - -The rust-timerfd package \ No newline at end of file diff --git a/changelog b/changelog index 67852cc..35d0f06 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,9 @@ +* Sat Jan 21 2023 Fedora Release Engineering releng@fedoraproject.org - 1.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sun Dec 11 2022 Fabio Valentini decathorpe@gmail.com - 1.4.0-1 +- Update to version 1.4.0; Fixes RHBZ#2081632 + * Sat Jul 23 2022 Fedora Release Engineering releng@fedoraproject.org - 1.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
commit 36f973a128c08790462dcc1162c58afdcd98356c Author: Tomas Hrcka thrcka@redhat.com Date: Mon Mar 27 12:28:50 2023 +0200
Unretirement request: https://pagure.io/releng/issue/11354
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dc00ca5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +/timerfd-1.0.0.crate +/timerfd-1.1.0.crate +/timerfd-1.1.1.crate +/timerfd-1.2.0.crate +/timerfd-1.4.0.crate diff --git a/README.md b/README.md new file mode 100644 index 0000000..a32ccf0 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# rust-timerfd + +The rust-timerfd package \ No newline at end of file diff --git a/changelog b/changelog new file mode 100644 index 0000000..67852cc --- /dev/null +++ b/changelog @@ -0,0 +1,46 @@ +* Sat Jul 23 2022 Fedora Release Engineering releng@fedoraproject.org - 1.2.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering releng@fedoraproject.org - 1.2.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering releng@fedoraproject.org - 1.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering releng@fedoraproject.org - 1.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jan 12 2021 Fabio Valentini decathorpe@gmail.com - 1.2.0-1 +- Update to version 1.2.0. +- Fixes RHBZ#1907249 + +* Sat Aug 01 2020 Fedora Release Engineering releng@fedoraproject.org - 1.1.1-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering releng@fedoraproject.org - 1.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jan 28 2020 Josh Stone jistone@redhat.com - 1.1.1-1 +- Update to 1.1.1 + +* Mon Jan 27 2020 Josh Stone jistone@redhat.com - 1.1.0-1 +- Update to 1.1.0 + +* Sat Sep 07 09:25:30 CEST 2019 Igor Gnatenko ignatenkobrain@fedoraproject.org - 1.0.0-6 +- Regenerate + +* Fri Jul 26 2019 Fedora Release Engineering releng@fedoraproject.org - 1.0.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Mar 09 2019 Igor Gnatenko ignatenkobrain@fedoraproject.org - 1.0.0-4 +- Adapt to new packaging + +* Sat Feb 02 2019 Fedora Release Engineering releng@fedoraproject.org - 1.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Nov 02 2018 Igor Gnatenko ignatenkobrain@fedoraproject.org - 1.0.0-2 +- Adapt to new packaging + +* Sat Sep 01 2018 Igor Gnatenko ignatenkobrain@fedoraproject.org - 1.0.0-1 +- Initial package diff --git a/dead.package b/dead.package deleted file mode 100644 index 6393b9f..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -unused leaf package for more than two release cycles diff --git a/rust-timerfd.spec b/rust-timerfd.spec new file mode 100644 index 0000000..8552d1d --- /dev/null +++ b/rust-timerfd.spec @@ -0,0 +1,68 @@ +# Generated by rust2rpm 23 +%bcond_without check +%global debug_package %{nil} + +%global crate timerfd + +Name: rust-timerfd +Version: 1.4.0 +Release: %autorelease +Summary: Rust interface to the Linux kernel's timerfd API + +License: MIT +URL: https://crates.io/crates/timerfd +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Rust interface to the Linux kernel's timerfd API.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%license %{crate_instdir}/LICENSE.txt +%doc %{crate_instdir}/README.md +%{crate_instdir}/ + +%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 the "default" feature of the "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{crate_instdir}/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 +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..20467a2 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (timerfd-1.4.0.crate) = 6d12edaf325c85300272c0114522fe4a8fcdf6d6d95876d4ae884b09f26a407172806ef30d6380fce875ebbc8143d11e879cce199502ee36f79a63652ebe457a
commit ec6360f1dcdf03f38bef7385baef669c1eea547c Author: Fabio Valentini decathorpe@gmail.com Date: Sat Feb 4 16:08:21 2023 +0100
unused leaf package for more than two release cycles
diff --git a/.gitignore b/.gitignore deleted file mode 100644 index dc00ca5..0000000 --- a/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -/timerfd-1.0.0.crate -/timerfd-1.1.0.crate -/timerfd-1.1.1.crate -/timerfd-1.2.0.crate -/timerfd-1.4.0.crate diff --git a/README.md b/README.md deleted file mode 100644 index a32ccf0..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-timerfd - -The rust-timerfd package \ No newline at end of file diff --git a/changelog b/changelog deleted file mode 100644 index 67852cc..0000000 --- a/changelog +++ /dev/null @@ -1,46 +0,0 @@ -* Sat Jul 23 2022 Fedora Release Engineering releng@fedoraproject.org - 1.2.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Fri Jan 21 2022 Fedora Release Engineering releng@fedoraproject.org - 1.2.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Fri Jul 23 2021 Fedora Release Engineering releng@fedoraproject.org - 1.2.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Wed Jan 27 2021 Fedora Release Engineering releng@fedoraproject.org - 1.2.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Tue Jan 12 2021 Fabio Valentini decathorpe@gmail.com - 1.2.0-1 -- Update to version 1.2.0. -- Fixes RHBZ#1907249 - -* Sat Aug 01 2020 Fedora Release Engineering releng@fedoraproject.org - 1.1.1-3 -- Second attempt - Rebuilt for - https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Wed Jul 29 2020 Fedora Release Engineering releng@fedoraproject.org - 1.1.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Tue Jan 28 2020 Josh Stone jistone@redhat.com - 1.1.1-1 -- Update to 1.1.1 - -* Mon Jan 27 2020 Josh Stone jistone@redhat.com - 1.1.0-1 -- Update to 1.1.0 - -* Sat Sep 07 09:25:30 CEST 2019 Igor Gnatenko ignatenkobrain@fedoraproject.org - 1.0.0-6 -- Regenerate - -* Fri Jul 26 2019 Fedora Release Engineering releng@fedoraproject.org - 1.0.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Sat Mar 09 2019 Igor Gnatenko ignatenkobrain@fedoraproject.org - 1.0.0-4 -- Adapt to new packaging - -* Sat Feb 02 2019 Fedora Release Engineering releng@fedoraproject.org - 1.0.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Nov 02 2018 Igor Gnatenko ignatenkobrain@fedoraproject.org - 1.0.0-2 -- Adapt to new packaging - -* Sat Sep 01 2018 Igor Gnatenko ignatenkobrain@fedoraproject.org - 1.0.0-1 -- Initial package diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..6393b9f --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +unused leaf package for more than two release cycles diff --git a/rust-timerfd.spec b/rust-timerfd.spec deleted file mode 100644 index 8552d1d..0000000 --- a/rust-timerfd.spec +++ /dev/null @@ -1,68 +0,0 @@ -# Generated by rust2rpm 23 -%bcond_without check -%global debug_package %{nil} - -%global crate timerfd - -Name: rust-timerfd -Version: 1.4.0 -Release: %autorelease -Summary: Rust interface to the Linux kernel's timerfd API - -License: MIT -URL: https://crates.io/crates/timerfd -Source: %{crates_source} - -BuildRequires: rust-packaging >= 21 - -%global _description %{expand: -Rust interface to the Linux kernel's timerfd API.} - -%description %{_description} - -%package devel -Summary: %{summary} -BuildArch: noarch - -%description devel %{_description} - -This package contains library source intended for building other packages which -use the "%{crate}" crate. - -%files devel -%license %{crate_instdir}/LICENSE.txt -%doc %{crate_instdir}/README.md -%{crate_instdir}/ - -%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 the "default" feature of the "%{crate}" crate. - -%files -n %{name}+default-devel -%ghost %{crate_instdir}/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 -%autochangelog diff --git a/sources b/sources deleted file mode 100644 index 20467a2..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (timerfd-1.4.0.crate) = 6d12edaf325c85300272c0114522fe4a8fcdf6d6d95876d4ae884b09f26a407172806ef30d6380fce875ebbc8143d11e879cce199502ee36f79a63652ebe457a
commit a1fab925e0e3aa2695a25883d93569d9b9d713ad Author: Fedora Release Engineering releng@fedoraproject.org Date: Sat Jan 21 01:49:32 2023 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering releng@fedoraproject.org
commit b53fa4a0d71843080dfffa45426029bfc14e11cd Author: Fabio Valentini decathorpe@gmail.com Date: Sun Dec 11 15:49:58 2022 +0100
Update to version 1.4.0; Fixes RHBZ#2081632
diff --git a/.gitignore b/.gitignore index af07889..dc00ca5 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /timerfd-1.1.0.crate /timerfd-1.1.1.crate /timerfd-1.2.0.crate +/timerfd-1.4.0.crate diff --git a/rust-timerfd.spec b/rust-timerfd.spec index fc32725..8552d1d 100644 --- a/rust-timerfd.spec +++ b/rust-timerfd.spec @@ -1,25 +1,19 @@ -# Generated by rust2rpm 16 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil}
%global crate timerfd
-Name: rust-%{crate} -Version: 1.2.0 +Name: rust-timerfd +Version: 1.4.0 Release: %autorelease Summary: Rust interface to the Linux kernel's timerfd API
-# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/timerfd Source: %{crates_source}
-ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21
%global _description %{expand: Rust interface to the Linux kernel's timerfd API.} @@ -32,13 +26,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} @@ -46,11 +40,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 30b9a01..20467a2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (timerfd-1.2.0.crate) = 06cf33ede4f48c65582fb17c1251e8908bba27c385ee7dc1c6fcb72d9e780cf36190c070991a1eeaa9d71dd87c19f974c4093a747001b9fce4691db3c86aeb9c +SHA512 (timerfd-1.4.0.crate) = 6d12edaf325c85300272c0114522fe4a8fcdf6d6d95876d4ae884b09f26a407172806ef30d6380fce875ebbc8143d11e879cce199502ee36f79a63652ebe457a
commit 85c0fc6e4589e4971ee5d42e63bdaf1e547b901c Author: Fabio Valentini decathorpe@gmail.com Date: Sun Dec 11 15:31:47 2022 +0100
Convert to rpmautospec
diff --git a/changelog b/changelog new file mode 100644 index 0000000..67852cc --- /dev/null +++ b/changelog @@ -0,0 +1,46 @@ +* Sat Jul 23 2022 Fedora Release Engineering releng@fedoraproject.org - 1.2.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering releng@fedoraproject.org - 1.2.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering releng@fedoraproject.org - 1.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering releng@fedoraproject.org - 1.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jan 12 2021 Fabio Valentini decathorpe@gmail.com - 1.2.0-1 +- Update to version 1.2.0. +- Fixes RHBZ#1907249 + +* Sat Aug 01 2020 Fedora Release Engineering releng@fedoraproject.org - 1.1.1-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering releng@fedoraproject.org - 1.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jan 28 2020 Josh Stone jistone@redhat.com - 1.1.1-1 +- Update to 1.1.1 + +* Mon Jan 27 2020 Josh Stone jistone@redhat.com - 1.1.0-1 +- Update to 1.1.0 + +* Sat Sep 07 09:25:30 CEST 2019 Igor Gnatenko ignatenkobrain@fedoraproject.org - 1.0.0-6 +- Regenerate + +* Fri Jul 26 2019 Fedora Release Engineering releng@fedoraproject.org - 1.0.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Mar 09 2019 Igor Gnatenko ignatenkobrain@fedoraproject.org - 1.0.0-4 +- Adapt to new packaging + +* Sat Feb 02 2019 Fedora Release Engineering releng@fedoraproject.org - 1.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Nov 02 2018 Igor Gnatenko ignatenkobrain@fedoraproject.org - 1.0.0-2 +- Adapt to new packaging + +* Sat Sep 01 2018 Igor Gnatenko ignatenkobrain@fedoraproject.org - 1.0.0-1 +- Initial package diff --git a/rust-timerfd.spec b/rust-timerfd.spec index 552d5e9..fc32725 100644 --- a/rust-timerfd.spec +++ b/rust-timerfd.spec @@ -6,7 +6,7 @@
Name: rust-%{crate} Version: 1.2.0 -Release: 5%{?dist} +Release: %autorelease Summary: Rust interface to the Linux kernel's timerfd API
# Upstream license specification: MIT @@ -71,49 +71,4 @@ which use "default" feature of "%{crate}" crate. %endif
%changelog -* Sat Jul 23 2022 Fedora Release Engineering releng@fedoraproject.org - 1.2.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Fri Jan 21 2022 Fedora Release Engineering releng@fedoraproject.org - 1.2.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Fri Jul 23 2021 Fedora Release Engineering releng@fedoraproject.org - 1.2.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Wed Jan 27 2021 Fedora Release Engineering releng@fedoraproject.org - 1.2.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Tue Jan 12 2021 Fabio Valentini decathorpe@gmail.com - 1.2.0-1 -- Update to version 1.2.0. -- Fixes RHBZ#1907249 - -* Sat Aug 01 2020 Fedora Release Engineering releng@fedoraproject.org - 1.1.1-3 -- Second attempt - Rebuilt for - https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Wed Jul 29 2020 Fedora Release Engineering releng@fedoraproject.org - 1.1.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Tue Jan 28 2020 Josh Stone jistone@redhat.com - 1.1.1-1 -- Update to 1.1.1 - -* Mon Jan 27 2020 Josh Stone jistone@redhat.com - 1.1.0-1 -- Update to 1.1.0 - -* Sat Sep 07 09:25:30 CEST 2019 Igor Gnatenko ignatenkobrain@fedoraproject.org - 1.0.0-6 -- Regenerate - -* Fri Jul 26 2019 Fedora Release Engineering releng@fedoraproject.org - 1.0.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Sat Mar 09 2019 Igor Gnatenko ignatenkobrain@fedoraproject.org - 1.0.0-4 -- Adapt to new packaging - -* Sat Feb 02 2019 Fedora Release Engineering releng@fedoraproject.org - 1.0.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Nov 02 2018 Igor Gnatenko ignatenkobrain@fedoraproject.org - 1.0.0-2 -- Adapt to new packaging - -* Sat Sep 01 2018 Igor Gnatenko ignatenkobrain@fedoraproject.org - 1.0.0-1 -- Initial package +%autochangelog
commit 2e00079106403e6f7b061f3f5c76729fb042b53c Author: Fedora Release Engineering releng@fedoraproject.org Date: Sat Jul 23 07:06:11 2022 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering releng@fedoraproject.org
diff --git a/rust-timerfd.spec b/rust-timerfd.spec index 567dd0d..552d5e9 100644 --- a/rust-timerfd.spec +++ b/rust-timerfd.spec @@ -6,7 +6,7 @@
Name: rust-%{crate} Version: 1.2.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Rust interface to the Linux kernel's timerfd API
# Upstream license specification: MIT @@ -71,6 +71,9 @@ which use "default" feature of "%{crate}" crate. %endif
%changelog +* Sat Jul 23 2022 Fedora Release Engineering releng@fedoraproject.org - 1.2.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Fri Jan 21 2022 Fedora Release Engineering releng@fedoraproject.org - 1.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
commit f4cdf796b88acf455aea3c73b5be47d8743e2bde Author: Fedora Release Engineering releng@fedoraproject.org Date: Fri Jan 21 23:34:08 2022 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering releng@fedoraproject.org
diff --git a/rust-timerfd.spec b/rust-timerfd.spec index 7016357..567dd0d 100644 --- a/rust-timerfd.spec +++ b/rust-timerfd.spec @@ -6,7 +6,7 @@
Name: rust-%{crate} Version: 1.2.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Rust interface to the Linux kernel's timerfd API
# Upstream license specification: MIT @@ -71,6 +71,9 @@ which use "default" feature of "%{crate}" crate. %endif
%changelog +* Fri Jan 21 2022 Fedora Release Engineering releng@fedoraproject.org - 1.2.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Jul 23 2021 Fedora Release Engineering releng@fedoraproject.org - 1.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
commit 4e9e065f5bd0d2623acdfabfd47909577f48adf7 Author: Fedora Release Engineering releng@fedoraproject.org Date: Fri Jul 23 16:20:02 2021 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering releng@fedoraproject.org
diff --git a/rust-timerfd.spec b/rust-timerfd.spec index bd67c02..7016357 100644 --- a/rust-timerfd.spec +++ b/rust-timerfd.spec @@ -6,7 +6,7 @@
Name: rust-%{crate} Version: 1.2.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Rust interface to the Linux kernel's timerfd API
# Upstream license specification: MIT @@ -71,6 +71,9 @@ which use "default" feature of "%{crate}" crate. %endif
%changelog +* Fri Jul 23 2021 Fedora Release Engineering releng@fedoraproject.org - 1.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Wed Jan 27 2021 Fedora Release Engineering releng@fedoraproject.org - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
commit 3ddecffd434409bcea554698ebc84bf4b8890514 Author: Fedora Release Engineering releng@fedoraproject.org Date: Wed Jan 27 19:23:46 2021 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering releng@fedoraproject.org
diff --git a/rust-timerfd.spec b/rust-timerfd.spec index 5f02be7..bd67c02 100644 --- a/rust-timerfd.spec +++ b/rust-timerfd.spec @@ -6,7 +6,7 @@
Name: rust-%{crate} Version: 1.2.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Rust interface to the Linux kernel's timerfd API
# Upstream license specification: MIT @@ -71,6 +71,9 @@ which use "default" feature of "%{crate}" crate. %endif
%changelog +* Wed Jan 27 2021 Fedora Release Engineering releng@fedoraproject.org - 1.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Tue Jan 12 2021 Fabio Valentini decathorpe@gmail.com - 1.2.0-1 - Update to version 1.2.0. - Fixes RHBZ#1907249
commit 0be1d54f078e3cfb62384c193b780ed33333f357 Author: Fabio Valentini decathorpe@gmail.com Date: Tue Jan 12 22:47:10 2021 +0100
update to version 1.2.0
diff --git a/.gitignore b/.gitignore index 48fee04..af07889 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /timerfd-1.0.0.crate /timerfd-1.1.0.crate /timerfd-1.1.1.crate +/timerfd-1.2.0.crate diff --git a/rust-timerfd.spec b/rust-timerfd.spec index 670839c..5f02be7 100644 --- a/rust-timerfd.spec +++ b/rust-timerfd.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 16 %bcond_without check %global debug_package %{nil}
%global crate timerfd
Name: rust-%{crate} -Version: 1.1.1 -Release: 3%{?dist} +Version: 1.2.0 +Release: 1%{?dist} Summary: Rust interface to the Linux kernel's timerfd API
# Upstream license specification: MIT @@ -71,6 +71,10 @@ which use "default" feature of "%{crate}" crate. %endif
%changelog +* Tue Jan 12 2021 Fabio Valentini decathorpe@gmail.com - 1.2.0-1 +- Update to version 1.2.0. +- Fixes RHBZ#1907249 + * Sat Aug 01 2020 Fedora Release Engineering releng@fedoraproject.org - 1.1.1-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index f0e3552..30b9a01 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (timerfd-1.1.1.crate) = 3bd82e1d7d10a2ee4000cc2316afebb7cac68ee738da312013062df30acba11f6e3007b9ec00116f53d334b85d73575e671f93a632d484154a01b886a94bec1c +SHA512 (timerfd-1.2.0.crate) = 06cf33ede4f48c65582fb17c1251e8908bba27c385ee7dc1c6fcb72d9e780cf36190c070991a1eeaa9d71dd87c19f974c4093a747001b9fce4691db3c86aeb9c
commit 3203fc44d5a7470d794abcd1a3667e55e24d05d5 Author: Fedora Release Engineering releng@fedoraproject.org Date: Sat Aug 1 08:48:12 2020 +0000
- Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering releng@fedoraproject.org
diff --git a/rust-timerfd.spec b/rust-timerfd.spec index 0413ad9..670839c 100644 --- a/rust-timerfd.spec +++ b/rust-timerfd.spec @@ -6,7 +6,7 @@
Name: rust-%{crate} Version: 1.1.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Rust interface to the Linux kernel's timerfd API
# Upstream license specification: MIT @@ -71,6 +71,10 @@ which use "default" feature of "%{crate}" crate. %endif
%changelog +* Sat Aug 01 2020 Fedora Release Engineering releng@fedoraproject.org - 1.1.1-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Wed Jul 29 2020 Fedora Release Engineering releng@fedoraproject.org - 1.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
commit 63c2a757c28230879aa8858d85edc265e6869681 Author: Fedora Release Engineering releng@fedoraproject.org Date: Wed Jul 29 09:44:02 2020 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering releng@fedoraproject.org
diff --git a/rust-timerfd.spec b/rust-timerfd.spec index 0ff2598..0413ad9 100644 --- a/rust-timerfd.spec +++ b/rust-timerfd.spec @@ -6,7 +6,7 @@
Name: rust-%{crate} Version: 1.1.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Rust interface to the Linux kernel's timerfd API
# Upstream license specification: MIT @@ -71,6 +71,9 @@ which use "default" feature of "%{crate}" crate. %endif
%changelog +* Wed Jul 29 2020 Fedora Release Engineering releng@fedoraproject.org - 1.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Tue Jan 28 2020 Josh Stone jistone@redhat.com - 1.1.1-1 - Update to 1.1.1
commit 5267de08a33c16fbb8ca53870835422ebcf38dcf Author: Igor Raits ignatenkobrain@fedoraproject.org Date: Wed Feb 12 12:29:26 2020 +0100
Drop tests
They do not work for quite long time.
Signed-off-by: Igor Raits ignatenkobrain@fedoraproject.org
diff --git a/tests/.fmf/version b/tests/.fmf/version deleted file mode 100644 index d00491f..0000000 --- a/tests/.fmf/version +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/tests/provision.fmf b/tests/provision.fmf deleted file mode 100644 index 503a97c..0000000 --- a/tests/provision.fmf +++ /dev/null @@ -1,5 +0,0 @@ ---- -standard-inventory-qcow2: - qemu: - # `cargo test` usually eats more than 1G. - m: 4G diff --git a/tests/tests.yml b/tests/tests.yml deleted file mode 100644 index 5bc4879..0000000 --- a/tests/tests.yml +++ /dev/null @@ -1,13 +0,0 @@ ---- -- hosts: localhost - roles: - - role: standard-test-basic - tags: - - classic - repositories: - - repo: "https://src.fedoraproject.org/tests/rust.git" - dest: rust - tests: - - rust/cargo-test - environment: - pkg: rust-timerfd
commit 43a0baef5f8004ca8732f7349452dd2250481cbd Author: Josh Stone jistone@redhat.com Date: Tue Jan 28 08:49:43 2020 -0800
Update to 1.1.1
diff --git a/.gitignore b/.gitignore index 4855ca1..48fee04 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /timerfd-1.0.0.crate /timerfd-1.1.0.crate +/timerfd-1.1.1.crate diff --git a/0001-Fix-From-Duration-for-timespec-on-32-bit-targets.patch b/0001-Fix-From-Duration-for-timespec-on-32-bit-targets.patch deleted file mode 100644 index 5228f78..0000000 --- a/0001-Fix-From-Duration-for-timespec-on-32-bit-targets.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 5cbe3928294310bbeb5c0cb911093ab1c00c57c5 Mon Sep 17 00:00:00 2001 -From: Josh Stone jistone@redhat.com -Date: Mon, 27 Jan 2020 15:55:27 -0800 -Subject: [PATCH] Fix `From<Duration> for timespec` on 32-bit targets - -`Duration::subsec_nanos()` returns a `u32`. Converting to `c_long` can -theoretically fail on 32-bit targets where that is `i32`. In practice, -we know that the value should be less than a billion anyway. ---- - src/structs.rs | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/src/structs.rs b/src/structs.rs -index 871532a8b017..597188fee83e 100644 ---- a/src/structs.rs -+++ b/src/structs.rs -@@ -32,7 +32,9 @@ impl From<Duration> for timespec { - fn from(d: Duration) -> timespec { - timespec { - tv_sec: d.as_secs() as libc::time_t, -- tv_nsec: d.subsec_nanos().into(), -+ // This can theoretically fail on 32-bit (`u32` to `c_long = i32`) -+ tv_nsec: d.subsec_nanos().try_into() -+ .expect("timespec overflow when converting from Duration"), - } - } - } --- -2.24.1 - diff --git a/rust-timerfd.spec b/rust-timerfd.spec index f3d5daa..0ff2598 100644 --- a/rust-timerfd.spec +++ b/rust-timerfd.spec @@ -5,7 +5,7 @@ %global crate timerfd
Name: rust-%{crate} -Version: 1.1.0 +Version: 1.1.1 Release: 1%{?dist} Summary: Rust interface to the Linux kernel's timerfd API
@@ -14,10 +14,6 @@ License: MIT URL: https://crates.io/crates/timerfd Source: %{crates_source}
-# Fix `From<Duration> for timespec` on 32-bit targets -# https://github.com/main--/rust-timerfd/pull/4 -Patch1: 0001-Fix-From-Duration-for-timespec-on-32-bit-targets.patch - ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} BuildArch: noarch @@ -75,6 +71,9 @@ which use "default" feature of "%{crate}" crate. %endif
%changelog +* Tue Jan 28 2020 Josh Stone jistone@redhat.com - 1.1.1-1 +- Update to 1.1.1 + * Mon Jan 27 2020 Josh Stone jistone@redhat.com - 1.1.0-1 - Update to 1.1.0
diff --git a/sources b/sources index f51dbb2..f0e3552 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (timerfd-1.1.0.crate) = 86e8fe1ecd5941430f5718fe6e9be9d2e9576d0e55ebc8e6c0630cf4e3ecc92b2cd3fce814a3831e670e3f879b381cea0388bb3ff19626f702ac91a129cf53e6 +SHA512 (timerfd-1.1.1.crate) = 3bd82e1d7d10a2ee4000cc2316afebb7cac68ee738da312013062df30acba11f6e3007b9ec00116f53d334b85d73575e671f93a632d484154a01b886a94bec1c
commit 219db7a2a2d6a99391cafc531b21ef5fefa685c2 Author: Josh Stone jistone@redhat.com Date: Mon Jan 27 16:02:18 2020 -0800
Fix `From<Duration> for timespec` on 32-bit targets
diff --git a/0001-Fix-From-Duration-for-timespec-on-32-bit-targets.patch b/0001-Fix-From-Duration-for-timespec-on-32-bit-targets.patch new file mode 100644 index 0000000..5228f78 --- /dev/null +++ b/0001-Fix-From-Duration-for-timespec-on-32-bit-targets.patch @@ -0,0 +1,30 @@ +From 5cbe3928294310bbeb5c0cb911093ab1c00c57c5 Mon Sep 17 00:00:00 2001 +From: Josh Stone jistone@redhat.com +Date: Mon, 27 Jan 2020 15:55:27 -0800 +Subject: [PATCH] Fix `From<Duration> for timespec` on 32-bit targets + +`Duration::subsec_nanos()` returns a `u32`. Converting to `c_long` can +theoretically fail on 32-bit targets where that is `i32`. In practice, +we know that the value should be less than a billion anyway. +--- + src/structs.rs | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/src/structs.rs b/src/structs.rs +index 871532a8b017..597188fee83e 100644 +--- a/src/structs.rs ++++ b/src/structs.rs +@@ -32,7 +32,9 @@ impl From<Duration> for timespec { + fn from(d: Duration) -> timespec { + timespec { + tv_sec: d.as_secs() as libc::time_t, +- tv_nsec: d.subsec_nanos().into(), ++ // This can theoretically fail on 32-bit (`u32` to `c_long = i32`) ++ tv_nsec: d.subsec_nanos().try_into() ++ .expect("timespec overflow when converting from Duration"), + } + } + } +-- +2.24.1 + diff --git a/rust-timerfd.spec b/rust-timerfd.spec index 510fb26..f3d5daa 100644 --- a/rust-timerfd.spec +++ b/rust-timerfd.spec @@ -14,6 +14,10 @@ License: MIT URL: https://crates.io/crates/timerfd Source: %{crates_source}
+# Fix `From<Duration> for timespec` on 32-bit targets +# https://github.com/main--/rust-timerfd/pull/4 +Patch1: 0001-Fix-From-Duration-for-timespec-on-32-bit-targets.patch + ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} BuildArch: noarch
commit a988c8ec7e62e44589d24de045b33cca0b412b69 Author: Josh Stone jistone@redhat.com Date: Mon Jan 27 15:22:48 2020 -0800
Update to 1.1.0
diff --git a/.gitignore b/.gitignore index 38447cf..4855ca1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /timerfd-1.0.0.crate +/timerfd-1.1.0.crate diff --git a/rust-timerfd.spec b/rust-timerfd.spec index 9e10a6e..510fb26 100644 --- a/rust-timerfd.spec +++ b/rust-timerfd.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 13 %bcond_without check %global debug_package %{nil}
%global crate timerfd
Name: rust-%{crate} -Version: 1.0.0 -Release: 6%{?dist} +Version: 1.1.0 +Release: 1%{?dist} Summary: Rust interface to the Linux kernel's timerfd API
# Upstream license specification: MIT @@ -38,7 +38,7 @@ which use "%{crate}" crate. %files devel %license LICENSE.txt %doc README.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel Summary: %{summary} @@ -50,7 +50,7 @@ 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}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep %autosetup -n %{crate}-%{version_no_tilde} -p1 @@ -71,6 +71,9 @@ which use "default" feature of "%{crate}" crate. %endif
%changelog +* Mon Jan 27 2020 Josh Stone jistone@redhat.com - 1.1.0-1 +- Update to 1.1.0 + * Sat Sep 07 09:25:30 CEST 2019 Igor Gnatenko ignatenkobrain@fedoraproject.org - 1.0.0-6 - Regenerate
diff --git a/sources b/sources index ef24389..f51dbb2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (timerfd-1.0.0.crate) = aebf8d04e4fc2b569ff56aa556864505ea71e674bda8fe209eaa4cdbac32e9540030ba308c3bb285323ce49ca5130f45cb2eade19345ab4029adb753396f7430 +SHA512 (timerfd-1.1.0.crate) = 86e8fe1ecd5941430f5718fe6e9be9d2e9576d0e55ebc8e6c0630cf4e3ecc92b2cd3fce814a3831e670e3f879b381cea0388bb3ff19626f702ac91a129cf53e6
commit c62f323c91e21443bff0f9b26f52fc66d74ebbc1 Author: Igor Gnatenko ignatenkobrain@fedoraproject.org Date: Sat Sep 7 09:26:18 2019 +0200
Regenerate
Signed-off-by: Igor Gnatenko ignatenkobrain@fedoraproject.org
diff --git a/rust-timerfd.spec b/rust-timerfd.spec index d2df5a6..9e10a6e 100644 --- a/rust-timerfd.spec +++ b/rust-timerfd.spec @@ -1,25 +1,28 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil}
%global crate timerfd
Name: rust-%{crate} Version: 1.0.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Rust interface to the Linux kernel's timerfd API
+# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/timerfd Source: %{crates_source}
ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif
BuildRequires: rust-packaging -BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0)
-%global _description \ -A rust interface to the Linux kernel's timerfd API. +%global _description %{expand: +Rust interface to the Linux kernel's timerfd API.}
%description %{_description}
@@ -53,6 +56,9 @@ which use "default" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep
+%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build
@@ -65,6 +71,9 @@ which use "default" feature of "%{crate}" crate. %endif
%changelog +* Sat Sep 07 09:25:30 CEST 2019 Igor Gnatenko ignatenkobrain@fedoraproject.org - 1.0.0-6 +- Regenerate + * Fri Jul 26 2019 Fedora Release Engineering releng@fedoraproject.org - 1.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
commit 802209a29efad797d413a0792f92756d66d846ce Author: Fedora Release Engineering releng@fedoraproject.org Date: Fri Jul 26 22:15:11 2019 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering releng@fedoraproject.org
diff --git a/rust-timerfd.spec b/rust-timerfd.spec index c3893af..d2df5a6 100644 --- a/rust-timerfd.spec +++ b/rust-timerfd.spec @@ -6,7 +6,7 @@
Name: rust-%{crate} Version: 1.0.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Rust interface to the Linux kernel's timerfd API
License: MIT @@ -65,6 +65,9 @@ which use "default" feature of "%{crate}" crate. %endif
%changelog +* Fri Jul 26 2019 Fedora Release Engineering releng@fedoraproject.org - 1.0.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sat Mar 09 2019 Igor Gnatenko ignatenkobrain@fedoraproject.org - 1.0.0-4 - Adapt to new packaging
commit 5ff1279ea179931dd6433c46c6dcc4f36fd8f4c2 Author: Igor Gnatenko ignatenkobrain@fedoraproject.org Date: Sat Mar 9 12:11:31 2019 +0100
Adapt to new packaging
Signed-off-by: Igor Gnatenko ignatenkobrain@fedoraproject.org
diff --git a/rust-timerfd.spec b/rust-timerfd.spec index fb6c7b4..c3893af 100644 --- a/rust-timerfd.spec +++ b/rust-timerfd.spec @@ -1,17 +1,17 @@ # Generated by rust2rpm -%bcond_without check +%bcond_with check %global debug_package %{nil}
%global crate timerfd
Name: rust-%{crate} Version: 1.0.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Rust interface to the Linux kernel's timerfd API
License: MIT URL: https://crates.io/crates/timerfd -Source0: https://crates.io/api/v1/crates/%%7Bcrate%7D/%%7Bversion%7D/download#/%%7Bcr... +Source: %{crates_source}
ExclusiveArch: %{rust_arches}
@@ -50,7 +50,7 @@ which use "default" feature of "%{crate}" crate. %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%prep -%autosetup -n %{crate}-%{version} -p1 +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep
%build @@ -65,6 +65,9 @@ which use "default" feature of "%{crate}" crate. %endif
%changelog +* Sat Mar 09 2019 Igor Gnatenko ignatenkobrain@fedoraproject.org - 1.0.0-4 +- Adapt to new packaging + * Sat Feb 02 2019 Fedora Release Engineering releng@fedoraproject.org - 1.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
diff --git a/tests/.fmf/version b/tests/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/tests/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/tests/provision.fmf b/tests/provision.fmf new file mode 100644 index 0000000..503a97c --- /dev/null +++ b/tests/provision.fmf @@ -0,0 +1,5 @@ +--- +standard-inventory-qcow2: + qemu: + # `cargo test` usually eats more than 1G. + m: 4G diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..5bc4879 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,13 @@ +--- +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + repositories: + - repo: "https://src.fedoraproject.org/tests/rust.git" + dest: rust + tests: + - rust/cargo-test + environment: + pkg: rust-timerfd
commit bf1a22c8de0b5659b24ddce0a7e1e6fcfb00e474 Author: Fedora Release Engineering releng@fedoraproject.org Date: Sat Feb 2 14:28:50 2019 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering releng@fedoraproject.org
diff --git a/rust-timerfd.spec b/rust-timerfd.spec index 208fb58..fb6c7b4 100644 --- a/rust-timerfd.spec +++ b/rust-timerfd.spec @@ -6,7 +6,7 @@
Name: rust-%{crate} Version: 1.0.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Rust interface to the Linux kernel's timerfd API
License: MIT @@ -65,6 +65,9 @@ which use "default" feature of "%{crate}" crate. %endif
%changelog +* Sat Feb 02 2019 Fedora Release Engineering releng@fedoraproject.org - 1.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Fri Nov 02 2018 Igor Gnatenko ignatenkobrain@fedoraproject.org - 1.0.0-2 - Adapt to new packaging
commit 03fcbbea6dcd9e90b71a38cb3efadb68d86e68b3 Author: Igor Gnatenko ignatenkobrain@fedoraproject.org Date: Fri Nov 2 16:47:03 2018 +0100
Adapt to new packaging
Signed-off-by: Igor Gnatenko ignatenkobrain@fedoraproject.org
diff --git a/rust-timerfd.spec b/rust-timerfd.spec index d5cdcf9..208fb58 100644 --- a/rust-timerfd.spec +++ b/rust-timerfd.spec @@ -6,7 +6,7 @@
Name: rust-%{crate} Version: 1.0.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Rust interface to the Linux kernel's timerfd API
License: MIT @@ -16,21 +16,38 @@ Source0: https://crates.io/api/v1/crates/%%7Bcrate%7D/%%7Bversion%7D/download#/%%7B ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging -# [dependencies] -BuildRequires: (crate(libc) >= 0.2.0 with crate(libc) < 0.3.0) +BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0)
-%description -%{summary}. +%global _description \ +A rust interface to the Linux kernel's timerfd API. + +%description %{_description}
%package devel Summary: %{summary} BuildArch: noarch
-%description devel -A rust interface to the Linux kernel's timerfd API. +%description devel %{_description}
This package contains library source intended for building other packages -which use %{crate} from crates.io. +which use "%{crate}" crate. + +%files devel +%license LICENSE.txt +%doc README.md +%{cargo_registry}/%{crate}-%{version}/ + +%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}/Cargo.toml
%prep %autosetup -n %{crate}-%{version} -p1 @@ -47,11 +64,9 @@ which use %{crate} from crates.io. %cargo_test %endif
-%files devel -%license LICENSE.txt -%doc README.md -%{cargo_registry}/%{crate}-%{version}/ - %changelog +* Fri Nov 02 2018 Igor Gnatenko ignatenkobrain@fedoraproject.org - 1.0.0-2 +- Adapt to new packaging + * Sat Sep 01 2018 Igor Gnatenko ignatenkobrain@fedoraproject.org - 1.0.0-1 - Initial package
commit 454b5dc960b874009864c139ff7a474bb87846fa Author: Igor Gnatenko ignatenkobrain@fedoraproject.org Date: Sat Sep 1 14:27:31 2018 +0200
initial import
Signed-off-by: Igor Gnatenko ignatenkobrain@fedoraproject.org
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..38447cf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/timerfd-1.0.0.crate diff --git a/rust-timerfd.spec b/rust-timerfd.spec new file mode 100644 index 0000000..d5cdcf9 --- /dev/null +++ b/rust-timerfd.spec @@ -0,0 +1,57 @@ +# Generated by rust2rpm +%bcond_without check +%global debug_package %{nil} + +%global crate timerfd + +Name: rust-%{crate} +Version: 1.0.0 +Release: 1%{?dist} +Summary: Rust interface to the Linux kernel's timerfd API + +License: MIT +URL: https://crates.io/crates/timerfd +Source0: https://crates.io/api/v1/crates/%%7Bcrate%7D/%%7Bversion%7D/download#/%%7Bcr... + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging +# [dependencies] +BuildRequires: (crate(libc) >= 0.2.0 with crate(libc) < 0.3.0) + +%description +%{summary}. + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel +A rust interface to the Linux kernel's timerfd API. + +This package contains library source intended for building other packages +which use %{crate} from crates.io. + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%files devel +%license LICENSE.txt +%doc README.md +%{cargo_registry}/%{crate}-%{version}/ + +%changelog +* Sat Sep 01 2018 Igor Gnatenko ignatenkobrain@fedoraproject.org - 1.0.0-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..ef24389 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (timerfd-1.0.0.crate) = aebf8d04e4fc2b569ff56aa556864505ea71e674bda8fe209eaa4cdbac32e9540030ba308c3bb285323ce49ca5130f45cb2eade19345ab4029adb753396f7430
arch-excludes@lists.fedoraproject.org