rpms/libusb1/devel libusb1.spec,1.11,1.12

Jindrich Novy jnovy at fedoraproject.org
Fri Jan 22 09:28:10 UTC 2010


Author: jnovy

Update of /cvs/pkgs/rpms/libusb1/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26056

Modified Files:
	libusb1.spec 
Log Message:
* Fri Jan 22 2010 Jindrich Novy <jnovy at redhat.com> 1.0.6-2
- put all doxygen and other docs to separate noarch subpackage to avoid
  multiarch conflicts (#507980)



Index: libusb1.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libusb1/devel/libusb1.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -p -r1.11 -r1.12
--- libusb1.spec	2 Dec 2009 18:45:19 -0000	1.11
+++ libusb1.spec	22 Jan 2010 09:28:09 -0000	1.12
@@ -1,7 +1,7 @@
 Summary: A library which allows userspace access to USB devices
 Name: libusb1
 Version: 1.0.6
-Release: 1%{?dist}
+Release: 2%{?dist}
 Source0: http://downloads.sourceforge.net/libusb/libusb-%{version}.tar.bz2
 License: LGPLv2+
 Group: System Environment/Libraries
@@ -18,11 +18,22 @@ this library is not compatible with the 
 Summary: Development files for libusb
 Group: Development/Libraries
 Requires: %{name} = %{version}-%{release}
+Requires: %{name}-devel-doc = %{version}-%{release}
 Requires: pkgconfig
 
 %description devel
-This package contains the header files, libraries  and documentation needed to
-develop applications that use libusb1.
+This package contains the header files and libraries needed to develop
+applications that use libusb1.
+
+%package devel-doc
+Summary: Development files for libusb
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+BuildArch: noarch
+
+%description devel-doc
+This package contains documentation needed to develop applications that
+use libusb1.
 
 %package static
 Summary: Static development files for libusb
@@ -61,16 +72,23 @@ rm -rf $RPM_BUILD_ROOT
 
 %files devel
 %defattr(-,root,root)
-%doc doc/html examples/*.c
 %{_libdir}/pkgconfig/libusb-1.0.pc
 %{_includedir}/*
 %{_libdir}/*.so
 
+%files devel-doc
+%defattr(-,root,root)
+%doc doc/html examples/*.c
+
 %files static
 %defattr(-,root,root)
 %{_libdir}/*.a
 
 %changelog
+* Fri Jan 22 2010 Jindrich Novy <jnovy at redhat.com> 1.0.6-2
+- put all doxygen and other docs to separate noarch subpackage to avoid
+  multiarch conflicts (#507980)
+
 * Wed Dec 02 2009 Jindrich Novy <jnovy at redhat.com> 1.0.6-1
 - update to 1.0.6
 



More information about the scm-commits mailing list