#2 Update qrencode to 4.0.2
Closed 2 months ago by vascom. Opened 2 months ago by vascom.
rpms/ vascom/qrencode master  into  master

file modified
+14 -13

@@ -1,6 +1,6 @@ 

  Name:           qrencode

- Version:        3.4.4

- Release:        8%{?dist}

+ Version:        4.0.2

+ Release:        1%{?dist}

  Summary:        Generate QR 2D barcodes

  

  License:        LGPLv2+

@@ -37,46 +37,47 @@ 

  

  

  %prep

- %setup -q

+ %autosetup

  

  

  %build

  ## Rebuild configure scripts for ARM 64 support. (RHBZ 926414)

  autoconf

  %configure --with-tests

- make %{?_smp_mflags}

+ %make_build

  

  

  %install

- make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"

- rm -rf $RPM_BUILD_ROOT%{_libdir}/libqrencode.la

- chrpath --delete $RPM_BUILD_ROOT%{_bindir}/qrencode

+ %make_install INSTALL="install -p"

+ rm -rf %{buildroot}%{_libdir}/libqrencode.la

+ chrpath --delete %{buildroot}%{_bindir}/qrencode

  

  

  %check

  cd ./tests

  sh test_all.sh

  

- %ldconfig_scriptlets libs

- 

  

  %files

- %{_bindir}/qrencode

- %{_mandir}/man1/qrencode.1*

+ %{_bindir}/%name

+ %{_mandir}/man1/%{name}.1*

  

  %files libs

- %{!?_licensedir:%global license %%doc}

  %license COPYING

  %doc ChangeLog NEWS README TODO

  %{_libdir}/libqrencode.so.*

  

  %files devel

- %{_includedir}/qrencode.h

+ %{_includedir}/%{name}.h

  %{_libdir}/libqrencode.so

  %{_libdir}/pkgconfig/libqrencode.pc

  

  

  %changelog

+ * Tue Jun 25 2019 Vasiliy N. Glazov <vascom2@gmail.com> - 4.0.2-1

+ - Update to 4.0.2

+ - Clean spec

+ 

  * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.4-8

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

  

May be it's time to update qrencode to latest version?
At least for rawhide because it has bump soname version and need to rebuild dependent packages.

Also I am upgrade spec to latest packaging guidelines.

I'll use your patch as a base, but I dont want to apply it directly because of the overuse of name macros, eg:
+ %{_bindir}/%name
+ %{_mandir}/man1/%{name}.1*

There is no good reason to do this. This parts are not "re-usable" parts where using a macro buys you anything

OK
I see the update caused some problems, but everything was well resolved.

Pull-Request has been closed by vascom

2 months ago