Modify git-template of SPEC file.
This commit is contained in:
parent
64013dc81e
commit
c8afd404fb
BIN
0.3.tar.gz
BIN
0.3.tar.gz
Binary file not shown.
@ -1,15 +0,0 @@
|
||||
---
|
||||
Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -20,7 +20,7 @@ protocol/wlr-data-control-unstable-v1-cl
|
||||
wayland-scanner client-header protocol/wlr-data-control-unstable-v1.xml protocol/wlr-data-control-unstable-v1-client-protocol.h
|
||||
|
||||
.c.o:
|
||||
- $(CC) -Wall -Wpedantic -c $< -o $@
|
||||
+ $(CC) -Wall -Wpedantic $(CFLAGS) -c $< -o $@
|
||||
|
||||
install:
|
||||
install -Dm755 -t $(DESTDIR)$(PREFIX)/bin waycopy waypaste
|
@ -22,10 +22,7 @@ Release: 0
|
||||
Summary: Wayland clipboard utility
|
||||
License: ISC
|
||||
URL: https://sr.ht/~noocsharp/wayclip
|
||||
Source: https://git.sr.ht/~noocsharp/wayclip/archive/%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM fix-build.patch bsc#[0-9]+ mcepl@suse.com
|
||||
# GCC should react on $CFLAGS as well
|
||||
Patch0: fix-build.patch
|
||||
#!RemoteAssetUrl: git+https://git.sr.ht/~noocsharp/wayclip#master
|
||||
BuildRequires: pkgconf
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(wayland-client)
|
||||
@ -37,7 +34,9 @@ clipboard. Specifically, wayclip is a wlr-data-control protocol
|
||||
client.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
%setup -q -n wayclip -c -T
|
||||
|
||||
cp -a %{_sourcedir}/wayclip/* .
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} $(pkgconf --cflags wayland-client)"
|
||||
|
Loading…
Reference in New Issue
Block a user