summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2013-05-06 13:26:57 +0300
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2013-05-06 13:35:17 +0300
commitc5f4c18f1674ee0f41162490258e17671f21b5d8 (patch)
treeb7d14c592375914a9b91f0a6af34c20cc3503e2e
parent0da191c13301bd9127ad8b6e0a19476b7d53ec41 (diff)
downloadxdelta1-c5f4c18f1674ee0f41162490258e17671f21b5d8.tar.gz
xdelta1-c5f4c18f1674ee0f41162490258e17671f21b5d8.tar.bz2
xdelta1-c5f4c18f1674ee0f41162490258e17671f21b5d8.zip
Also, add a changelog. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rw-r--r--packaging/xdelta.changes4
-rw-r--r--packaging/xdelta.spec8
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}/*/*