diff options
-rw-r--r-- | packaging/xdelta.changes | 4 | ||||
-rw-r--r-- | packaging/xdelta.spec | 8 |
2 files changed, 9 insertions, 3 deletions
diff --git a/packaging/xdelta.changes b/packaging/xdelta.changes new file mode 100644 index 0000000..8334974 --- /dev/null +++ b/packaging/xdelta.changes @@ -0,0 +1,4 @@ +* Mon May 06 2013 Markus Lehtonen <markus.lehtonen@linux.intel.com> 1.1.4 +- Renamed to xdelta1 +- Initial version, imported from Fedora 13 + diff --git a/packaging/xdelta.spec b/packaging/xdelta.spec index 57c1aae..b1862db 100644 --- a/packaging/xdelta.spec +++ b/packaging/xdelta.spec @@ -1,5 +1,5 @@ Summary: A binary file delta generator and an RCS replacement library -Name: xdelta +Name: xdelta1 Version: 1.1.4 Release: 0 License: GPLv2 @@ -27,7 +27,7 @@ The Xdelta-devel package contains the shared library and header files needed for developing Xdelta-based applications %prep -%setup -q +%setup -q -n xdelta-%{version} for all in `find . -type f -perm -001 | grep '.*[ch]$'`; do chmod -x "$all" @@ -48,6 +48,8 @@ rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT%{_libdir}/*.la +mv $RPM_BUILD_ROOT%{_bindir}/xdelta $RPM_BUILD_ROOT%{_bindir}/xdelta1 +mv $RPM_BUILD_ROOT%{_mandir}/man1/xdelta.1 $RPM_BUILD_ROOT%{_mandir}/man1/xdelta1.1 %post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -58,7 +60,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc NEWS README xdelta.magic COPYING -%{_bindir}/xdelta +%{_bindir}/xdelta1 %{_libdir}/lib*.so.* %{_mandir}/*/* |