On 17.03.2017 14:33, Bob Goodwin wrote:
On 03/16/17 16:49, poma wrote:
>
> Test source rpm build can be found here:
>
http://goo.gl/Gm4ffO
> gphoto2-ios/
>
> $ md5sum libgphoto2-2.5.12-2.fc24.src.rpm
> cc6369cbdeabd7c64eea2784e887a7e4 libgphoto2-2.5.12-2.fc24.src.rpm
+
$ rpmbuild --rebuild
gphoto2-ios/libgphoto2-2.5.12-2.fc24.src.rpm
Installing
gphoto2-ios/libgphoto2-2.5.12-2.fc24.src.rpm
..... snip ................
warning: user poma does not exist -
using root
warning: group poma does not exist -
using root
warning: user poma does not exist -
using root
warning: group poma does not exist -
using root
error: Failed build dependencies:
pkgconfig(libexif) is needed by
libgphoto2-2.5.12-2.fc25.x86_64
pkgconfig(libusb-1.0) is needed by
libgphoto2-2.5.12-2.fc25.x86_64
I worked through the depndencis until
here, then:
# dnf install pkgconfig
Last metadata expiration check: 2:01:46
ago on Fri Mar 17 07:14:26 2017.
Package pkgconfig-1:0.29.1-1.fc25.x86_64
is already installed, skipping.
Dependencies resolved.
Nothing to do.
Complete!
Although it is already there RPM doesn't
see it?
What am I doing wrong?
$ su -c 'dnf builddep libgphoto2'
...
Complete!
$ su -c 'dnf install rpm-build'
...
Complete!
$ rpmbuild --rebuild libgphoto2-2.5.12-2.fc24.src.rpm
...
Wrote: /home/test/rpmbuild/RPMS/x86_64/libgphoto2-2.5.12-2.fc25.x86_64.rpm
...
+ exit 0
$ su -c 'dnf update /home/test/rpmbuild/RPMS/x86_64/libgphoto2*.rpm'
...
Upgraded:
libgphoto2.x86_64 2.5.12-2.fc25
Complete!