Use %find_lang

This commit is contained in:
Matthias Clasen 2009-06-12 03:04:38 +00:00
parent 318a85ec60
commit 9cd47e43f4

View File

@ -6,7 +6,7 @@
%endif
Name: avahi
Version: 0.6.25
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Local network service discovery
Group: System Environment/Base
License: LGPLv2
@ -338,6 +338,8 @@ ln -s avahi-compat-libdns_sd/dns_sd.h $RPM_BUILD_ROOT/%{_includedir}/
#
:;
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
@ -411,7 +413,7 @@ fi
%post gobject -p /sbin/ldconfig
%postun gobject -p /sbin/ldconfig
%files
%files -f %{name}.lang
%defattr(0644,root,root,0755)
%doc docs/* avahi-daemon/example.service avahi-daemon/sftp-ssh.service
%attr(0755,root,root) %{_sysconfdir}/rc.d/init.d/avahi-daemon
@ -429,7 +431,6 @@ fi
%attr(0755,root,root) %{_libdir}/libavahi-core.so.*
%attr(0755,root,root) %{_libdir}/libavahi-client.so.*
%{_datadir}/avahi
%{_datadir}/locale/*
%{_libdir}/avahi
%exclude %{_datadir}/avahi/interfaces
%{_mandir}/man5/*
@ -571,6 +572,9 @@ fi
%endif
%changelog
* Thu Jun 11 2009 Matthias Clasen <mclasen@redhat.com> - 0.6.25-4
- Use %%find_lang
* Tue May 26 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 0.6.25-3
- Create avahi-ui-sharp-devel package for pkgconfig dep-chain (#477308).