blob: b226d0ca1a56444e6f0ee5478d9867d51400ddb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
RPMDEFINES := --define "_sourcedir $(SRCDIR)" \
--define "_specdir $(SRCDIR)" \
--define "_srcrpmdir $(SRCDIR)" \
--define "_rpmdir $(SRCDIR)"
SRCDEFINES := --define "dist .remi" \
--define "_source_filedigest_algorithm 1" \
--define "_binary_filedigest_algorithm 1"
clean:
@echo Clean $(NAME) in $(SRCDIR)
@rm -rfv *~ noarch x86_64 *.src.rpm
srpm:
rpmbuild $(RPMDEFINES) $(SRCDEFINES) -bs $(NAME).spec
devsrpm:
rpmbuild $(RPMDEFINES) $(SRCDEFINES) -bs $(NAME)-dev.spec
build:
rpmbuild $(RPMDEFINES) -bb $(NAME).spec
devbuild:
rpmbuild $(RPMDEFINES) -bb $(NAME)-dev.spec
|