+* Tue Sep 03 2013 Patrick McCarty <patrick.mccarty@linux.intel.com> e784b51
+- Remove extra, unneeded documentation from /usr/share/doc/snapper
+- Use %license macro to install the license file from the build
+ directory, not the buildroot
+- Fix RPM group tags
+
* Thu Aug 01 2013 William Douglas <william.douglas@intel.com> upstream/0.1.5@c470b69
- update to v1.5.0
Supplements: btrfs-progs
Summary: Tool for filesystem snapshot management
License: GPL-2.0
-Group: System/Packages
+Group: System/Utilities
Url: http://en.opensuse.org/Portal:Snapper
%description
Requires: zypp-plugin-python
Requires: libzypp(plugin:commit)
Summary: A zypp commit plugin for calling snapper
-Group: System/Packages
+Group: System/Utilities
%description -n snapper-zypp-plugin
This package contains a plugin for zypp that makes filesystem snapshots with
Requires: libstdc++-devel
Requires: libxml2-devel
Summary: Header files and documentation for libsnapper
-Group: Development/Languages/C and C++
+Group: System/Development
%description -n libsnapper-devel
This package contains header files and documentation for developing with
export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
-%reconfigure --docdir=%{_prefix}/share/doc/packages/snapper --disable-ext4 --disable-silent-rules --disable-pam
+%reconfigure --disable-ext4 --disable-silent-rules --disable-pam
make %{?jobs:-j%jobs}
%install
%install_service multi-user.target.wants snapper-hourly.timer
%install_service multi-user.target.wants snapper-daily.timer
+rm -rf %{buildroot}%{_datadir}/doc/snapper
+
%{find_lang} snapper
%post -n libsnapper -p /sbin/ldconfig
%files
%manifest %{name}.manifest
%defattr(-,root,root)
+%license COPYING
%{_prefix}/bin/snapper
%{_prefix}/sbin/snapperd
%{_prefix}/sbin/snapper-hourly
%files -n libsnapper
%manifest %{name}.manifest
%defattr(-,root,root)
+%license COPYING
%{_libdir}/libsnapper.so.*
%dir %{_sysconfdir}/snapper
%dir %{_sysconfdir}/snapper/configs
%config(noreplace) %{_sysconfdir}/snapper/config-templates/default
%dir %{_sysconfdir}/snapper/filters
%config(noreplace) %{_sysconfdir}/snapper/filters/*.txt
-%doc %dir %{_prefix}/share/doc/packages/snapper
-%doc %{_prefix}/share/doc/packages/snapper/AUTHORS
-%license %{_prefix}/share/doc/packages/snapper/COPYING
%config(noreplace) %{_sysconfdir}/sysconfig/snapper
%files -n libsnapper-devel