forked from pool/libconfuse
Fixup lang package, hopefully
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libconfuse?expand=0&rev=6
This commit is contained in:
parent
2531842a19
commit
8bf9db9b2c
@ -63,7 +63,7 @@ statements.
|
||||
|
||||
This package holds the development files for libconfuse.
|
||||
|
||||
%lang_package -n %{library_name}
|
||||
%lang_package -r %{library_name} -n %{name}
|
||||
|
||||
%prep
|
||||
%setup -q -n confuse-%{version}
|
||||
@ -75,9 +75,11 @@ make %{?_smp_mflags}
|
||||
%install
|
||||
%make_install
|
||||
rm -rf %{buildroot}%{_datadir}/doc
|
||||
|
||||
%find_lang confuse
|
||||
install -Dd %{buildroot}%{_mandir}
|
||||
cp -Rv doc/man/man3/ %{buildroot}%{_mandir}
|
||||
|
||||
# clean up unneeded files
|
||||
make -C examples clean
|
||||
rm -rf examples/.deps/ examples/Makefile*
|
||||
@ -98,6 +100,6 @@ rm %{buildroot}%{_libdir}/libconfuse.la
|
||||
%{_includedir}/confuse.h
|
||||
%{_mandir}/man3/*.3%{?ext_man}
|
||||
|
||||
%files -n %{library_name}-lang -f confuse.lang
|
||||
%files -n %{name}-lang -f confuse.lang
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user