From 9249b1e723659a061cd295f45fd95f9884a85912 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 14 Feb 2013 20:28:01 -0600 Subject: [PATCH 01/27] - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild --- unison213.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unison213.spec b/unison213.spec index 233afae..2340215 100644 --- a/unison213.spec +++ b/unison213.spec @@ -23,7 +23,7 @@ Name: unison%{ver_compat_name} Version: %{ver_compat}%{ver_noncompat} -Release: 20%{?dist} +Release: 21%{?dist} Summary: Multi-master File synchronization tool @@ -132,6 +132,9 @@ exit 0 %{_datadir}/pixmaps/unison-%{ver_compat}.png %changelog +* Fri Feb 15 2013 Fedora Release Engineering - 2.13.16-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + * Fri Dec 14 2012 Richard W.M. Jones - 2.13.16-20 - Rebuild for OCaml 4.00.1. From bc2d6d0a47d514be5d9c956e33c6db48c19d660f Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Sat, 23 Feb 2013 15:09:20 -0800 Subject: [PATCH 02/27] Remove --vendor from desktop-file-install https://fedorahosted.org/fesco/ticket/1077 --- unison213.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/unison213.spec b/unison213.spec index 2340215..2bd6d7f 100644 --- a/unison213.spec +++ b/unison213.spec @@ -23,7 +23,7 @@ Name: unison%{ver_compat_name} Version: %{ver_compat}%{ver_noncompat} -Release: 21%{?dist} +Release: 22%{?dist} Summary: Multi-master File synchronization tool @@ -94,7 +94,10 @@ Encoding=UTF-8 StartupNotify=true EOF -desktop-file-install --vendor fedora \ +desktop-file-install \ +%if (0%{?fedora} && 0%{?fedora} < 19) || (0%{?rhel} && 0%{?rhel} < 7) + --vendor fedora \ +%endif --add-category Application \ --add-category Utility \ --dir %{buildroot}%{_datadir}/applications \ @@ -128,10 +131,13 @@ exit 0 %defattr(0644,root,root,0755) %doc COPYING NEWS README %attr(0755, root, root) %{_bindir}/unison-%{ver_compat} -%{_datadir}/applications/fedora-unison-%{ver_compat}.desktop +%{_datadir}/applications/*unison-%{ver_compat}.desktop %{_datadir}/pixmaps/unison-%{ver_compat}.png %changelog +* Sat Feb 23 2013 Toshio Kuratomi - 2.13.16-22 +- Remove --vendor from desktop-file-install https://fedorahosted.org/fesco/ticket/1077 + * Fri Feb 15 2013 Fedora Release Engineering - 2.13.16-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild From fd669eb2e7be8f806ced87ddeb4045b3d0bbd533 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sun, 4 Aug 2013 00:36:03 -0500 Subject: [PATCH 03/27] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- unison213.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unison213.spec b/unison213.spec index 2bd6d7f..3d74d66 100644 --- a/unison213.spec +++ b/unison213.spec @@ -23,7 +23,7 @@ Name: unison%{ver_compat_name} Version: %{ver_compat}%{ver_noncompat} -Release: 22%{?dist} +Release: 23%{?dist} Summary: Multi-master File synchronization tool @@ -135,6 +135,9 @@ exit 0 %{_datadir}/pixmaps/unison-%{ver_compat}.png %changelog +* Sun Aug 04 2013 Fedora Release Engineering - 2.13.16-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + * Sat Feb 23 2013 Toshio Kuratomi - 2.13.16-22 - Remove --vendor from desktop-file-install https://fedorahosted.org/fesco/ticket/1077 From 07d5912a47412f9601061d0c9bf118d0a1b87e14 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 7 Jun 2014 21:50:36 -0500 Subject: [PATCH 04/27] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- unison213.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unison213.spec b/unison213.spec index 3d74d66..f7dbfed 100644 --- a/unison213.spec +++ b/unison213.spec @@ -23,7 +23,7 @@ Name: unison%{ver_compat_name} Version: %{ver_compat}%{ver_noncompat} -Release: 23%{?dist} +Release: 24%{?dist} Summary: Multi-master File synchronization tool @@ -135,6 +135,9 @@ exit 0 %{_datadir}/pixmaps/unison-%{ver_compat}.png %changelog +* Sun Jun 08 2014 Fedora Release Engineering - 2.13.16-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Sun Aug 04 2013 Fedora Release Engineering - 2.13.16-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild From a8a27fe158f4071549b9e702e7699fec96e92d78 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Mon, 18 Aug 2014 06:59:47 +0000 Subject: [PATCH 05/27] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild --- unison213.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unison213.spec b/unison213.spec index f7dbfed..87a9000 100644 --- a/unison213.spec +++ b/unison213.spec @@ -23,7 +23,7 @@ Name: unison%{ver_compat_name} Version: %{ver_compat}%{ver_noncompat} -Release: 24%{?dist} +Release: 25%{?dist} Summary: Multi-master File synchronization tool @@ -135,6 +135,9 @@ exit 0 %{_datadir}/pixmaps/unison-%{ver_compat}.png %changelog +* Mon Aug 18 2014 Fedora Release Engineering - 2.13.16-25 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + * Sun Jun 08 2014 Fedora Release Engineering - 2.13.16-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild From 8479755b0075bb214cb9135bdd2ac98f13513809 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 19 Jun 2015 01:34:40 +0000 Subject: [PATCH 06/27] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- unison213.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unison213.spec b/unison213.spec index 87a9000..85bdcd5 100644 --- a/unison213.spec +++ b/unison213.spec @@ -23,7 +23,7 @@ Name: unison%{ver_compat_name} Version: %{ver_compat}%{ver_noncompat} -Release: 25%{?dist} +Release: 26%{?dist} Summary: Multi-master File synchronization tool @@ -135,6 +135,9 @@ exit 0 %{_datadir}/pixmaps/unison-%{ver_compat}.png %changelog +* Fri Jun 19 2015 Fedora Release Engineering - 2.13.16-26 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Mon Aug 18 2014 Fedora Release Engineering - 2.13.16-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild From 70b73116fbdbbf46adf71c22328ec55e252c9298 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 5 Jan 2016 17:15:56 +0000 Subject: [PATCH 07/27] Use global instead of define. --- unison213.spec | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/unison213.spec b/unison213.spec index 85bdcd5..038ee03 100644 --- a/unison213.spec +++ b/unison213.spec @@ -1,29 +1,29 @@ # These is the exact upstream version we are packaging -%define ver_maj 2 -%define ver_min 13 -%define ver_patch 16 +%global ver_maj 2 +%global ver_min 13 +%global ver_patch 16 # All Unison versions sharing ver_compat are compatible # Examples are 2.13.15 and 2.13.16 -> ver_compat == 2.13 # In older versions, even patch levels were not compatible # Examples are ver_compat==2.9.0 and ver_compat==2.9.1 -%define ver_compat %{ver_maj}.%{ver_min} -%define ver_compat_name %{ver_maj}%{ver_min} -%define ver_noncompat .%{ver_patch} +%global ver_compat %{ver_maj}.%{ver_min} +%global ver_compat_name %{ver_maj}%{ver_min} +%global ver_noncompat .%{ver_patch} # ver_priority is the first component of ver_compat, catenated with the second # component of ver_compat zero-filled to 3 digits, catenated with a final # zero-filled 3-digit field. The final field contains the 3rd component of # ver_compat (if there is one), otherwise 0. -%define ver_priority %(printf %%d%%03d%%03d `echo %{ver_compat}|sed 's/\\./ /g'`) +%global ver_priority %(printf %%d%%03d%%03d `echo %{ver_compat}|sed 's/\\./ /g'`) # Is this package the unisonNNN package with the highest ${ver_compat} # available in this Fedora branch/release? If so, we provide unison. -%define provide_unison 0 +%global provide_unison 0 Name: unison%{ver_compat_name} Version: %{ver_compat}%{ver_noncompat} -Release: 26%{?dist} +Release: 27%{?dist} Summary: Multi-master File synchronization tool @@ -135,6 +135,9 @@ exit 0 %{_datadir}/pixmaps/unison-%{ver_compat}.png %changelog +* Tue Jan 05 2016 Richard Jones - 2.13.16-27 +- Use global instead of define. + * Fri Jun 19 2015 Fedora Release Engineering - 2.13.16-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From 6b90f717c713b4a0b9609b91965fddf6c96d5dfc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 5 Feb 2016 02:22:13 +0000 Subject: [PATCH 08/27] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- unison213.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unison213.spec b/unison213.spec index 038ee03..cd15fa7 100644 --- a/unison213.spec +++ b/unison213.spec @@ -23,7 +23,7 @@ Name: unison%{ver_compat_name} Version: %{ver_compat}%{ver_noncompat} -Release: 27%{?dist} +Release: 28%{?dist} Summary: Multi-master File synchronization tool @@ -135,6 +135,9 @@ exit 0 %{_datadir}/pixmaps/unison-%{ver_compat}.png %changelog +* Fri Feb 05 2016 Fedora Release Engineering - 2.13.16-28 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Tue Jan 05 2016 Richard Jones - 2.13.16-27 - Use global instead of define. From ac698d6729a87bba5444f08184cc33b7044cb6df Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Sat, 5 Nov 2016 10:07:51 +0000 Subject: [PATCH 09/27] Rebuild for OCaml 4.04.0. --- unison213.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unison213.spec b/unison213.spec index cd15fa7..3edac5d 100644 --- a/unison213.spec +++ b/unison213.spec @@ -23,7 +23,7 @@ Name: unison%{ver_compat_name} Version: %{ver_compat}%{ver_noncompat} -Release: 28%{?dist} +Release: 29%{?dist} Summary: Multi-master File synchronization tool @@ -135,6 +135,9 @@ exit 0 %{_datadir}/pixmaps/unison-%{ver_compat}.png %changelog +* Sat Nov 05 2016 Richard W.M. Jones - 2.13.16-29 +- Rebuild for OCaml 4.04.0. + * Fri Feb 05 2016 Fedora Release Engineering - 2.13.16-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From 40a92c3cde1af700ab6e3855b28c107d1b93b56d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Wed, 9 Nov 2016 14:47:20 +0100 Subject: [PATCH 10/27] - remove ExcludeArch --- unison213.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/unison213.spec b/unison213.spec index 3edac5d..c4142d4 100644 --- a/unison213.spec +++ b/unison213.spec @@ -23,7 +23,7 @@ Name: unison%{ver_compat_name} Version: %{ver_compat}%{ver_noncompat} -Release: 29%{?dist} +Release: 30%{?dist} Summary: Multi-master File synchronization tool @@ -33,7 +33,6 @@ URL: http://www.cis.upenn.edu/~bcpierce/unison Source0: http://www.cis.upenn.edu/~bcpierce/unison/download/releases/unison-%{version}/unison-%{version}.tar.gz Source1: unison.png BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) -ExcludeArch: sparc64 s390 s390x # Fix for OCaml 3.12. Patch1: unison213-ocaml312.patch @@ -135,6 +134,9 @@ exit 0 %{_datadir}/pixmaps/unison-%{ver_compat}.png %changelog +* Wed Nov 09 2016 Dan Horák - 2.13.16-30 +- remove ExcludeArch + * Sat Nov 05 2016 Richard W.M. Jones - 2.13.16-29 - Rebuild for OCaml 4.04.0. From 3c9724e34c0cc8ab64065ef8dcfd085cdf38441a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 11 Feb 2017 16:44:42 +0000 Subject: [PATCH 11/27] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- unison213.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unison213.spec b/unison213.spec index c4142d4..d781618 100644 --- a/unison213.spec +++ b/unison213.spec @@ -23,7 +23,7 @@ Name: unison%{ver_compat_name} Version: %{ver_compat}%{ver_noncompat} -Release: 30%{?dist} +Release: 31%{?dist} Summary: Multi-master File synchronization tool @@ -134,6 +134,9 @@ exit 0 %{_datadir}/pixmaps/unison-%{ver_compat}.png %changelog +* Sat Feb 11 2017 Fedora Release Engineering - 2.13.16-31 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Wed Nov 09 2016 Dan Horák - 2.13.16-30 - remove ExcludeArch From 9e51d991cdda915f06424576c6240c69d73b0983 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 27 Jul 2017 21:00:22 +0000 Subject: [PATCH 12/27] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- unison213.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unison213.spec b/unison213.spec index d781618..f7d8f65 100644 --- a/unison213.spec +++ b/unison213.spec @@ -23,7 +23,7 @@ Name: unison%{ver_compat_name} Version: %{ver_compat}%{ver_noncompat} -Release: 31%{?dist} +Release: 32%{?dist} Summary: Multi-master File synchronization tool @@ -134,6 +134,9 @@ exit 0 %{_datadir}/pixmaps/unison-%{ver_compat}.png %changelog +* Thu Jul 27 2017 Fedora Release Engineering - 2.13.16-32 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Sat Feb 11 2017 Fedora Release Engineering - 2.13.16-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From 612d7c7644c7c38b48fb7668a67280944314b2cd Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 3 Aug 2017 09:48:17 +0000 Subject: [PATCH 13/27] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild --- unison213.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unison213.spec b/unison213.spec index f7d8f65..6f2dc82 100644 --- a/unison213.spec +++ b/unison213.spec @@ -23,7 +23,7 @@ Name: unison%{ver_compat_name} Version: %{ver_compat}%{ver_noncompat} -Release: 32%{?dist} +Release: 33%{?dist} Summary: Multi-master File synchronization tool @@ -134,6 +134,9 @@ exit 0 %{_datadir}/pixmaps/unison-%{ver_compat}.png %changelog +* Thu Aug 03 2017 Fedora Release Engineering - 2.13.16-33 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + * Thu Jul 27 2017 Fedora Release Engineering - 2.13.16-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From 594d98e2c6afbc4009068bac13d7b3535b83f061 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 9 Feb 2018 20:02:25 +0000 Subject: [PATCH 14/27] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- unison213.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unison213.spec b/unison213.spec index 6f2dc82..33a13d6 100644 --- a/unison213.spec +++ b/unison213.spec @@ -23,7 +23,7 @@ Name: unison%{ver_compat_name} Version: %{ver_compat}%{ver_noncompat} -Release: 33%{?dist} +Release: 34%{?dist} Summary: Multi-master File synchronization tool @@ -134,6 +134,9 @@ exit 0 %{_datadir}/pixmaps/unison-%{ver_compat}.png %changelog +* Fri Feb 09 2018 Fedora Release Engineering - 2.13.16-34 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Thu Aug 03 2017 Fedora Release Engineering - 2.13.16-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild From 079359d9a9f9b81c967d96caefddc8409a159381 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 14 Feb 2018 00:46:39 +0100 Subject: [PATCH 15/27] Remove BuildRoot definition None of currently supported distributions need that. It was needed last for EL5 which is EOL now Signed-off-by: Igor Gnatenko --- unison213.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/unison213.spec b/unison213.spec index 33a13d6..a9f7b48 100644 --- a/unison213.spec +++ b/unison213.spec @@ -32,7 +32,6 @@ License: GPL+ URL: http://www.cis.upenn.edu/~bcpierce/unison Source0: http://www.cis.upenn.edu/~bcpierce/unison/download/releases/unison-%{version}/unison-%{version}.tar.gz Source1: unison.png -BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) # Fix for OCaml 3.12. Patch1: unison213-ocaml312.patch From 9942c9a9f34dde63805e2e0f4d8bd099cd46f7da Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 14 Feb 2018 07:42:09 +0100 Subject: [PATCH 16/27] Remove %clean section None of currently supported distributions need that. Last one was EL5 which is EOL for a while. Signed-off-by: Igor Gnatenko --- unison213.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/unison213.spec b/unison213.spec index a9f7b48..f285634 100644 --- a/unison213.spec +++ b/unison213.spec @@ -101,9 +101,6 @@ desktop-file-install \ --dir %{buildroot}%{_datadir}/applications \ unison-%{ver_compat}.desktop -%clean -rm -rf %{buildroot} - %posttrans alternatives \ --install \ From 60ec40cf84184da348e969cf8ac5b56707d79c77 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 31 May 2018 09:52:35 +0100 Subject: [PATCH 17/27] Use unsafe-strings with OCaml 4.06. Small hack to keep it working with new lablgtk. Fix date in changelog. Enable debugging. --- unison213-gtk.patch | 12 ++++++++++++ unison213.spec | 15 ++++++++++++--- 2 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 unison213-gtk.patch diff --git a/unison213-gtk.patch b/unison213-gtk.patch new file mode 100644 index 0000000..1b2c038 --- /dev/null +++ b/unison213-gtk.patch @@ -0,0 +1,12 @@ +diff -ur unison-2.13.16.old/uigtk2.ml unison-2.13.16/uigtk2.ml +--- unison-2.13.16.old/uigtk2.ml 2005-06-02 16:59:21.000000000 +0100 ++++ unison-2.13.16/uigtk2.ml 2018-05-31 09:48:38.682263959 +0100 +@@ -82,7 +82,7 @@ + let icon = + let p = GdkPixbuf.create ~width:48 ~height:48 ~has_alpha:true () in + Gpointer.blit +- (Gpointer.region_of_string Pixmaps.icon_data) (GdkPixbuf.get_pixels p); ++ (Gpointer.region_of_bytes Pixmaps.icon_data) (GdkPixbuf.get_pixels p); + p + + (********************************************************************* diff --git a/unison213.spec b/unison213.spec index f285634..cbd9316 100644 --- a/unison213.spec +++ b/unison213.spec @@ -23,7 +23,7 @@ Name: unison%{ver_compat_name} Version: %{ver_compat}%{ver_noncompat} -Release: 34%{?dist} +Release: 35%{?dist} Summary: Multi-master File synchronization tool @@ -35,6 +35,8 @@ Source1: unison.png # Fix for OCaml 3.12. Patch1: unison213-ocaml312.patch +# Small hack to get it working with newer lablgtk. +Patch2: unison213-gtk.patch BuildRequires: ocaml >= 3.10.2-2 BuildRequires: ocaml-lablgtk-devel >= 2.6.0 @@ -68,9 +70,10 @@ exist if you require a different major version. %prep %setup -q -n unison-%{version} %patch1 -p1 +%patch2 -p1 %build -make NATIVE=true UISTYLE=gtk2 +make NATIVE=true UISTYLE=gtk2 OCAMLOPT="ocamlopt -unsafe-string -g" %install rm -rf %{buildroot} @@ -130,6 +133,12 @@ exit 0 %{_datadir}/pixmaps/unison-%{ver_compat}.png %changelog +* Thu May 31 2018 Richard W.M. Jones - 2.13.16-35 +- Use unsafe-strings with OCaml 4.06. +- Small hack to keep it working with new lablgtk. +- Fix date in changelog. +- Enable debugging. + * Fri Feb 09 2018 Fedora Release Engineering - 2.13.16-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild @@ -252,7 +261,7 @@ exit 0 * Mon May 16 2005 Gerard Milmeister - 2.10.2-5 - Patch: http://groups.yahoo.com/group/unison-users/message/3200 -* Fri Apr 7 2005 Michael Schwendt +* Fri Apr 8 2005 Michael Schwendt - rebuilt * Thu Feb 24 2005 Michael Schwendt - 0:2.10.2-2 From aeaabe2fe3812a059166395da16ecbe36993e8cd Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Tue, 10 Jul 2018 01:42:24 -0500 Subject: [PATCH 18/27] Remove needless use of %defattr --- unison213.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/unison213.spec b/unison213.spec index cbd9316..677571c 100644 --- a/unison213.spec +++ b/unison213.spec @@ -126,7 +126,6 @@ fi exit 0 %files -%defattr(0644,root,root,0755) %doc COPYING NEWS README %attr(0755, root, root) %{_bindir}/unison-%{ver_compat} %{_datadir}/applications/*unison-%{ver_compat}.desktop From 39b67b11adb84d05e01452d579ee94191892bcb9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 14 Jul 2018 08:15:01 +0000 Subject: [PATCH 19/27] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- unison213.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unison213.spec b/unison213.spec index 677571c..e2ad73d 100644 --- a/unison213.spec +++ b/unison213.spec @@ -23,7 +23,7 @@ Name: unison%{ver_compat_name} Version: %{ver_compat}%{ver_noncompat} -Release: 35%{?dist} +Release: 36%{?dist} Summary: Multi-master File synchronization tool @@ -132,6 +132,9 @@ exit 0 %{_datadir}/pixmaps/unison-%{ver_compat}.png %changelog +* Sat Jul 14 2018 Fedora Release Engineering - 2.13.16-36 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Thu May 31 2018 Richard W.M. Jones - 2.13.16-35 - Use unsafe-strings with OCaml 4.06. - Small hack to keep it working with new lablgtk. From 18779e12f927197929d5b684f19cfa2eb39302a2 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:18:29 +0100 Subject: [PATCH 20/27] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- unison213.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/unison213.spec b/unison213.spec index e2ad73d..0575091 100644 --- a/unison213.spec +++ b/unison213.spec @@ -27,7 +27,6 @@ Release: 36%{?dist} Summary: Multi-master File synchronization tool -Group: Applications/File License: GPL+ URL: http://www.cis.upenn.edu/~bcpierce/unison Source0: http://www.cis.upenn.edu/~bcpierce/unison/download/releases/unison-%{version}/unison-%{version}.tar.gz From 6a00416066fd8a3dfd0c6e0a10e2db835ce87a16 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 3 Feb 2019 10:49:44 +0000 Subject: [PATCH 21/27] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- unison213.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unison213.spec b/unison213.spec index 0575091..448c2bf 100644 --- a/unison213.spec +++ b/unison213.spec @@ -23,7 +23,7 @@ Name: unison%{ver_compat_name} Version: %{ver_compat}%{ver_noncompat} -Release: 36%{?dist} +Release: 37%{?dist} Summary: Multi-master File synchronization tool @@ -131,6 +131,9 @@ exit 0 %{_datadir}/pixmaps/unison-%{ver_compat}.png %changelog +* Sun Feb 03 2019 Fedora Release Engineering - 2.13.16-37 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sat Jul 14 2018 Fedora Release Engineering - 2.13.16-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From 8f9358145435a335d39d638900e005b1a51eca57 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jul 2019 02:30:55 +0000 Subject: [PATCH 22/27] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- unison213.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unison213.spec b/unison213.spec index 448c2bf..5c0e72e 100644 --- a/unison213.spec +++ b/unison213.spec @@ -23,7 +23,7 @@ Name: unison%{ver_compat_name} Version: %{ver_compat}%{ver_noncompat} -Release: 37%{?dist} +Release: 38%{?dist} Summary: Multi-master File synchronization tool @@ -131,6 +131,9 @@ exit 0 %{_datadir}/pixmaps/unison-%{ver_compat}.png %changelog +* Sat Jul 27 2019 Fedora Release Engineering - 2.13.16-38 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sun Feb 03 2019 Fedora Release Engineering - 2.13.16-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 83456a76cd77823d71597bae496189431772900d Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Sun, 28 Jul 2019 10:41:31 +0100 Subject: [PATCH 23/27] Various small fixes for OCaml 4.08. --- unison213-ocaml408.patch | 86 ++++++++++++++++++++++++++++++++++++++++ unison213.spec | 3 ++ 2 files changed, 89 insertions(+) create mode 100644 unison213-ocaml408.patch diff --git a/unison213-ocaml408.patch b/unison213-ocaml408.patch new file mode 100644 index 0000000..5e0c7bf --- /dev/null +++ b/unison213-ocaml408.patch @@ -0,0 +1,86 @@ +diff -ur unison-2.13.16.old/files.ml unison-2.13.16/files.ml +--- unison-2.13.16.old/files.ml 2005-06-28 16:20:02.000000000 +0100 ++++ unison-2.13.16/files.ml 2019-07-28 10:31:37.893630874 +0100 +@@ -546,7 +546,7 @@ + with End_of_file -> + Unix.closedir dirh + end; +- Sort.list (<) !files ++ List.sort compare !files + + let ls dir pattern = + Util.convertUnixErrorsToTransient +diff -ur unison-2.13.16.old/Makefile.OCaml unison-2.13.16/Makefile.OCaml +--- unison-2.13.16.old/Makefile.OCaml 2005-06-27 18:38:25.000000000 +0100 ++++ unison-2.13.16/Makefile.OCaml 2019-07-28 10:40:10.726521640 +0100 +@@ -106,11 +106,7 @@ + else + EXEC_EXT= + # openpty is in the libutil library +- ifneq ($(OSARCH),solaris) +- ifneq ($(OSARCH),osx) +- CLIBS+=-cclib -lutil +- endif +- endif ++ CLIBS+=-cclib -lutil + buildexecutable:: + @echo Building for Unix + endif +@@ -330,7 +326,7 @@ + + $(NAME)$(EXEC_EXT): $(CAMLOBJS) $(COBJS) + @echo Linking $@ +- $(CAMLC) -verbose $(CAMLFLAGS) -o $@ $(CFLAGS) $(CAMLLIBS) $(CLIBS) $^ ++ $(CAMLC) -verbose $(CAMLFLAGS) -o $@ $(CFLAGS) $(CAMLLIBS) $^ $(CLIBS) + + # Unfortunately -output-obj does not put .o files into the output, only .cmx + # files, so we have to use $(LD) to take care of COBJS. +diff -ur unison-2.13.16.old/pty.c unison-2.13.16/pty.c +--- unison-2.13.16.old/pty.c 2005-05-30 13:15:43.000000000 +0100 ++++ unison-2.13.16/pty.c 2019-07-28 10:33:49.185238442 +0100 +@@ -27,6 +27,7 @@ + + #ifdef HAS_OPENPTY + ++#include + #include + #include + +diff -ur unison-2.13.16.old/recon.ml unison-2.13.16/recon.ml +--- unison-2.13.16.old/recon.ml 2005-06-28 16:20:02.000000000 +0100 ++++ unison-2.13.16/recon.ml 2019-07-28 10:31:47.725676372 +0100 +@@ -388,8 +388,8 @@ + + (* Sorts the paths so that they will be displayed in order *) + let sortPaths pathUpdatesList = +- Sort.list +- (fun (p1, _) (p2, _) -> Path.compare p1 p2 <= 0) ++ List.sort ++ (fun (p1, _) (p2, _) -> Path.compare p1 p2) + pathUpdatesList + + let rec enterPath p t = +diff -ur unison-2.13.16.old/uicommon.ml unison-2.13.16/uicommon.ml +--- unison-2.13.16.old/uicommon.ml 2005-06-02 16:59:21.000000000 +0100 ++++ unison-2.13.16/uicommon.ml 2019-07-28 10:32:41.735926297 +0100 +@@ -292,7 +292,7 @@ + | c -> + buf.[!pos] <- c; pos := !pos + 1 + done; +- "{" ^ String.sub buf 0 !pos ^ "}" ++ "{" ^ Bytes.to_string (Bytes.sub buf 0 !pos) ^ "}" + + let ignorePath path = "Path " ^ quote (Path.toString path) + +diff -ur unison-2.13.16.old/uigtk2.ml unison-2.13.16/uigtk2.ml +--- unison-2.13.16.old/uigtk2.ml 2019-07-28 10:27:04.295009100 +0100 ++++ unison-2.13.16/uigtk2.ml 2019-07-28 10:33:09.816056231 +0100 +@@ -82,7 +82,7 @@ + let icon = + let p = GdkPixbuf.create ~width:48 ~height:48 ~has_alpha:true () in + Gpointer.blit +- (Gpointer.region_of_bytes Pixmaps.icon_data) (GdkPixbuf.get_pixels p); ++ (Gpointer.region_of_bytes (Bytes.of_string Pixmaps.icon_data)) (GdkPixbuf.get_pixels p); + p + + (********************************************************************* diff --git a/unison213.spec b/unison213.spec index 5c0e72e..1585100 100644 --- a/unison213.spec +++ b/unison213.spec @@ -36,6 +36,8 @@ Source1: unison.png Patch1: unison213-ocaml312.patch # Small hack to get it working with newer lablgtk. Patch2: unison213-gtk.patch +# Various changes for OCaml 4.08. +Patch3: unison213-ocaml408.patch BuildRequires: ocaml >= 3.10.2-2 BuildRequires: ocaml-lablgtk-devel >= 2.6.0 @@ -70,6 +72,7 @@ exist if you require a different major version. %setup -q -n unison-%{version} %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build make NATIVE=true UISTYLE=gtk2 OCAMLOPT="ocamlopt -unsafe-string -g" From a42b55d30191842003feaa208f57a64e9303a621 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 31 Jan 2020 02:37:00 +0000 Subject: [PATCH 24/27] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- unison213.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unison213.spec b/unison213.spec index 1585100..24a509b 100644 --- a/unison213.spec +++ b/unison213.spec @@ -23,7 +23,7 @@ Name: unison%{ver_compat_name} Version: %{ver_compat}%{ver_noncompat} -Release: 38%{?dist} +Release: 39%{?dist} Summary: Multi-master File synchronization tool @@ -134,6 +134,9 @@ exit 0 %{_datadir}/pixmaps/unison-%{ver_compat}.png %changelog +* Fri Jan 31 2020 Fedora Release Engineering - 2.13.16-39 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Sat Jul 27 2019 Fedora Release Engineering - 2.13.16-38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From aa4bd3401e31ca7dcc11d2aa6107738cbbae7310 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 13:18:22 +0000 Subject: [PATCH 25/27] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- unison213.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unison213.spec b/unison213.spec index 24a509b..fb92028 100644 --- a/unison213.spec +++ b/unison213.spec @@ -23,7 +23,7 @@ Name: unison%{ver_compat_name} Version: %{ver_compat}%{ver_noncompat} -Release: 39%{?dist} +Release: 40%{?dist} Summary: Multi-master File synchronization tool @@ -134,6 +134,9 @@ exit 0 %{_datadir}/pixmaps/unison-%{ver_compat}.png %changelog +* Wed Jul 29 2020 Fedora Release Engineering - 2.13.16-40 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Fri Jan 31 2020 Fedora Release Engineering - 2.13.16-39 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From e44b01db0d276141450b5fa23b20d93155436cc3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 1 Aug 2020 09:32:55 +0000 Subject: [PATCH 26/27] - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- unison213.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/unison213.spec b/unison213.spec index fb92028..c97a89b 100644 --- a/unison213.spec +++ b/unison213.spec @@ -23,7 +23,7 @@ Name: unison%{ver_compat_name} Version: %{ver_compat}%{ver_noncompat} -Release: 40%{?dist} +Release: 41%{?dist} Summary: Multi-master File synchronization tool @@ -134,6 +134,10 @@ exit 0 %{_datadir}/pixmaps/unison-%{ver_compat}.png %changelog +* Sat Aug 01 2020 Fedora Release Engineering - 2.13.16-41 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Wed Jul 29 2020 Fedora Release Engineering - 2.13.16-40 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From e30d9429ce282b4bdca6ea70ace89e7a4bba90b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 11 Sep 2020 00:16:23 +0200 Subject: [PATCH 27/27] Orphaned for 6+ weeks --- .gitignore | 1 - dead.package | 1 + sources | 1 - unison.png | Bin 976 -> 0 bytes unison213-gtk.patch | 12 -- unison213-ocaml312.patch | 11 -- unison213-ocaml408.patch | 86 ----------- unison213.spec | 306 --------------------------------------- 8 files changed, 1 insertion(+), 417 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 sources delete mode 100644 unison.png delete mode 100644 unison213-gtk.patch delete mode 100644 unison213-ocaml312.patch delete mode 100644 unison213-ocaml408.patch delete mode 100644 unison213.spec diff --git a/.gitignore b/.gitignore deleted file mode 100644 index b049034..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -unison-2.13.16.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/sources b/sources deleted file mode 100644 index bef788b..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -a79bf5f4ebf2a1eaf15b1ac97f827374 unison-2.13.16.tar.gz diff --git a/unison.png b/unison.png deleted file mode 100644 index 22c623930119be892817fa99535048a7f586af22..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 976 zcmW-fU1-j66vw~Mylpcq^VYPQD6P&iDKI{!cY#R!t}_F9tB7zOFV4 zAkD9E6o8xE`9YxIWaHZAmBI1|i_i#(08j4W7OvqE4mQohEKI{B47{rzYM~k`q2N>T z5DU=|2|*wN90%pSO3NT~xTC zf7{Hemo=~J@-1>^N^ea|M{8gC>@klIZ|V5Z6g_qM)xB$r$1VD|ZZNg9ecX-drC;-9 z4^sE%KPzfZU%J+ss;GXtdR-dVE1wl*CY_vh`AFG})IiewQ&iH~S~&ON=5)`O-0p&k z^KDZzFUNM|Dl13IJG - Unix.closedir dirh - end; -- Sort.list (<) !files -+ List.sort compare !files - - let ls dir pattern = - Util.convertUnixErrorsToTransient -diff -ur unison-2.13.16.old/Makefile.OCaml unison-2.13.16/Makefile.OCaml ---- unison-2.13.16.old/Makefile.OCaml 2005-06-27 18:38:25.000000000 +0100 -+++ unison-2.13.16/Makefile.OCaml 2019-07-28 10:40:10.726521640 +0100 -@@ -106,11 +106,7 @@ - else - EXEC_EXT= - # openpty is in the libutil library -- ifneq ($(OSARCH),solaris) -- ifneq ($(OSARCH),osx) -- CLIBS+=-cclib -lutil -- endif -- endif -+ CLIBS+=-cclib -lutil - buildexecutable:: - @echo Building for Unix - endif -@@ -330,7 +326,7 @@ - - $(NAME)$(EXEC_EXT): $(CAMLOBJS) $(COBJS) - @echo Linking $@ -- $(CAMLC) -verbose $(CAMLFLAGS) -o $@ $(CFLAGS) $(CAMLLIBS) $(CLIBS) $^ -+ $(CAMLC) -verbose $(CAMLFLAGS) -o $@ $(CFLAGS) $(CAMLLIBS) $^ $(CLIBS) - - # Unfortunately -output-obj does not put .o files into the output, only .cmx - # files, so we have to use $(LD) to take care of COBJS. -diff -ur unison-2.13.16.old/pty.c unison-2.13.16/pty.c ---- unison-2.13.16.old/pty.c 2005-05-30 13:15:43.000000000 +0100 -+++ unison-2.13.16/pty.c 2019-07-28 10:33:49.185238442 +0100 -@@ -27,6 +27,7 @@ - - #ifdef HAS_OPENPTY - -+#include - #include - #include - -diff -ur unison-2.13.16.old/recon.ml unison-2.13.16/recon.ml ---- unison-2.13.16.old/recon.ml 2005-06-28 16:20:02.000000000 +0100 -+++ unison-2.13.16/recon.ml 2019-07-28 10:31:47.725676372 +0100 -@@ -388,8 +388,8 @@ - - (* Sorts the paths so that they will be displayed in order *) - let sortPaths pathUpdatesList = -- Sort.list -- (fun (p1, _) (p2, _) -> Path.compare p1 p2 <= 0) -+ List.sort -+ (fun (p1, _) (p2, _) -> Path.compare p1 p2) - pathUpdatesList - - let rec enterPath p t = -diff -ur unison-2.13.16.old/uicommon.ml unison-2.13.16/uicommon.ml ---- unison-2.13.16.old/uicommon.ml 2005-06-02 16:59:21.000000000 +0100 -+++ unison-2.13.16/uicommon.ml 2019-07-28 10:32:41.735926297 +0100 -@@ -292,7 +292,7 @@ - | c -> - buf.[!pos] <- c; pos := !pos + 1 - done; -- "{" ^ String.sub buf 0 !pos ^ "}" -+ "{" ^ Bytes.to_string (Bytes.sub buf 0 !pos) ^ "}" - - let ignorePath path = "Path " ^ quote (Path.toString path) - -diff -ur unison-2.13.16.old/uigtk2.ml unison-2.13.16/uigtk2.ml ---- unison-2.13.16.old/uigtk2.ml 2019-07-28 10:27:04.295009100 +0100 -+++ unison-2.13.16/uigtk2.ml 2019-07-28 10:33:09.816056231 +0100 -@@ -82,7 +82,7 @@ - let icon = - let p = GdkPixbuf.create ~width:48 ~height:48 ~has_alpha:true () in - Gpointer.blit -- (Gpointer.region_of_bytes Pixmaps.icon_data) (GdkPixbuf.get_pixels p); -+ (Gpointer.region_of_bytes (Bytes.of_string Pixmaps.icon_data)) (GdkPixbuf.get_pixels p); - p - - (********************************************************************* diff --git a/unison213.spec b/unison213.spec deleted file mode 100644 index c97a89b..0000000 --- a/unison213.spec +++ /dev/null @@ -1,306 +0,0 @@ -# These is the exact upstream version we are packaging -%global ver_maj 2 -%global ver_min 13 -%global ver_patch 16 - -# All Unison versions sharing ver_compat are compatible -# Examples are 2.13.15 and 2.13.16 -> ver_compat == 2.13 -# In older versions, even patch levels were not compatible -# Examples are ver_compat==2.9.0 and ver_compat==2.9.1 -%global ver_compat %{ver_maj}.%{ver_min} -%global ver_compat_name %{ver_maj}%{ver_min} -%global ver_noncompat .%{ver_patch} - -# ver_priority is the first component of ver_compat, catenated with the second -# component of ver_compat zero-filled to 3 digits, catenated with a final -# zero-filled 3-digit field. The final field contains the 3rd component of -# ver_compat (if there is one), otherwise 0. -%global ver_priority %(printf %%d%%03d%%03d `echo %{ver_compat}|sed 's/\\./ /g'`) - -# Is this package the unisonNNN package with the highest ${ver_compat} -# available in this Fedora branch/release? If so, we provide unison. -%global provide_unison 0 - -Name: unison%{ver_compat_name} -Version: %{ver_compat}%{ver_noncompat} -Release: 41%{?dist} - -Summary: Multi-master File synchronization tool - -License: GPL+ -URL: http://www.cis.upenn.edu/~bcpierce/unison -Source0: http://www.cis.upenn.edu/~bcpierce/unison/download/releases/unison-%{version}/unison-%{version}.tar.gz -Source1: unison.png - -# Fix for OCaml 3.12. -Patch1: unison213-ocaml312.patch -# Small hack to get it working with newer lablgtk. -Patch2: unison213-gtk.patch -# Various changes for OCaml 4.08. -Patch3: unison213-ocaml408.patch - -BuildRequires: ocaml >= 3.10.2-2 -BuildRequires: ocaml-lablgtk-devel >= 2.6.0 -BuildRequires: tetex-latex -BuildRequires: desktop-file-utils -# for lablgtk -BuildRequires: gtk2-devel - -Requires: xorg-x11-fonts-misc -Requires(posttrans): %{_sbindir}/alternatives -Requires(postun): %{_sbindir}/alternatives - -# Enforce the switch from unison to unisonN.NN -Obsoletes: unison < 2.27.57-3 -# Let users just install "unison" if they want -%if 0%{?provide_unison} -Provides: unison = %{version}-%{release} -%endif - -%description -Unison is a multi-master file-synchronization tool. It allows two -replicas of a collection of files and directories to be stored on -different hosts (or different locations on the same host), modified -separately, and then brought up to date by propagating the changes -in each replica to the other. - -Note that this package contains Unison version %{ver_compat}, and -will never be upgraded to a different major version. Other packages -exist if you require a different major version. - -%prep -%setup -q -n unison-%{version} -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 - -%build -make NATIVE=true UISTYLE=gtk2 OCAMLOPT="ocamlopt -unsafe-string -g" - -%install -rm -rf %{buildroot} -mkdir -p %{buildroot}%{_bindir} -cp -f unison %{buildroot}%{_bindir}/unison-%{ver_compat} -mkdir -p %{buildroot}%{_datadir}/pixmaps -cp -f %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/unison-%{ver_compat}.png - -cat > unison-%{ver_compat}.desktop < - 2.13.16-41 -- Second attempt - Rebuilt for - https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Wed Jul 29 2020 Fedora Release Engineering - 2.13.16-40 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Fri Jan 31 2020 Fedora Release Engineering - 2.13.16-39 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Sat Jul 27 2019 Fedora Release Engineering - 2.13.16-38 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Sun Feb 03 2019 Fedora Release Engineering - 2.13.16-37 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Sat Jul 14 2018 Fedora Release Engineering - 2.13.16-36 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Thu May 31 2018 Richard W.M. Jones - 2.13.16-35 -- Use unsafe-strings with OCaml 4.06. -- Small hack to keep it working with new lablgtk. -- Fix date in changelog. -- Enable debugging. - -* Fri Feb 09 2018 Fedora Release Engineering - 2.13.16-34 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Aug 03 2017 Fedora Release Engineering - 2.13.16-33 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 2.13.16-32 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Feb 11 2017 Fedora Release Engineering - 2.13.16-31 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Wed Nov 09 2016 Dan Horák - 2.13.16-30 -- remove ExcludeArch - -* Sat Nov 05 2016 Richard W.M. Jones - 2.13.16-29 -- Rebuild for OCaml 4.04.0. - -* Fri Feb 05 2016 Fedora Release Engineering - 2.13.16-28 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Tue Jan 05 2016 Richard Jones - 2.13.16-27 -- Use global instead of define. - -* Fri Jun 19 2015 Fedora Release Engineering - 2.13.16-26 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Mon Aug 18 2014 Fedora Release Engineering - 2.13.16-25 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Sun Jun 08 2014 Fedora Release Engineering - 2.13.16-24 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Sun Aug 04 2013 Fedora Release Engineering - 2.13.16-23 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Sat Feb 23 2013 Toshio Kuratomi - 2.13.16-22 -- Remove --vendor from desktop-file-install https://fedorahosted.org/fesco/ticket/1077 - -* Fri Feb 15 2013 Fedora Release Engineering - 2.13.16-21 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Fri Dec 14 2012 Richard W.M. Jones - 2.13.16-20 -- Rebuild for OCaml 4.00.1. - -* Sun Jul 22 2012 Fedora Release Engineering - 2.13.16-19 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Mon Jan 16 2012 Richard W.M. Jones - 2.13.16-18 -- Include fix for OCaml 3.12. - -* Sat Jan 14 2012 Fedora Release Engineering - 2.13.16-17 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Mon Feb 07 2011 Fedora Release Engineering - 2.13.16-16 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Sun Jul 26 2009 Fedora Release Engineering - 2.13.16-15 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Thu Apr 16 2009 S390x secondary arch maintainer -- ExcludeArch sparc64, s390, s390x as we don't have OCaml on those archs - (added sparc64 per request from the sparc maintainer) - -* Wed Feb 25 2009 Fedora Release Engineering - 2.13.16-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Thu Jan 8 2009 Stephen Warren - 2.13.16-13 -- Add Requires: xorg-x11-fonts-misc - -* Wed Nov 26 2008 Richard W.M. Jones - 2.13.16-12 -- Rebuild for OCaml 3.11.0+rc1. - -* Mon May 26 2008 Stephen Warren - 2.13.16-11 -- Rebuild with OCaml 3.10.2-2 (fixes bz 441685, 445545). - -* Sun Mar 30 2008 Stephen Warren - 2.13.16-10 -- Don't use alternatives for desktop and icon files, to avoid duplicate - menu entries. - -* Wed Mar 19 2008 Stephen Warren - 2.13.16-9 -- Fix license to match correct interpretation of source & GPL -- Remove Excludes for ppc64, since ocaml is available there now, in devel - -* Sat Mar 15 2008 Stephen Warren - 2.13.16-8 -- Rename package unison2.13 -> unison213 to match Fedora naming rules -- Automatically calculate ver_priority using the shell; easier maintenance - -* Sat Mar 1 2008 Stephen Warren - 2.13.16-7 -- Use Provides/Obsoletes to provide upgrade path, per: - http://fedoraproject.org/wiki/Packaging/NamingGuidelines - -* Thu Feb 28 2008 Stephen Warren - 2.13.16-6 -- Explicitly conflict with existing unison package - -* Fri Feb 22 2008 Stephen Warren - 2.13.16-5 -- Use alternatives to provide /usr/bin/unison, and other cleanups - -* Thu Feb 21 2008 Stephen Warren - 2.13.16-4 -- Create 2.13 compatibility package - -* Tue Aug 29 2006 Gerard Milmeister - 2.13.16-3 -- Rebuild for FE6 - -* Tue Feb 28 2006 Gerard Milmeister - 2.13.16-2 -- Rebuild for Fedora Extras 5 - -* Thu Sep 1 2005 Gerard Milmeister - 2.13.16-1 -- New Version 2.13.16 - -* Sun Jul 31 2005 Gerard Milmeister - 2.12.0-0 -- New Version 2.12.0 - -* Fri May 27 2005 Toshio Kuratomi - 2.10.2-7 -- Bump and rebuild with new ocaml and new lablgtk - -* Sun May 22 2005 Jeremy Katz - 2.10.2-6 -- rebuild on all arches - -* Mon May 16 2005 Gerard Milmeister - 2.10.2-5 -- Patch: http://groups.yahoo.com/group/unison-users/message/3200 - -* Fri Apr 8 2005 Michael Schwendt -- rebuilt - -* Thu Feb 24 2005 Michael Schwendt - 0:2.10.2-2 -- BR gtk2-devel -- Added NEWS and README docs - -* Sat Feb 12 2005 Gerard Milmeister - 0:2.10.2-1 -- New Version 2.10.2 - -* Wed Apr 28 2004 Gerard Milmeister - 0:2.9.74-0.fdr.1 -- New Version 2.9.74 -- Added icon - -* Tue Jan 13 2004 Gerard Milmeister - 0:2.9.72-0.fdr.1 -- New Version 2.9.72 - -* Tue Dec 9 2003 Gerard Milmeister - 0:2.9.70-0.fdr.2 -- Changed Summary -- Added .desktop file - -* Fri Oct 31 2003 Gerard Milmeister - 0:2.9.70-0.fdr.1 -- First Fedora release