Date: Wed Nov 14 2012 Bryn M. Reeves bmr@redhat.com
+- Update spec file for 0.04 release
+
+Date: Wed Nov 14 2012 Bryn M. Reeves bmr@redhat.com
+- Add mpath-parent to Makefile and fix strings
+
+Date: Wed Nov 14 2012 Bryn M. Reeves bmr@redhat.com
+- Add ChangeLog to version control
+
+Date: Wed Nov 14 2012 Bryn M. Reeves bmr@redhat.com
+- Add mkchangelog.sh script
+
+Date: Wed Nov 14 2012 Bryn M. Reeves bmr@redhat.com
+- Add Makefile
+
+Date: Wed Nov 14 2012 Bryn M. Reeves bmr@redhat.com
- Drop git hash from version and bump to 0.04
Date: Wed Nov 14 2012 Bryn M. Reeves bmr@redhat.com
Group: System Environment/Base
License: GPL
-Source0: blkdevalias-%{version}.tar.gz
+Source0: blkdevalias-%{version}.tar.bz2
Requires: bash udev util-linux coreutils
%build
-true
+make
%install
-rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT/sbin
-cp blkdevalias $RPM_BUILD_ROOT/sbin/blkdevalias
-chmod ugo+x $RPM_BUILD_ROOT/sbin/blkdevalias
-cp mpath-parent $RPM_BUILD_ROOT/sbin/mpath-parent
-chmod ugo+x $RPM_BUILD_ROOT/sbin/mpath-parent
-mkdir -p $RPM_BUILD_ROOT/etc/blkdevalias
-cp conf $RPM_BUILD_ROOT/etc/blkdevalias
-cp map $RPM_BUILD_ROOT/etc/blkdevalias/map
-mkdir -p $RPM_BUILD_ROOT/etc/udev/rules.d
-cp 99-blkdevalias.rules $RPM_BUILD_ROOT/etc/udev/rules.d
-mkdir -p $RPM_BUILD_ROOT/usr/share/doc/blkdevalias-%{version}-%{release}
-cp README $RPM_BUILD_ROOT/usr/share/doc/blkdevalias-%{version}-%{release}
-cp COPYING $RPM_BUILD_ROOT/usr/share/doc/blkdevalias-%{version}-%{release}
+make ROOT=$RPM_BUILD_ROOT mandir=%{_mandir} install
%files
%defattr(-,root,root)
%config /etc/udev/rules.d/99-blkdevalias.rules
/sbin/blkdevalias
/sbin/mpath-parent
-%doc /usr/share/doc/blkdevalias-%{version}-%{release}/README
-%doc /usr/share/doc/blkdevalias-%{version}-%{release}/COPYING
+%doc ChangeLog README COPYING
%changelog
+* Wed Nov 14 2012 Bryn M. Reeves bmr@redhat.com [0.04]
+- Add mkchangelog.sh script
+- Add Makefile
+- Drop git hash from version and bump to 0.04
+- Prefix logging functions with '_'
+- Add GPL license header to blkdevalias
+- Change {nick,}name to alias in all comments and messages
+- Handle empty lines in map file
+
+* Thu Nov 8 2012 Bryn M. Reeves bmr@redhat.com
+- Specfile fixes
+- Truncate default map file to zero entries
+- Fix typo (missing ' ') in querydisk output
+
+* Thu Nov 1 2012 Bryn M. Reeves bmr@redhat.com
+- Allow abbreviated commands
+- Install mpath-parent in rpm spec file
+
* Wed Oct 31 2012 Bryn M. Reeves <bmr@redhat.com>
- Rename wwidmap -> blkdevalias
- Add empty map file template to version control