summaryrefslogtreecommitdiff
path: root/liburing.spec
AgeCommit message (Collapse)Author
2019-08-03spec: fix <liburing/*.h> permissionsStefan Hajnoczi
There are two issues with the <liburing/*.h> headers: 1. They are installed with 0755 permissions. 2. The empty /usr/include/liburing/ directory is left behind by rpm -e. Fix this by specifying the directory (not just globbing the files inside it) and letting rpm use the default permissions on these files. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-08-03spec: add URL tagStefan Hajnoczi
rpmlint complains that there is no URL tag pointing to the software's website/documentation. Since liburing does not have a landing page, point to the cgit page where all information can be found. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-08-03spec: use Fedora "LGPLv2+" license identifierStefan Hajnoczi
rpmlint complains that "LGPL" is not a valid License tag. The License tag for "GNU Lesser General Public License v2 (or 2.1) or later" is "LGPLv2+" according to: https://fedoraproject.org/wiki/Licensing:Main Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-07-24src/Makefile: keep private headers in <liburing/*.h>Stefan Hajnoczi
It is not possible to install barrier.h and compat.h into the top-level /usr/include directly since they are likely to conflict with other software. io_uring.h could be confused with the system's kernel header file. Put liburing headers into <liburing/*.h> so there is no chance of conflicts or confusion. Existing applications continue to build successfully since the location of <liburing.h> is unchanged. In-tree examples and tests require modification because src/liburing.h is moved to src/include/liburing.h. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-07-24spec: invoke ./configure with argumentsStefan Hajnoczi
Commit fd26c1a2f0eb ("configure: move directory options to ./configure") moved --prefix=PREFIX and other directory options to ./configure. Invoke ./configure with these options instead of passing them to the makefile. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-07-16Don't take ownership of %{_mandir}/man2 directoryHrvoje Zeba
Yum doesn't like packages taking ownership of directories provided by other packages. Signed-off-by: Hrvoje Zeba <zeba.hrvoje@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-05-26Add pkgconfig to rpm specHrvoje Zeba
pkgconfig file is installed but not referenced in the rpm's spec file so rpmbuild fails. Signed-off-by: Hrvoje Zeba <zeba.hrvoje@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-05-16Include man dir/pages in spec file installJens Axboe
Also kill reference to long dead TODO file. Patch from Hrvoje Zeba <zeba.hrvoje@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-01-08Initial commitJens Axboe
Signed-off-by: Jens Axboe <axboe@kernel.dk>