Blame rust-openssl.spec

39be616
# Generated by rust2rpm-9-1.fc30
2de2a78
# Tests are run in infrastructure
b8c3bcb
%bcond_with check
b8c3bcb
%global debug_package %{nil}
b8c3bcb
b8c3bcb
%global crate openssl
b8c3bcb
b8c3bcb
Name:           rust-%{crate}
39be616
Version:        0.10.22
3122fb1
Release:        1%{?dist}
b8c3bcb
Summary:        OpenSSL bindings
b8c3bcb
25c6327
# Upstream license specification: Apache-2.0
b8c3bcb
License:        ASL 2.0
b8c3bcb
URL:            https://crates.io/crates/openssl
3122fb1
Source:         %{crates_source}
9af77c2
# Initial patched metadata
9af77c2
# * No "vendored" feature
25c6327
Patch0:         openssl-fix-metadata.diff
b8c3bcb
b8c3bcb
ExclusiveArch:  %{rust_arches}
b8c3bcb
b8c3bcb
BuildRequires:  rust-packaging
b51778e
BuildRequires:  (crate(bitflags/default) >= 1.0.0 with crate(bitflags/default) < 2.0.0)
b51778e
BuildRequires:  (crate(cfg-if/default) >= 0.1.0 with crate(cfg-if/default) < 0.2.0)
b51778e
BuildRequires:  (crate(foreign-types/default) >= 0.3.1 with crate(foreign-types/default) < 0.4.0)
b51778e
BuildRequires:  (crate(lazy_static/default) >= 1.0.0 with crate(lazy_static/default) < 2.0.0)
b51778e
BuildRequires:  (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0)
39be616
BuildRequires:  (crate(openssl-sys/default) >= 0.9.45 with crate(openssl-sys/default) < 0.10.0)
b8c3bcb
%if %{with check}
b51778e
BuildRequires:  (crate(hex/default) >= 0.3.0 with crate(hex/default) < 0.4.0)
b51778e
BuildRequires:  (crate(tempdir/default) >= 0.3.0 with crate(tempdir/default) < 0.4.0)
b8c3bcb
%endif
b8c3bcb
b51778e
%global _description \
b51778e
OpenSSL bindings.
b51778e
b51778e
%description %{_description}
b8c3bcb
b8c3bcb
%package        devel
b8c3bcb
Summary:        %{summary}
b8c3bcb
BuildArch:      noarch
b8c3bcb
b51778e
%description    devel %{_description}
b8c3bcb
b8c3bcb
This package contains library source intended for building other packages
b51778e
which use "%{crate}" crate.
b51778e
b51778e
%files          devel
b51778e
%license LICENSE
b51778e
%doc README.md
b51778e
%{cargo_registry}/%{crate}-%{version}/
b51778e
b51778e
%package     -n %{name}+default-devel
b51778e
Summary:        %{summary}
b51778e
BuildArch:      noarch
b51778e
b51778e
%description -n %{name}+default-devel %{_description}
b51778e
b51778e
This package contains library source intended for building other packages
b51778e
which use "default" feature of "%{crate}" crate.
b51778e
b51778e
%files       -n %{name}+default-devel
b51778e
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
b51778e
b51778e
%package     -n %{name}+v101-devel
b51778e
Summary:        %{summary}
b51778e
BuildArch:      noarch
b51778e
b51778e
%description -n %{name}+v101-devel %{_description}
b51778e
b51778e
This package contains library source intended for building other packages
b51778e
which use "v101" feature of "%{crate}" crate.
b51778e
b51778e
%files       -n %{name}+v101-devel
b51778e
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
b51778e
b51778e
%package     -n %{name}+v102-devel
b51778e
Summary:        %{summary}
b51778e
BuildArch:      noarch
b51778e
b51778e
%description -n %{name}+v102-devel %{_description}
b51778e
b51778e
This package contains library source intended for building other packages
b51778e
which use "v102" feature of "%{crate}" crate.
b51778e
b51778e
%files       -n %{name}+v102-devel
b51778e
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
b51778e
b51778e
%package     -n %{name}+v110-devel
b51778e
Summary:        %{summary}
b51778e
BuildArch:      noarch
b51778e
b51778e
%description -n %{name}+v110-devel %{_description}
b51778e
b51778e
This package contains library source intended for building other packages
b51778e
which use "v110" feature of "%{crate}" crate.
b51778e
b51778e
%files       -n %{name}+v110-devel
b51778e
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
b51778e
b51778e
%package     -n %{name}+v111-devel
b51778e
Summary:        %{summary}
b51778e
BuildArch:      noarch
b51778e
b51778e
%description -n %{name}+v111-devel %{_description}
b51778e
b51778e
This package contains library source intended for building other packages
b51778e
which use "v111" feature of "%{crate}" crate.
b51778e
b51778e
%files       -n %{name}+v111-devel
b51778e
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
b8c3bcb
b8c3bcb
%prep
3122fb1
%autosetup -n %{crate}-%{version_no_tilde} -p1
b8c3bcb
%cargo_prep
b8c3bcb
b8c3bcb
%build
b8c3bcb
%cargo_build
b8c3bcb
b8c3bcb
%install
b8c3bcb
%cargo_install
b8c3bcb
b8c3bcb
%if %{with check}
b8c3bcb
%check
b8c3bcb
%cargo_test
b8c3bcb
%endif
b8c3bcb
b8c3bcb
%changelog
39be616
* Thu May 09 2019 Josh Stone <jistone@redhat.com> - 0.10.22-1
39be616
- Update to 0.10.22
39be616
d3da9c8
* Thu May 02 2019 Josh Stone <jistone@redhat.com> - 0.10.21-1
d3da9c8
- Update to 0.10.21
d3da9c8
c2bc599
* Fri Mar 22 2019 Josh Stone <jistone@redhat.com> - 0.10.20-1
c2bc599
- Update to 0.10.20
c2bc599
c7f03a1
* Fri Mar 01 2019 Josh Stone <jistone@redhat.com> - 0.10.19-1
c7f03a1
- Update to 0.10.19
c7f03a1
3122fb1
* Fri Feb 22 2019 Josh Stone <jistone@redhat.com> - 0.10.18-1
3122fb1
- Update to 0.10.18
3122fb1
6e3cecc
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.16-2
6e3cecc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
6e3cecc
a916dcf
* Tue Jan 08 2019 Josh Stone <jistone@redhat.com> - 0.10.16-1
a916dcf
- Update to 0.10.16
a916dcf
b51778e
* Mon Nov 12 2018 Josh Stone <jistone@redhat.com> - 0.10.15-2
b51778e
- Adapt to new packaging
b51778e
ef52859
* Mon Oct 22 2018 Josh Stone <jistone@redhat.com> - 0.10.15-1
ef52859
- Update to 0.10.15
ef52859
25c6327
* Mon Sep 17 2018 Josh Stone <jistone@redhat.com> - 0.10.12-1
25c6327
- Update to 0.10.12
25c6327
9af77c2
* Tue Aug 07 2018 Josh Stone <jistone@redhat.com> - 0.10.11-1
9af77c2
- Update to 0.10.11
9af77c2
2de2a78
* Sat Jul 28 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.10.10-3
2de2a78
- Rebuild to trigger tests
2de2a78
2aef7a5
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.10-2
2aef7a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2aef7a5
b40cdd9
* Mon Jun 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.10.10-1
b40cdd9
- Update to 0.10.10
b40cdd9
8bd65f2
* Tue Jun 05 2018 Josh Stone <jistone@redhat.com> - 0.10.9-1
8bd65f2
- Update to 0.10.9
8bd65f2
d19ee75
* Tue May 22 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.10.8-1
d19ee75
- Update to 0.10.8
d19ee75
c76336b
* Wed May 02 2018 Josh Stone <jistone@redhat.com> - 0.10.7-1
c76336b
- Update to 0.10.7
c76336b
5664e0c
* Fri Apr 06 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.10.6-1
5664e0c
- Update to 0.10.6
5664e0c
842a455
* Thu Mar 01 2018 Josh Stone <jistone@redhat.com> - 0.10.5-1
842a455
- Update to 0.10.5
842a455
9fc545c
* Mon Feb 19 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.10.4-1
9fc545c
- Update to 0.10.4
9fc545c
bb40507
* Thu Feb 15 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.10.3-1
bb40507
- Update to 0.10.3
bb40507
da9d38f
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.2-2
da9d38f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
da9d38f
3dfb0ff
* Thu Jan 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.10.1-1
3dfb0ff
- Update to 0.10.1
3dfb0ff
90175bc
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.23-2
90175bc
- Rebuild for rust-packaging v5
90175bc
ef61079
* Thu Dec 07 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.23-1
ef61079
- Update to 0.9.23
ef61079
508991e
* Thu Nov 30 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.22-2
508991e
- Bump lazy_static to 1
508991e
238925f
* Thu Nov 30 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.22-1
238925f
- Update to 0.9.22
238925f
b8c3bcb
* Tue Nov 21 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.21-1
b8c3bcb
- Update to 0.9.21
b8c3bcb
b8c3bcb
* Thu Jun 15 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.14-1
b8c3bcb
- Update to 0.9.14
b8c3bcb
b8c3bcb
* Wed Jun 14 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.10-2
b8c3bcb
- Port to use rust-packaging
b8c3bcb
b8c3bcb
* Mon Apr 03 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.10-1
b8c3bcb
- Initial package