Alois Mahdal
2f1ea38436
Remove %{dist} flag
Not useful (even confusing) in case of COPR builds
6 vuotta sitten
Alois Mahdal
c57aad75c4
Update library packaging: split to slop and libslopy
Two things have been changed in upstream: build system now properly
places 64-bit .so under %{_libdir}, and the .so itself now contains
versioned SONAME.
This means we can remove workaround for the first issue and start
packaging library separately. This is much closer to FPG than before.
6 vuotta sitten
Alois Mahdal
824e0bfd61
Ring the bell when build is done
7 vuotta sitten
Alois Mahdal
8aff068968
cxxopts needs less ancient gcc
Ref.: https://github.com/naelstrof/slop/issues/86#issuecomment-328479278
7 vuotta sitten
Alois Mahdal
f5ae75d717
Fix messed up modes
7 vuotta sitten
Alois Mahdal
15c5f65be8
Read project-specific data from config file
7 vuotta sitten
Alois Mahdal
1e04699749
Do not allow version-illegal characters
7 vuotta sitten
Alois Mahdal
4555ba7244
Add CXXFLAGS
7 vuotta sitten
Alois Mahdal
5d73672e9f
Add fake MKit Makefile, just to make `make rpmstuff` work
7 vuotta sitten
Alois Mahdal
e291f3016a
Add -a argument for multiple actions
7 vuotta sitten
Alois Mahdal
7d22364364
Remove feature list from %description
7 vuotta sitten
Alois Mahdal
173c526bc2
Generalize token names
7 vuotta sitten
Alois Mahdal
d021ec70d2
Use upstream slop repo in 'main' mode
7 vuotta sitten
Alois Mahdal
4401e4cca3
Fix typo
7 vuotta sitten
Alois Mahdal
590b8250ad
Use modal CLI in trigger_copr
Hard-code COPR project names and switch them as well as prefix Release
tag based on mode. This prevents from confusing builds.
7 vuotta sitten
Alois Mahdal
ae1fce0e53
Do wait for build to finish
Most of the time we want to anyway, and it's easy to interrupt if
needed.
7 vuotta sitten
Alois Mahdal
f09852fab0
Do copr-cli check ASAP
7 vuotta sitten
Alois Mahdal
111ac21423
Fix copr package name
7 vuotta sitten
Alois Mahdal
cd48582953
Return libslopy.so back to linker path
It was moved to slop subdirectoty in attempt to get rid of rpmlint
warning concerning non-standard soname: this would make 'libslopy.so' a
"private" library, for which naming is not mandatory.
However, this actually breaks slop binary!
Turns out there's no way around it. What we could do is, in order of
preference:
1. Solve naming issue with upstream.
2. Just call it libslopy.so.1.
3. Use wrapper to add %{_libdir}/slop to LD_LIBRARY_PATH
(The last thing seems really like a too hacky for such simple utility.)
7 vuotta sitten
Alois Mahdal
d8cdd530d1
Remove development file
Since libslopy is considered private, there should not be need for
header file.
7 vuotta sitten
Alois Mahdal
4a6a7bf8db
Move libslopy.so outside linker path (private library)
7 vuotta sitten
Alois Mahdal
c3e09b6dd0
Add mock changelog
7 vuotta sitten
Alois Mahdal
4b28a09feb
Add project URL
7 vuotta sitten
Alois Mahdal
603723188d
Remove 'slop' name from Summary
7 vuotta sitten
Alois Mahdal
17fe21e28d
Move libslopy.so to correct %{_libdir}
7 vuotta sitten
Alois Mahdal
cab4a23801
Print specfile in dry mode
7 vuotta sitten
Alois Mahdal
99bd0ba557
Separate specfile generation from copr triggering
7 vuotta sitten
Alois Mahdal
03123bc868
Add build script version to spec file
7 vuotta sitten
Alois Mahdal
31e7e81544
Update usage info
7 vuotta sitten
Alois Mahdal
9a91b30d15
Use RPM macros
7 vuotta sitten
Alois Mahdal
19d32d6b80
Re-format to 80 characers
7 vuotta sitten
Alois Mahdal
a53db44fe9
Just trigger it, don't wait for it
7 vuotta sitten
Alois Mahdal
1302a104c2
Initial commit
7 vuotta sitten