Add back the rust-crate sub-rpms
Signed-off-by: Gris Ge <fge@redhat.com>
This commit is contained in:
parent
8f29f16edd
commit
ced44e2e85
23
nmstate.spec
23
nmstate.spec
@ -89,6 +89,22 @@ Obsoletes: nmstate-plugin-ovsdb < 2.0-1
|
||||
%description -n python3-%{libname}
|
||||
This package contains the Python 3 library for Nmstate.
|
||||
|
||||
%package -n rust-%{name}-devel
|
||||
Summary: Rust crate of nmstate
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n rust-%{name}-devel
|
||||
This package contains library source intended for building other packages
|
||||
which use "%{name}" crate.
|
||||
|
||||
%package -n rust-%{name}+default-devel
|
||||
Summary: Rust crate of nmstate with default feature
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n rust-%{name}+default-devel
|
||||
This package contains library source intended for building other packages
|
||||
which use "%{name}" crate with default feature.
|
||||
|
||||
%prep
|
||||
gpg2 --import --import-options import-export,import-minimal \
|
||||
%{SOURCE2} > ./gpgkey-mantainers.gpg
|
||||
@ -154,5 +170,12 @@ popd
|
||||
%files static
|
||||
%{_libdir}/libnmstate.a
|
||||
|
||||
%files -n rust-%{name}-devel
|
||||
%license LICENSE
|
||||
%{cargo_registry}/%{name}-%{version}/
|
||||
|
||||
%files -n rust-%{name}+default-devel
|
||||
%ghost %{cargo_registry}/%{name}-%{version}/Cargo.toml
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
|
Loading…
Reference in New Issue
Block a user