Drop library
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
116d94307c
commit
d5ad987273
|
@ -1,5 +1,7 @@
|
||||||
# Generated by rust2rpm
|
# Generated by rust2rpm
|
||||||
%bcond_without check
|
%bcond_without check
|
||||||
|
# Exa is not supposed to be used as a library
|
||||||
|
%global __cargo_is_lib() false
|
||||||
|
|
||||||
%global crate exa
|
%global crate exa
|
||||||
|
|
||||||
|
@ -73,57 +75,6 @@ Summary: %{summary}
|
||||||
%dir %{_datadir}/zsh/site-functions
|
%dir %{_datadir}/zsh/site-functions
|
||||||
%{_datadir}/zsh/site-functions/_exa
|
%{_datadir}/zsh/site-functions/_exa
|
||||||
|
|
||||||
%package devel
|
|
||||||
Summary: %{summary}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description devel %{_description}
|
|
||||||
|
|
||||||
This package contains library source intended for building other packages
|
|
||||||
which use "%{crate}" crate.
|
|
||||||
|
|
||||||
%files devel
|
|
||||||
%license LICENCE
|
|
||||||
%doc README.md
|
|
||||||
%{cargo_registry}/%{crate}-%{version}/
|
|
||||||
%exclude %{cargo_registry}/%{crate}-%{version}/{Makefile,Vagrantfile,contrib,devtools,screenshots.png,xtests}
|
|
||||||
|
|
||||||
%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
|
|
||||||
|
|
||||||
%package -n %{name}+git-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description -n %{name}+git-devel %{_description}
|
|
||||||
|
|
||||||
This package contains library source intended for building other packages
|
|
||||||
which use "git" feature of "%{crate}" crate.
|
|
||||||
|
|
||||||
%files -n %{name}+git-devel
|
|
||||||
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
||||||
|
|
||||||
%package -n %{name}+git2-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description -n %{name}+git2-devel %{_description}
|
|
||||||
|
|
||||||
This package contains library source intended for building other packages
|
|
||||||
which use "git2" feature of "%{crate}" crate.
|
|
||||||
|
|
||||||
%files -n %{name}+git2-devel
|
|
||||||
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
||||||
%cargo_prep
|
%cargo_prep
|
||||||
|
|
Loading…
Reference in New Issue