SHA256
1
0
forked from pool/fdupes

Accepting request 446737 from home:psimons:branches:utilities

We cannot update from fdupes 1.51 to 1.6.1. That "downgrade"
works okay'ish for Tumbleweed because we can replace the old
package with the new one, but in SLE this is not possible. We
asked upstream to please release a "2.0" version to remedy these
issues (https://github.com/adrianlopezroche/fdupes/issues/74),
but he does not respond. Therefore, we'll call this version 1.61,
ignoring upstreams change in the versioning scheme.

OBS-URL: https://build.opensuse.org/request/show/446737
OBS-URL: https://build.opensuse.org/package/show/utilities/fdupes?expand=0&rev=17
This commit is contained in:
Tomáš Chvátal 2016-12-16 22:59:40 +00:00 committed by Git OBS Bridge
parent b16c1e06da
commit 77b43b5fa8
2 changed files with 18 additions and 7 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Dec 16 12:40:20 UTC 2016 - psimons@suse.com
- We cannot update from fdupes 1.51 to 1.6.1. That "downgrade"
works okay'ish for Tumbleweed because we can replace the old
package with the new one, but in SLE this is not possible. We
asked upstream to please release a "2.0" version to remedy these
issues (https://github.com/adrianlopezroche/fdupes/issues/74),
but he does not respond. Therefore, we'll call this version 1.61,
ignoring upstreams change in the versioning scheme.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 5 13:54:08 UTC 2016 - psimons@suse.com Mon Dec 5 13:54:08 UTC 2016 - psimons@suse.com

View File

@ -15,22 +15,22 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# Upstream calls this version 1.6.1, but that version number is *lower* than
# previously released ones, like 1.51, so we mangle the number to keep
# continuity: https://github.com/adrianlopezroche/fdupes/issues/74.
%global upstream_version 1.6.1
Name: fdupes Name: fdupes
Version: 1.6.1 Version: 1.61
Release: 0 Release: 0
Summary: Identifying or deleting duplicate files Summary: Identifying or deleting duplicate files
License: MIT License: MIT
Group: Productivity/Archiving/Compression Group: Productivity/Archiving/Compression
Url: https://github.com/adrianlopezroche/fdupes Url: https://github.com/adrianlopezroche/fdupes
Source0: https://github.com/adrianlopezroche/fdupes/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source0: https://github.com/adrianlopezroche/fdupes/archive/v%{upstream_version}.tar.gz#/%{name}-%{upstream_version}.tar.gz
Source1: macros.fdupes Source1: macros.fdupes
#PATCH-FIX-SUSE: fix patch according distro's needs #PATCH-FIX-SUSE: fix patch according distro's needs
Patch0: fdupes-makefile.patch Patch0: fdupes-makefile.patch
# Upstream changed their versioning scheme after 1.51 in a way that zypper
# won't recognize as an update without help.
Provides: %{name} = 1.51.%{version}
Obsoletes: %{name} < 1.51.%{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -38,7 +38,7 @@ FDUPES is a program for identifying or deleting duplicate files
residing within specified directories. residing within specified directories.
%prep %prep
%setup -q %setup -q -n %{name}-%{upstream_version}
%patch0 %patch0
%build %build