rpmspec: s/srcname/name/g

This commit is contained in:
nick black 2020-04-11 12:25:22 -04:00
parent 5008f3513f
commit 4a56b7935f
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -37,13 +37,13 @@ Requires: %{name}-devel = %{version}-%{release}
%description static %description static
A statically-linked version of the notcurses library. A statically-linked version of the notcurses library.
%package -n python3-%{srcname} %package -n python3-%{name}
Summary: Python wrappers for notcurses Summary: Python wrappers for notcurses
License: ASL 2.0 License: ASL 2.0
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
%{?python_provide:%python_provide python3-%{srcname}} %{?python_provide:%python_provide python3-%{name}}
%description -n python3-%{srcname} %description -n python3-%{name}
Python wrappers and a demonstration script for the notcurses library. Python wrappers and a demonstration script for the notcurses library.
%prep %prep
@ -94,7 +94,7 @@ Python wrappers and a demonstration script for the notcurses library.
%{_libdir}/libnotcurses.a %{_libdir}/libnotcurses.a
%{_libdir}/libnotcurses++.a %{_libdir}/libnotcurses++.a
%files -n python3-%{srcname} %files -n python3-%{name}
%{_bindir}/notcurses-pydemo %{_bindir}/notcurses-pydemo
%{_mandir}/man1/notcurses-pydemo.1* %{_mandir}/man1/notcurses-pydemo.1*
%{python3_sitelib}/*egg-info/ %{python3_sitelib}/*egg-info/