Hello community,

here is the log from the commit of package libsmdev for openSUSE:Factory 
checked in at 2014-08-21 17:24:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libsmdev (Old)
 and      /work/SRC/openSUSE:Factory/.libsmdev.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libsmdev"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libsmdev/libsmdev.changes        2014-08-14 
14:58:30.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libsmdev.new/libsmdev.changes   2014-08-21 
17:25:00.000000000 +0200
@@ -1,0 +2,9 @@
+Wed Aug 20 17:50:08 UTC 2014 - [email protected]
+
+- ran spec-cleaner
+- added BuildRequires for libcnotify and libcthreads to use the external 
package
+- add %doc lines to all sub-packages
+- add provides pysmdev to python sub-package to match upstream requires 
statemens
+- add "Requires:  %lname = %version" to python section.  Fixes a bug found in 
testing.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libsmdev.spec ++++++
--- /var/tmp/diff_new_pack.gDxozd/_old  2014-08-21 17:25:01.000000000 +0200
+++ /var/tmp/diff_new_pack.gDxozd/_new  2014-08-21 17:25:01.000000000 +0200
@@ -16,48 +16,52 @@
 #
 
 
-Name:           libsmdev
 %define lname  libsmdev1
 %define timestamp 20140803
-Version:        0~%timestamp
+Name:           libsmdev
+Version:        0~%{timestamp}
 Release:        0
 Summary:        Library to access storage media devices
 License:        LGPL-3.0+
 Group:          Productivity/File utilities
 Url:            http://code.google.com/p/libsmdev/
-
 #Git-Clone:    http://code.google.com/p/libsmdev
 #DL-URL:       
https://googledrive.com/host/0B3fBvzttpiiSNEJFQ1FqanFYVUU/libsmdev-alpha-20140803.tar.gz
-Source:         %name-alpha-%timestamp.tar.gz
+Source:         %{name}-alpha-%{timestamp}.tar.gz
 BuildRequires:  pkg-config
 BuildRequires:  python-devel
-#use factory packages if available
 %if 0%{?suse_version} > 1230
 BuildRequires:  pkgconfig(libcdata) >= 20120425
-BuildRequires:  pkgconfig(libcerror) >= 20120425
 BuildRequires:  pkgconfig(libcfile) >= 20130609
 BuildRequires:  pkgconfig(libclocale) >= 20130609
+BuildRequires:  pkgconfig(libcnotify) >= 20130609
 BuildRequires:  pkgconfig(libuna) >= 20120425
 %endif
+%if 0%{?suse_version} > 1310
+BuildRequires:  pkgconfig(libcthreads) >= 20130723
+%endif
+#Use internal packages for these.  The factory version fails if used here.  
Tested 8-20-2014
+#BuildRequires:  pkgconfig(libcerror) >= 20120425
 # not (yet) in factory, use internal version
 #BuildRequires:  pkgconfig(libcstring) >= 20120425
 #BuildRequires:  pkgconfig(libcsystem) >= 20120425
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+#use factory packages if available
 
 %description
 libsmdev is a library to access and read storage media devices.
 
-%package -n %lname
+%package -n %{lname}
 Summary:        Library to access storage media devices
 Group:          System/Libraries
 
-%description -n %lname
+%description -n %{lname}
 libsmdev is a library to access and read storage media devices.
 
 %package devel
 Summary:        Development files for libsmdev, a storage media access library
 Group:          Development/Libraries/C and C++
-Requires:       %lname = %version
+Requires:       %{lname} = %{version}
 
 %description devel
 libsmdev is a library to access and read storage media devices.
@@ -74,47 +78,53 @@
 can access and read storage media devices and will determine
 information about such.
 
-%package -n python-%name
+%package -n python-%{name}
 Summary:        Python bindings for libsmdev
 Group:          Development/Libraries/Python
+Requires:       %{lname} = %{version}
 Requires:       python
+Provides:       pysmdev = %{version}
 
-%description -n python-%name
+%description -n python-%{name}
 Python bindings for libsmdev, which is a library to access and read storage 
media devices.
 
 %prep
-%setup -qn libsmdev-%timestamp
+%setup -q -n libsmdev-%{timestamp}
 
 %build
 %configure --disable-static --enable-wide-character-type --enable-python
 make %{?_smp_mflags}
 
 %install
-make install DESTDIR="%buildroot"
-find "%buildroot" -name "*.la" -delete
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
+find %{buildroot} -type f -name "*.la" -delete -print
+
+%post   -n %{lname} -p /sbin/ldconfig
 
-%post   -n %lname -p /sbin/ldconfig
-%postun -n %lname -p /sbin/ldconfig
+%postun -n %{lname} -p /sbin/ldconfig
 
-%files -n %lname
+%files -n %{lname}
 %defattr(-,root,root)
 %doc AUTHORS COPYING ChangeLog
-%_libdir/libsmdev.so.1*
+%{_libdir}/libsmdev.so.1*
 
 %files devel
 %defattr(-,root,root)
-%_includedir/libsmdev*
-%_libdir/libsmdev.so
-%_libdir/pkgconfig/libsmdev.pc
-%_mandir/man3/libsmdev.3*
+%doc AUTHORS COPYING ChangeLog
+%{_includedir}/libsmdev*
+%{_libdir}/libsmdev.so
+%{_libdir}/pkgconfig/libsmdev.pc
+%{_mandir}/man3/libsmdev.3*
 
 %files tools
 %defattr(-,root,root)
-%_bindir/smdevinfo
-%_mandir/man1/smdevinfo.1*
+%doc AUTHORS COPYING ChangeLog
+%{_bindir}/smdevinfo
+%{_mandir}/man1/smdevinfo.1*
 
-%files -n python-%name
+%files -n python-%{name}
 %defattr(-,root,root)
-%python_sitearch/pysmdev.so
+%doc AUTHORS COPYING ChangeLog
+%{python_sitearch}/pysmdev.so
 
 %changelog

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to