https://bugzilla.redhat.com/show_bug.cgi?id=1775667



--- Comment #5 from Karel Volný <[email protected]> ---
oh my ... I must be overworked, I've missed so many things :-/

thanks

I've updated the spec in place, without versioning as this is WIP:
https://kvolny.fedorapeople.org/vpl.spec

the srpm name changed due to the Release change:
https://kvolny.fedorapeople.org/vpl-1.3.0-1.20191119git4e1aba67c831.fc31.src.rpm

changes:

--- vpl.spec~   2019-11-22 12:35:00.000000000 +0100
+++ vpl.spec    2019-12-17 12:14:12.108375590 +0100
@@ -1,13 +1,15 @@
+%global commit 4e1aba67c8313b83b0e10eb1397242422e63c1d3
+%global gittag HEAD
+%global shortcommit %(c=%{commit}; echo ${c:0:12})
+
 Name:    vpl
 Version: 1.3.0
-Release: 20191119git4e1aba67c831r1%{?dist}
+Release: 1.20191119git%{shortcommit}%{?dist}
 Summary: Voxel Processing Library
+URL:     https://bitbucket.org/3dimlab/vpl

 License: BSD

-%global commit 4e1aba67c8313b83b0e10eb1397242422e63c1d3
-%global gittag HEAD
-%global shortcommit %(c=%{commit}; echo ${c:0:12})
 # wget
https://bitbucket.org/3dimlab/vpl/get/4e1aba67c8313b83b0e10eb1397242422e63c1d3.tar.gz
 # mv 4e1aba67c8313b83b0e10eb1397242422e63c1d3.tar.gz vpl-4e1aba67c831.tar.gz
 Source0:
https://bitbucket.org/3dimlab/%{name}/get/%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz
@@ -47,6 +49,7 @@
 %prep
 %autosetup -n 3dimlab-%{name}-%{shortcommit} -p1
 rm CMakeModules/FindTinyXML.cmake
+sed -i -e "s|\r||g" README.md

 %build
 if [[ %{_lib} == "lib64" ]]; then
@@ -61,12 +64,13 @@

 %files
 %{_libdir}/*so
-%doc AUTHORS LICENSE README.md
+%doc AUTHORS README.md
+%license LICENSE

 %files devel
 %{_includedir}/VPL
 %{_libdir}/pkgconfig/*

 %changelog
-* Thu Nov 21 2019 Karel Volny <[email protected]>
1.3.0-20191119git4e1aba67c831r1
+* Tue Dec 17 2019 Karel Volny <[email protected]>
1.3.0-1.20191119git4e1aba67c831
 - New package

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]

Reply via email to