- added license text to subpackages
- fixes #609931 - quagga : does not adhere to Static Library Packaging Guidelines
This commit is contained in:
parent
a3a6f10c2b
commit
8327935190
19
quagga.spec
19
quagga.spec
@ -32,7 +32,7 @@
|
|||||||
Summary: Routing daemon
|
Summary: Routing daemon
|
||||||
Name: quagga
|
Name: quagga
|
||||||
Version: 0.99.16
|
Version: 0.99.16
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Source0: http://www.quagga.net/download/%{name}-%{version}.tar.gz
|
Source0: http://www.quagga.net/download/%{name}-%{version}.tar.gz
|
||||||
@ -91,7 +91,7 @@ Contributed/3rd party tools which may be of use with quagga.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Header and object files for quagga development
|
Summary: Header and object files for quagga development
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Provides: %{name}-static = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The quagga-devel package contains the header and object files necessary for
|
The quagga-devel package contains the header and object files necessary for
|
||||||
@ -198,6 +198,9 @@ install -m644 %{zeb_rh_src}/quagga.pam $RPM_BUILD_ROOT/etc/pam.d/quagga
|
|||||||
install -m644 %{zeb_rh_src}/quagga.logrotate $RPM_BUILD_ROOT/etc/logrotate.d/quagga
|
install -m644 %{zeb_rh_src}/quagga.logrotate $RPM_BUILD_ROOT/etc/logrotate.d/quagga
|
||||||
install -d -m770 $RPM_BUILD_ROOT/var/run/quagga
|
install -d -m770 $RPM_BUILD_ROOT/var/run/quagga
|
||||||
|
|
||||||
|
rm $RPM_BUILD_ROOT%{_libdir}/*.a
|
||||||
|
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
# add vty_group
|
# add vty_group
|
||||||
%if %vty_group
|
%if %vty_group
|
||||||
@ -332,7 +335,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%endif
|
%endif
|
||||||
%dir %{_libdir}
|
%dir %{_libdir}
|
||||||
%{_libdir}/*.so*
|
%{_libdir}/*.so.*
|
||||||
# noreplace not used due to smaple conf files
|
# noreplace not used due to smaple conf files
|
||||||
%config /etc/quagga/[!v]*
|
%config /etc/quagga/[!v]*
|
||||||
%attr(755,root,root) /etc/rc.d/init.d/*
|
%attr(755,root,root) /etc/rc.d/init.d/*
|
||||||
@ -345,13 +348,13 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files contrib
|
%files contrib
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc %attr(0644,root,root) tools
|
%doc AUTHORS COPYING %attr(0644,root,root) tools
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%doc AUTHORS COPYING
|
||||||
%dir %{_libdir}
|
%dir %{_libdir}
|
||||||
%{_libdir}/*.a
|
%{_libdir}/*.so
|
||||||
%{_libdir}/*.la
|
|
||||||
%dir %{_includedir}/quagga
|
%dir %{_includedir}/quagga
|
||||||
%{_includedir}/quagga/*.h
|
%{_includedir}/quagga/*.h
|
||||||
%dir %{_includedir}/quagga/ospfd
|
%dir %{_includedir}/quagga/ospfd
|
||||||
@ -362,6 +365,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 12 2010 Jiri Skala <jskala@redhat.com> - 0.99.16-4
|
||||||
|
- added license text to subpackages
|
||||||
|
- fixes #609931 - quagga : does not adhere to Static Library Packaging Guidelines
|
||||||
|
|
||||||
* Thu Jul 01 2010 Jiri Skala <jskala@redhat.com> - 0.99.16-3
|
* Thu Jul 01 2010 Jiri Skala <jskala@redhat.com> - 0.99.16-3
|
||||||
- fixes #609616 - does not adhere to Static Library Packaging Guidelines
|
- fixes #609616 - does not adhere to Static Library Packaging Guidelines
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user