Alois Mahdal
2f1ea38436
Remove %{dist} flag
Not useful (even confusing) in case of COPR builds
vor 6 Jahren
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.
vor 6 Jahren
Alois Mahdal
824e0bfd61
Ring the bell when build is done
vor 7 Jahren
Alois Mahdal
8aff068968
cxxopts needs less ancient gcc
Ref.: https://github.com/naelstrof/slop/issues/86#issuecomment-328479278
vor 7 Jahren
Alois Mahdal
f5ae75d717
Fix messed up modes
vor 7 Jahren
Alois Mahdal
15c5f65be8
Read project-specific data from config file
vor 7 Jahren
Alois Mahdal
1e04699749
Do not allow version-illegal characters
vor 7 Jahren
Alois Mahdal
4555ba7244
Add CXXFLAGS
vor 7 Jahren
Alois Mahdal
5d73672e9f
Add fake MKit Makefile, just to make `make rpmstuff` work
vor 7 Jahren
Alois Mahdal
e291f3016a
Add -a argument for multiple actions
vor 7 Jahren
Alois Mahdal
7d22364364
Remove feature list from %description
vor 7 Jahren
Alois Mahdal
173c526bc2
Generalize token names
vor 7 Jahren
Alois Mahdal
d021ec70d2
Use upstream slop repo in 'main' mode
vor 7 Jahren
Alois Mahdal
4401e4cca3
Fix typo
vor 7 Jahren
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.
vor 7 Jahren
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.
vor 7 Jahren
Alois Mahdal
f09852fab0
Do copr-cli check ASAP
vor 7 Jahren
Alois Mahdal
111ac21423
Fix copr package name
vor 7 Jahren
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.)
vor 7 Jahren
Alois Mahdal
d8cdd530d1
Remove development file
Since libslopy is considered private, there should not be need for
header file.
vor 7 Jahren
Alois Mahdal
4a6a7bf8db
Move libslopy.so outside linker path (private library)
vor 7 Jahren
Alois Mahdal
c3e09b6dd0
Add mock changelog
vor 7 Jahren
Alois Mahdal
4b28a09feb
Add project URL
vor 7 Jahren
Alois Mahdal
603723188d
Remove 'slop' name from Summary
vor 7 Jahren
Alois Mahdal
17fe21e28d
Move libslopy.so to correct %{_libdir}
vor 7 Jahren
Alois Mahdal
cab4a23801
Print specfile in dry mode
vor 7 Jahren
Alois Mahdal
99bd0ba557
Separate specfile generation from copr triggering
vor 7 Jahren
Alois Mahdal
03123bc868
Add build script version to spec file
vor 7 Jahren
Alois Mahdal
31e7e81544
Update usage info
vor 7 Jahren
Alois Mahdal
9a91b30d15
Use RPM macros
vor 7 Jahren
Alois Mahdal
19d32d6b80
Re-format to 80 characers
vor 7 Jahren
Alois Mahdal
a53db44fe9
Just trigger it, don't wait for it
vor 7 Jahren
Alois Mahdal
1302a104c2
Initial commit
vor 7 Jahren