Hello community,

here is the log from the commit of package f3 for openSUSE:Factory checked in 
at 2018-02-06 16:48:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/f3 (Old)
 and      /work/SRC/openSUSE:Factory/.f3.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "f3"

Tue Feb  6 16:48:19 2018 rev:4 rq:572556 version:7.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/f3/f3.changes    2017-02-18 03:19:51.309944074 
+0100
+++ /work/SRC/openSUSE:Factory/.f3.new/f3.changes       2018-02-06 
16:48:53.816790479 +0100
@@ -1,0 +2,9 @@
+Sat Feb  3 17:52:09 UTC 2018 - avin...@opensuse.org
+
+- update to 7.0:
+  * stable version of f3probe, f3fix, and f3brew
+  * f3write: improved write speed and dealing with write failures
+- cleanup with spec-cleaner
+- add remove-ownership-setting.patch
+
+-------------------------------------------------------------------

Old:
----
  53772d3a99163c2ddc6910ace21c7a25707e6143.zip

New:
----
  f3-7.0.tar.gz
  remove-ownership-setting.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ f3.spec ++++++
--- /var/tmp/diff_new_pack.YgBBqJ/_old  2018-02-06 16:48:54.380764090 +0100
+++ /var/tmp/diff_new_pack.YgBBqJ/_new  2018-02-06 16:48:54.380764090 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package f3
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,16 +17,16 @@
 
 
 Name:           f3
-Version:        6.0_git_20170216
+Version:        7.0
 Release:        0
 Summary:        Fight Flash Fraud / Fight Fake Flash
 License:        GPL-3.0
 Group:          Hardware/Other
 Url:            http://oss.digirati.com.br/f3/
-Source:         
https://github.com/AltraMayor/f3/archive/53772d3a99163c2ddc6910ace21c7a25707e6143.zip
+Source:         
https://github.com/AltraMayor/f3/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Patch0:         remove-ownership-setting.patch
 BuildRequires:  libudev-devel
 BuildRequires:  parted-devel
-BuildRequires:  unzip
 
 %description
 This package contains tools for identifying fake flash drives (primarily USB
@@ -41,9 +41,17 @@
 the actual storage capacity of fake drives as safely as possible.
 
 %prep
-%setup -q -n %{name}-53772d3a99163c2ddc6910ace21c7a25707e6143
+%setup -q
+%patch0
 
 %build
+# workaround for libargp problem. see:
+# https://github.com/AltraMayor/f3/issues/34#issuecomment-168775122
+%if 0%{?sle_version} == 120300 && 0%{?is_opensuse} 
+export CFLAGS="%{optflags} -fgnu89-inline"
+%else
+export CFLAGS="%{optflags}"
+%endif
 make %{?_smp_mflags} all extra
 
 mkdir examples
@@ -51,27 +59,17 @@
 chmod a-x examples/*
 
 %install
-mkdir -p %{buildroot}%{_prefix}/bin
-install f3read f3write %{buildroot}%{_prefix}/bin
-
-mkdir -p %{buildroot}%{_prefix}/sbin
-install f3probe f3brew f3fix %{buildroot}%{_prefix}/sbin
-
-mkdir -p %{buildroot}%{_mandir}/man1/
-install -m 0644 f3read.1 %{buildroot}%{_mandir}/man1/
-ln -sf f3read.1 %{buildroot}%{_mandir}/man1/f3write.1
-
-ls -l %{buildroot}%{_mandir}/man1
+%make_install PREFIX=%{_prefix} install-extra
+# 
 
 %files
-%defattr(-,root,root)
-%doc changelog README.md LICENSE examples
+%doc changelog README.rst LICENSE examples
 %{_bindir}/f3read
 %{_bindir}/f3write
 %{_sbindir}/f3probe
 %{_sbindir}/f3brew
 %{_sbindir}/f3fix
-%{_mandir}/man1/f3read.1.gz
-%{_mandir}/man1/f3write.1.gz
+%{_mandir}/man1/f3read.1%{ext_man}
+%{_mandir}/man1/f3write.1%{ext_man}
 
 %changelog

++++++ remove-ownership-setting.patch ++++++
--- Makefile.orig       2018-02-03 12:43:51.592917550 -0500
+++ Makefile    2018-02-03 12:44:05.592548082 -0500
@@ -13,14 +13,14 @@
 
 install: all
        $(INSTALL) -d $(DESTDIR)$(PREFIX)/bin
-       $(INSTALL) -oroot -groot -m755 $(TARGETS) $(DESTDIR)$(PREFIX)/bin
+       $(INSTALL) -m755 $(TARGETS) $(DESTDIR)$(PREFIX)/bin
        $(INSTALL) -d $(DESTDIR)$(PREFIX)/share/man/man1
-       $(INSTALL) -oroot -groot -m644 f3read.1 
$(DESTDIR)$(PREFIX)/share/man/man1
+       $(INSTALL) -m644 f3read.1 $(DESTDIR)$(PREFIX)/share/man/man1
        $(LN) -sf f3read.1 $(DESTDIR)$(PREFIX)/share/man/man1/f3write.1
 
 install-extra: extra
-       $(INSTALL) -d $(DESTDIR)$(PREFIX)/bin
-       $(INSTALL) -oroot -groot -m755 $(EXTRA_TARGETS) $(DESTDIR)$(PREFIX)/bin
+       $(INSTALL) -d $(DESTDIR)$(PREFIX)/sbin
+       $(INSTALL) -m755 $(EXTRA_TARGETS) $(DESTDIR)$(PREFIX)/sbin
 
 f3write: utils.o f3write.o
        $(CC) -o $@ $^ $(LDFLAGS) -lm

Reply via email to