parent
0942df6576
commit
ac6deaac2c
@ -1,16 +1 @@
|
|||||||
/results_*/
|
SOURCES/ctor-0.2.8.crate
|
||||||
/*.src.rpm
|
|
||||||
|
|
||||||
/ctor-0.1.17.crate
|
|
||||||
/ctor-0.1.18.crate
|
|
||||||
/ctor-0.1.20.crate
|
|
||||||
/ctor-0.1.21.crate
|
|
||||||
/ctor-0.1.22.crate
|
|
||||||
/ctor-0.1.23.crate
|
|
||||||
/ctor-0.1.26.crate
|
|
||||||
/ctor-0.2.0.crate
|
|
||||||
/ctor-0.2.2.crate
|
|
||||||
/ctor-0.2.3.crate
|
|
||||||
/ctor-0.2.4.crate
|
|
||||||
/ctor-0.2.5.crate
|
|
||||||
/ctor-0.2.6.crate
|
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
c4765cd9e98402b20b353c85ba7c44003e70a905 SOURCES/ctor-0.2.8.crate
|
@ -0,0 +1,168 @@
|
|||||||
|
## START: Set by rpmautospec
|
||||||
|
## (rpmautospec version 0.6.5)
|
||||||
|
## RPMAUTOSPEC: autorelease, autochangelog
|
||||||
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
||||||
|
release_number = 2;
|
||||||
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
||||||
|
print(release_number + base_release_number - 1);
|
||||||
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
||||||
|
## END: Set by rpmautospec
|
||||||
|
|
||||||
|
# Generated by rust2rpm 26
|
||||||
|
# * no tests are shipped with the published crates
|
||||||
|
# * example code adds an unnecessary dependency on libc-print (not packaged)
|
||||||
|
%bcond_with check
|
||||||
|
%global debug_package %{nil}
|
||||||
|
|
||||||
|
%global crate ctor
|
||||||
|
|
||||||
|
Name: rust-ctor
|
||||||
|
Version: 0.2.8
|
||||||
|
Release: %autorelease
|
||||||
|
Summary: __attribute__((constructor)) for Rust
|
||||||
|
|
||||||
|
License: Apache-2.0 OR MIT
|
||||||
|
URL: https://crates.io/crates/ctor
|
||||||
|
Source: %{crates_source}
|
||||||
|
|
||||||
|
BuildRequires: cargo-rpm-macros >= 24
|
||||||
|
|
||||||
|
%global _description %{expand:
|
||||||
|
__attribute__((constructor)) for Rust.}
|
||||||
|
|
||||||
|
%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-APACHE
|
||||||
|
%license %{crate_instdir}/LICENSE-MIT
|
||||||
|
%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
|
||||||
|
|
||||||
|
%package -n %{name}+used_linker-devel
|
||||||
|
Summary: %{summary}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description -n %{name}+used_linker-devel %{_description}
|
||||||
|
|
||||||
|
This package contains library source intended for building other packages which
|
||||||
|
use the "used_linker" feature of the "%{crate}" crate.
|
||||||
|
|
||||||
|
%files -n %{name}+used_linker-devel
|
||||||
|
%ghost %{crate_instdir}/Cargo.toml
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{crate}-%{version} -p1
|
||||||
|
%cargo_prep
|
||||||
|
|
||||||
|
%generate_buildrequires
|
||||||
|
%cargo_generate_buildrequires
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cargo_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%cargo_install
|
||||||
|
|
||||||
|
%if %{with check}
|
||||||
|
%check
|
||||||
|
%cargo_test
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Jan 05 2025 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.2.8-2
|
||||||
|
- Rebuilt for MSVSphere 10
|
||||||
|
|
||||||
|
## START: Generated by rpmautospec
|
||||||
|
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Apr 16 2024 Fabio Valentini <decathorpe@gmail.com> - 0.2.8-1
|
||||||
|
- Update to version 0.2.8; Fixes RHBZ#2275325
|
||||||
|
|
||||||
|
* Fri Mar 08 2024 Fabio Valentini <decathorpe@gmail.com> - 0.2.7-1
|
||||||
|
- Update to version 0.2.7; Fixes RHBZ#2266068
|
||||||
|
|
||||||
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 11 2024 Fabio Valentini <decathorpe@gmail.com> - 0.2.6-1
|
||||||
|
- Update to version 0.2.6; Fixes RHBZ#2254123
|
||||||
|
|
||||||
|
* Wed Sep 27 2023 Fabio Valentini <decathorpe@gmail.com> - 0.2.5-1
|
||||||
|
- Update to version 0.2.5; Fixes RHBZ#2240821
|
||||||
|
|
||||||
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 13 2023 Fabio Valentini <decathorpe@gmail.com> - 0.2.4-1
|
||||||
|
- Update to version 0.2.4; Fixes RHBZ#2222500
|
||||||
|
|
||||||
|
* Wed Jul 05 2023 Fabio Valentini <decathorpe@gmail.com> - 0.2.3-1
|
||||||
|
- Update to version 0.2.3; Fixes RHBZ#2219011
|
||||||
|
|
||||||
|
* Fri Jun 02 2023 Fabio Valentini <decathorpe@gmail.com> - 0.2.2-1
|
||||||
|
- Update to version 0.2.2; Fixes RHBZ#2211231
|
||||||
|
|
||||||
|
* Wed Apr 19 2023 Fabio Valentini <decathorpe@gmail.com> - 0.2.0-1
|
||||||
|
- Update to version 0.2.0; Fixes RHBZ#2181893
|
||||||
|
|
||||||
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.26-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Dec 10 2022 Fabio Valentini <decathorpe@gmail.com> - 0.1.26-1
|
||||||
|
- Update to version 0.1.26; Fixes RHBZ#2135956
|
||||||
|
|
||||||
|
* Fri Jul 29 2022 Fabio Valentini <decathorpe@gmail.com> - 0.1.23-1
|
||||||
|
- Update to version 0.1.23; Fixes RHBZ#2112149
|
||||||
|
|
||||||
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.22-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Mar 21 2022 Fabio Valentini <decathorpe@gmail.com> - 0.1.22-1
|
||||||
|
- Update to version 0.1.22; Fixes RHBZ#2065514
|
||||||
|
|
||||||
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.21-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Sep 01 2021 Fabio Valentini <decathorpe@gmail.com> - 0.1.21-1
|
||||||
|
- Update to version 0.1.21; Fixes RHBZ#1999722
|
||||||
|
|
||||||
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.20-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Mar 28 2021 Fabio Valentini <decathorpe@gmail.com> - 0.1.20-1
|
||||||
|
- Update to version 0.1.20.
|
||||||
|
- Fixes RHBZ#1924225
|
||||||
|
|
||||||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.18-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jan 12 2021 Fabio Valentini <decathorpe@gmail.com> - 0.1.18-1
|
||||||
|
- Update to version 0.1.18.
|
||||||
|
- Fixes RHBZ#1914978
|
||||||
|
|
||||||
|
* Thu Jan 07 2021 Fabio Valentini <decathorpe@gmail.com> - 0.1.17-1
|
||||||
|
- Initial package
|
||||||
|
|
||||||
|
## END: Generated by rpmautospec
|
@ -1,83 +0,0 @@
|
|||||||
# Generated by rust2rpm 25
|
|
||||||
# * no tests are shipped with the published crates
|
|
||||||
# * example code adds an unnecessary dependency on libc-print (not packaged)
|
|
||||||
%bcond_with check
|
|
||||||
%global debug_package %{nil}
|
|
||||||
|
|
||||||
%global crate ctor
|
|
||||||
|
|
||||||
Name: rust-ctor
|
|
||||||
Version: 0.2.6
|
|
||||||
Release: %autorelease
|
|
||||||
Summary: __attribute__((constructor)) for Rust
|
|
||||||
|
|
||||||
License: Apache-2.0 OR MIT
|
|
||||||
URL: https://crates.io/crates/ctor
|
|
||||||
Source: %{crates_source}
|
|
||||||
|
|
||||||
BuildRequires: cargo-rpm-macros >= 24
|
|
||||||
|
|
||||||
%global _description %{expand:
|
|
||||||
__attribute__((constructor)) for Rust.}
|
|
||||||
|
|
||||||
%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-APACHE
|
|
||||||
%license %{crate_instdir}/LICENSE-MIT
|
|
||||||
%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
|
|
||||||
|
|
||||||
%package -n %{name}+used_linker-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description -n %{name}+used_linker-devel %{_description}
|
|
||||||
|
|
||||||
This package contains library source intended for building other packages which
|
|
||||||
use the "used_linker" feature of the "%{crate}" crate.
|
|
||||||
|
|
||||||
%files -n %{name}+used_linker-devel
|
|
||||||
%ghost %{crate_instdir}/Cargo.toml
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%autosetup -n %{crate}-%{version} -p1
|
|
||||||
%cargo_prep
|
|
||||||
|
|
||||||
%generate_buildrequires
|
|
||||||
%cargo_generate_buildrequires
|
|
||||||
|
|
||||||
%build
|
|
||||||
%cargo_build
|
|
||||||
|
|
||||||
%install
|
|
||||||
%cargo_install
|
|
||||||
|
|
||||||
%if %{with check}
|
|
||||||
%check
|
|
||||||
%cargo_test
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
%autochangelog
|
|
Loading…
Reference in new issue